aboutsummaryrefslogtreecommitdiff
path: root/evolution/add-table
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-table
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-table')
-rw-r--r--evolution/add-table/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/evolution/add-table/makefile b/evolution/add-table/makefile
index 36639ac..76cb897 100644
--- a/evolution/add-table/makefile
+++ b/evolution/add-table/makefile
@@ -86,8 +86,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)