Commit 14645ce2 authored by Carsten  Rose's avatar Carsten Rose

Bug: Update QFQ from earlier/equal version than 0.19.2 fails to create table 'Cron'.

parent 7bbca68e
Pipeline #2177 passed with stages
in 4 minutes and 4 seconds
...@@ -60,6 +60,10 @@ $UPDATE_ARRAY = array( ...@@ -60,6 +60,10 @@ $UPDATE_ARRAY = array(
"INSERT INTO Period (start, name, created) VALUES (NOW(), 'dummy', NOW());" "INSERT INTO Period (start, name, created) VALUES (NOW(), 'dummy', NOW());"
], ],
'0.19.2' => [
"CREATE TABLE IF NOT EXISTS `Cron` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `grId` INT(11) NOT NULL, `type` ENUM('mail', 'website') NOT NULL DEFAULT 'website', `lastRun` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `lastStatus` TEXT NOT NULL, `nextRun` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `frequency` VARCHAR(32) NOT NULL, `inProgress` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `status` ENUM('enable', 'disable') NOT NULL DEFAULT 'enable', `content` TEXT NOT NULL, `comment` TEXT NOT NULL, `modified` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`)) ENGINE = InnoDB AUTO_INCREMENT = 0 DEFAULT CHARSET = utf8;",
],
'0.19.5' => [ '0.19.5' => [
"ALTER TABLE `Form` ADD `parameterLanguageA` TEXT NOT NULL AFTER `parameter`", "ALTER TABLE `Form` ADD `parameterLanguageA` TEXT NOT NULL AFTER `parameter`",
"ALTER TABLE `Form` ADD `parameterLanguageB` TEXT NOT NULL AFTER `parameterLanguageA`", "ALTER TABLE `Form` ADD `parameterLanguageB` TEXT NOT NULL AFTER `parameterLanguageA`",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment