feat: refs #8119 Minor change
gitea/salix/pipeline/pr-master There was a failure building this commit
Details
gitea/salix/pipeline/pr-master There was a failure building this commit
Details
This commit is contained in:
parent
8ca69d3574
commit
2bd98b7fb6
|
@ -1,4 +1,4 @@
|
||||||
CREATE TABLE IF NOT EXISTS vn.itemCampaignQuantity (
|
CREATE TABLE IF NOT EXISTS `vn`.`itemCampaignQuantity` (
|
||||||
dated date NOT NULL,
|
dated date NOT NULL,
|
||||||
itemFk int(11) NOT NULL,
|
itemFk int(11) NOT NULL,
|
||||||
quantity decimal(10,2) NOT NULL,
|
quantity decimal(10,2) NOT NULL,
|
||||||
|
@ -10,8 +10,8 @@ ENGINE=InnoDB
|
||||||
DEFAULT CHARSET=utf8mb3
|
DEFAULT CHARSET=utf8mb3
|
||||||
COLLATE=utf8mb3_unicode_ci;
|
COLLATE=utf8mb3_unicode_ci;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS vn.itemCampaignQuantityConfig (
|
CREATE TABLE IF NOT EXISTS `vn`.`itemCampaignQuantityConfig` (
|
||||||
id int(10) unsigned NOT NULL PRIMARY,
|
id int(10) unsigned NOT NULL PRIMARY KEY,
|
||||||
defaultCampaign varchar(100) NOT NULL COMMENT 'Campaña por defecto si se le pasa NULL',
|
defaultCampaign varchar(100) NOT NULL COMMENT 'Campaña por defecto si se le pasa NULL',
|
||||||
previousDaysToInsert int(10) unsigned NOT NULL COMMENT 'Días anteriores a la fecha de fin de campaña para insertar',
|
previousDaysToInsert int(10) unsigned NOT NULL COMMENT 'Días anteriores a la fecha de fin de campaña para insertar',
|
||||||
CONSTRAINT `itemCampaignQuantityConfig_check` CHECK (`id` = 1)
|
CONSTRAINT `itemCampaignQuantityConfig_check` CHECK (`id` = 1)
|
||||||
|
@ -20,5 +20,5 @@ ENGINE=InnoDB
|
||||||
DEFAULT CHARSET=utf8mb3
|
DEFAULT CHARSET=utf8mb3
|
||||||
COLLATE=utf8mb3_unicode_ci;
|
COLLATE=utf8mb3_unicode_ci;
|
||||||
|
|
||||||
INSERT IGNORE INTO vn.itemCampaignQuantityConfig(id, defaultCampaign, previousDaysToInsert)
|
INSERT IGNORE INTO `vn`.`itemCampaignQuantityConfig` (id, defaultCampaign, previousDaysToInsert)
|
||||||
VALUES (1, 'allSaints', 90);
|
VALUES (1, 'allSaints', 90);
|
||||||
|
|
Loading…
Reference in New Issue