gab-social/db/migrate/20190515001947_add_is_verified_to_accounts.rb

9 lines
233 B
Ruby
Raw Normal View History

2019-07-02 08:10:25 +01:00
class AddIsVerifiedToAccounts < ActiveRecord::Migration[5.2]
def up
safety_assured { add_column :accounts, :is_verified, :bool, default: false, null: false }
end
def down
remove_column :accounts, :is_verified
end
end