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
63e17e52
Commit
63e17e52
authored
Feb 22, 2024
by
仲光辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add sql.
parent
c89119ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
58 additions
and
0 deletions
+58
-0
更新SQL.sql
悦美/更新SQL.sql
+58
-0
No files found.
悦美/更新SQL.sql
0 → 100644
View file @
63e17e52
alter
table
company_cfg_reserve
alter
table
company_cfg_reserve
modify
project_uuid
char
(
32
)
not
null
comment
'项目uuid '
;
alter
table
company_cfg_reserve
add
project_name
varchar
(
32
)
null
comment
'项目名称'
after
project_uuid
;
alter
table
company_cfg_reserve
change
num
cycle
tinyint
(
1
)
default
15
null
comment
'企业可预定周期(天) 7:7天 15:15天 30:30天 默认15天'
;
alter
table
company_cfg_reserve
modify
duration
decimal
(
6
,
2
)
default
4
.
00
null
comment
'每天预定时长'
;
alter
table
company_cfg_reserve
modify
is_limit
tinyint
(
1
)
default
0
null
comment
'是否超出限制提交, 1:是 0,否'
;
alter
table
company_cfg_reserve
modify
duration
decimal
(
6
,
2
)
default
4
.
00
null
comment
'企业每月免费时长(h)'
;
#
room
添加字段
office_building_uuid
char
(
32
)
null
comment
'楼栋uuid(office_building表)'
alter
table
room
add
office_building_uuid
char
(
32
)
null
comment
'楼栋uuid(office_building表)'
after
company_uuid
;
#
room
添加字段
office_building_name
varchar
(
32
)
null
comment
'楼栋名称'
alter
table
room
add
office_building_name
varchar
(
32
)
null
comment
'楼栋名称'
after
office_building_uuid
;
create
index
company_cfg_reserve_project_uuid_index
on
company_cfg_reserve
(
project_uuid
);
alter
table
room_order
add
contact_name
varchar
(
15
)
null
comment
'联系人名称'
after
theme
;
alter
table
room_order
add
constraint
room_order_pk
primary
key
(
uuid
);
create
index
room_order_room_uuid_index
on
room_order
(
room_uuid
);
#
index
status
create
index
room_order_status_index
on
room_order
(
status
);
#
index
:
begin_time
create
index
room_order_begin_time_index
on
room_order
(
begin_time
);
#
index
end_time
create
index
room_order_end_time_index
on
room_order
(
end_time
);
create
index
room_order_company_name_index
on
room_order
(
company_name
);
alter
table
room_order
add
appointment_type
tinyint
(
1
)
default
0
null
comment
'预约类型 0:用户预约 1:后台预约'
;
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