example-changelog.xml
Home
/
examples /
providers /
domain-extension /
src /
main /
resources /
META-INF /
example-changelog.xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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="erik.mulder@docdatapayments.com" id="example-1.0">
<createTable tableName="EXAMPLE_COMPANY">
<column name="ID" type="VARCHAR(36)">
<constraints nullable="false"/>
</column>
<column name="NAME" type="VARCHAR(255)">
<constraints nullable="false"/>
</column>
<column name="REALM_ID" type="VARCHAR(36)">
<constraints nullable="false"/>
</column>
</createTable>
<addPrimaryKey
constraintName="PK_COMPANY"
tableName="EXAMPLE_COMPANY"
columnNames="ID"
/>
</changeSet>
</databaseChangeLog>