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