How do you skip failed migrations? (rake db:migrate)

前端 未结 7 1685
忘了有多久
忘了有多久 2021-01-30 16:32

I can\'t seem to find an option or anything that allows me to skip migrations.

I know what you\'re thinking: \"you should never have to do that...\"

I need to sk

7条回答
  •  梦毁少年i
    2021-01-30 17:18

    Instead of skip the migration you could make your migration smart, adding some IF to it, so you can check "specific users"

提交回复
热议问题