This repository has been archived on 2019-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/db/migrate/20160223164502_make_uris_nullable_in_statuses.rb

6 lines
151 B
Ruby
Raw Permalink Normal View History

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