goploy/database/1.8.0.sql

8 lines
454 B
MySQL
Raw Normal View History

2022-05-12 19:38:53 +08:00
ALTER TABLE `project`
CHANGE COLUMN `rsync_option` `transfer_option` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' AFTER `branch`,
ADD COLUMN `transfer_type` varchar(255) NOT NULL DEFAULT '' AFTER `branch`;
2022-05-15 11:12:58 +08:00
UPDATE `project` SET `transfer_type` = 'rsync';
ALTER TABLE `server`
ADD COLUMN `os` varchar(255) NOT NULL DEFAULT '' COMMENT 'linux|windows' AFTER `description`;
2022-05-15 19:33:23 +08:00
UPDATE `server` SET `os` = 'linux';