BigW Consortium Gitlab

20130131070232_remove_private_flag_from_project.rb 241 Bytes
Newer Older
1
# rubocop:disable all
2 3 4 5 6 7 8 9 10
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