gitlab-org--gitlab-foss/db/migrate/20130324172327_change_proje...

11 lines
256 B
Ruby

# rubocop:disable all
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