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
b579021b
Commit
b579021b
authored
Sep 13, 2024
by
mercymodest
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:- add sql
parent
7246469f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
1 deletion
+22
-1
2024-08-29-update.sql
电子日历/2024-08-29-update.sql
+22
-1
No files found.
电子日历/2024-08-29-update.sql
View file @
b579021b
alter
table
t_device_group
alter
table
t_device_group
...
...
@@ -29,6 +29,27 @@ alter table t_email_callback_log
add
magic_import_status
tinyint
(
1
)
null
comment
'魔法导入审核状态 0:未审核 1:审核通过 2:审核不通过'
;
CREATE
TABLE
`t_magic_import_record`
(
`magic_import_record_id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'主键ID'
,
`batch_no`
bigint
(
20
)
NOT
NULL
COMMENT
'导入批次号'
,
`file_name`
varchar
(
200
)
NOT
NULL
COMMENT
'导入文件名'
,
`error_message`
text
COMMENT
'错误信息'
,
`is_parsed`
tinyint
(
1
)
NOT
NULL
DEFAULT
'0'
COMMENT
'是否解析出事项 0:否 1:是'
,
`parse_result`
text
COMMENT
'解析结果'
,
`content_type`
tinyint
(
1
)
NOT
NULL
COMMENT
'内容类型:0:文本 1:文本附件 2:Excel 3:PDF 4:图片'
,
`content`
text
COMMENT
'(content_type=0)内容'
,
`create_time`
datetime
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'创建时间'
,
`update_time`
datetime
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
ON
UPDATE
CURRENT_TIMESTAMP
COMMENT
'更新时间'
,
`is_delete`
tinyint
(
1
)
default
0
not
null
comment
'是否删除:0 表示否,1 表示是'
,
`device_id`
bigint
not
null
comment
'设备 ID'
,
`sender_email`
varchar
(
240
)
COMMENT
'发送邮箱'
,
PRIMARY
KEY
(
`magic_import_record_id`
),
KEY
`idx_batch_no`
(
`batch_no`
),
KEY
`idx_device_id`
(
`device_id`
),
KEY
`idx_sender_email`
(
`sender_email`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COMMENT
=
'魔法导入记录表'
;
...
...
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