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
ba1fbb39
Commit
ba1fbb39
authored
Aug 26, 2024
by
mercymodest
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:- add sql
parent
ad428d3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
3 deletions
+20
-3
拉伽-3.1.0.sql
拉伽/拉伽-3.1.0.sql
+20
-3
No files found.
拉伽/拉伽-3.1.0.sql
View file @
ba1fbb39
alter
table
card
alter
table
card
...
...
@@ -14,4 +14,22 @@ alter table user_return_visit
add
visit_staff_uuid
bigint
null
comment
'回访人员uuid'
;
alter
table
user_return_visit
add
visit_staff_name
varchar
(
30
)
null
comment
'回访人员姓名'
;
\ No newline at end of file
add
visit_staff_name
varchar
(
30
)
null
comment
'回访人员姓名'
;
CREATE
TABLE
`card_category`
(
`uuid`
VARCHAR
(
36
)
NOT
NULL
COMMENT
'主键ID'
,
`category_name`
VARCHAR
(
50
)
NOT
NULL
COMMENT
'分类名称'
,
`category_type`
TINYINT
(
1
)
NOT
NULL
COMMENT
'分类类型 0:私教 1:团课 2:小班'
,
`priority`
INT
NOT
NULL
COMMENT
'优先级 越大优先级越高'
,
`is_delete`
TINYINT
(
1
)
NOT
NULL
DEFAULT
0
COMMENT
'是否删除 0:未删除 1:已删除'
,
`create_time`
TIMESTAMP
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'创建时间'
,
`update_time`
TIMESTAMP
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
ON
UPDATE
CURRENT_TIMESTAMP
COMMENT
'更新时间'
,
`create_uuid`
VARCHAR
(
36
)
COMMENT
'创建人'
,
`update_uuid`
VARCHAR
(
36
)
COMMENT
'更新人'
,
PRIMARY
KEY
(
`uuid`
),
INDEX
`idx_category_type_category_name`
(
`category_type`
,
`category_name`
),
INDEX
`idx_category_name`
(
`category_name`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_unicode_ci
COMMENT
=
'会员卡分类表'
;
alter
table
card
add
card_category_uuid
bigint
null
comment
'会员卡分类uuid card_category#uuid'
;
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