疯狂的狮子li
2022-03-11 7c0f41c785ef1ae7b121cf7c6127e7566da866a5
script/sql/test.sql
@@ -1,7 +1,7 @@
DROP TABLE if EXISTS test_demo;
CREATE TABLE test_demo
(
    id          int(0) NOT NULL AUTO_INCREMENT COMMENT '主键',
    id          int(0)       NOT NULL COMMENT '主键',
    dept_id     int(0) NULL DEFAULT NULL COMMENT '部门id',
    user_id     int(0) NULL DEFAULT NULL COMMENT '用户id',
    order_num   int(0) NULL DEFAULT 0 COMMENT '排序号',
@@ -19,7 +19,7 @@
DROP TABLE if EXISTS test_tree;
CREATE TABLE test_tree
(
    id          int(0) NOT NULL AUTO_INCREMENT COMMENT '主键',
    id          int(0)       NOT NULL COMMENT '主键',
    parent_id   int(0) NULL DEFAULT 0 COMMENT '父id',
    dept_id     int(0) NULL DEFAULT NULL COMMENT '部门id',
    user_id     int(0) NULL DEFAULT NULL COMMENT '用户id',