You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When performing a rollback with a migration id (and not a number of migrations to revert) the parsing of the id throws a "java.lang.NumberFormatException".
It looks like ragtime should handle this rollback scenario by performing an integer check. If the amount-or-id is an integer then the rollbacks perfoms x rollback iterations else the specific migration id is rolled back.
see joplin.alias rollback func:
(defn rollback [config-file env & [db num]]
(let [conf (*load-config* config-file)]
(when (and db num)
(repl/rollback conf
(keyword env) (keyword db)
(Long/parseLong num)))) ;;<<---- is this needed??
(System/exit 0))
The text was updated successfully, but these errors were encountered:
When performing a rollback with a migration id (and not a number of migrations to revert) the parsing of the id throws a "java.lang.NumberFormatException".
It looks like ragtime should handle this rollback scenario by performing an integer check. If the amount-or-id is an integer then the rollbacks perfoms x rollback iterations else the specific migration id is rolled back.
see joplin.alias rollback func:
The text was updated successfully, but these errors were encountered: