Files
Nexus-api/db/schema.sql

17 lines
705 B
MySQL
Raw Normal View History

2025-10-01 09:44:35 +08:00
drop table if exists `goals`;
CREATE TABLE if not exists `goals`
(
2025-10-10 11:41:50 +08:00
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
2025-09-29 19:50:02 +08:00
)
2025-10-01 09:44:35 +08:00
ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4
COLLATE = utf8mb4_0900_ai_ci
COMMENT ='目标管理表';