1 2 3 4 5
class MakeUrisNullableInStatuses < ActiveRecord::Migration[4.2] def change change_column :statuses, :uri, :string, null: true, default: nil end end