mastodon/db/migrate/20161123093447_add_sensitiv...

8 lines
225 B
Ruby

# 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