add database column
This commit is contained in:
parent
61c19e5b87
commit
7388b2cb27
13
src/main/resources/db/changelog-20181027_000000-schema.xml
Normal file
13
src/main/resources/db/changelog-20181027_000000-schema.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
|
||||
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd">
|
||||
<changeSet author="orion" id="20181027_000000-1">
|
||||
<preConditions onFail="MARK_RAN">
|
||||
<not><columnExists columnName="deadline_date" tableName="paper"/></not>
|
||||
</preConditions>
|
||||
<addColumn tableName="paper">
|
||||
<column name="deadline_date" type="TIMESTAMP"/>
|
||||
</addColumn>
|
||||
</changeSet>
|
||||
</databaseChangeLog>
|
@ -11,4 +11,5 @@
|
||||
<include file="db/changelog-20180405_110000-schema.xml"/>
|
||||
<include file="db/changelog-20180428_110000-schema.xml"/>
|
||||
<include file="db/changelog-20180505_000000-schema.xml"/>
|
||||
<include file="db/changelog-20181027_000000-schema.xml"/>
|
||||
</databaseChangeLog>
|
Loading…
Reference in New Issue
Block a user