Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fzm-joying
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
lei
fzm-joying
Commits
9223c3f0
Commit
9223c3f0
authored
May 24, 2022
by
33
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SQL
parent
b1398588
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
update.sql
sql/update.sql
+18
-0
No files found.
sql/update.sql
View file @
9223c3f0
...
...
@@ -9,4 +9,21 @@ ALTER TABLE `tb_open_copyright_apply`
ALTER
TABLE
`tb_open_copyright_apply`
ADD
INDEX
`app_key`
(
`app_key`
,
`biz_id`
)
USING
BTREE
;
CREATE
TABLE
`joy_bak`
.
`tb_copyright_log`
(
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
`copyright_id`
int
(
11
)
NOT
NULL
COMMENT
'版权编号'
,
`op_type_id`
int
(
11
)
NULL
DEFAULT
NULL
COMMENT
'操作类型编号'
,
`op_type`
varchar
(
16
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
NULL
DEFAULT
NULL
COMMENT
'操作类型'
,
`op_info`
varchar
(
255
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
NULL
DEFAULT
NULL
COMMENT
'操作信息'
,
`op_user_id`
int
(
11
)
NULL
DEFAULT
NULL
COMMENT
'操作人编号'
,
`op_user_name`
varchar
(
64
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
NULL
DEFAULT
NULL
COMMENT
'操作人名称'
,
`op_time`
datetime
NULL
DEFAULT
NULL
COMMENT
'操作时间'
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
,
UNIQUE
INDEX
`copyright_id`
(
`copyright_id`
,
`op_type_id`
)
USING
BTREE
)
ENGINE
=
InnoDB
CHARACTER
SET
=
utf8mb4
COLLATE
=
utf8mb4_general_ci
ROW_FORMAT
=
Dynamic
;
SET
FOREIGN_KEY_CHECKS
=
1
;
\ 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