Commit a43d13ee by mercymodest

feat: add category_status field to t_user_calendar_categories for visibility control

parent 85c1c3ba
alter table t_webcal_device
alter table t_webcal_device
alter table t_webcal_device
add app_sync_mode tinyint null comment '是否开启APP端双向同步 0:不同步 1:同步 ';
CREATE TABLE t_icloud_calendar_sync_event_category (
id BIGINT PRIMARY KEY COMMENT '主键ID',
device_id BIGINT NOT NULL COMMENT '设备ID',
webcal_calendar_id VARCHAR(300) COMMENT 'webcal日历ID',
webcal_event_id VARCHAR(500) COMMENT 'webcal事件ID',
user_calendar_category_id BIGINT COMMENT '用户日历分类ID',
create_time DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间'
) ENGINE=InnoDB
DEFAULT CHARSET=utf8mb4
COMMENT='iCloud本地日历双向同步事项分类记录表';
-- 设备ID,webcal日历ID联合索引
CREATE INDEX idx_device_id_webcal_calendar_id ON t_icloud_calendar_sync_event_category(device_id,webcal_calendar_id);
-- webcal日历ID索引
CREATE INDEX idx_webcal_calendar_id ON t_icloud_calendar_sync_event_category(webcal_calendar_id);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment