diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-04-26 15:54:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-04-26 15:54:19 +0200 |
commit | 08998bc4e38c07222f0d995824d576a4b424ed6b (patch) | |
tree | 594af2f47e79c97360c6d5f144c906c94a3604a8 /common/changelog/add-table-mysql-diff.xml | |
parent | 08c135da0bc2f63f8381c690affae0d6b5804cff (diff) |
Add support for table options in changelog, use to handle MySQL engine
Diffstat (limited to 'common/changelog/add-table-mysql-diff.xml')
-rw-r--r-- | common/changelog/add-table-mysql-diff.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/changelog/add-table-mysql-diff.xml b/common/changelog/add-table-mysql-diff.xml index 19bca23..f899cb2 100644 --- a/common/changelog/add-table-mysql-diff.xml +++ b/common/changelog/add-table-mysql-diff.xml @@ -1,6 +1,6 @@ <changelog xmlns="http://www.codesynthesis.com/xmlns/odb/changelog" database="mysql" version="1"> <changeset version="2"> - <add-table name="object"> + <add-table name="object" options="ENGINE=InnoDB"> <column name="id" type="INT" null="false"/> <column name="num" type="INT" null="false"/> <column name="o1" type="INT" null="true"/> @@ -14,7 +14,7 @@ </references> </foreign-key> </add-table> - <add-table name="object_nums"> + <add-table name="object_nums" options="ENGINE=InnoDB"> <column name="object_id" type="INT" null="false"/> <column name="index" type="BIGINT UNSIGNED" null="false"/> <column name="value" type="INT" null="false"/> @@ -34,7 +34,7 @@ </changeset> <model version="1"> - <table name="object1"> + <table name="object1" options="ENGINE=InnoDB"> <column name="id" type="INT" null="false"/> <column name="num" type="INT" null="false"/> <primary-key> |