diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-04-26 17:18:13 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-04-26 17:18:13 +0200 |
commit | 5ad792c3b4ee4d2cc558f320c0c26210e4fa31bf (patch) | |
tree | d32235ccf970302f9c2fff1817ddfb5dcf7b658f /common/changelog/add-foreign-key-oracle-patch.xml | |
parent | 08998bc4e38c07222f0d995824d576a4b424ed6b (diff) |
Add support for extra database info in primary key
Use that to handle Oracle sequence name and SQLite lax auto ids.
Diffstat (limited to 'common/changelog/add-foreign-key-oracle-patch.xml')
-rw-r--r-- | common/changelog/add-foreign-key-oracle-patch.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/changelog/add-foreign-key-oracle-patch.xml b/common/changelog/add-foreign-key-oracle-patch.xml index c58f162..fcadec0 100644 --- a/common/changelog/add-foreign-key-oracle-patch.xml +++ b/common/changelog/add-foreign-key-oracle-patch.xml @@ -3,7 +3,7 @@ <table name="object"> <column name="id" type="NUMBER(10)" null="false"/> <column name="o1" type="NUMBER(10)" null="true"/> - <primary-key auto="true"> + <primary-key auto="true" sequence="object_seq"> <column name="id"/> </primary-key> <foreign-key name="object_o1_fk" deferrable="DEFERRED"> |