2023-07-12 16:47:08 +09:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-06-10 01:09:37 +09:00
|
|
|
class RemoveDefaultLanguageFromStatuses < ActiveRecord::Migration[5.1]
|
2024-06-26 22:51:11 +09:00
|
|
|
def up
|
2017-06-10 01:09:37 +09:00
|
|
|
change_column :statuses, :language, :string, default: nil, null: true
|
|
|
|
end
|
2024-06-26 22:51:11 +09:00
|
|
|
|
|
|
|
def down
|
|
|
|
raise ActiveRecord::IrreversibleMigration
|
|
|
|
end
|
2017-06-10 01:09:37 +09:00
|
|
|
end
|