discourse/db/migrate/20130619063902_add_defer_to_post_actions.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
269 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class AddDeferToPostActions < ActiveRecord::Migration[4.2]
def change
# an action can be deferred by a moderator, used for flags
add_column :post_actions, :defer, :boolean
add_column :post_actions, :defer_by, :int
end
end