mastodon/db/migrate/20161123093447_add_sensitive_to_statuses.rb

8 lines
225 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class AddSensitiveToStatuses < ActiveRecord::Migration[5.0]
def change
add_column :statuses, :sensitive, :boolean, default: false # rubocop:disable Rails/ThreeStateBooleanColumn
end
end