1
0
Fork 1
mirror of https://github.com/mastodon/mastodon.git synced 2025-01-24 06:26:52 +00:00
mastodon/db/migrate/20160223164502_make_uris_nullable_in_statuses.rb

5 lines
151 B
Ruby

class MakeUrisNullableInStatuses < ActiveRecord::Migration
def change
change_column :statuses, :uri, :string, null: true, default: nil
end
end