1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-14 14:48:27 +09:00
mastodon/db/migrate/20160223164502_make_uris_nullable_in_statuses.rb

8 lines
187 B
Ruby

# frozen_string_literal: true
class MakeUrisNullableInStatuses < ActiveRecord::Migration[4.2]
def change
change_column :statuses, :uri, :string, null: true, default: nil
end
end