9 lines
233 B
Ruby
9 lines
233 B
Ruby
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 |