Files
Nexus-api/db/schema.sql
kkunkka f36877f6f8 sql
2025-10-01 09:44:35 +08:00

17 lines
538 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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
)
ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4
COLLATE = utf8mb4_0900_ai_ci
COMMENT ='目标管理表';