goploy/database/1.3.4.sql
2023-05-12 10:11:38 +08:00

5 lines
335 B
SQL

ALTER TABLE `goploy`.`project`
ADD COLUMN `repo_type` varchar(255) NOT NULL DEFAULT '' COMMENT 'git | svn' AFTER `name`,
ADD COLUMN `symlink_backup_number` tinyint UNSIGNED NOT NULL DEFAULT 0 COMMENT 'symlink backup number' AFTER `symlink_path`;
UPDATE `goploy`.`project` SET `repo_type` = 'git', `symlink_backup_number` = 10;