1
0
mirror of https://github.com/mastodon/mastodon synced 2025-01-11 12:23:22 +09:00
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