add: 周年纪念日

This commit is contained in:
jsh
2025-10-11 16:18:18 +08:00
parent 8a120a7223
commit ef224aa546
10 changed files with 136 additions and 14 deletions

View File

@@ -25,4 +25,17 @@ create table habit_record
update_time datetime null,
goal_id int unsigned not null
)
comment '习惯记录表';
comment '习惯记录表';
drop table if exists `anniversary`
create table `anniversary`
(
id int unsigned auto_increment,
create_time datetime null,
update_time datetime null,
date date not null comment '重要的日期',
type enum ('anniversary', 'commemoration') default 'anniversary' not null
)
comment '周年纪念日';