#8732 Added autoconfiguration scheduled
This commit is contained in:
parent
66cb2b42c2
commit
994c76a39b
|
@ -0,0 +1,16 @@
|
|||
START TRANSACTION;
|
||||
|
||||
ALTER TABLE `tautoconfig` ADD COLUMN `type_execution` VARCHAR(100) NOT NULL DEFAULT 'start';
|
||||
ALTER TABLE `tautoconfig` ADD COLUMN `type_periodicity` VARCHAR(100) NOT NULL DEFAULT 'weekly';
|
||||
ALTER TABLE `tautoconfig` ADD COLUMN `monday` TINYINT DEFAULT 0;
|
||||
ALTER TABLE `tautoconfig` ADD COLUMN `tuesday` TINYINT DEFAULT 0;
|
||||
ALTER TABLE `tautoconfig` ADD COLUMN `wednesday` TINYINT DEFAULT 0;
|
||||
ALTER TABLE `tautoconfig` ADD COLUMN `thursday` TINYINT DEFAULT 0;
|
||||
ALTER TABLE `tautoconfig` ADD COLUMN `friday` TINYINT DEFAULT 0;
|
||||
ALTER TABLE `tautoconfig` ADD COLUMN `saturday` TINYINT DEFAULT 0;
|
||||
ALTER TABLE `tautoconfig` ADD COLUMN `sunday` TINYINT DEFAULT 0;
|
||||
ALTER TABLE `tautoconfig` ADD COLUMN `periodically_day_from` INT UNSIGNED DEFAULT NULL;
|
||||
ALTER TABLE `tautoconfig` ADD COLUMN `periodically_time_from` time NULL DEFAULT NULL;
|
||||
ALTER TABLE `tautoconfig` ADD COLUMN `executed` TINYINT UNSIGNED NOT NULL DEFAULT 0;
|
||||
|
||||
COMMIT;
|
|
@ -3575,6 +3575,18 @@ CREATE TABLE IF NOT EXISTS `tautoconfig` (
|
|||
`order` INT NOT NULL DEFAULT 0,
|
||||
`description` TEXT,
|
||||
`disabled` TINYINT DEFAULT 0,
|
||||
`type_execution` VARCHAR(100) NOT NULL DEFAULT 'start',
|
||||
`type_periodicity` VARCHAR(100) NOT NULL DEFAULT 'weekly',
|
||||
`monday` TINYINT DEFAULT 0,
|
||||
`tuesday` TINYINT DEFAULT 0,
|
||||
`wednesday` TINYINT DEFAULT 0,
|
||||
`thursday` TINYINT DEFAULT 0,
|
||||
`friday` TINYINT DEFAULT 0,
|
||||
`saturday` TINYINT DEFAULT 0,
|
||||
`sunday` TINYINT DEFAULT 0,
|
||||
`periodically_day_from` INT UNSIGNED DEFAULT NULL,
|
||||
`periodically_time_from` time NULL DEFAULT NULL,
|
||||
`executed` TINYINT UNSIGNED NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||
|
||||
|
|
Loading…
Reference in New Issue