From 7d1e16930e37c4109f439f5ebe1e789b9619a57e Mon Sep 17 00:00:00 2001
From: Boris Kolpackov <boris@codesynthesis.com>
Date: Mon, 8 Apr 2013 15:41:43 +0200
Subject: First use drop statements corresponding to latest model

Otherwise we may be dropping an object table that still has container
tables referencing it.
---
 evolution/add-column/makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'evolution/add-column')

diff --git a/evolution/add-column/makefile b/evolution/add-column/makefile
index 62d3aa9..f6dd0f3 100644
--- a/evolution/add-column/makefile
+++ b/evolution/add-column/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)
-- 
cgit v1.1