BigW Consortium Gitlab

20130324172327_change_project_id_to_null_in_snipepts.rb 256 Bytes
Newer Older
1
# rubocop:disable all
2 3 4 5 6 7 8 9 10
class ChangeProjectIdToNullInSnipepts < ActiveRecord::Migration
  def up
    change_column :snippets, :project_id, :integer, :null => true
  end

  def down
    change_column :snippets, :project_id, :integer, :null => false
  end
end