mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
continues with other migrations if we can't delete the 'user_firsts' table
This commit is contained in:
parent
8e4113a468
commit
fe6f587d4d
@ -1,5 +1,8 @@
|
|||||||
class RemoveUserFirsts < ActiveRecord::Migration
|
class RemoveUserFirsts < ActiveRecord::Migration
|
||||||
def up
|
def up
|
||||||
drop_table :user_firsts
|
drop_table :user_firsts
|
||||||
|
rescue
|
||||||
|
# continues with other migrations if we can't delete that table
|
||||||
|
nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user