mastodon/db/migrate/20161123093447_add_sensitive_to_statuses.rb
2024-12-11 14:25:48 +00:00

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