create remote evaluation

This commit is contained in:
Niklas Kiefer
2017-02-02 18:14:33 +01:00
parent 252a6ba5d8
commit 3562aa9103
12 changed files with 327 additions and 6 deletions

View File

@ -0,0 +1,11 @@
class CreateRemoteEvaluationMappings < ActiveRecord::Migration
def change
create_table :remote_evaluation_mappings do |t|
t.integer "user_id", null: false
t.integer "exercise_id", null: false
t.string "validation_token", null: false
t.datetime "created_at"
t.datetime "updated_at"
end
end
end

View File

@ -191,6 +191,14 @@ ActiveRecord::Schema.define(version: 20161214144837) do
t.datetime "updated_at"
end
create_table "remote_evaluation_mappings", force: :cascade do |t|
t.integer "user_id", null: false
t.integer "exercise_id", null: false
t.string "validation_token", null: false
t.datetime "created_at"
t.datetime "updated_at"
end
create_table "request_for_comments", force: :cascade do |t|
t.integer "user_id", null: false
t.integer "exercise_id", null: false