Skip to content

Commit

Permalink
update with liquibase changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mherman22 committed Jan 14, 2024
1 parent 14890b6 commit 4843584
Showing 1 changed file with 96 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,100 @@
baseTableName="global_property" baseColumnNames="delete_privilege"
referencedTableName="privilege" referencedColumnNames="privilege" />
</changeSet>


<changeSet id="TRUNK-5903-20240114-0" author="mherman22">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="role" columnName="creator"/>
</not>
</preConditions>
<comment>Adding "creator" column to role table</comment>
<addColumn tableName="role">
<column name="creator" type="INT"/>
</addColumn>
</changeSet>

<changeSet id="TRUNK-5903-20240114-1" author="mherman22">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="role" columnName="date_created"/>
</not>
</preConditions>
<comment>Adding "date_created" column to role table</comment>
<addColumn tableName="role">
<column name="date_created" type="DATETIME"/>
</addColumn>
</changeSet>

<changeSet id="TRUNK-5903-20240114-2" author="mherman22">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="role" columnName="changed_by"/>
</not>
</preConditions>
<comment>Adding "changed_by" column to role table</comment>
<addColumn tableName="role">
<column name="changed_by" type="INT"/>
</addColumn>
</changeSet>

<changeSet id="TRUNK-5903-20240114-3" author="mherman22">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="role" columnName="date_changed"/>
</not>
</preConditions>
<comment>Adding "date_changed" column to role table</comment>
<addColumn tableName="role">
<column name="date_changed" type="DATETIME"/>
</addColumn>
</changeSet>

<changeSet id="TRUNK-5903-20240114-4" author="mherman22">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="role" columnName="retired"/>
</not>
</preConditions>
<comment>Adding "retired" column to role table</comment>
<addColumn tableName="role">
<column name="retired" type="BOOLEAN"/>
</addColumn>
</changeSet>

<changeSet id="TRUNK-5903-20240114-5" author="mherman22">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="role" columnName="retired_by"/>
</not>
</preConditions>
<comment>Adding "retired_by" column to role table</comment>
<addColumn tableName="role">
<column name="retired_by" type="INT"/>
</addColumn>
</changeSet>

<changeSet id="TRUNK-5903-20240114-6" author="mherman22">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="role" columnName="date_retired"/>
</not>
</preConditions>
<comment>Adding "date_retired" column to role table</comment>
<addColumn tableName="role">
<column name="date_retired" type="DATETIME"/>
</addColumn>
</changeSet>

<changeSet id="TRUNK-5903-20240114-7" author="mherman22">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="role" columnName="retire_reason"/>
</not>
</preConditions>
<comment>Adding "retire_reason" column to role table</comment>
<addColumn tableName="role">
<column name="retire_reason" type="VARCHAR(255)"/>
</addColumn>
</changeSet>
</databaseChangeLog>

0 comments on commit 4843584

Please sign in to comment.