#374 - updated migration xml generated

This commit is contained in:
Robin Bygrave
2015-08-07 13:23:25 +12:00
parent 1585bd7cd0
commit ce0d73cf23
4 changed files with 580 additions and 580 deletions
+574 -574
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -2,11 +2,11 @@
<migration xmlns="http://ebean-orm.github.io/xml/ns/dbmigration">
<changeSet>
<createTable name="ut_detail">
<column primaryKey="true" identity="true" name="id" type="integer"/>
<column name="id" type="integer" primaryKey="true" identity="true"/>
<column name="name" type="varchar(255)"/>
<column name="qty" type="integer"/>
<column name="amount" type="double"/>
<column notnull="true" name="version" type="integer"/>
<column name="version" type="integer" notnull="true"/>
</createTable>
</changeSet>
</migration>
+2 -2
View File
@@ -2,11 +2,11 @@
<migration xmlns="http://ebean-orm.github.io/xml/ns/dbmigration">
<changeSet>
<createTable name="e_basicver">
<column primaryKey="true" identity="true" name="id" type="integer"/>
<column name="id" type="integer" primaryKey="true" identity="true"/>
<column name="name" type="varchar(255)"/>
<column name="description" type="varchar(255)"/>
<column name="other" type="varchar(255)"/>
<column notnull="true" name="last_update" type="timestamp"/>
<column name="last_update" type="timestamp" notnull="true"/>
</createTable>
</changeSet>
</migration>
+2 -2
View File
@@ -2,8 +2,8 @@
<migration xmlns="http://ebean-orm.github.io/xml/ns/dbmigration">
<changeSet>
<createTable name="e_basic">
<column primaryKey="true" identity="true" name="id" type="integer"/>
<column checkConstraint="check (status in ('N','A','I'))" name="status" type="varchar(1)"/>
<column name="id" type="integer" primaryKey="true" identity="true"/>
<column name="status" type="varchar(1)" checkConstraint="check (status in ('N','A','I'))"/>
<column name="name" type="varchar(255)"/>
<column name="description" type="varchar(255)"/>
<column name="some_date" type="timestamp"/>