mastodon/db/migrate/20190805123746_add_capabilities_to_tags.rb

12 lines
338 B
Ruby

# frozen_string_literal: true
class AddCapabilitiesToTags < ActiveRecord::Migration[5.2]
def change
add_column :tags, :usable, :boolean
add_column :tags, :trendable, :boolean
add_column :tags, :listable, :boolean
add_column :tags, :reviewed_at, :datetime
add_column :tags, :requested_review_at, :datetime
end
end