Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dankal-data-view
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
仲光辉
dankal-data-view
Commits
0003453d
Commit
0003453d
authored
Sep 05, 2025
by
mercymodest
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: remove iCloud calendar sync event category table and related indexes
parent
cba77a97
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
23 deletions
+1
-23
iCloud双向同步.sql
电子日历_iCloud双向同步/iCloud双向同步.sql
+1
-23
No files found.
电子日历_iCloud双向同步/iCloud双向同步.sql
View file @
0003453d
alter
table
t_webcal_device
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:同步 '
;
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
);
alter
table
t_webcal_device
add
webcal_calendar_id
VARCHAR
(
300
)
null
comment
'webcal calendar id '
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment