init commit

This commit is contained in:
Jeremy Liang
2026-02-04 03:23:08 +08:00
parent ea0efee074
commit 00d8144a08

View File

@@ -69,7 +69,7 @@ DROP TABLE IF EXISTS `your_table_name`;
CREATE TABLE `your_table_name` ( CREATE TABLE `your_table_name` (
`guid` bigint(0) UNSIGNED NOT NULL DEFAULT 0 COMMENT 'GUID', `guid` bigint(0) UNSIGNED NOT NULL DEFAULT 0 COMMENT 'GUID',
-- ---------------------------- -- ----------------------------
-- add your other table field -- add your table other table field
-- ---------------------------- -- ----------------------------
`is_hidden` int(0) NOT NULL DEFAULT 0 COMMENT '隐藏标志', `is_hidden` int(0) NOT NULL DEFAULT 0 COMMENT '隐藏标志',
`is_delete` int(0) NOT NULL DEFAULT 0 COMMENT '删除标志', `is_delete` int(0) NOT NULL DEFAULT 0 COMMENT '删除标志',
@@ -78,7 +78,7 @@ CREATE TABLE `your_table_name` (
`create_time` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间', `create_time` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
`update_time` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '更新时间', `update_time` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '更新时间',
PRIMARY KEY (`guid`) USING BTREE PRIMARY KEY (`guid`) USING BTREE
) ENGINE = InnoDB COMMENT = '应用基础信息表' ROW_FORMAT = Dynamic; ) ENGINE = InnoDB COMMENT = '你的表格备注' ROW_FORMAT = Dynamic;
``` ```
in `mybatis.generator.xml` in `mybatis.generator.xml`
``` ```