Split Changelogs
This commit is contained in:
parent
09cc4a18ca
commit
8f2b321720
@ -0,0 +1,22 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<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.4.xsd">
|
||||||
|
|
||||||
|
<changeSet id="0" author="unknown">
|
||||||
|
<sql>
|
||||||
|
CREATE SCHEMA IF NOT EXISTS user_management;
|
||||||
|
</sql>
|
||||||
|
</changeSet>
|
||||||
|
<changeSet id="1" author="unknown">
|
||||||
|
<createTable tableName="users" schemaName="user_management">
|
||||||
|
<column name="id" type="bigint">
|
||||||
|
<constraints primaryKey="true" nullable="false"/>
|
||||||
|
</column>
|
||||||
|
<column name="name" type="varchar(255)">
|
||||||
|
<constraints nullable="false"/>
|
||||||
|
</column>
|
||||||
|
</createTable>
|
||||||
|
</changeSet>
|
||||||
|
</databaseChangeLog>
|
@ -4,13 +4,7 @@
|
|||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
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.4.xsd">
|
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd">
|
||||||
|
|
||||||
<!-- <changeSet id="0" author="unknown">-->
|
|
||||||
<!-- <sql>-->
|
|
||||||
<!-- CREATE SCHEMA IF NOT EXISTS user_management;-->
|
|
||||||
<!-- </sql>-->
|
|
||||||
<!-- </changeSet>-->
|
|
||||||
<changeSet id="1" author="unknown">
|
<changeSet id="1" author="unknown">
|
||||||
<!-- <createTable tableName="users" schemaName="user_management">-->
|
|
||||||
<createTable tableName="users">
|
<createTable tableName="users">
|
||||||
<column name="id" type="bigint">
|
<column name="id" type="bigint">
|
||||||
<constraints primaryKey="true" nullable="false"/>
|
<constraints primaryKey="true" nullable="false"/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user