Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd">
<changeSet author="sb" id="oldalbum-1.0.0-albumentries">
<preConditions onFail="CONTINUE" >
<not>
<tableExists tableName="albumentries" />
</not>
</preConditions>
<createTable tableName="albumentries">
<column autoIncrement="true" name="albumentry_id" type="INTEGER">
<constraints primaryKey="true" primaryKeyName="account_primary_key"/>
</column>
<column name="path" type="VARCHAR(256)" />
<column name="album" type="boolean" />
</createTable>
</changeSet>
</databaseChangeLog>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment