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
2146b5f2
Commit
2146b5f2
authored
Mar 22, 2023
by
仲光辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add sql.
parent
fbc1942f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
3 deletions
+31
-3
2022.05.25 之后需要在线上数据执行的SQL.sql
2022.05.25 之后需要在线上数据执行的SQL.sql
+31
-3
No files found.
2022.05.25 之后需要在线上数据执行的SQL.sql
View file @
2146b5f2
#
#
2
022
.
05
.
25
#
#
2
022
.
05
.
25
...
@@ -5603,7 +5603,6 @@
...
@@ -5603,7 +5603,6 @@
###
线上数据已经执行
执行时间
:
2022
.
12
.
10
12
:
56
###
线上数据已经执行
执行时间
:
2022
.
12
.
10
12
:
56
#
alter
table
opportunity
#
alter
table
opportunity
#
modify
is_delete
tinyint
(
1
)
default
0
null
comment
'是否删除:0-未删;1-已删除 1.8.1 新需求可以存在多条复看记录,没次看到的都是最新的一天记录数据 实现逻辑: 最新的记录数据的 isDelete 字段取值为0 ,其Ta记录数据的 isDelete 取值为 1'
;
#
modify
is_delete
tinyint
(
1
)
default
0
null
comment
'是否删除:0-未删;1-已删除 1.8.1 新需求可以存在多条复看记录,没次看到的都是最新的一天记录数据 实现逻辑: 最新的记录数据的 isDelete 字段取值为0 ,其Ta记录数据的 isDelete 取值为 1'
;
#
#
...
@@ -5657,7 +5656,6 @@
...
@@ -5657,7 +5656,6 @@
#
#
###
线上数据已经执行
执行时间
:
2023
.
01
.
18
01
:
27
###
线上数据已经执行
执行时间
:
2023
.
01
.
18
01
:
27
#
alter
table
contract
#
alter
table
contract
...
@@ -5760,5 +5758,35 @@
...
@@ -5760,5 +5758,35 @@
###
线上数据已经执行
执行时间
:
2023
.
03
.
15
10
:
31
###
线上数据已经执行
执行时间
:
2023
.
03
.
15
10
:
31
#
create
table
bill_cost_type
#
(
#
id
bigint
not
null
comment
'主键id'
primary
key
,
#
bill_cost_type_uuid
bigint
not
null
comment
'主键 uuid'
,
#
cost_type
tinyint
not
null
comment
'费用类型:1:收款费用类型 2:付款费用类型'
,
#
name
varchar
(
20
)
not
null
comment
'费用名称'
,
#
is_base_cost
tinyint
not
null
comment
'是否基础费用类型 0:否 1:是'
,
#
`key`
varchar
(
64
)
null
comment
'key'
,
#
is_organizer_charge
tinyint
(
1
)
default
0
not
null
comment
'是否运营主体收取'
,
#
is_delete
tinyint
(
1
)
default
0
null
comment
'是否删除 0:未删除 1:已删除'
,
#
create_uuid
char
(
32
)
null
comment
'创建人'
,
#
update_uuid
char
(
32
)
null
comment
'修改人'
,
#
create_time
datetime
default
CURRENT_TIMESTAMP
null
comment
'创建时间'
,
#
update_time
datetime
default
CURRENT_TIMESTAMP
null
on
update
CURRENT_TIMESTAMP
comment
'修改时间'
,
#
creator_name
varchar
(
64
)
null
comment
'创建人姓名'
,
#
updater_name
varchar
(
64
)
null
comment
'更新人姓名'
#
)
#
comment
'账单费用类型'
;
#
#
create
index
bill_cost_type_bill_cost_type_uuid_index
#
on
bill_cost_type
(
bill_cost_type_uuid
);
#
#
alter
table
bill_cost_type
#
modify
is_base_cost
tinyint
default
0
null
comment
'是否基础费用类型 0:否 1:是'
;
#
#
alter
table
bill_cost_type
#
modify
is_organizer_charge
tinyint
(
1
)
default
0
not
null
comment
'是否运营主体收取 0:否 1:是'
;
###
线上数据已经执行
执行时间
:
2023
.
03
.
22
18
:
42
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