debian-mirror-gitlab/db/migrate/20130131070232_remove_private_flag_from_project.rb
2016-06-16 23:09:34 +05:30

10 lines
241 B
Ruby

# rubocop:disable all
class RemovePrivateFlagFromProject < ActiveRecord::Migration
def up
remove_column :projects, :private_flag
end
def down
add_column :projects, :private_flag, :boolean, default: true, null: false
end
end