2019-05-02 18:17:27 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-08-31 00:06:56 -04:00
|
|
|
class RemoveUserFirsts < ActiveRecord::Migration[4.2]
|
2016-04-07 12:27:26 -04:00
|
|
|
def up
|
2016-04-12 13:56:25 -04:00
|
|
|
drop_table(:user_firsts) if table_exists?(:user_firsts)
|
2016-04-12 11:04:04 -04:00
|
|
|
rescue StandardError
|
|
|
|
# continues with other migrations if we can't delete that table
|
|
|
|
nil
|
2016-04-07 12:27:26 -04:00
|
|
|
end
|
2024-10-25 03:13:06 -04:00
|
|
|
|
|
|
|
def down
|
|
|
|
raise ActiveRecord::IrreversibleMigration
|
|
|
|
end
|
2016-04-07 12:27:26 -04:00
|
|
|
end
|