discourse/db/migrate/20160407160756_remove_user_firsts.rb
2016-04-12 19:56:25 +02:00

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