mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-31 19:34:06 +08:00
多模块重构 11:新增 H2 SQL 脚本的生成
This commit is contained in:
@@ -0,0 +1 @@
|
||||
DELETE FROM "tool_test_demo";
|
||||
|
@@ -0,0 +1,14 @@
|
||||
CREATE TABLE IF NOT EXISTS "tool_test_demo" (
|
||||
"id" bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY,
|
||||
"name" varchar(100) NOT NULL,
|
||||
"status" tinyint NOT NULL,
|
||||
"type" tinyint NOT NULL,
|
||||
"category" tinyint NOT NULL,
|
||||
"remark" varchar(500),
|
||||
"creator" varchar(64) DEFAULT '''',
|
||||
"create_time" datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"updater" varchar(64) DEFAULT '''',
|
||||
"update_time" datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
"deleted" bit NOT NULL DEFAULT FALSE,
|
||||
PRIMARY KEY ("id")
|
||||
) COMMENT '字典类型表';
|
||||
|
Reference in New Issue
Block a user