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