mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-10-25 07:57:39 +00:00
#374 - updated migration xml generated
This commit is contained in:
+574
-574
File diff suppressed because it is too large
Load Diff
@@ -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,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,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"/>
|
||||
|
||||
Reference in New Issue
Block a user