mirror of
https://gitee.com/goploy/goploy.git
synced 2024-12-05 13:38:47 +08:00
8 lines
454 B
SQL
8 lines
454 B
SQL
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`;
|
|
UPDATE `project` SET `transfer_type` = 'rsync';
|
|
|
|
ALTER TABLE `server`
|
|
ADD COLUMN `os` varchar(255) NOT NULL DEFAULT '' COMMENT 'linux|windows' AFTER `description`;
|
|
UPDATE `server` SET `os` = 'linux'; |