Skip to content

Commit

Permalink
feat: update changeset ids
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriidenisenko committed Dec 8, 2024
1 parent e531a69 commit 762412b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd">


<changeSet id="20220704000000" author="developer">
<changeSet id="20240704000000" author="dev-team">
<createTable tableName="countries">
<column name="id" type="INT" autoIncrement="true">
<constraints primaryKey="true" nullable="false"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd">


<changeSet id="20220707000001" author="developer">
<changeSet id="20240707000001" author="dev-team">
<createTable tableName="cities">
<column name="id" type="INT" autoIncrement="true">
<constraints primaryKey="true" nullable="false"/>
Expand All @@ -24,7 +24,7 @@
<append value="ENGINE=INNODB CHARSET=UTF8 COLLATE utf8_unicode_ci"/>
</modifySql>
</changeSet>
<changeSet id="20220707000002" author="developer">
<changeSet id="20240707000002" author="dev-team">
<addForeignKeyConstraint baseColumnNames="country_id"
baseTableName="cities"
constraintName="fk_country_city_id"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd">


<changeSet id="20220708000001" author="developer">
<changeSet id="20240708000001" author="dev-team">
<createTable tableName="hotels">
<column name="id" type="INT" autoIncrement="true">
<constraints primaryKey="true" nullable="false"/>
Expand All @@ -25,7 +25,7 @@
<append value="ENGINE=INNODB CHARSET=UTF8 COLLATE utf8_unicode_ci"/>
</modifySql>
</changeSet>
<changeSet id="20220708000002" author="developer">
<changeSet id="20240708000002" author="dev-team">
<addForeignKeyConstraint baseColumnNames="country_id"
baseTableName="hotels"
constraintName="fk_country_hotel_id"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd">

<include file="migrations/changelog/20220704000000_create_countries_table.xml"/>
<include file="migrations/changelog/20220707000000_create_cities_table.xml"/>
<include file="migrations/changelog/20220708000000_create_hotels_table.xml"/>
<include file="migrations/changelog/20240704000000_create_countries_table.xml"/>
<include file="migrations/changelog/20240707000000_create_cities_table.xml"/>
<include file="migrations/changelog/20240708000000_create_hotels_table.xml"/>

</databaseChangeLog>

0 comments on commit 762412b

Please sign in to comment.