discourse/db/migrate/20160407160756_remove_user_...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
263 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class RemoveUserFirsts < ActiveRecord::Migration[4.2]
def up
drop_table(:user_firsts) if table_exists?(:user_firsts)
rescue StandardError
# continues with other migrations if we can't delete that table
nil
end
end