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
75df3cc6
Commit
75df3cc6
authored
Mar 09, 2023
by
仲光辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: exec sql on prod
parent
55c59885
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
60 additions
and
59 deletions
+60
-59
2022.05.25 之后需要在线上数据执行的SQL.sql
2022.05.25 之后需要在线上数据执行的SQL.sql
+60
-59
No files found.
2022.05.25 之后需要在线上数据执行的SQL.sql
View file @
75df3cc6
#
#
2
022
.
05
.
25
#
#
2
022
.
05
.
25
...
...
@@ -5692,65 +5692,66 @@
#
1
.
9
.
2
alter
table
agency
add
channel_type
tinyint
(
1
)
null
comment
'渠道类型 1: 中介渠道 2:非中介渠道'
;
alter
table
agency
add
level_one_intermediary_channel_category_uuid
bigint
(
19
)
null
comment
'一级分类 uuid intermediary_channel_category#uuid'
;
alter
table
agency
add
level_one_intermediary_channel_category_name
varchar
(
50
)
null
comment
'一级分类名称 intermediary_channel_category#name'
;
alter
table
agency
add
level_two_intermediary_channel_category_uuid
bigint
(
19
)
null
comment
'二级分类 uuid intermediary_channel_category#uuid'
;
alter
table
agency
add
level_two_intermediary_channel_category_name
varchar
(
50
)
null
comment
' 二级分类名称 intermediary_channel_category#name'
;
alter
table
opportunity
add
intention_area
varchar
(
50
)
null
comment
'意向面积'
;
alter
table
opportunity
add
intention_station
varchar
(
50
)
null
comment
'意向工位'
;
alter
table
opportunity
add
budget_range
varchar
(
50
)
null
comment
'预算区间'
;
alter
table
opportunity
add
rent_date
date
null
comment
'起租日期'
;
alter
table
opportunity
add
expect_deal_date
date
null
comment
'预计成交时间'
;
alter
table
opportunity
add
channel_type
tinyint
(
1
)
null
comment
'渠道类型 1: 中介渠道 2:非中介渠道'
;
alter
table
opportunity
add
level_one_intermediary_channel_category_uuid
bigint
(
19
)
null
comment
'一级分类 uuid intermediary_channel_category#uuid'
;
alter
table
opportunity
add
level_one_intermediary_channel_category_name
varchar
(
50
)
null
comment
'一级分类名称 intermediary_channel_category#name'
;
alter
table
opportunity
add
level_two_intermediary_channel_category_uuid
bigint
(
19
)
null
comment
'二级分类 uuid intermediary_channel_category#uuid'
;
alter
table
opportunity
add
level_two_intermediary_channel_category_name
varchar
(
50
)
null
comment
' 二级分类名称 intermediary_channel_category#name'
;
alter
table
bill_operation_record
modify
type
int
(
1
)
not
null
comment
'类型:1:解除流水 2: 一键结清 3:退租 4:关闭账单 5:减免滞纳金 6:解除流水并关闭账单 7:取消收取滞纳金 8:取消减免滞纳金 9:收取滞纳金'
;
alter
table
opportunity_report_message
add
intention_area
varchar
(
50
)
null
comment
'意向面积'
;
alter
table
opportunity_report_message
add
intention_station
varchar
(
50
)
null
comment
'意向工位'
;
alter
table
opportunity_report_message
add
budget_range
varchar
(
50
)
null
comment
'预算区间'
;
#
alter
table
agency
#
add
channel_type
tinyint
(
1
)
null
comment
'渠道类型 1: 中介渠道 2:非中介渠道'
;
#
#
alter
table
agency
#
add
level_one_intermediary_channel_category_uuid
bigint
(
19
)
null
comment
'一级分类 uuid intermediary_channel_category#uuid'
;
#
#
alter
table
agency
#
add
level_one_intermediary_channel_category_name
varchar
(
50
)
null
comment
'一级分类名称 intermediary_channel_category#name'
;
#
#
alter
table
agency
#
add
level_two_intermediary_channel_category_uuid
bigint
(
19
)
null
comment
'二级分类 uuid intermediary_channel_category#uuid'
;
#
#
alter
table
agency
#
add
level_two_intermediary_channel_category_name
varchar
(
50
)
null
comment
' 二级分类名称 intermediary_channel_category#name'
;
#
#
#
alter
table
opportunity
#
add
intention_area
varchar
(
50
)
null
comment
'意向面积'
;
#
#
alter
table
opportunity
#
add
intention_station
varchar
(
50
)
null
comment
'意向工位'
;
#
#
alter
table
opportunity
#
add
budget_range
varchar
(
50
)
null
comment
'预算区间'
;
#
#
alter
table
opportunity
#
add
rent_date
date
null
comment
'起租日期'
;
#
#
alter
table
opportunity
#
add
expect_deal_date
date
null
comment
'预计成交时间'
;
#
#
alter
table
opportunity
#
add
channel_type
tinyint
(
1
)
null
comment
'渠道类型 1: 中介渠道 2:非中介渠道'
;
#
#
alter
table
opportunity
#
add
level_one_intermediary_channel_category_uuid
bigint
(
19
)
null
comment
'一级分类 uuid intermediary_channel_category#uuid'
;
#
#
alter
table
opportunity
#
add
level_one_intermediary_channel_category_name
varchar
(
50
)
null
comment
'一级分类名称 intermediary_channel_category#name'
;
#
#
alter
table
opportunity
#
add
level_two_intermediary_channel_category_uuid
bigint
(
19
)
null
comment
'二级分类 uuid intermediary_channel_category#uuid'
;
#
#
alter
table
opportunity
#
add
level_two_intermediary_channel_category_name
varchar
(
50
)
null
comment
' 二级分类名称 intermediary_channel_category#name'
;
#
#
alter
table
bill_operation_record
#
modify
type
int
(
1
)
not
null
comment
'类型:1:解除流水 2: 一键结清 3:退租 4:关闭账单 5:减免滞纳金 6:解除流水并关闭账单 7:取消收取滞纳金 8:取消减免滞纳金 9:收取滞纳金'
;
#
#
#
alter
table
opportunity_report_message
#
add
intention_area
varchar
(
50
)
null
comment
'意向面积'
;
#
#
alter
table
opportunity_report_message
#
add
intention_station
varchar
(
50
)
null
comment
'意向工位'
;
#
#
alter
table
opportunity_report_message
#
add
budget_range
varchar
(
50
)
null
comment
'预算区间'
;
###
线上数据已经执行
执行时间
:
2023
.
03
.
09
20
:
02
...
...
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