Adds an entry inside moderation section that allows moderators to check
pending tasks and mark them as solved.
This commit is contained in:
Juan Salvador Pérez García
2018-06-18 11:39:04 +02:00
parent 83f78b1940
commit 33b3431c70
27 changed files with 384 additions and 9 deletions

View File

@@ -0,0 +1,11 @@
class CreateAdministratorTasks < ActiveRecord::Migration
def change
create_table :administrator_tasks do |t|
t.references :source, polymorphic: true, index: true
t.references :user, index: true, foreign_key: true
t.datetime :executed_at
t.timestamps null: false
end
end
end