continues with other migrations if we can't delete the 'user_firsts' table

This commit is contained in:
Régis Hanol 2016-04-12 17:04:04 +02:00
parent 8e4113a468
commit fe6f587d4d
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,8 @@
class RemoveUserFirsts < ActiveRecord::Migration
def up
drop_table :user_firsts
rescue
# continues with other migrations if we can't delete that table
nil
end
end