From 65a04a9df0aabc769e0514b335b80fce89897b27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B7=E5=86=B7?= <2270033969@qq.com> Date: Sat, 23 Nov 2024 21:54:43 +0800 Subject: [PATCH] =?UTF-8?q?doc(sql):=20fix=20=E4=BB=A3=E7=A0=81=E7=94=9F?= =?UTF-8?q?=E6=88=90=E4=B8=BB=E9=94=AE=E8=87=AA=E5=A2=9E=E7=9A=84=E7=AD=96?= =?UTF-8?q?=E7=95=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/pig.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/db/pig.sql b/db/pig.sql index c436c471..bedfb6a6 100644 --- a/db/pig.sql +++ b/db/pig.sql @@ -925,7 +925,7 @@ COMMIT; -- ---------------------------- DROP TABLE IF EXISTS `gen_field_type`; CREATE TABLE `gen_field_type` ( - `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id', + `id` bigint NOT NULL COMMENT '主键', `column_type` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '字段类型', `attr_type` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '属性类型', `package_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '属性包名', @@ -998,7 +998,7 @@ CREATE TABLE `gen_group` ( -- ---------------------------- DROP TABLE IF EXISTS `gen_table`; CREATE TABLE `gen_table` ( - `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id', + `id` bigint NOT NULL, `table_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '表名', `class_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '类名', `db_type` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '数据库类型', @@ -1036,7 +1036,7 @@ COMMIT; -- ---------------------------- DROP TABLE IF EXISTS `gen_table_column`; CREATE TABLE `gen_table_column` ( - `id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id', + `id` bigint NOT NULL, `ds_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '数据源名称', `table_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '表名称', `field_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '字段名称',