#919 - io.ebean package initial

This commit is contained in:
Rob Bygrave committed 2016-12-11 23:23:22 +13:00
1 parent 5821dc96b9
commit 971e2dc91b
2134 files changed
+10721 -8652

No files matched your search

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<migration xmlns="http://ebean-orm.github.io/xml/ns/dbmigration">
<changeSet type="apply">
<createTable name="document" withHistory="true" pkName="pk_document">
<column name="id" type="bigint" primaryKey="true" references="document_draft.id" foreignKeyName="fk_document_id"/>
<column name="title" type="varchar(255)" unique="uq_document_title"/>
<column name="body" type="varchar(255)"/>
<column name="zing" type="varchar(255)"/>
<column name="zong" type="varchar(255)"/>
<column name="version" type="bigint" notnull="true"/>
<column name="when_created" type="timestamp" notnull="true"/>
<column name="when_modified" type="timestamp" notnull="true"/>
</createTable>
</changeSet>
</migration>
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<migration xmlns="http://ebean-orm.github.io/xml/ns/dbmigration">
<changeSet type="apply">
<addColumn tableName="document" withHistory="true">
<column name="boom" type="varchar(255)"/>
<column name="baz" type="varchar(255)"/>
<column name="bar" type="varchar(255)"/>
</addColumn>
</changeSet>
<changeSet type="pendingDrops">
<dropColumn columnName="zing" tableName="document" withHistory="true"/>
</changeSet>
</migration>
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<migration xmlns="http://ebean-orm.github.io/xml/ns/dbmigration">
<changeSet type="apply" dropsFor="1.1">
<dropColumn columnName="zing" tableName="document" withHistory="true"/>
</changeSet>
</migration>
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<migration xmlns="http://ebean-orm.github.io/xml/ns/dbmigration">
<changeSet type="apply">
<createTable name="document" withHistory="true" pkName="pk_document">
<column name="id" type="bigint" primaryKey="true" references="document_draft.id" foreignKeyName="fk_document_id"/>
<column name="title" type="varchar(255)" unique="uq_document_title"/>
<column name="body" type="varchar(255)"/>
<column name="boom" type="varchar(255)"/>
<column name="baz" type="varchar(255)"/>
<column name="bar" type="varchar(255)"/>
<column name="zing" type="varchar(255)"/>
<column name="zong" type="varchar(255)"/>
<column name="version" type="bigint" notnull="true"/>
<column name="when_created" type="timestamp" notnull="true"/>
<column name="when_modified" type="timestamp" notnull="true"/>
</createTable>
</changeSet>
</migration>
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<migration xmlns="http://ebean-orm.github.io/xml/ns/dbmigration">
<changeSet type="pendingDrops" suppressDropsForever="true">
<dropColumn columnName="boom" tableName="document" withHistory="true"/>
<dropColumn columnName="baz" tableName="document" withHistory="true"/>
<dropColumn columnName="bar" tableName="document" withHistory="true"/>
</changeSet>
<changeSet type="pendingDrops">
<dropColumn columnName="zing" tableName="document" withHistory="true"/>
<dropColumn columnName="zong" tableName="document" withHistory="true"/>
</changeSet>
</migration>
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<migration xmlns="http://ebean-orm.github.io/xml/ns/dbmigration">
<changeSet type="apply" dropsFor="2.1">
<dropColumn columnName="zing" tableName="document" withHistory="true"/>
</changeSet>
</migration>