blob: 9256e62086e19841dba15ac648e588786ccd9305 (
plain)
1
2
3
4
5
6
7
8
9
10
|
# 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
|