9 lines
218 B
Ruby
9 lines
218 B
Ruby
class AddIsProToAccounts < ActiveRecord::Migration[5.2]
|
|
def up
|
|
safety_assured { add_column :accounts, :is_pro, :bool, default: false, null: false }
|
|
end
|
|
|
|
def down
|
|
remove_column :accounts, :is_pro
|
|
end
|
|
end |