#12 -- Add database column
This commit is contained in:
parent
4265441490
commit
c072e1ec80
@ -25,7 +25,6 @@ public class FileChange extends BaseEntity {
|
||||
@Transient
|
||||
private boolean added;
|
||||
|
||||
@Transient
|
||||
private boolean containsEntity;
|
||||
|
||||
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY)
|
||||
|
15
src/main/resources/db/changelog-20210412_100000-schema.xml
Normal file
15
src/main/resources/db/changelog-20210412_100000-schema.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
|
||||
<!--
|
||||
~ Copyright (C) 2021 Anton Romanov - All Rights Reserved
|
||||
~ You may use, distribute and modify this code, please write to: romanov73@gmail.com.
|
||||
-->
|
||||
|
||||
<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="20210412-100000-1">
|
||||
<addColumn tableName="file_change">
|
||||
<column name="contains_entity" type="boolean"/>
|
||||
</addColumn>
|
||||
</changeSet>
|
||||
</databaseChangeLog>
|
@ -1,4 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!--
|
||||
~ Copyright (C) 2021 Anton Romanov - All Rights Reserved
|
||||
~ You may use, distribute and modify this code, please write to: romanov73@gmail.com.
|
||||
-->
|
||||
|
||||
<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
|
||||
@ -6,4 +11,5 @@
|
||||
<include file="db/changelog-20210317_140000-schema.xml"/>
|
||||
<include file="db/changelog-20210326_170000-schema.xml"/>
|
||||
<include file="db/changelog-20210329_120000-schema.xml"/>
|
||||
<include file="db/changelog-20210412_100000-schema.xml"/>
|
||||
</databaseChangeLog>
|
||||
|
Loading…
Reference in New Issue
Block a user