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
33f7fa9a
Commit
33f7fa9a
authored
Apr 11, 2025
by
mercymodest
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:- add sql
parent
aa4cfe00
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
电子日历-任务提醒记录.sql
AI闹钟/电子日历-任务提醒记录.sql
+34
-0
No files found.
AI闹钟/电子日历-任务提醒记录.sql
0 → 100644
View file @
33f7fa9a
create
table
t_app_task_firebase_notification_records
(
firebase_notification_id
bigint
not
null
primary
key
comment
'Firebase通知记录ID'
,
device_id
bigint
not
null
comment
'设备ID'
,
origin_event_id
bigint
not
null
comment
'任务ID'
,
start_datetime
datetime
null
comment
'任务开始时间(UTC+0)'
,
start_date
date
null
comment
'开始日期'
,
start_time
time
null
comment
'开始时间'
,
sent_datetime
datetime
(
3
)
not
null
comment
'通知发送时间(UTC+0)'
,
create_time
datetime
default
CURRENT_TIMESTAMP
not
null
comment
'创建时间,插入时自动更新'
,
update_time
datetime
default
CURRENT_TIMESTAMP
not
null
on
update
CURRENT_TIMESTAMP
comment
'更新时间,插入和更新时自动更新'
)
comment
'任务Firebase通知记录表'
;
create
index
idc_start_datetime
on
t_app_task_firebase_notification_records
(
start_datetime
);
create
index
idx_device_id
on
t_app_task_firebase_notification_records
(
device_id
);
create
index
idx_origin_event_id
on
t_app_task_firebase_notification_records
(
origin_event_id
);
create
index
idx_sent_datetime
on
t_app_task_firebase_notification_records
(
sent_datetime
);
create
index
idx_business_id
on
t_user_push_log
(
business_id
);
\ No newline at end of file
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