wip
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd">
|
||||
<include file="prepare-database.sql" relativeToChangelogFile="true"/>
|
||||
<include file="changeset/create-user.xml" relativeToChangelogFile="true"/>
|
||||
<include file="changeset/create-server.xml" relativeToChangelogFile="true"/>
|
||||
<include file="changeset/create-game.xml" relativeToChangelogFile="true"/>
|
||||
<include file="changeset/create-cage.xml" relativeToChangelogFile="true"/>
|
||||
<include file="changeset/create-hamster.xml" relativeToChangelogFile="true"/>
|
||||
|
||||
@@ -8,9 +8,6 @@
|
||||
<column name="id" type="uuid" defaultValueComputed="gen_random_uuid()">
|
||||
<constraints nullable="false" unique="true"/>
|
||||
</column>
|
||||
<column name="server_id" type="uuid">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
<column name="user_id" type="uuid">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<databaseChangeLog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
|
||||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd">
|
||||
<changeSet id="add-server-table" author="kratisto">
|
||||
<createTable tableName="server">
|
||||
<column name="id" type="uuid" defaultValueComputed="gen_random_uuid()">
|
||||
<constraints nullable="false" unique="true"/>
|
||||
</column>
|
||||
<column name="name" type="text">
|
||||
<constraints nullable="true"/>
|
||||
</column>
|
||||
</createTable>
|
||||
</changeSet>
|
||||
</databaseChangeLog>
|
||||
Reference in New Issue
Block a user