Add timestamps to user exercise feedback

This commit is contained in:
Maximilian Grundke
2017-11-20 19:26:14 +01:00
parent 23a804a6eb
commit 4d8cee6fcb
2 changed files with 20 additions and 11 deletions

View File

@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20171002131135) do
ActiveRecord::Schema.define(version: 20171120153705) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -104,6 +104,7 @@ ActiveRecord::Schema.define(version: 20171002131135) do
t.string "name"
t.datetime "created_at"
t.datetime "updated_at"
t.boolean "use_anomaly_detection", default: false
end
create_table "exercise_collections_exercises", id: false, force: :cascade do |t|
@ -123,14 +124,14 @@ ActiveRecord::Schema.define(version: 20171002131135) do
create_table "exercises", force: :cascade do |t|
t.text "description"
t.integer "execution_environment_id"
t.string "title", limit: 255
t.string "title", limit: 255
t.datetime "created_at"
t.datetime "updated_at"
t.integer "user_id"
t.text "instructions"
t.boolean "public"
t.string "user_type", limit: 255
t.string "token", limit: 255
t.string "user_type", limit: 255
t.string "token", limit: 255
t.boolean "hide_file_tree"
t.boolean "allow_file_creation"
t.boolean "allow_auto_completion", default: false
@ -347,13 +348,15 @@ ActiveRecord::Schema.define(version: 20171002131135) do
end
create_table "user_exercise_feedbacks", force: :cascade do |t|
t.integer "exercise_id", null: false
t.integer "user_id", null: false
t.string "user_type", null: false
t.integer "difficulty"
t.integer "working_time_seconds"
t.string "feedback_text"
t.integer "user_estimated_worktime"
t.integer "exercise_id", null: false
t.integer "user_id", null: false
t.string "user_type", null: false
t.integer "difficulty"
t.integer "working_time_seconds"
t.string "feedback_text"
t.integer "user_estimated_worktime"
t.datetime "created_at", default: '2017-11-20 18:20:25', null: false
t.datetime "updated_at", default: '2017-11-20 18:20:25', null: false
end
create_table "user_exercise_interventions", force: :cascade do |t|