how to rollback a specific migration
1. go to db / migrations
2. find the specific migration number
3. $ rake db:migrate:down VERSION=20220728103647
4. change in the specific migration
5. rake db:migrate:up VERSION=20220728103647
1. go to db / migrations
2. find the specific migration number
3. $ rake db:migrate:down VERSION=20220728103647
4. change in the specific migration
5. rake db:migrate:up VERSION=20220728103647
Comments
Post a Comment