From 200de815d78fba00a55a10183d8a82389f749f31 Mon Sep 17 00:00:00 2001 From: wanjia <553039491@qq.com> Date: Thu, 30 May 2024 15:57:53 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E9=A1=B9=E7=9B=AE=E7=AE=A1=E7=90=86):?= =?UTF-8?q?=E5=88=A0=E9=99=A4sql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...20240523143422_create_pipeline_graphics_table.sql | 12 ------------ .../20240524103827_alter_pipiline_add_column.sql | 9 --------- 2 files changed, 21 deletions(-) delete mode 100644 sql/update/20240523143422_create_pipeline_graphics_table.sql delete mode 100644 sql/update/20240524103827_alter_pipiline_add_column.sql diff --git a/sql/update/20240523143422_create_pipeline_graphics_table.sql b/sql/update/20240523143422_create_pipeline_graphics_table.sql deleted file mode 100644 index 6247b5e8f..000000000 --- a/sql/update/20240523143422_create_pipeline_graphics_table.sql +++ /dev/null @@ -1,12 +0,0 @@ --- create table for pipeline graphics -CREATE TABLE `pms_ci_pipeline_graphics` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `pms_ci_pipeline_id` int(11) DEFAULT NULL COMMENT '流水线ID', - `pipeline_name` varchar(255) DEFAULT NULL COMMENT '流水线名称', - `pms_ci_pipeline_graphic_json` text COMMENT '流水线图JSON', - `update_time` datetime DEFAULT NULL COMMENT '更新时间', - `update_by` varchar(64) DEFAULT '' COMMENT '更新者', - `create_time` datetime DEFAULT NULL COMMENT '创建时间', - `create_by` varchar(64) DEFAULT '' COMMENT '创建者', - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='流水线图形化构建表' diff --git a/sql/update/20240524103827_alter_pipiline_add_column.sql b/sql/update/20240524103827_alter_pipiline_add_column.sql deleted file mode 100644 index 3aa96fa22..000000000 --- a/sql/update/20240524103827_alter_pipiline_add_column.sql +++ /dev/null @@ -1,9 +0,0 @@ --- This migration script is used to add a new column `pipeline_template_json` to the `pms_ci_pipelines` table. -SET -FOREIGN_KEY_CHECKS = 0; - -ALTER TABLE `pms_ci_pipelines` - ADD COLUMN `pipeline_template_json` TEXT COMMENT '流水线模板JSON' AFTER `pms_project_id`; - -SET -FOREIGN_KEY_CHECKS = 1; \ No newline at end of file