Unified sql
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
0000ac4343
commit
80a5200281
|
@ -15,3 +15,14 @@ UPDATE `vn`.`claimState` SET `code` = 'resolved' WHERE (`id` = '3');
|
||||||
UPDATE `vn`.`claimState` SET `code` = 'disputed' WHERE (`id` = '5');
|
UPDATE `vn`.`claimState` SET `code` = 'disputed' WHERE (`id` = '5');
|
||||||
UPDATE `vn`.`claimState` SET `code` = 'mana' WHERE (`id` = '6');
|
UPDATE `vn`.`claimState` SET `code` = 'mana' WHERE (`id` = '6');
|
||||||
UPDATE `vn`.`claimState` SET `code` = 'managed' WHERE (`id` = '2');
|
UPDATE `vn`.`claimState` SET `code` = 'managed' WHERE (`id` = '2');
|
||||||
|
|
||||||
|
ALTER TABLE `vn`.`claimState`
|
||||||
|
ADD COLUMN `priority` INT NOT NULL DEFAULT 1 AFTER `roleFk`;
|
||||||
|
|
||||||
|
UPDATE `vn`.`claimState` SET `priority` = '1' WHERE (`id` = '1');
|
||||||
|
UPDATE `vn`.`claimState` SET `priority` = '5' WHERE (`id` = '2');
|
||||||
|
UPDATE `vn`.`claimState` SET `priority` = '7' WHERE (`id` = '3');
|
||||||
|
UPDATE `vn`.`claimState` SET `priority` = '6' WHERE (`id` = '4');
|
||||||
|
UPDATE `vn`.`claimState` SET `priority` = '3' WHERE (`id` = '5');
|
||||||
|
UPDATE `vn`.`claimState` SET `priority` = '4' WHERE (`id` = '6');
|
||||||
|
UPDATE `vn`.`claimState` SET `priority` = '2' WHERE (`id` = '7');
|
|
@ -1,10 +0,0 @@
|
||||||
ALTER TABLE `vn`.`claimState`
|
|
||||||
ADD COLUMN `priority` INT NOT NULL DEFAULT 1 AFTER `roleFk`;
|
|
||||||
|
|
||||||
UPDATE `vn`.`claimState` SET `priority` = '1' WHERE (`id` = '1');
|
|
||||||
UPDATE `vn`.`claimState` SET `priority` = '5' WHERE (`id` = '2');
|
|
||||||
UPDATE `vn`.`claimState` SET `priority` = '7' WHERE (`id` = '3');
|
|
||||||
UPDATE `vn`.`claimState` SET `priority` = '6' WHERE (`id` = '4');
|
|
||||||
UPDATE `vn`.`claimState` SET `priority` = '3' WHERE (`id` = '5');
|
|
||||||
UPDATE `vn`.`claimState` SET `priority` = '4' WHERE (`id` = '6');
|
|
||||||
UPDATE `vn`.`claimState` SET `priority` = '2' WHERE (`id` = '7');
|
|
Loading…
Reference in New Issue