mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-28 21:01:37 +01:00
11 lines
247 B
Ruby
11 lines
247 B
Ruby
# frozen_string_literal: true
|
|
|
|
class MakeUrisNullableInStatuses < ActiveRecord::Migration[4.2]
|
|
def up
|
|
change_column :statuses, :uri, :string, null: true, default: nil
|
|
end
|
|
|
|
def down
|
|
raise ActiveRecord::IrreversibleMigration
|
|
end
|
|
end
|