2016-06-09 12:39:16 +00:00
|
|
|
# rubocop:disable all
|
2013-03-24 18:31:14 +00:00
|
|
|
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
|