aboutsummaryrefslogtreecommitdiff
path: root/evolution/tester.bat
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/tester.bat
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/tester.bat')
-rw-r--r--evolution/tester.bat4
1 files changed, 2 insertions, 2 deletions
diff --git a/evolution/tester.bat b/evolution/tester.bat
index ea40b35..5b949b4 100644
--- a/evolution/tester.bat
+++ b/evolution/tester.bat
@@ -28,10 +28,10 @@ if exist test*.sql (
rem Drop everything.
rem
- call %topdir%\%1-driver.bat test1.sql
+ call %topdir%\%1-driver.bat test2.sql
if errorlevel 1 goto error
- call %topdir%\%1-driver.bat test2.sql
+ call %topdir%\%1-driver.bat test1.sql
if errorlevel 1 goto error
rem Base schema (-post is always empty).