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
708b580b
Commit
708b580b
authored
Apr 19, 2023
by
仲光辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add sql.
parent
adc9447f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
1 deletion
+21
-1
2022.05.25 之后需要在线上数据执行的SQL.sql
2022.05.25 之后需要在线上数据执行的SQL.sql
+21
-1
No files found.
2022.05.25 之后需要在线上数据执行的SQL.sql
View file @
708b580b
#
#
2
022
.
05
.
25
#
#
2
022
.
05
.
25
...
...
@@ -5808,4 +5808,24 @@
###
线上数据已经执行
执行时间
:
2023
.
04
.
11
15
:
33
alter
table
opportunity
add
intention_remarks
varchar
(
510
)
null
comment
'意向说明'
;
#
新增字段
ALTER
TABLE
opportunity
ADD
COLUMN
new_rent_date
VARCHAR
(
10
)
AFTER
rent_date
;
#
填充数据
UPDATE
opportunity
SET
new_rent_date
=
DATE_FORMAT
(
rent_date
,
'%Y-%m'
)
WHERE
rent_date
IS
NOT
NULL
;
#
新增字段
ALTER
TABLE
opportunity
ADD
COLUMN
new_expect_deal_date
VARCHAR
(
10
)
AFTER
expect_deal_date
;
#
填充数据
UPDATE
opportunity
SET
new_expect_deal_date
=
DATE_FORMAT
(
expect_deal_date
,
'%Y-%m'
)
WHERE
expect_deal_date
IS
NOT
NULL
;
alter
table
bill_charge_notice_history_group
modify
status
tinyint
(
1
)
default
0
null
comment
'生成状态0生成中1已完成 2:生成失败'
;
alter
table
bill_charge_notice_history_group
add
error_msg
varchar
(
200
)
null
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