salix/db/versions/.archive/10651-chocolatePalmetto/01-comparativeAddConfig.sql

12 lines
533 B
MySQL
Raw Normal View History

-- Place your SQL code here
CREATE TABLE IF NOT EXISTS vn.`comparativeAddConfig` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`period` INT(10) UNSIGNED DEFAULT NULL COMMENT 'The number of periods to be regressed for insertion in vn.comparative',
`week` INT(10) UNSIGNED DEFAULT NULL COMMENT 'The number of weeks to exceed for recalculating the last period',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
INSERT IGNORE INTO vn.comparativeAddConfig (period, week)
VALUES (3, 3);