Browse Source

添加数据表sql

NorthLan 7 years ago
parent
commit
0c5f57c8b0
1 changed files with 0 additions and 10 deletions
  1. 0 10
      doc/数据库必备字段.sql

+ 0 - 10
doc/数据库必备字段.sql

@@ -1,10 +0,0 @@
-ALTER TABLE `userdata`
-ADD COLUMN `id`  bigint(20) NOT NULL AUTO_INCREMENT COMMENT '系统编号',
-ADD COLUMN `create_by`  varchar(64) NULL DEFAULT NULL COMMENT '创建者',
-ADD COLUMN `create_time`  datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
-ADD COLUMN `update_by`  varchar(64) NULL DEFAULT NULL COMMENT '更新者',
-ADD COLUMN `update_time`  datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '更新时间',
-ADD COLUMN `remark`  varchar(255) NULL DEFAULT NULL COMMENT '备注信息',
-ADD COLUMN `enable`  char(1) NOT NULL DEFAULT '1' COMMENT '启用标记',
--- DROP PRIMARY KEY,
-ADD PRIMARY KEY (`id`);