diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-04-25 07:35:45 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-04-25 09:58:53 +0200 |
commit | 40ae3082645ed3790eb1d5d6f04fb2ca36c19187 (patch) | |
tree | 5157fe5db532ec91b0c06ce5f81d4e92444b7fe9 /evolution/tester.bat | |
parent | 502926d96b0b5d79dc639b8388fbf19b11cda277 (diff) |
Add support for schema version table
Diffstat (limited to 'evolution/tester.bat')
-rw-r--r-- | evolution/tester.bat | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/evolution/tester.bat b/evolution/tester.bat index 5b949b4..e815522 100644 --- a/evolution/tester.bat +++ b/evolution/tester.bat @@ -28,15 +28,21 @@ if exist test*.sql ( rem Drop everything. rem + call %topdir%\%1-driver.bat test3.sql + if errorlevel 1 goto error + call %topdir%\%1-driver.bat test2.sql if errorlevel 1 goto error call %topdir%\%1-driver.bat test1.sql if errorlevel 1 goto error - rem Base schema (-post is always empty). + rem Base schema. rem - call %topdir%\%1-driver.bat test2-002-pre.sql + call %topdir%\%1-driver.bat test3-002-pre.sql + if errorlevel 1 goto error + + call %topdir%\%1-driver.bat test3-002-post.sql if errorlevel 1 goto error %dir%\driver.exe --options-file %topdir%\%1.options 1 @@ -44,13 +50,13 @@ if exist test*.sql ( rem Migration. rem - call %topdir%\%1-driver.bat test2-003-pre.sql + call %topdir%\%1-driver.bat test3-003-pre.sql if errorlevel 1 goto error %dir%\driver.exe --options-file %topdir%\%1.options 2 if errorlevel 1 goto error - call %topdir%\%1-driver.bat test2-003-post.sql + call %topdir%\%1-driver.bat test3-003-post.sql if errorlevel 1 goto error rem Current schema. |