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
I was applying a set of migrations using Flyway Command-line. I wanted to use the option -target to specify the target version because a had more scripts (to migrate in future). However, when i wrote the option i wrote it wrong: "flyway -targte=20150326 migrate" and all scripts were migrated (it wasn't wat i wanted).
Wrong options shouldn't permite execute commands. In situations like this an error could be printed to user in order to correct it. In other words, options should be validated.
The text was updated successfully, but these errors were encountered: