mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
9 lines
213 B
Ruby
9 lines
213 B
Ruby
class RemoveUserFirsts < ActiveRecord::Migration
|
|
def up
|
|
drop_table(:user_firsts) if table_exists?(:user_firsts)
|
|
rescue
|
|
# continues with other migrations if we can't delete that table
|
|
nil
|
|
end
|
|
end
|