Gab Social. All are welcome.
This commit is contained in:
9
db/migrate/20190515001947_add_is_verified_to_accounts.rb
Normal file
9
db/migrate/20190515001947_add_is_verified_to_accounts.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
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
|
||||
Reference in New Issue
Block a user