salix/db/versions/.archive/10282-brownAsparagus/00-firstScript.sql

10 lines
419 B
MySQL
Raw Permalink Normal View History

TRUNCATE vn.itemCleanCount;
ALTER TABLE vn.itemCleanConfig DROP COLUMN step;
RENAME TABLE vn.itemCleanCount TO vn.itemCleanLog;
ALTER TABLE vn.itemCleanConfig MODIFY COLUMN isStop tinyint(1) DEFAULT NULL NULL COMMENT 'Si está a TRUE para el proceso a tiempo real';
INSERT INTO bs.nightTask (`order`,`schema`,`procedure`)
VALUES (1009,'vn','item_clean');
UPDATE vn.itemCleanConfig
SET quantity=50000
WHERE id=1;