2017-08-31 12:06:56 +08:00
|
|
|
class AddDeferToPostActions < ActiveRecord::Migration[4.2]
|
2013-06-20 15:42:15 +08:00
|
|
|
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
|