migrations: migrate down ALL

13 views
Skip to first unread message

Stephen Friedrich

unread,
May 15, 2012, 3:31:23 AM5/15/12
to mybati...@googlegroups.com
Is there a way to revert _all_ migrations without causing an error message?

Currently I do
migrate down 999
which works ok, but results in an error message
org.apache.ibatis.migration.MigrationException: Error undoing last migration.
plus a lengthy stacktrace.

How about allowing
   migrate down all
or
   migrate version 0
or something like that?

Reply all
Reply to author
Forward
0 new messages