This commit is contained in:
kkunkka
2025-10-10 11:41:50 +08:00
parent f86462bb24
commit b9cb079139

View File

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