aboutsummaryrefslogtreecommitdiff
path: root/common/changelog/add-foreign-key-pgsql-diff.xml
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-04-08 11:13:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-04-10 18:46:47 +0200
commitacd66db1ce8aa960b34710857ce990dd048cd3ae (patch)
tree05a355b8b2c0a9c40a54ab20d529188ee36ec34a /common/changelog/add-foreign-key-pgsql-diff.xml
parent0429c7b008594a874696f91c29b17ae4ee40efff (diff)
Generate add/drop foreign key migration statements
Also add the --fkeys-deferrable-mode option. General schemas generation rework.
Diffstat (limited to 'common/changelog/add-foreign-key-pgsql-diff.xml')
-rw-r--r--common/changelog/add-foreign-key-pgsql-diff.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/changelog/add-foreign-key-pgsql-diff.xml b/common/changelog/add-foreign-key-pgsql-diff.xml
index 34c0952..06079b8 100644
--- a/common/changelog/add-foreign-key-pgsql-diff.xml
+++ b/common/changelog/add-foreign-key-pgsql-diff.xml
@@ -2,7 +2,7 @@
<changeset version="2">
<alter-table name="object">
<add-column name="o1" type="INTEGER" null="true"/>
- <add-foreign-key name="o1_fk" deferred="true">
+ <add-foreign-key name="o1_fk" deferrable="DEFERRED">
<column name="o1"/>
<references table="object1">
<column name="id"/>