gab-social/db/migrate/20190510222844_add_is_pro_t...

9 lines
218 B
Ruby
Raw Permalink Normal View History

2019-07-02 08:10:25 +01:00
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