Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
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
项目统一框架
amos-boot-biz
Commits
4f3a7fdf
Commit
4f3a7fdf
authored
Sep 10, 2021
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
巡检隐患表添加字段liqubase
parent
4806bfab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
0 deletions
+38
-0
patrol-3.0.1.xml
...m-patrol/src/main/resources/db/changelog/patrol-3.0.1.xml
+38
-0
No files found.
amos-boot-system-patrol/src/main/resources/db/changelog/patrol-3.0.1.xml
View file @
4f3a7fdf
...
@@ -84,4 +84,41 @@
...
@@ -84,4 +84,41 @@
MODIFY COLUMN `dep_name` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '执行部门名称';
MODIFY COLUMN `dep_name` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '执行部门名称';
</sql>
</sql>
</changeSet>
</changeSet>
<changeSet
author=
"tb"
id=
"tb-202109101731-1"
>
<preConditions
onFail=
"MARK_RAN"
>
<not>
<columnExists
tableName=
"p_latent_danger"
columnName=
"biz_type"
/>
</not>
</preConditions>
<comment>
p_latent_danger add COLUMN biz_type '业务类型(不同业务创建的隐患以此区分)'
</comment>
<sql>
ALTER TABLE p_latent_danger add COLUMN `biz_type` varchar(30) DEFAULT NULL COMMENT '业务类型(不同业务创建的隐患以此区分)' after
`id`;
</sql>
</changeSet>
<changeSet
author=
"tb"
id=
"tb-202109101731-2"
>
<preConditions
onFail=
"MARK_RAN"
>
<not>
<columnExists
tableName=
"p_latent_danger"
columnName=
"longitude"
/>
</not>
</preConditions>
<comment>
p_latent_danger add COLUMN longitude '隐患地址经度'
</comment>
<sql>
ALTER TABLE p_latent_danger add COLUMN `longitude` varchar(30) DEFAULT NULL COMMENT '隐患地址经度' after
`danger_position`;
</sql>
</changeSet>
<changeSet
author=
"tb"
id=
"tb-202109101731-3"
>
<preConditions
onFail=
"MARK_RAN"
>
<not>
<columnExists
tableName=
"p_latent_danger"
columnName=
"latitude"
/>
</not>
</preConditions>
<comment>
p_latent_danger add COLUMN latitude '隐患地址纬度'
</comment>
<sql>
ALTER TABLE p_latent_danger add COLUMN `latitude` varchar(30) DEFAULT NULL COMMENT '隐患地址纬度' after
`longitude`;
</sql>
</changeSet>
</databaseChangeLog>
</databaseChangeLog>
\ No newline at end of file
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