mirror of
https://github.com/discourse/discourse.git
synced 2024-12-14 21:03:59 +08:00
8 lines
238 B
Ruby
8 lines
238 B
Ruby
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
|