only drop 'user_firsts' table if it exists
This commit is contained in:
parent
c30784394f
commit
f95f488a0b
|
@ -1,6 +1,6 @@
|
|||
class RemoveUserFirsts < ActiveRecord::Migration
|
||||
def up
|
||||
drop_table :user_firsts
|
||||
drop_table(:user_firsts) if table_exists?(:user_firsts)
|
||||
rescue
|
||||
# continues with other migrations if we can't delete that table
|
||||
nil
|
||||
|
|
Loading…
Reference in New Issue