sql
This commit is contained in:
@@ -2,13 +2,13 @@ drop table if exists `goals`;
|
|||||||
|
|
||||||
CREATE TABLE if not exists `goals`
|
CREATE TABLE if not exists `goals`
|
||||||
(
|
(
|
||||||
id INT auto_increment NOT NULL PRIMARY KEY,
|
id INT auto_increment NOT NULL PRIMARY KEY,
|
||||||
status tinyint default 0 COMMENT '0:进行中,1:已完成,2已取消',
|
status enum ('DOING', 'DONE', 'CANCEL') default 'DOING' not null,
|
||||||
create_time DATETIME NULL,
|
create_time DATETIME NULL,
|
||||||
update_time DATETIME NULL,
|
update_time DATETIME NULL,
|
||||||
name varchar(100) NOT NULL,
|
name varchar(100) NOT NULL,
|
||||||
tag varchar(100) NULL,
|
tag varchar(100) NULL,
|
||||||
detail varchar(100) NULL
|
detail varchar(100) NULL
|
||||||
)
|
)
|
||||||
ENGINE = InnoDB
|
ENGINE = InnoDB
|
||||||
DEFAULT CHARSET = utf8mb4
|
DEFAULT CHARSET = utf8mb4
|
||||||
|
Reference in New Issue
Block a user