6 lines
293 B
SQL
6 lines
293 B
SQL
ALTER TABLE `postgresql`.`calendar_state`
|
|
ADD COLUMN `code` VARCHAR(45) NULL AFTER `permissionRate`;
|
|
|
|
UPDATE `postgresql`.`calendar_state` SET `code` = 'holiday' WHERE `calendar_state_id` = 1;
|
|
UPDATE `postgresql`.`calendar_state` SET `code` = 'halfHoliday' WHERE `calendar_state_id` = 6;
|