Skip to content

Instantly share code, notes, and snippets.

@steinarb
Created July 11, 2020 11:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steinarb/f3ef6ea04e54e35e0a3bff3d986cb476 to your computer and use it in GitHub Desktop.
Save steinarb/f3ef6ea04e54e35e0a3bff3d986cb476 to your computer and use it in GitHub Desktop.
<?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