2023-07-12 17:47:08 +10:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-06-05 10:43:02 +10:00
|
|
|
class MakeUrisNullableInStatuses < ActiveRecord::Migration[4.2]
|
2024-06-26 23:51:11 +10:00
|
|
|
def up
|
2016-02-24 05:17:37 +11:00
|
|
|
change_column :statuses, :uri, :string, null: true, default: nil
|
|
|
|
end
|
2024-06-26 23:51:11 +10:00
|
|
|
|
|
|
|
def down
|
|
|
|
raise ActiveRecord::IrreversibleMigration
|
|
|
|
end
|
2016-02-24 05:17:37 +11:00
|
|
|
end
|