mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 23:46:30 +08:00
9 lines
218 B
Ruby
9 lines
218 B
Ruby
class RemoveUserFirsts < ActiveRecord::Migration[4.2]
|
|
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
|