PMC-924-A Propel models is required for upgrade database

This commit is contained in:
Roly Rudy Gutierrez Pinto
2019-07-05 13:54:35 -04:00
parent 33cd6886c2
commit 8c8b5f7eea
12 changed files with 3138 additions and 5 deletions

View File

@@ -3257,7 +3257,7 @@ CREATE TABLE `JOBS_PENDING`
`queue` VARCHAR(255) NOT NULL,
`payload` MEDIUMTEXT NOT NULL,
`attempts` TINYINT(3) NOT NULL,
`reserved_at` TINYINT(10) default NULL,
`reserved_at` TINYINT(10),
`available_at` TINYINT(10) NOT NULL,
`created_at` TINYINT(10) NOT NULL,
PRIMARY KEY (`id`),
@@ -3277,7 +3277,7 @@ CREATE TABLE `JOBS_FAILED`
`queue` MEDIUMTEXT NOT NULL,
`payload` MEDIUMTEXT NOT NULL,
`exception` MEDIUMTEXT NOT NULL,
`failed_at` DATETIME default 'CURRENT_TIMESTAMP' NOT NULL,
`failed_at` DATETIME NOT NULL,
PRIMARY KEY (`id`)
)ENGINE=InnoDB DEFAULT CHARSET='utf8';
# This restores the fkey checks, after having unset them earlier