Commit c4042deb authored by Carsten  Rose's avatar Carsten Rose
Browse files

Moved column Form.filstats before 'modified'. In all tables the columns...

Moved column Form.filstats before 'modified'. In all tables the columns 'modified' and 'created' are the last.
parent d68c8bb6
Pipeline #4881 passed with stages
in 4 minutes and 6 seconds
......@@ -195,7 +195,7 @@ $UPDATE_ARRAY = array(
],
'20.X.0' => [ // TODO: replace X with newest version number
"ALTER TABLE `Form` ADD `fileStats` VARCHAR(255) NOT NULL DEFAULT '' AFTER `created`;",
"ALTER TABLE `Form` ADD `fileStats` VARCHAR(255) NOT NULL DEFAULT '' AFTER `deleted`;",
],
);
......
......@@ -43,9 +43,9 @@ CREATE TABLE IF NOT EXISTS `Form`
`recordLockTimeoutSeconds` INT(11) NOT NULL DEFAULT 900,
`deleted` ENUM ('yes', 'no') NOT NULL DEFAULT 'no',
`fileStats` VARCHAR(255) NOT NULL DEFAULT '',
`modified` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`created` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
`fileStats` VARCHAR(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `name` (`name`),
......
Supports Markdown
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