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
... runs migrate down 1 and if that succeeds it runs migrate up 1 and ...
$ migrate redo 3
... runs migrate down 3 and if that succeeds it runs migrate up 3
I know, I know .... I've asked a lot this week! But I think this would be a great addition and should be dead easy to implement.
I've recently been using Ruby of Rails which was the one of the first (I think the first) frameworks to support DB migrations. They support a rails db:migrate:redo (ref) command. I found this is very convenient when coding as I'm constantly typing the two commands. I can just write my own shell script to do the same but I think it really it belongs with the migrate command.
The text was updated successfully, but these errors were encountered:
Please add a
migrate redo
command so that ...... runs
migrate down 1
and if that succeeds it runsmigrate up 1
and ...... runs
migrate down 3
and if that succeeds it runsmigrate up 3
I know, I know .... I've asked a lot this week! But I think this would be a great addition and should be dead easy to implement.
I've recently been using Ruby of Rails which was the one of the first (I think the first) frameworks to support DB migrations. They support a
rails db:migrate:redo
(ref) command. I found this is very convenient when coding as I'm constantly typing the two commands. I can just write my own shell script to do the same but I think it really it belongs with the migrate command.The text was updated successfully, but these errors were encountered: