mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 15:49:55 +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
|