drop table if exists `goals`; CREATE TABLE if not exists `goals` ( 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 COLLATE = utf8mb4_0900_ai_ci COMMENT ='目标管理表';