mastodon/db/migrate/20170905165803_add_local_to_statuses.rb

8 lines
227 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class AddLocalToStatuses < ActiveRecord::Migration[5.1]
def change
add_column :statuses, :local, :boolean, null: true, default: nil # rubocop:disable Rails/ThreeStateBooleanColumn
end
end