aboutsummaryrefslogtreecommitdiff
path: root/evolution/add-foreign-key/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-04-08 15:41:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-04-10 18:46:47 +0200
commit7d1e16930e37c4109f439f5ebe1e789b9619a57e (patch)
treee5bf50afbb965b153a6ec1212b2f38cd524aaeb6 /evolution/add-foreign-key/makefile
parentf57a6e7a73e425c2301e62b49c728c12ee801bcc (diff)
First use drop statements corresponding to latest model
Otherwise we may be dropping an object table that still has container tables referencing it.
Diffstat (limited to 'evolution/add-foreign-key/makefile')
-rw-r--r--evolution/add-foreign-key/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/evolution/add-foreign-key/makefile b/evolution/add-foreign-key/makefile
index 88942b3..d06a50e 100644
--- a/evolution/add-foreign-key/makefile
+++ b/evolution/add-foreign-key/makefile
@@ -87,8 +87,8 @@ $(dist):
#
$(test): $(driver)
# Drop everything.
- $(call schema,$(out_base)/test1.sql)
$(call schema,$(out_base)/test2.sql)
+ $(call schema,$(out_base)/test1.sql)
# Base schema (-post is always empty).
$(call schema,$(out_base)/test2-002-pre.sql)
$(call message,test $< base,$< --options-file $(dcf_root)/db.options 1)