canvas_sync 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/canvas_sync.rb +1 -0
- data/lib/canvas_sync/generators/templates/services/live_events/module_item/module_item_created_event.rb +6 -0
- data/lib/canvas_sync/generators/templates/services/live_events/module_item/module_item_event.rb +37 -0
- data/lib/canvas_sync/generators/templates/services/live_events/module_item/module_item_updated_event.rb +6 -0
- data/lib/canvas_sync/version.rb +1 -1
- data/spec/canvas_sync/services/module_item_event_spec.rb +47 -0
- data/spec/dummy/app/services/live_events/module_item_created_event.rb +12 -0
- data/spec/dummy/app/services/live_events/module_item_event.rb +43 -0
- data/spec/dummy/app/services/live_events/module_item_updated_event.rb +12 -0
- data/spec/dummy/log/development.log +444 -0
- data/spec/dummy/log/test.log +1468 -0
- data/spec/support/fake_canvas.rb +4 -0
- data/spec/support/fixtures/canvas_responses/module_item.json +12 -0
- metadata +14 -1
data/spec/dummy/log/test.log
CHANGED
@@ -37648,3 +37648,1471 @@ Diff:[0m
|
|
37648
37648
|
[1m[36mContextModule Load (0.3ms)[0m [1m[34mSELECT "context_modules".* FROM "context_modules" ORDER BY "context_modules"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
37649
37649
|
[1m[36mContextModule Load (0.2ms)[0m [1m[34mSELECT "context_modules".* FROM "context_modules" ORDER BY "context_modules"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
37650
37650
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
37651
|
+
[1m[35m (204.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_test"[0m
|
37652
|
+
[1m[35m (977.9ms)[0m [1m[35mCREATE DATABASE "canvas_sync_test" ENCODING = 'utf8'[0m
|
37653
|
+
[1m[35mSQL (5.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
37654
|
+
[1m[35m (1.3ms)[0m [1m[35mDROP TABLE IF EXISTS "accounts" CASCADE[0m
|
37655
|
+
[1m[35m (42.7ms)[0m [1m[35mCREATE TABLE "accounts" ("id" bigserial primary key, "canvas_account_id" bigint NOT NULL, "account_id" character varying, "canvas_parent_id" bigint, "parent_account_id" character varying, "name" character varying, "status" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37656
|
+
[1m[35m (2.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_accounts_on_canvas_account_id" ON "accounts" ("canvas_account_id")[0m
|
37657
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "admins" CASCADE[0m
|
37658
|
+
[1m[35m (5.5ms)[0m [1m[35mCREATE TABLE "admins" ("id" bigserial primary key, "canvas_admin_id" bigint NOT NULL, "role_name" character varying, "canvas_role_id" bigint NOT NULL, "user_data" json, "canvas_user_id" bigint NOT NULL, "workflow_state" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37659
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")[0m
|
37660
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "assignment_groups" CASCADE[0m
|
37661
|
+
[1m[35m (5.1ms)[0m [1m[35mCREATE TABLE "assignment_groups" ("id" bigserial primary key, "canvas_assignment_group_id" bigint NOT NULL, "canvas_course_id" bigint, "name" character varying, "rules" text, "position" integer, "group_weight" float, "workflow_state" character varying, "canvas_created_at" timestamp, "canvas_updated_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37662
|
+
[1m[35m (2.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignment_groups_on_canvas_assignment_group_id" ON "assignment_groups" ("canvas_assignment_group_id")[0m
|
37663
|
+
[1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_assignment_groups_on_canvas_course_id" ON "assignment_groups" ("canvas_course_id")[0m
|
37664
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "assignments" CASCADE[0m
|
37665
|
+
[1m[35m (5.3ms)[0m [1m[35mCREATE TABLE "assignments" ("id" bigserial primary key, "canvas_assignment_id" bigint NOT NULL, "title" character varying, "description" text, "due_at" timestamp, "unlock_at" timestamp, "lock_at" timestamp, "points_possible" integer, "min_score" integer, "max_score" integer, "mastery_score" integer, "grading_type" character varying, "submission_types" character varying, "workflow_state" character varying, "context_id" integer, "context_type" character varying, "canvas_assignment_group_id" integer, "grading_scheme_id" integer, "grading_standard_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37666
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignments_on_canvas_assignment_id" ON "assignments" ("canvas_assignment_id")[0m
|
37667
|
+
[1m[35m (2.1ms)[0m [1m[35mCREATE INDEX "index_assignments_on_context_id_and_context_type" ON "assignments" ("context_id", "context_type")[0m
|
37668
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "canvas_sync_job_logs" CASCADE[0m
|
37669
|
+
[1m[35m (6.1ms)[0m [1m[35mCREATE TABLE "canvas_sync_job_logs" ("id" bigserial primary key, "started_at" timestamp, "completed_at" timestamp, "exception" character varying, "backtrace" text, "job_class" character varying, "status" character varying, "metadata" text, "job_arguments" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37670
|
+
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "context_module_items" CASCADE[0m
|
37671
|
+
[1m[35m (5.7ms)[0m [1m[35mCREATE TABLE "context_module_items" ("id" bigserial primary key, "canvas_context_module_item_id" bigint, "canvas_context_module_id" bigint, "position" integer, "content_type" character varying, "content_id" bigint, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37672
|
+
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_context_module_items_on_canvas_context_module_id" ON "context_module_items" ("canvas_context_module_id")[0m
|
37673
|
+
[1m[35m (1.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_module_items_on_canvas_context_module_item_id" ON "context_module_items" ("canvas_context_module_item_id")[0m
|
37674
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "context_modules" CASCADE[0m
|
37675
|
+
[1m[35m (5.4ms)[0m [1m[35mCREATE TABLE "context_modules" ("id" bigserial primary key, "canvas_context_module_id" bigint, "canvas_context_id" bigint, "canvas_context_type" character varying, "position" integer, "name" character varying, "workflow_state" character varying, "deleted_at" timestamp, "unlock_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37676
|
+
[1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_context_modules_on_context" ON "context_modules" ("canvas_context_id", "canvas_context_type")[0m
|
37677
|
+
[1m[35m (2.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_modules_on_canvas_context_module_id" ON "context_modules" ("canvas_context_module_id")[0m
|
37678
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "courses" CASCADE[0m
|
37679
|
+
[1m[35m (5.5ms)[0m [1m[35mCREATE TABLE "courses" ("id" bigserial primary key, "canvas_course_id" bigint NOT NULL, "sis_id" character varying, "short_name" character varying, "long_name" character varying, "status" character varying, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37680
|
+
[1m[35m (1.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
37681
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "enrollments" CASCADE[0m
|
37682
|
+
[1m[35m (7.1ms)[0m [1m[35mCREATE TABLE "enrollments" ("id" bigserial primary key, "canvas_enrollment_id" bigint NOT NULL, "canvas_course_id" bigint, "course_sis_id" character varying, "canvas_user_id" bigint, "user_sis_id" character varying, "role" character varying, "role_id" integer, "canvas_section_id" bigint, "section_sis_id" character varying, "status" character varying, "base_role_type" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37683
|
+
[1m[35m (2.4ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
37684
|
+
[1m[35m (3.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
37685
|
+
[1m[35m (2.7ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
37686
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "roles" CASCADE[0m
|
37687
|
+
[1m[35m (7.1ms)[0m [1m[35mCREATE TABLE "roles" ("id" bigserial primary key, "canvas_role_id" integer NOT NULL, "label" character varying NOT NULL, "base_role_type" character varying NOT NULL, "account" json, "workflow_state" character varying NOT NULL, "permissions" json, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37688
|
+
[1m[35m (1.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")[0m
|
37689
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "sections" CASCADE[0m
|
37690
|
+
[1m[35m (5.8ms)[0m [1m[35mCREATE TABLE "sections" ("id" bigserial primary key, "canvas_section_id" bigint NOT NULL, "sis_id" character varying, "canvas_course_id" bigint, "canvas_nonxlist_course_id" bigint, "name" character varying, "status" character varying, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37691
|
+
[1m[35m (2.0ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
37692
|
+
[1m[35m (2.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
37693
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "submissions" CASCADE[0m
|
37694
|
+
[1m[35m (6.0ms)[0m [1m[35mCREATE TABLE "submissions" ("id" bigserial primary key, "canvas_submission_id" bigint NOT NULL, "canvas_course_id" bigint, "canvas_assignment_id" bigint, "canvas_user_id" bigint, "submitted_at" timestamp, "graded_at" timestamp, "score" integer, "points_possible" integer, "excused" boolean, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37695
|
+
[1m[35m (2.1ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")[0m
|
37696
|
+
[1m[35m (2.1ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")[0m
|
37697
|
+
[1m[35m (2.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_submissions_on_canvas_submission_id" ON "submissions" ("canvas_submission_id")[0m
|
37698
|
+
[1m[35m (2.0ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")[0m
|
37699
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "terms" CASCADE[0m
|
37700
|
+
[1m[35m (5.8ms)[0m [1m[35mCREATE TABLE "terms" ("id" bigserial primary key, "canvas_term_id" integer NOT NULL, "name" character varying, "start_at" timestamp, "end_at" timestamp, "workflow_state" character varying, "grading_period_group_id" integer, "sis_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37701
|
+
[1m[35m (2.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
37702
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
|
37703
|
+
[1m[35m (6.3ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "canvas_user_id" bigint NOT NULL, "sis_id" character varying, "email" character varying, "first_name" character varying, "last_name" character varying, "status" character varying, "login_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37704
|
+
[1m[35m (2.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
37705
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
37706
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
37707
|
+
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20180411215633)[0m
|
37708
|
+
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
37709
|
+
(20170905192509),
|
37710
|
+
(20170906193506),
|
37711
|
+
(20170914181345),
|
37712
|
+
(20170918221413),
|
37713
|
+
(20171107213207),
|
37714
|
+
(20180103162102),
|
37715
|
+
(20180109210452),
|
37716
|
+
(20180215214227),
|
37717
|
+
(20180216171618),
|
37718
|
+
(20180220172559),
|
37719
|
+
(20180222163506),
|
37720
|
+
(20180411215348),
|
37721
|
+
(20170915210836);
|
37722
|
+
|
37723
|
+
[0m
|
37724
|
+
[1m[35m (5.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37725
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
37726
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
37727
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-05-02 19:12:36.222255"], ["updated_at", "2018-05-02 19:12:36.222255"]]
|
37728
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
37729
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
37730
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
37731
|
+
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
37732
|
+
[1m[35m (2.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
37733
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
37734
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37735
|
+
[1m[36mAssignment Exists (7.9ms)[0m [1m[34mSELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2[0m [["canvas_assignment_id", 1], ["LIMIT", 1]]
|
37736
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-05-09 19:12:36.451924"], ["unlock_at", "2018-05-01 19:12:36.452134"], ["lock_at", "2018-05-23 19:12:36.452190"], ["created_at", "2018-05-02 19:12:36.464335"], ["updated_at", "2018-05-02 19:12:36.464335"]]
|
37737
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37738
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37739
|
+
[1m[35mSQL (8.9ms)[0m [1m[32mINSERT INTO "context_module_items" ("canvas_context_module_item_id", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["canvas_context_module_item_id", 1], ["content_id", 1], ["workflow_state", "active"], ["created_at", "2018-05-02 19:12:36.471903"], ["updated_at", "2018-05-02 19:12:36.471903"]]
|
37740
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37741
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "context_module_items"[0m
|
37742
|
+
[1m[36mContextModuleItem Load (0.2ms)[0m [1m[34mSELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2[0m [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
|
37743
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
37744
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
37745
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "context_module_items"[0m
|
37746
|
+
[1m[36mContextModuleItem Load (0.2ms)[0m [1m[34mSELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2[0m [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
|
37747
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
37748
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
37749
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
37750
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37751
|
+
[1m[36mAssignment Exists (3.1ms)[0m [1m[34mSELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2[0m [["canvas_assignment_id", 1], ["LIMIT", 1]]
|
37752
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-05-09 19:19:03.510733"], ["unlock_at", "2018-05-01 19:19:03.510867"], ["lock_at", "2018-05-23 19:19:03.510920"], ["created_at", "2018-05-02 19:19:03.517804"], ["updated_at", "2018-05-02 19:19:03.517804"]]
|
37753
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37754
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37755
|
+
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "context_module_items" ("canvas_context_module_item_id", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["canvas_context_module_item_id", 1], ["content_id", 1], ["workflow_state", "active"], ["created_at", "2018-05-02 19:19:03.524412"], ["updated_at", "2018-05-02 19:19:03.524412"]]
|
37756
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37757
|
+
[1m[35m (2.1ms)[0m [1m[34mSELECT COUNT(*) FROM "context_module_items"[0m
|
37758
|
+
[1m[36mContextModuleItem Load (0.2ms)[0m [1m[34mSELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2[0m [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
|
37759
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
37760
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
37761
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "context_module_items"[0m
|
37762
|
+
[1m[36mContextModuleItem Load (0.2ms)[0m [1m[34mSELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2[0m [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
|
37763
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
37764
|
+
[1m[35m (123.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_test"[0m
|
37765
|
+
[1m[35m (604.5ms)[0m [1m[35mCREATE DATABASE "canvas_sync_test" ENCODING = 'utf8'[0m
|
37766
|
+
[1m[35mSQL (2.1ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
37767
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "accounts" CASCADE[0m
|
37768
|
+
[1m[35m (20.0ms)[0m [1m[35mCREATE TABLE "accounts" ("id" bigserial primary key, "canvas_account_id" bigint NOT NULL, "account_id" character varying, "canvas_parent_id" bigint, "parent_account_id" character varying, "name" character varying, "status" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37769
|
+
[1m[35m (1.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_accounts_on_canvas_account_id" ON "accounts" ("canvas_account_id")[0m
|
37770
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "admins" CASCADE[0m
|
37771
|
+
[1m[35m (4.8ms)[0m [1m[35mCREATE TABLE "admins" ("id" bigserial primary key, "canvas_admin_id" bigint NOT NULL, "role_name" character varying, "canvas_role_id" bigint NOT NULL, "user_data" json, "canvas_user_id" bigint NOT NULL, "workflow_state" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37772
|
+
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")[0m
|
37773
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "assignment_groups" CASCADE[0m
|
37774
|
+
[1m[35m (5.2ms)[0m [1m[35mCREATE TABLE "assignment_groups" ("id" bigserial primary key, "canvas_assignment_group_id" bigint NOT NULL, "canvas_course_id" bigint, "name" character varying, "rules" text, "position" integer, "group_weight" float, "workflow_state" character varying, "canvas_created_at" timestamp, "canvas_updated_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37775
|
+
[1m[35m (1.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignment_groups_on_canvas_assignment_group_id" ON "assignment_groups" ("canvas_assignment_group_id")[0m
|
37776
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_assignment_groups_on_canvas_course_id" ON "assignment_groups" ("canvas_course_id")[0m
|
37777
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "assignments" CASCADE[0m
|
37778
|
+
[1m[35m (5.3ms)[0m [1m[35mCREATE TABLE "assignments" ("id" bigserial primary key, "canvas_assignment_id" bigint NOT NULL, "title" character varying, "description" text, "due_at" timestamp, "unlock_at" timestamp, "lock_at" timestamp, "points_possible" integer, "min_score" integer, "max_score" integer, "mastery_score" integer, "grading_type" character varying, "submission_types" character varying, "workflow_state" character varying, "context_id" integer, "context_type" character varying, "canvas_assignment_group_id" integer, "grading_scheme_id" integer, "grading_standard_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37779
|
+
[1m[35m (1.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignments_on_canvas_assignment_id" ON "assignments" ("canvas_assignment_id")[0m
|
37780
|
+
[1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_assignments_on_context_id_and_context_type" ON "assignments" ("context_id", "context_type")[0m
|
37781
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "canvas_sync_job_logs" CASCADE[0m
|
37782
|
+
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "canvas_sync_job_logs" ("id" bigserial primary key, "started_at" timestamp, "completed_at" timestamp, "exception" character varying, "backtrace" text, "job_class" character varying, "status" character varying, "metadata" text, "job_arguments" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37783
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "context_module_items" CASCADE[0m
|
37784
|
+
[1m[35m (5.1ms)[0m [1m[35mCREATE TABLE "context_module_items" ("id" bigserial primary key, "canvas_context_module_item_id" bigint, "canvas_context_module_id" bigint, "position" integer, "content_type" character varying, "content_id" bigint, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37785
|
+
[1m[35m (2.0ms)[0m [1m[35mCREATE INDEX "index_context_module_items_on_canvas_context_module_id" ON "context_module_items" ("canvas_context_module_id")[0m
|
37786
|
+
[1m[35m (1.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_module_items_on_canvas_context_module_item_id" ON "context_module_items" ("canvas_context_module_item_id")[0m
|
37787
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "context_modules" CASCADE[0m
|
37788
|
+
[1m[35m (5.0ms)[0m [1m[35mCREATE TABLE "context_modules" ("id" bigserial primary key, "canvas_context_module_id" bigint, "canvas_context_id" bigint, "canvas_context_type" character varying, "position" integer, "name" character varying, "workflow_state" character varying, "deleted_at" timestamp, "unlock_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37789
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_context_modules_on_context" ON "context_modules" ("canvas_context_id", "canvas_context_type")[0m
|
37790
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_modules_on_canvas_context_module_id" ON "context_modules" ("canvas_context_module_id")[0m
|
37791
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "courses" CASCADE[0m
|
37792
|
+
[1m[35m (4.8ms)[0m [1m[35mCREATE TABLE "courses" ("id" bigserial primary key, "canvas_course_id" bigint NOT NULL, "sis_id" character varying, "short_name" character varying, "long_name" character varying, "status" character varying, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37793
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
37794
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "enrollments" CASCADE[0m
|
37795
|
+
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "enrollments" ("id" bigserial primary key, "canvas_enrollment_id" bigint NOT NULL, "canvas_course_id" bigint, "course_sis_id" character varying, "canvas_user_id" bigint, "user_sis_id" character varying, "role" character varying, "role_id" integer, "canvas_section_id" bigint, "section_sis_id" character varying, "status" character varying, "base_role_type" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37796
|
+
[1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
37797
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
37798
|
+
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
37799
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "roles" CASCADE[0m
|
37800
|
+
[1m[35m (5.1ms)[0m [1m[35mCREATE TABLE "roles" ("id" bigserial primary key, "canvas_role_id" integer NOT NULL, "label" character varying NOT NULL, "base_role_type" character varying NOT NULL, "account" json, "workflow_state" character varying NOT NULL, "permissions" json, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37801
|
+
[1m[35m (1.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")[0m
|
37802
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "sections" CASCADE[0m
|
37803
|
+
[1m[35m (5.4ms)[0m [1m[35mCREATE TABLE "sections" ("id" bigserial primary key, "canvas_section_id" bigint NOT NULL, "sis_id" character varying, "canvas_course_id" bigint, "canvas_nonxlist_course_id" bigint, "name" character varying, "status" character varying, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37804
|
+
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
37805
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
37806
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "submissions" CASCADE[0m
|
37807
|
+
[1m[35m (5.2ms)[0m [1m[35mCREATE TABLE "submissions" ("id" bigserial primary key, "canvas_submission_id" bigint NOT NULL, "canvas_course_id" bigint, "canvas_assignment_id" bigint, "canvas_user_id" bigint, "submitted_at" timestamp, "graded_at" timestamp, "score" integer, "points_possible" integer, "excused" boolean, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37808
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")[0m
|
37809
|
+
[1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")[0m
|
37810
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_submissions_on_canvas_submission_id" ON "submissions" ("canvas_submission_id")[0m
|
37811
|
+
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")[0m
|
37812
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "terms" CASCADE[0m
|
37813
|
+
[1m[35m (5.0ms)[0m [1m[35mCREATE TABLE "terms" ("id" bigserial primary key, "canvas_term_id" integer NOT NULL, "name" character varying, "start_at" timestamp, "end_at" timestamp, "workflow_state" character varying, "grading_period_group_id" integer, "sis_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37814
|
+
[1m[35m (1.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
37815
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
|
37816
|
+
[1m[35m (4.7ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "canvas_user_id" bigint NOT NULL, "sis_id" character varying, "email" character varying, "first_name" character varying, "last_name" character varying, "status" character varying, "login_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37817
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
37818
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
37819
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
37820
|
+
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20180411215633)[0m
|
37821
|
+
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
37822
|
+
(20170905192509),
|
37823
|
+
(20170906193506),
|
37824
|
+
(20170914181345),
|
37825
|
+
(20170918221413),
|
37826
|
+
(20171107213207),
|
37827
|
+
(20180103162102),
|
37828
|
+
(20180109210452),
|
37829
|
+
(20180215214227),
|
37830
|
+
(20180216171618),
|
37831
|
+
(20180220172559),
|
37832
|
+
(20180222163506),
|
37833
|
+
(20180411215348),
|
37834
|
+
(20170915210836);
|
37835
|
+
|
37836
|
+
[0m
|
37837
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37838
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
37839
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
37840
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-05-02 19:20:49.670621"], ["updated_at", "2018-05-02 19:20:49.670621"]]
|
37841
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
37842
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
37843
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
37844
|
+
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
37845
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
37846
|
+
[1m[35m (205.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_test"[0m
|
37847
|
+
[1m[35m (546.1ms)[0m [1m[35mCREATE DATABASE "canvas_sync_test" ENCODING = 'utf8'[0m
|
37848
|
+
[1m[35mSQL (3.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
37849
|
+
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "accounts" CASCADE[0m
|
37850
|
+
[1m[35m (36.7ms)[0m [1m[35mCREATE TABLE "accounts" ("id" bigserial primary key, "canvas_account_id" bigint NOT NULL, "account_id" character varying, "canvas_parent_id" bigint, "parent_account_id" character varying, "name" character varying, "status" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37851
|
+
[1m[35m (18.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_accounts_on_canvas_account_id" ON "accounts" ("canvas_account_id")[0m
|
37852
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "admins" CASCADE[0m
|
37853
|
+
[1m[35m (23.8ms)[0m [1m[35mCREATE TABLE "admins" ("id" bigserial primary key, "canvas_admin_id" bigint NOT NULL, "role_name" character varying, "canvas_role_id" bigint NOT NULL, "user_data" json, "canvas_user_id" bigint NOT NULL, "workflow_state" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37854
|
+
[1m[35m (2.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")[0m
|
37855
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "assignment_groups" CASCADE[0m
|
37856
|
+
[1m[35m (5.6ms)[0m [1m[35mCREATE TABLE "assignment_groups" ("id" bigserial primary key, "canvas_assignment_group_id" bigint NOT NULL, "canvas_course_id" bigint, "name" character varying, "rules" text, "position" integer, "group_weight" float, "workflow_state" character varying, "canvas_created_at" timestamp, "canvas_updated_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37857
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignment_groups_on_canvas_assignment_group_id" ON "assignment_groups" ("canvas_assignment_group_id")[0m
|
37858
|
+
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_assignment_groups_on_canvas_course_id" ON "assignment_groups" ("canvas_course_id")[0m
|
37859
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "assignments" CASCADE[0m
|
37860
|
+
[1m[35m (5.3ms)[0m [1m[35mCREATE TABLE "assignments" ("id" bigserial primary key, "canvas_assignment_id" bigint NOT NULL, "title" character varying, "description" text, "due_at" timestamp, "unlock_at" timestamp, "lock_at" timestamp, "points_possible" integer, "min_score" integer, "max_score" integer, "mastery_score" integer, "grading_type" character varying, "submission_types" character varying, "workflow_state" character varying, "context_id" integer, "context_type" character varying, "canvas_assignment_group_id" integer, "grading_scheme_id" integer, "grading_standard_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37861
|
+
[1m[35m (2.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignments_on_canvas_assignment_id" ON "assignments" ("canvas_assignment_id")[0m
|
37862
|
+
[1m[35m (2.2ms)[0m [1m[35mCREATE INDEX "index_assignments_on_context_id_and_context_type" ON "assignments" ("context_id", "context_type")[0m
|
37863
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "canvas_sync_job_logs" CASCADE[0m
|
37864
|
+
[1m[35m (5.8ms)[0m [1m[35mCREATE TABLE "canvas_sync_job_logs" ("id" bigserial primary key, "started_at" timestamp, "completed_at" timestamp, "exception" character varying, "backtrace" text, "job_class" character varying, "status" character varying, "metadata" text, "job_arguments" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37865
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "context_module_items" CASCADE[0m
|
37866
|
+
[1m[35m (7.2ms)[0m [1m[35mCREATE TABLE "context_module_items" ("id" bigserial primary key, "canvas_context_module_item_id" bigint, "canvas_context_module_id" bigint, "position" integer, "content_type" character varying, "content_id" bigint, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37867
|
+
[1m[35m (19.3ms)[0m [1m[35mCREATE INDEX "index_context_module_items_on_canvas_context_module_id" ON "context_module_items" ("canvas_context_module_id")[0m
|
37868
|
+
[1m[35m (13.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_module_items_on_canvas_context_module_item_id" ON "context_module_items" ("canvas_context_module_item_id")[0m
|
37869
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "context_modules" CASCADE[0m
|
37870
|
+
[1m[35m (26.0ms)[0m [1m[35mCREATE TABLE "context_modules" ("id" bigserial primary key, "canvas_context_module_id" bigint, "canvas_context_id" bigint, "canvas_context_type" character varying, "position" integer, "name" character varying, "workflow_state" character varying, "deleted_at" timestamp, "unlock_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37871
|
+
[1m[35m (13.8ms)[0m [1m[35mCREATE INDEX "index_context_modules_on_context" ON "context_modules" ("canvas_context_id", "canvas_context_type")[0m
|
37872
|
+
[1m[35m (18.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_modules_on_canvas_context_module_id" ON "context_modules" ("canvas_context_module_id")[0m
|
37873
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "courses" CASCADE[0m
|
37874
|
+
[1m[35m (5.7ms)[0m [1m[35mCREATE TABLE "courses" ("id" bigserial primary key, "canvas_course_id" bigint NOT NULL, "sis_id" character varying, "short_name" character varying, "long_name" character varying, "status" character varying, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37875
|
+
[1m[35m (2.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
37876
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "enrollments" CASCADE[0m
|
37877
|
+
[1m[35m (33.7ms)[0m [1m[35mCREATE TABLE "enrollments" ("id" bigserial primary key, "canvas_enrollment_id" bigint NOT NULL, "canvas_course_id" bigint, "course_sis_id" character varying, "canvas_user_id" bigint, "user_sis_id" character varying, "role" character varying, "role_id" integer, "canvas_section_id" bigint, "section_sis_id" character varying, "status" character varying, "base_role_type" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37878
|
+
[1m[35m (18.3ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
37879
|
+
[1m[35m (13.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
37880
|
+
[1m[35m (13.4ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
37881
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "roles" CASCADE[0m
|
37882
|
+
[1m[35m (17.6ms)[0m [1m[35mCREATE TABLE "roles" ("id" bigserial primary key, "canvas_role_id" integer NOT NULL, "label" character varying NOT NULL, "base_role_type" character varying NOT NULL, "account" json, "workflow_state" character varying NOT NULL, "permissions" json, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37883
|
+
[1m[35m (1.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")[0m
|
37884
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "sections" CASCADE[0m
|
37885
|
+
[1m[35m (5.0ms)[0m [1m[35mCREATE TABLE "sections" ("id" bigserial primary key, "canvas_section_id" bigint NOT NULL, "sis_id" character varying, "canvas_course_id" bigint, "canvas_nonxlist_course_id" bigint, "name" character varying, "status" character varying, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37886
|
+
[1m[35m (2.8ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
37887
|
+
[1m[35m (2.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
37888
|
+
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "submissions" CASCADE[0m
|
37889
|
+
[1m[35m (6.2ms)[0m [1m[35mCREATE TABLE "submissions" ("id" bigserial primary key, "canvas_submission_id" bigint NOT NULL, "canvas_course_id" bigint, "canvas_assignment_id" bigint, "canvas_user_id" bigint, "submitted_at" timestamp, "graded_at" timestamp, "score" integer, "points_possible" integer, "excused" boolean, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37890
|
+
[1m[35m (2.6ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")[0m
|
37891
|
+
[1m[35m (2.8ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")[0m
|
37892
|
+
[1m[35m (2.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_submissions_on_canvas_submission_id" ON "submissions" ("canvas_submission_id")[0m
|
37893
|
+
[1m[35m (2.2ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")[0m
|
37894
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "terms" CASCADE[0m
|
37895
|
+
[1m[35m (23.4ms)[0m [1m[35mCREATE TABLE "terms" ("id" bigserial primary key, "canvas_term_id" integer NOT NULL, "name" character varying, "start_at" timestamp, "end_at" timestamp, "workflow_state" character varying, "grading_period_group_id" integer, "sis_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37896
|
+
[1m[35m (2.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
37897
|
+
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
|
37898
|
+
[1m[35m (9.5ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "canvas_user_id" bigint NOT NULL, "sis_id" character varying, "email" character varying, "first_name" character varying, "last_name" character varying, "status" character varying, "login_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37899
|
+
[1m[35m (3.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
37900
|
+
[1m[35m (9.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
37901
|
+
[1m[35m (1.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
37902
|
+
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20180411215633)[0m
|
37903
|
+
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
37904
|
+
(20170905192509),
|
37905
|
+
(20170906193506),
|
37906
|
+
(20170914181345),
|
37907
|
+
(20170918221413),
|
37908
|
+
(20171107213207),
|
37909
|
+
(20180103162102),
|
37910
|
+
(20180109210452),
|
37911
|
+
(20180215214227),
|
37912
|
+
(20180216171618),
|
37913
|
+
(20180220172559),
|
37914
|
+
(20180222163506),
|
37915
|
+
(20180411215348),
|
37916
|
+
(20170915210836);
|
37917
|
+
|
37918
|
+
[0m
|
37919
|
+
[1m[35m (6.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
37920
|
+
[1m[36mActiveRecord::InternalMetadata Load (2.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
37921
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
37922
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-05-02 19:22:07.289315"], ["updated_at", "2018-05-02 19:22:07.289315"]]
|
37923
|
+
[1m[35m (5.6ms)[0m [1m[35mCOMMIT[0m
|
37924
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
37925
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
37926
|
+
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
37927
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
37928
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
37929
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37930
|
+
[1m[36mAssignment Exists (4.3ms)[0m [1m[34mSELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2[0m [["canvas_assignment_id", 1], ["LIMIT", 1]]
|
37931
|
+
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-05-09 19:22:07.509165"], ["unlock_at", "2018-05-01 19:22:07.509433"], ["lock_at", "2018-05-23 19:22:07.509496"], ["created_at", "2018-05-02 19:22:07.519431"], ["updated_at", "2018-05-02 19:22:07.519431"]]
|
37932
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37933
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37934
|
+
[1m[35mSQL (3.6ms)[0m [1m[32mINSERT INTO "context_module_items" ("canvas_context_module_item_id", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["canvas_context_module_item_id", 1], ["content_id", 1], ["workflow_state", "active"], ["created_at", "2018-05-02 19:22:07.528838"], ["updated_at", "2018-05-02 19:22:07.528838"]]
|
37935
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37936
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "context_module_items"[0m
|
37937
|
+
[1m[36mContextModuleItem Load (0.3ms)[0m [1m[34mSELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2[0m [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
|
37938
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
37939
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
37940
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "context_module_items"[0m
|
37941
|
+
[1m[36mContextModuleItem Load (0.2ms)[0m [1m[34mSELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2[0m [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
|
37942
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
37943
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
37944
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
37945
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37946
|
+
[1m[36mAssignment Exists (2.7ms)[0m [1m[34mSELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2[0m [["canvas_assignment_id", 1], ["LIMIT", 1]]
|
37947
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-05-09 19:23:07.630065"], ["unlock_at", "2018-05-01 19:23:07.630256"], ["lock_at", "2018-05-23 19:23:07.630316"], ["created_at", "2018-05-02 19:23:07.636653"], ["updated_at", "2018-05-02 19:23:07.636653"]]
|
37948
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37949
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37950
|
+
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "context_module_items" ("canvas_context_module_item_id", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["canvas_context_module_item_id", 1], ["content_id", 1], ["workflow_state", "active"], ["created_at", "2018-05-02 19:23:07.642182"], ["updated_at", "2018-05-02 19:23:07.642182"]]
|
37951
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37952
|
+
[1m[35m (2.1ms)[0m [1m[34mSELECT COUNT(*) FROM "context_module_items"[0m
|
37953
|
+
[1m[36mContextModuleItem Load (0.2ms)[0m [1m[34mSELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2[0m [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
|
37954
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37955
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "context_module_items" SET "canvas_context_module_id" = $1, "position" = $2, "content_id" = $3, "content_type" = $4, "updated_at" = $5 WHERE "context_module_items"."id" = $6[0m [["canvas_context_module_id", 1], ["position", 10], ["content_id", 143], ["content_type", "Assignment"], ["updated_at", "2018-05-02 19:23:07.679037"], ["id", 2]]
|
37956
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37957
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "context_module_items"[0m
|
37958
|
+
[1m[36mContextModuleItem Load (0.2ms)[0m [1m[34mSELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
|
37959
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
37960
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
37961
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "context_module_items"[0m
|
37962
|
+
[1m[36mContextModuleItem Load (0.1ms)[0m [1m[34mSELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2[0m [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
|
37963
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37964
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "context_module_items" ("canvas_context_module_item_id", "canvas_context_module_id", "position", "content_type", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_context_module_item_id", 1], ["canvas_context_module_id", 1], ["position", 10], ["content_type", "Assignment"], ["content_id", 143], ["workflow_state", "active"], ["created_at", "2018-05-02 19:23:07.710167"], ["updated_at", "2018-05-02 19:23:07.710167"]]
|
37965
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37966
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "context_module_items"[0m
|
37967
|
+
[1m[36mContextModuleItem Load (0.2ms)[0m [1m[34mSELECT "context_module_items".* FROM "context_module_items" ORDER BY "context_module_items"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
37968
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
37969
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
37970
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
37971
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37972
|
+
[1m[36mAssignment Exists (1.5ms)[0m [1m[34mSELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2[0m [["canvas_assignment_id", 1], ["LIMIT", 1]]
|
37973
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-05-09 19:23:37.580471"], ["unlock_at", "2018-05-01 19:23:37.580603"], ["lock_at", "2018-05-23 19:23:37.580657"], ["created_at", "2018-05-02 19:23:37.585952"], ["updated_at", "2018-05-02 19:23:37.585952"]]
|
37974
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37975
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37976
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "context_module_items" ("canvas_context_module_item_id", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["canvas_context_module_item_id", 1], ["content_id", 1], ["workflow_state", "active"], ["created_at", "2018-05-02 19:23:37.592145"], ["updated_at", "2018-05-02 19:23:37.592145"]]
|
37977
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37978
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "context_module_items"[0m
|
37979
|
+
[1m[36mContextModuleItem Load (0.2ms)[0m [1m[34mSELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2[0m [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
|
37980
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37981
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "context_module_items" SET "canvas_context_module_id" = $1, "position" = $2, "content_id" = $3, "content_type" = $4, "updated_at" = $5 WHERE "context_module_items"."id" = $6[0m [["canvas_context_module_id", 1], ["position", 10], ["content_id", 143], ["content_type", "Assignment"], ["updated_at", "2018-05-02 19:23:37.619571"], ["id", 4]]
|
37982
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37983
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "context_module_items"[0m
|
37984
|
+
[1m[36mContextModuleItem Load (0.2ms)[0m [1m[34mSELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
|
37985
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
37986
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
37987
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "context_module_items"[0m
|
37988
|
+
[1m[36mContextModuleItem Load (0.2ms)[0m [1m[34mSELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2[0m [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
|
37989
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37990
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "context_module_items" ("canvas_context_module_item_id", "canvas_context_module_id", "position", "content_type", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_context_module_item_id", 1], ["canvas_context_module_id", 1], ["position", 10], ["content_type", "Assignment"], ["content_id", 143], ["workflow_state", "active"], ["created_at", "2018-05-02 19:23:37.641808"], ["updated_at", "2018-05-02 19:23:37.641808"]]
|
37991
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37992
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "context_module_items"[0m
|
37993
|
+
[1m[36mContextModuleItem Load (0.2ms)[0m [1m[34mSELECT "context_module_items".* FROM "context_module_items" ORDER BY "context_module_items"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
37994
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
37995
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
37996
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
37997
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37998
|
+
[1m[36mAssignment Exists (1.5ms)[0m [1m[34mSELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2[0m [["canvas_assignment_id", 1], ["LIMIT", 1]]
|
37999
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-05-09 19:23:52.851563"], ["unlock_at", "2018-05-01 19:23:52.851724"], ["lock_at", "2018-05-23 19:23:52.851776"], ["created_at", "2018-05-02 19:23:52.856891"], ["updated_at", "2018-05-02 19:23:52.856891"]]
|
38000
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38001
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38002
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "context_module_items" ("canvas_context_module_item_id", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["canvas_context_module_item_id", 1], ["content_id", 1], ["workflow_state", "active"], ["created_at", "2018-05-02 19:23:52.862819"], ["updated_at", "2018-05-02 19:23:52.862819"]]
|
38003
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38004
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "context_module_items"[0m
|
38005
|
+
[1m[36mContextModuleItem Load (0.2ms)[0m [1m[34mSELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2[0m [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
|
38006
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38007
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "context_module_items" SET "canvas_context_module_id" = $1, "position" = $2, "content_id" = $3, "content_type" = $4, "updated_at" = $5 WHERE "context_module_items"."id" = $6[0m [["canvas_context_module_id", 1], ["position", 10], ["content_id", 143], ["content_type", "Assignment"], ["updated_at", "2018-05-02 19:23:52.891171"], ["id", 6]]
|
38008
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38009
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "context_module_items"[0m
|
38010
|
+
[1m[36mContextModuleItem Load (0.2ms)[0m [1m[34mSELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
|
38011
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
38012
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38013
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "context_module_items"[0m
|
38014
|
+
[1m[36mContextModuleItem Load (0.2ms)[0m [1m[34mSELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2[0m [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
|
38015
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38016
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "context_module_items" ("canvas_context_module_item_id", "canvas_context_module_id", "position", "content_type", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_context_module_item_id", 1], ["canvas_context_module_id", 1], ["position", 10], ["content_type", "Assignment"], ["content_id", 143], ["workflow_state", "active"], ["created_at", "2018-05-02 19:23:52.901119"], ["updated_at", "2018-05-02 19:23:52.901119"]]
|
38017
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38018
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "context_module_items"[0m
|
38019
|
+
[1m[36mContextModuleItem Load (0.2ms)[0m [1m[34mSELECT "context_module_items".* FROM "context_module_items" ORDER BY "context_module_items"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
38020
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38021
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
38022
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38023
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38024
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38025
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38026
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38027
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38028
|
+
[1m[35m (3.5ms)[0m [1m[35mBEGIN[0m
|
38029
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38030
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38031
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38032
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38033
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38034
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38035
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38036
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38037
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38038
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38039
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38040
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
38041
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38042
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38043
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38044
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38045
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "canvas_sync_job_logs"[0m
|
38046
|
+
[ActiveJob] [GoodJob] [09554b2d-4037-450f-8177-25bca2b4e048] Performing GoodJob (Job ID: 09554b2d-4037-450f-8177-25bca2b4e048) from Async(default) with arguments: "argument"
|
38047
|
+
[ActiveJob] [GoodJob] [09554b2d-4037-450f-8177-25bca2b4e048] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38048
|
+
[ActiveJob] [GoodJob] [09554b2d-4037-450f-8177-25bca2b4e048] [1m[35mSQL (4.2ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["started_at", "2018-05-02 19:24:00.204580"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-05-02 19:24:00.215476"], ["updated_at", "2018-05-02 19:24:00.215476"]]
|
38049
|
+
[ActiveJob] [GoodJob] [09554b2d-4037-450f-8177-25bca2b4e048] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38050
|
+
[ActiveJob] [GoodJob] [09554b2d-4037-450f-8177-25bca2b4e048] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38051
|
+
[ActiveJob] [GoodJob] [09554b2d-4037-450f-8177-25bca2b4e048] [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4[0m [["completed_at", "2018-05-02 19:24:00.221536"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.221990"], ["id", 1]]
|
38052
|
+
[ActiveJob] [GoodJob] [09554b2d-4037-450f-8177-25bca2b4e048] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38053
|
+
[ActiveJob] [GoodJob] [09554b2d-4037-450f-8177-25bca2b4e048] Performed GoodJob (Job ID: 09554b2d-4037-450f-8177-25bca2b4e048) from Async(default) in 18.91ms
|
38054
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "canvas_sync_job_logs"[0m
|
38055
|
+
[1m[36mCanvasSync::JobLog Load (0.2ms)[0m [1m[34mSELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
38056
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
38057
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38058
|
+
[ActiveJob] [BadJob] [144a7097-ddce-422b-8c5d-336bc0cadc15] Performing BadJob (Job ID: 144a7097-ddce-422b-8c5d-336bc0cadc15) from Async(default) with arguments: "argument"
|
38059
|
+
[ActiveJob] [BadJob] [144a7097-ddce-422b-8c5d-336bc0cadc15] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38060
|
+
[ActiveJob] [BadJob] [144a7097-ddce-422b-8c5d-336bc0cadc15] [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["started_at", "2018-05-02 19:24:00.227897"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-05-02 19:24:00.228328"], ["updated_at", "2018-05-02 19:24:00.228328"]]
|
38061
|
+
[ActiveJob] [BadJob] [144a7097-ddce-422b-8c5d-336bc0cadc15] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38062
|
+
[ActiveJob] [BadJob] [144a7097-ddce-422b-8c5d-336bc0cadc15] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38063
|
+
[ActiveJob] [BadJob] [144a7097-ddce-422b-8c5d-336bc0cadc15] [1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6[0m [["completed_at", "2018-05-02 19:24:00.230000"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/ncollings/workspace/canvas_sync/lib/canvas_sync/job.rb:14:in `block in <class:Job>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `kernel_load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in `exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `<main>'\"]"], ["status", "error"], ["updated_at", "2018-05-02 19:24:00.230258"], ["id", 2]]
|
38064
|
+
[ActiveJob] [BadJob] [144a7097-ddce-422b-8c5d-336bc0cadc15] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38065
|
+
[ActiveJob] [BadJob] [144a7097-ddce-422b-8c5d-336bc0cadc15] Error performing BadJob (Job ID: 144a7097-ddce-422b-8c5d-336bc0cadc15) from Async(default) in 4.25ms: EvilError (EvilError):
|
38066
|
+
/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'
|
38067
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'
|
38068
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'
|
38069
|
+
/Users/ncollings/workspace/canvas_sync/lib/canvas_sync/job.rb:14:in `block in <class:Job>'
|
38070
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
|
38071
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
|
38072
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'
|
38073
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'
|
38074
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
|
38075
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
|
38076
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'
|
38077
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'
|
38078
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
38079
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'
|
38080
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'
|
38081
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'
|
38082
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
38083
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'
|
38084
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'
|
38085
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'
|
38086
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'
|
38087
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
|
38088
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
|
38089
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'
|
38090
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'
|
38091
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'
|
38092
|
+
/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in <top (required)>'
|
38093
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'
|
38094
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
|
38095
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'
|
38096
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
|
38097
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'
|
38098
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'
|
38099
|
+
/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in <top (required)>'
|
38100
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'
|
38101
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'
|
38102
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'
|
38103
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'
|
38104
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'
|
38105
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'
|
38106
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
|
38107
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
|
38108
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
|
38109
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
|
38110
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'
|
38111
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'
|
38112
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
|
38113
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'
|
38114
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'
|
38115
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'
|
38116
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'
|
38117
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'
|
38118
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'
|
38119
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'
|
38120
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'
|
38121
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'
|
38122
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'
|
38123
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'
|
38124
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'
|
38125
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'
|
38126
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'
|
38127
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'
|
38128
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'
|
38129
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'
|
38130
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'
|
38131
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'
|
38132
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'
|
38133
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'
|
38134
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'
|
38135
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'
|
38136
|
+
/Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `load'
|
38137
|
+
/Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `<top (required)>'
|
38138
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `load'
|
38139
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `kernel_load'
|
38140
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in `run'
|
38141
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in `exec'
|
38142
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
|
38143
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
|
38144
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
|
38145
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'
|
38146
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
|
38147
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'
|
38148
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>'
|
38149
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
|
38150
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>'
|
38151
|
+
/Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `load'
|
38152
|
+
/Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `<main>'
|
38153
|
+
[1m[36mCanvasSync::JobLog Load (0.2ms)[0m [1m[34mSELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
38154
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38155
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38156
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [a972f0fc-32f9-4466-9f1e-9baea7ded51d] Performing CanvasSync::Jobs::ReportChecker (Job ID: a972f0fc-32f9-4466-9f1e-9baea7ded51d) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
|
38157
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [a972f0fc-32f9-4466-9f1e-9baea7ded51d] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38158
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [a972f0fc-32f9-4466-9f1e-9baea7ded51d] [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["started_at", "2018-05-02 19:24:00.234802"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.235208"], ["updated_at", "2018-05-02 19:24:00.235208"]]
|
38159
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [a972f0fc-32f9-4466-9f1e-9baea7ded51d] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38160
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [a972f0fc-32f9-4466-9f1e-9baea7ded51d] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38161
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [a972f0fc-32f9-4466-9f1e-9baea7ded51d] [1m[35mSQL (0.2ms)[0m [1m[31mDELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1[0m [["id", 3]]
|
38162
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [a972f0fc-32f9-4466-9f1e-9baea7ded51d] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38163
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [a972f0fc-32f9-4466-9f1e-9baea7ded51d] Performed CanvasSync::Jobs::ReportChecker (Job ID: a972f0fc-32f9-4466-9f1e-9baea7ded51d) from Async(default) in 8.36ms
|
38164
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38165
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38166
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [4efbcd40-d3cb-4809-a2b3-6dca2b324771] Performing CanvasSync::Jobs::ReportChecker (Job ID: 4efbcd40-d3cb-4809-a2b3-6dca2b324771) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
|
38167
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [4efbcd40-d3cb-4809-a2b3-6dca2b324771] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38168
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [4efbcd40-d3cb-4809-a2b3-6dca2b324771] [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["started_at", "2018-05-02 19:24:00.244953"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.245343"], ["updated_at", "2018-05-02 19:24:00.245343"]]
|
38169
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [4efbcd40-d3cb-4809-a2b3-6dca2b324771] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38170
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [4efbcd40-d3cb-4809-a2b3-6dca2b324771] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: af237c0f-ffc1-4fec-8997-af6d0df9a63e) to Async(default) at 2018-05-02 19:24:30 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
|
38171
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [4efbcd40-d3cb-4809-a2b3-6dca2b324771] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38172
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [4efbcd40-d3cb-4809-a2b3-6dca2b324771] [1m[35mSQL (0.2ms)[0m [1m[31mDELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1[0m [["id", 4]]
|
38173
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [4efbcd40-d3cb-4809-a2b3-6dca2b324771] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38174
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [4efbcd40-d3cb-4809-a2b3-6dca2b324771] Performed CanvasSync::Jobs::ReportChecker (Job ID: 4efbcd40-d3cb-4809-a2b3-6dca2b324771) from Async(default) in 6.62ms
|
38175
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38176
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38177
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [e6c2c621-211b-4274-8ac0-b25b27815ad7] Performing CanvasSync::Jobs::ReportChecker (Job ID: e6c2c621-211b-4274-8ac0-b25b27815ad7) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
|
38178
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [e6c2c621-211b-4274-8ac0-b25b27815ad7] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38179
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [e6c2c621-211b-4274-8ac0-b25b27815ad7] [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["started_at", "2018-05-02 19:24:00.253808"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.254423"], ["updated_at", "2018-05-02 19:24:00.254423"]]
|
38180
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [e6c2c621-211b-4274-8ac0-b25b27815ad7] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38181
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [e6c2c621-211b-4274-8ac0-b25b27815ad7] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1
|
38182
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [e6c2c621-211b-4274-8ac0-b25b27815ad7] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38183
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [e6c2c621-211b-4274-8ac0-b25b27815ad7] [1m[35mSQL (0.6ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6[0m [["completed_at", "2018-05-02 19:24:00.257697"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/ncollings/workspace/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/ncollings/workspace/canvas_sync/lib/canvas_sync/job.rb:14:in `block in <class:Job>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `kernel_load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in `exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `<main>'\"]"], ["status", "error"], ["updated_at", "2018-05-02 19:24:00.258080"], ["id", 5]]
|
38184
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [e6c2c621-211b-4274-8ac0-b25b27815ad7] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38185
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [e6c2c621-211b-4274-8ac0-b25b27815ad7] Error performing CanvasSync::Jobs::ReportChecker (Job ID: e6c2c621-211b-4274-8ac0-b25b27815ad7) from Async(default) in 6.97ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1):
|
38186
|
+
/Users/ncollings/workspace/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'
|
38187
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'
|
38188
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'
|
38189
|
+
/Users/ncollings/workspace/canvas_sync/lib/canvas_sync/job.rb:14:in `block in <class:Job>'
|
38190
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
|
38191
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
|
38192
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'
|
38193
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'
|
38194
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
|
38195
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
|
38196
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'
|
38197
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'
|
38198
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
38199
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'
|
38200
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'
|
38201
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'
|
38202
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
38203
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'
|
38204
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'
|
38205
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'
|
38206
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'
|
38207
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
|
38208
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
|
38209
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'
|
38210
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'
|
38211
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'
|
38212
|
+
/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'
|
38213
|
+
/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in <top (required)>'
|
38214
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'
|
38215
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
|
38216
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'
|
38217
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
|
38218
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'
|
38219
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'
|
38220
|
+
/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in <top (required)>'
|
38221
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'
|
38222
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'
|
38223
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'
|
38224
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'
|
38225
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'
|
38226
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'
|
38227
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
|
38228
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
|
38229
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
|
38230
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
|
38231
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'
|
38232
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'
|
38233
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
|
38234
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'
|
38235
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'
|
38236
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'
|
38237
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'
|
38238
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'
|
38239
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'
|
38240
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'
|
38241
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'
|
38242
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'
|
38243
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'
|
38244
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'
|
38245
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'
|
38246
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'
|
38247
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'
|
38248
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'
|
38249
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'
|
38250
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'
|
38251
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'
|
38252
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'
|
38253
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'
|
38254
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'
|
38255
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'
|
38256
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'
|
38257
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'
|
38258
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'
|
38259
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'
|
38260
|
+
/Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `load'
|
38261
|
+
/Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `<top (required)>'
|
38262
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `load'
|
38263
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `kernel_load'
|
38264
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in `run'
|
38265
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in `exec'
|
38266
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
|
38267
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
|
38268
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
|
38269
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'
|
38270
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
|
38271
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'
|
38272
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>'
|
38273
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
|
38274
|
+
/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>'
|
38275
|
+
/Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `load'
|
38276
|
+
/Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `<main>'
|
38277
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38278
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38279
|
+
[ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [7b9c3f0c-25e8-4fe0-bd0c-914a6a94cf88] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 7b9c3f0c-25e8-4fe0-bd0c-914a6a94cf88) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {}
|
38280
|
+
[ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [7b9c3f0c-25e8-4fe0-bd0c-914a6a94cf88] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38281
|
+
[ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [7b9c3f0c-25e8-4fe0-bd0c-914a6a94cf88] [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["started_at", "2018-05-02 19:24:00.263552"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.264099"], ["updated_at", "2018-05-02 19:24:00.264099"]]
|
38282
|
+
[ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [7b9c3f0c-25e8-4fe0-bd0c-914a6a94cf88] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38283
|
+
[ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [7b9c3f0c-25e8-4fe0-bd0c-914a6a94cf88] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38284
|
+
[ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [7b9c3f0c-25e8-4fe0-bd0c-914a6a94cf88] [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3[0m [["job_class", "FakeProcessor"], ["updated_at", "2018-05-02 19:24:00.266756"], ["id", 6]]
|
38285
|
+
[ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [7b9c3f0c-25e8-4fe0-bd0c-914a6a94cf88] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38286
|
+
[ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [7b9c3f0c-25e8-4fe0-bd0c-914a6a94cf88] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38287
|
+
[ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [7b9c3f0c-25e8-4fe0-bd0c-914a6a94cf88] [1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4[0m [["completed_at", "2018-05-02 19:24:00.300999"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.301685"], ["id", 6]]
|
38288
|
+
[ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [7b9c3f0c-25e8-4fe0-bd0c-914a6a94cf88] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38289
|
+
[ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [7b9c3f0c-25e8-4fe0-bd0c-914a6a94cf88] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 7b9c3f0c-25e8-4fe0-bd0c-914a6a94cf88) from Async(default) in 40.19ms
|
38290
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38291
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38292
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [3f6a56d4-8974-4404-8e67-4b8ef095b040] Performing CanvasSync::Jobs::ReportStarter (Job ID: 3f6a56d4-8974-4404-8e67-4b8ef095b040) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}
|
38293
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [3f6a56d4-8974-4404-8e67-4b8ef095b040] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38294
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [3f6a56d4-8974-4404-8e67-4b8ef095b040] [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["started_at", "2018-05-02 19:24:00.306082"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-05-02 19:24:00.306537"], ["updated_at", "2018-05-02 19:24:00.306537"]]
|
38295
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [3f6a56d4-8974-4404-8e67-4b8ef095b040] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38296
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [3f6a56d4-8974-4404-8e67-4b8ef095b040] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: f4f11865-5777-4649-ab47-7a56af2a3d47) to Async(default) at 2018-05-02 19:24:30 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]}
|
38297
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [3f6a56d4-8974-4404-8e67-4b8ef095b040] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38298
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [3f6a56d4-8974-4404-8e67-4b8ef095b040] [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4[0m [["completed_at", "2018-05-02 19:24:00.309834"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.310253"], ["id", 7]]
|
38299
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [3f6a56d4-8974-4404-8e67-4b8ef095b040] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38300
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [3f6a56d4-8974-4404-8e67-4b8ef095b040] Performed CanvasSync::Jobs::ReportStarter (Job ID: 3f6a56d4-8974-4404-8e67-4b8ef095b040) from Async(default) in 6.27ms
|
38301
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38302
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
38303
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [5fcca148-afeb-44c2-ac53-be7768c3d607] Performing CanvasSync::Jobs::ReportStarter (Job ID: 5fcca148-afeb-44c2-ac53-be7768c3d607) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true}
|
38304
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [5fcca148-afeb-44c2-ac53-be7768c3d607] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38305
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [5fcca148-afeb-44c2-ac53-be7768c3d607] [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["started_at", "2018-05-02 19:24:00.314685"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n provisioning_csv: 1\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-05-02 19:24:00.315181"], ["updated_at", "2018-05-02 19:24:00.315181"]]
|
38306
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [5fcca148-afeb-44c2-ac53-be7768c3d607] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38307
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [5fcca148-afeb-44c2-ac53-be7768c3d607] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38308
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [5fcca148-afeb-44c2-ac53-be7768c3d607] [1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4[0m [["completed_at", "2018-05-02 19:24:00.318106"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.318474"], ["id", 8]]
|
38309
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [5fcca148-afeb-44c2-ac53-be7768c3d607] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38310
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [5fcca148-afeb-44c2-ac53-be7768c3d607] Performed CanvasSync::Jobs::ReportStarter (Job ID: 5fcca148-afeb-44c2-ac53-be7768c3d607) from Async(default) in 6.28ms
|
38311
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38312
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38313
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [578b59bb-4917-45b2-9d56-76d1fb6b4dae] Performing CanvasSync::Jobs::ReportStarter (Job ID: 578b59bb-4917-45b2-9d56-76d1fb6b4dae) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true}
|
38314
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [578b59bb-4917-45b2-9d56-76d1fb6b4dae] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38315
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [578b59bb-4917-45b2-9d56-76d1fb6b4dae] [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["started_at", "2018-05-02 19:24:00.327024"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-05-02 19:24:00.327643"], ["updated_at", "2018-05-02 19:24:00.327643"]]
|
38316
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [578b59bb-4917-45b2-9d56-76d1fb6b4dae] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38317
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [578b59bb-4917-45b2-9d56-76d1fb6b4dae] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38318
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [578b59bb-4917-45b2-9d56-76d1fb6b4dae] [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4[0m [["completed_at", "2018-05-02 19:24:00.330955"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.331315"], ["id", 9]]
|
38319
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [578b59bb-4917-45b2-9d56-76d1fb6b4dae] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38320
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [578b59bb-4917-45b2-9d56-76d1fb6b4dae] Performed CanvasSync::Jobs::ReportStarter (Job ID: 578b59bb-4917-45b2-9d56-76d1fb6b4dae) from Async(default) in 6.1ms
|
38321
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38322
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38323
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT COUNT(*) FROM "admins"[0m
|
38324
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: dde2dd51-b74b-409d-be13-c518b12f81da) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
|
38325
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38326
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["started_at", "2018-05-02 19:24:00.340303"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.340779"], ["updated_at", "2018-05-02 19:24:00.340779"]]
|
38327
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38328
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] [1m[36mAdmin Load (0.3ms)[0m [1m[34mSELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2[0m [["canvas_admin_id", 2], ["LIMIT", 1]]
|
38329
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38330
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] [1m[36mAdmin Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2[0m [["canvas_admin_id", 2], ["LIMIT", 1]]
|
38331
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] [1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:00.360294"], ["updated_at", "2018-05-02 19:24:00.360294"]]
|
38332
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38333
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] [1m[36mAdmin Load (0.2ms)[0m [1m[34mSELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2[0m [["canvas_admin_id", 3], ["LIMIT", 1]]
|
38334
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38335
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] [1m[36mAdmin Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2[0m [["canvas_admin_id", 3], ["LIMIT", 1]]
|
38336
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_admin_id", 3], ["role_name", "Custom Account Role"], ["canvas_role_id", 11], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:00.364863"], ["updated_at", "2018-05-02 19:24:00.364863"]]
|
38337
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38338
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] [1m[36mAdmin Load (0.2ms)[0m [1m[34mSELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2[0m [["canvas_admin_id", 4], ["LIMIT", 1]]
|
38339
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38340
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] [1m[36mAdmin Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2[0m [["canvas_admin_id", 4], ["LIMIT", 1]]
|
38341
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_admin_id", 4], ["role_name", "Test"], ["canvas_role_id", 10], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:00.368311"], ["updated_at", "2018-05-02 19:24:00.368311"]]
|
38342
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38343
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] [1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "admins" WHERE ("admins"."id" NOT IN (1, 2, 3))[0m
|
38344
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38345
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4[0m [["completed_at", "2018-05-02 19:24:00.370530"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.370920"], ["id", 10]]
|
38346
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38347
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: dde2dd51-b74b-409d-be13-c518b12f81da) from Async(default) in 32.44ms
|
38348
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "admins"[0m
|
38349
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38350
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38351
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [452bf5e1-1368-4645-a50f-37ae82ff86f3] Performing CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: 452bf5e1-1368-4645-a50f-37ae82ff86f3) from Async(default) with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, {}
|
38352
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [452bf5e1-1368-4645-a50f-37ae82ff86f3] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38353
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [452bf5e1-1368-4645-a50f-37ae82ff86f3] [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["started_at", "2018-05-02 19:24:00.375663"], ["job_class", "CanvasSync::Jobs::SyncAssignmentGroupsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n canvas_term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.376167"], ["updated_at", "2018-05-02 19:24:00.376167"]]
|
38354
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [452bf5e1-1368-4645-a50f-37ae82ff86f3] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38355
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [452bf5e1-1368-4645-a50f-37ae82ff86f3] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 1f08cd6a-551a-447a-8923-345c77fadce1) to Async(default) at 2018-05-02 19:24:30 UTC with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, "proserv_assignment_group_export_csv", 1, "CanvasSync::Processors::AssignmentGroupsProcessor", {}
|
38356
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [452bf5e1-1368-4645-a50f-37ae82ff86f3] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38357
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [452bf5e1-1368-4645-a50f-37ae82ff86f3] [1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4[0m [["completed_at", "2018-05-02 19:24:00.383250"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.383764"], ["id", 11]]
|
38358
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [452bf5e1-1368-4645-a50f-37ae82ff86f3] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38359
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [452bf5e1-1368-4645-a50f-37ae82ff86f3] Performed CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: 452bf5e1-1368-4645-a50f-37ae82ff86f3) from Async(default) in 10.29ms
|
38360
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38361
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38362
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d41b335d-1e5e-4d14-bd67-c74c7f60c5e4] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: d41b335d-1e5e-4d14-bd67-c74c7f60c5e4) from Async(default) with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, {}
|
38363
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d41b335d-1e5e-4d14-bd67-c74c7f60c5e4] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38364
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d41b335d-1e5e-4d14-bd67-c74c7f60c5e4] [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["started_at", "2018-05-02 19:24:00.388640"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n canvas_term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.389122"], ["updated_at", "2018-05-02 19:24:00.389122"]]
|
38365
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d41b335d-1e5e-4d14-bd67-c74c7f60c5e4] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38366
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d41b335d-1e5e-4d14-bd67-c74c7f60c5e4] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 3c7a3127-d349-4db1-bb82-994948eb5bd3) to Async(default) at 2018-05-02 19:24:30 UTC with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {}
|
38367
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d41b335d-1e5e-4d14-bd67-c74c7f60c5e4] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38368
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d41b335d-1e5e-4d14-bd67-c74c7f60c5e4] [1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4[0m [["completed_at", "2018-05-02 19:24:00.392251"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.392680"], ["id", 12]]
|
38369
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d41b335d-1e5e-4d14-bd67-c74c7f60c5e4] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38370
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d41b335d-1e5e-4d14-bd67-c74c7f60c5e4] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: d41b335d-1e5e-4d14-bd67-c74c7f60c5e4) from Async(default) in 6.34ms
|
38371
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
38372
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38373
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [58b521fa-791f-4e1a-974a-6d19cbe0c7a4] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 58b521fa-791f-4e1a-974a-6d19cbe0c7a4) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
|
38374
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [58b521fa-791f-4e1a-974a-6d19cbe0c7a4] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38375
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [58b521fa-791f-4e1a-974a-6d19cbe0c7a4] [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["started_at", "2018-05-02 19:24:00.397657"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.398208"], ["updated_at", "2018-05-02 19:24:00.398208"]]
|
38376
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [58b521fa-791f-4e1a-974a-6d19cbe0c7a4] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38377
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [58b521fa-791f-4e1a-974a-6d19cbe0c7a4] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: c282c268-2db2-4b07-aa10-b2fc0bd1e01b) to Async(default) at 2018-05-02 19:24:30 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {}
|
38378
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [58b521fa-791f-4e1a-974a-6d19cbe0c7a4] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38379
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [58b521fa-791f-4e1a-974a-6d19cbe0c7a4] [1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4[0m [["completed_at", "2018-05-02 19:24:00.401725"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.402257"], ["id", 13]]
|
38380
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [58b521fa-791f-4e1a-974a-6d19cbe0c7a4] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38381
|
+
[ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [58b521fa-791f-4e1a-974a-6d19cbe0c7a4] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 58b521fa-791f-4e1a-974a-6d19cbe0c7a4) from Async(default) in 7.28ms
|
38382
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38383
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38384
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [8b7ff3f4-b9d0-46af-a34a-d2eacbcf2838] Performing CanvasSync::Jobs::SyncContextModuleItemsJob (Job ID: 8b7ff3f4-b9d0-46af-a34a-d2eacbcf2838) from Async(default) with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, {}
|
38385
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [8b7ff3f4-b9d0-46af-a34a-d2eacbcf2838] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38386
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [8b7ff3f4-b9d0-46af-a34a-d2eacbcf2838] [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["started_at", "2018-05-02 19:24:00.407416"], ["job_class", "CanvasSync::Jobs::SyncContextModuleItemsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n canvas_term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.407924"], ["updated_at", "2018-05-02 19:24:00.407924"]]
|
38387
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [8b7ff3f4-b9d0-46af-a34a-d2eacbcf2838] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38388
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [8b7ff3f4-b9d0-46af-a34a-d2eacbcf2838] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: fa01c85f-3e96-4b11-9a95-d30b801630a1) to Async(default) at 2018-05-02 19:24:30 UTC with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, "proserv_context_module_items_csv", 1, "CanvasSync::Processors::ContextModuleItemsProcessor", {}
|
38389
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [8b7ff3f4-b9d0-46af-a34a-d2eacbcf2838] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38390
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [8b7ff3f4-b9d0-46af-a34a-d2eacbcf2838] [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4[0m [["completed_at", "2018-05-02 19:24:00.411345"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.411863"], ["id", 14]]
|
38391
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [8b7ff3f4-b9d0-46af-a34a-d2eacbcf2838] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38392
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [8b7ff3f4-b9d0-46af-a34a-d2eacbcf2838] Performed CanvasSync::Jobs::SyncContextModuleItemsJob (Job ID: 8b7ff3f4-b9d0-46af-a34a-d2eacbcf2838) from Async(default) in 6.58ms
|
38393
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
38394
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38395
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [3517fd63-7a03-420d-a697-3871043de274] Performing CanvasSync::Jobs::SyncContextModuleItemsJob (Job ID: 3517fd63-7a03-420d-a697-3871043de274) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
|
38396
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [3517fd63-7a03-420d-a697-3871043de274] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38397
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [3517fd63-7a03-420d-a697-3871043de274] [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["started_at", "2018-05-02 19:24:00.421214"], ["job_class", "CanvasSync::Jobs::SyncContextModuleItemsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.421782"], ["updated_at", "2018-05-02 19:24:00.421782"]]
|
38398
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [3517fd63-7a03-420d-a697-3871043de274] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38399
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [3517fd63-7a03-420d-a697-3871043de274] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: ca8ff719-a50b-4df0-9728-eb8b3dccf19f) to Async(default) at 2018-05-02 19:24:30 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_context_module_items_csv", 1, "CanvasSync::Processors::ContextModuleItemsProcessor", {}
|
38400
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [3517fd63-7a03-420d-a697-3871043de274] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38401
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [3517fd63-7a03-420d-a697-3871043de274] [1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4[0m [["completed_at", "2018-05-02 19:24:00.429073"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.429662"], ["id", 15]]
|
38402
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [3517fd63-7a03-420d-a697-3871043de274] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38403
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [3517fd63-7a03-420d-a697-3871043de274] Performed CanvasSync::Jobs::SyncContextModuleItemsJob (Job ID: 3517fd63-7a03-420d-a697-3871043de274) from Async(default) in 10.18ms
|
38404
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38405
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38406
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [cccbc548-a5f8-4356-ab12-1ea5b9a3e8ac] Performing CanvasSync::Jobs::SyncContextModulesJob (Job ID: cccbc548-a5f8-4356-ab12-1ea5b9a3e8ac) from Async(default) with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, {}
|
38407
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [cccbc548-a5f8-4356-ab12-1ea5b9a3e8ac] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38408
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [cccbc548-a5f8-4356-ab12-1ea5b9a3e8ac] [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["started_at", "2018-05-02 19:24:00.434028"], ["job_class", "CanvasSync::Jobs::SyncContextModulesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n canvas_term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.434652"], ["updated_at", "2018-05-02 19:24:00.434652"]]
|
38409
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [cccbc548-a5f8-4356-ab12-1ea5b9a3e8ac] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38410
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [cccbc548-a5f8-4356-ab12-1ea5b9a3e8ac] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 347bbff4-2718-49f5-b4aa-265565512027) to Async(default) at 2018-05-02 19:24:30 UTC with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, "proserv_context_modules_csv", 1, "CanvasSync::Processors::ContextModulesProcessor", {}
|
38411
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [cccbc548-a5f8-4356-ab12-1ea5b9a3e8ac] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38412
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [cccbc548-a5f8-4356-ab12-1ea5b9a3e8ac] [1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4[0m [["completed_at", "2018-05-02 19:24:00.438582"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.439108"], ["id", 16]]
|
38413
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [cccbc548-a5f8-4356-ab12-1ea5b9a3e8ac] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38414
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [cccbc548-a5f8-4356-ab12-1ea5b9a3e8ac] Performed CanvasSync::Jobs::SyncContextModulesJob (Job ID: cccbc548-a5f8-4356-ab12-1ea5b9a3e8ac) from Async(default) in 7.74ms
|
38415
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
38416
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38417
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [bdb2df3b-3a93-49e4-9151-62cb00cbcd19] Performing CanvasSync::Jobs::SyncContextModulesJob (Job ID: bdb2df3b-3a93-49e4-9151-62cb00cbcd19) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
|
38418
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [bdb2df3b-3a93-49e4-9151-62cb00cbcd19] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38419
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [bdb2df3b-3a93-49e4-9151-62cb00cbcd19] [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["started_at", "2018-05-02 19:24:00.444455"], ["job_class", "CanvasSync::Jobs::SyncContextModulesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.445180"], ["updated_at", "2018-05-02 19:24:00.445180"]]
|
38420
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [bdb2df3b-3a93-49e4-9151-62cb00cbcd19] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38421
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [bdb2df3b-3a93-49e4-9151-62cb00cbcd19] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 4297c2fd-03ab-493f-8597-7b018d733b24) to Async(default) at 2018-05-02 19:24:30 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_context_modules_csv", 1, "CanvasSync::Processors::ContextModulesProcessor", {}
|
38422
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [bdb2df3b-3a93-49e4-9151-62cb00cbcd19] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38423
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [bdb2df3b-3a93-49e4-9151-62cb00cbcd19] [1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4[0m [["completed_at", "2018-05-02 19:24:00.449135"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.449729"], ["id", 17]]
|
38424
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [bdb2df3b-3a93-49e4-9151-62cb00cbcd19] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38425
|
+
[ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [bdb2df3b-3a93-49e4-9151-62cb00cbcd19] Performed CanvasSync::Jobs::SyncContextModulesJob (Job ID: bdb2df3b-3a93-49e4-9151-62cb00cbcd19) from Async(default) in 7.57ms
|
38426
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38427
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
38428
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38429
|
+
[1m[36mTerm Exists (2.6ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2[0m [["canvas_term_id", 64794369], ["LIMIT", 1]]
|
38430
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_term_id", 64794369], ["name", "Cool Term"], ["start_at", "2018-04-29 19:23:59.003659"], ["end_at", "2018-05-05 19:23:59.003837"], ["workflow_state", "active"], ["sis_id", "4773ea12dfa6c4a38ec840ea5229bd83"], ["created_at", "2018-05-02 19:24:00.475451"], ["updated_at", "2018-05-02 19:24:00.475451"]]
|
38431
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38432
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38433
|
+
[1m[36mTerm Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2[0m [["canvas_term_id", 55060694], ["LIMIT", 1]]
|
38434
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_term_id", 55060694], ["name", "Cool Term"], ["start_at", "2018-04-29 19:23:59.003659"], ["end_at", "2018-05-05 19:23:59.003837"], ["workflow_state", "active"], ["sis_id", "70938ceb94107893a73750ed17345c4e"], ["created_at", "2018-05-02 19:24:00.478731"], ["updated_at", "2018-05-02 19:24:00.478731"]]
|
38435
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38436
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38437
|
+
[1m[36mTerm Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2[0m [["canvas_term_id", 60597861], ["LIMIT", 1]]
|
38438
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_term_id", 60597861], ["name", "Cool Term"], ["start_at", "2018-04-29 19:23:59.003659"], ["end_at", "2018-05-05 19:23:59.003837"], ["workflow_state", "inactive"], ["sis_id", "36f827af513aa9d710fecf83478db821"], ["created_at", "2018-05-02 19:24:00.481344"], ["updated_at", "2018-05-02 19:24:00.481344"]]
|
38439
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38440
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0423ac1a-f8f0-4fbc-873a-32b9bb902376] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 0423ac1a-f8f0-4fbc-873a-32b9bb902376) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"}
|
38441
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0423ac1a-f8f0-4fbc-873a-32b9bb902376] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38442
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0423ac1a-f8f0-4fbc-873a-32b9bb902376] [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["started_at", "2018-05-02 19:24:00.483074"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-05-02 19:24:00.483499"], ["updated_at", "2018-05-02 19:24:00.483499"]]
|
38443
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0423ac1a-f8f0-4fbc-873a-32b9bb902376] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38444
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0423ac1a-f8f0-4fbc-873a-32b9bb902376] [1m[36mTerm Load (5.5ms)[0m [1m[34mSELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-05-17 19:24:00.485860' OR start_at IS NULL) AND (end_at >= '2018-04-17 19:24:00.486037' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2[0m [["workflow_state", "active"], ["LIMIT", 1000]]
|
38445
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0423ac1a-f8f0-4fbc-873a-32b9bb902376] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38446
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0423ac1a-f8f0-4fbc-873a-32b9bb902376] [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4[0m [["completed_at", "2018-05-02 19:24:00.492918"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.493438"], ["id", 18]]
|
38447
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0423ac1a-f8f0-4fbc-873a-32b9bb902376] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38448
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0423ac1a-f8f0-4fbc-873a-32b9bb902376] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 0423ac1a-f8f0-4fbc-873a-32b9bb902376) from Async(default) in 12.38ms
|
38449
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
38450
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38451
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a1fe21be-f445-4cbd-b08e-0f4fab6b4bc8] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: a1fe21be-f445-4cbd-b08e-0f4fab6b4bc8) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]}
|
38452
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a1fe21be-f445-4cbd-b08e-0f4fab6b4bc8] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38453
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a1fe21be-f445-4cbd-b08e-0f4fab6b4bc8] [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["started_at", "2018-05-02 19:24:00.497557"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-05-02 19:24:00.498028"], ["updated_at", "2018-05-02 19:24:00.498028"]]
|
38454
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a1fe21be-f445-4cbd-b08e-0f4fab6b4bc8] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38455
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a1fe21be-f445-4cbd-b08e-0f4fab6b4bc8] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38456
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a1fe21be-f445-4cbd-b08e-0f4fab6b4bc8] [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4[0m [["completed_at", "2018-05-02 19:24:00.500893"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.501233"], ["id", 19]]
|
38457
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a1fe21be-f445-4cbd-b08e-0f4fab6b4bc8] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38458
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a1fe21be-f445-4cbd-b08e-0f4fab6b4bc8] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: a1fe21be-f445-4cbd-b08e-0f4fab6b4bc8) from Async(default) in 5.36ms
|
38459
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38460
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38461
|
+
[1m[35m (2.7ms)[0m [1m[34mSELECT COUNT(*) FROM "roles"[0m
|
38462
|
+
[ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: fd7e61e4-2ac4-4055-a19d-e9a7f676b93f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
|
38463
|
+
[ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38464
|
+
[ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["started_at", "2018-05-02 19:24:00.512760"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.513423"], ["updated_at", "2018-05-02 19:24:00.513423"]]
|
38465
|
+
[ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38466
|
+
[ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] [1m[36mRole Load (0.3ms)[0m [1m[34mSELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2[0m [["canvas_role_id", 1], ["LIMIT", 1]]
|
38467
|
+
[ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38468
|
+
[ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] [1m[36mRole Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2[0m [["canvas_role_id", 1], ["LIMIT", 1]]
|
38469
|
+
[ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-05-02 19:24:00.534200"], ["updated_at", "2018-05-02 19:24:00.534200"]]
|
38470
|
+
[ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38471
|
+
[ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] [1m[36mRole Load (0.2ms)[0m [1m[34mSELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2[0m [["canvas_role_id", 3], ["LIMIT", 1]]
|
38472
|
+
[ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38473
|
+
[ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] [1m[36mRole Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2[0m [["canvas_role_id", 3], ["LIMIT", 1]]
|
38474
|
+
[ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-05-02 19:24:00.550803"], ["updated_at", "2018-05-02 19:24:00.550803"]]
|
38475
|
+
[ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38476
|
+
[ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] [1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "roles" WHERE ("roles"."id" NOT IN (1, 2))[0m
|
38477
|
+
[ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38478
|
+
[ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4[0m [["completed_at", "2018-05-02 19:24:00.556268"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.556802"], ["id", 20]]
|
38479
|
+
[ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38480
|
+
[ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: fd7e61e4-2ac4-4055-a19d-e9a7f676b93f) from Async(default) in 46.02ms
|
38481
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "roles"[0m
|
38482
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
38483
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38484
|
+
[ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [775a3158-c247-4de9-923a-3e2185801ec8] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 775a3158-c247-4de9-923a-3e2185801ec8) from Async(default) with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, {}
|
38485
|
+
[ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [775a3158-c247-4de9-923a-3e2185801ec8] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38486
|
+
[ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [775a3158-c247-4de9-923a-3e2185801ec8] [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["started_at", "2018-05-02 19:24:00.562270"], ["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n canvas_term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.562832"], ["updated_at", "2018-05-02 19:24:00.562832"]]
|
38487
|
+
[ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [775a3158-c247-4de9-923a-3e2185801ec8] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38488
|
+
[ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [775a3158-c247-4de9-923a-3e2185801ec8] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: ddf2275c-c961-4b17-9eff-69af2d417da8) to Async(default) at 2018-05-02 19:24:30 UTC with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {}
|
38489
|
+
[ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [775a3158-c247-4de9-923a-3e2185801ec8] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38490
|
+
[ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [775a3158-c247-4de9-923a-3e2185801ec8] [1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4[0m [["completed_at", "2018-05-02 19:24:00.566879"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.567451"], ["id", 21]]
|
38491
|
+
[ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [775a3158-c247-4de9-923a-3e2185801ec8] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38492
|
+
[ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [775a3158-c247-4de9-923a-3e2185801ec8] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 775a3158-c247-4de9-923a-3e2185801ec8) from Async(default) in 7.2ms
|
38493
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38494
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
38495
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "terms"[0m
|
38496
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 878b212d-c912-4557-ad2b-bdb7b2c780f0) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
|
38497
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38498
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["started_at", "2018-05-02 19:24:00.572396"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.572845"], ["updated_at", "2018-05-02 19:24:00.572845"]]
|
38499
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38500
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[36mTerm Load (0.2ms)[0m [1m[34mSELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2[0m [["canvas_term_id", 1], ["LIMIT", 1]]
|
38501
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38502
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[36mTerm Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2[0m [["canvas_term_id", 1], ["LIMIT", 1]]
|
38503
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-05-02 19:24:00.580971"], ["updated_at", "2018-05-02 19:24:00.580971"]]
|
38504
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38505
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[36mTerm Load (0.2ms)[0m [1m[34mSELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2[0m [["canvas_term_id", 6], ["LIMIT", 1]]
|
38506
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38507
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[36mTerm Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2[0m [["canvas_term_id", 6], ["LIMIT", 1]]
|
38508
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:00.584703"], ["updated_at", "2018-05-02 19:24:00.584703"]]
|
38509
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38510
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[36mTerm Load (0.2ms)[0m [1m[34mSELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2[0m [["canvas_term_id", 7], ["LIMIT", 1]]
|
38511
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38512
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[36mTerm Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2[0m [["canvas_term_id", 7], ["LIMIT", 1]]
|
38513
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:00.588085"], ["updated_at", "2018-05-02 19:24:00.588085"]]
|
38514
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38515
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[36mTerm Load (0.2ms)[0m [1m[34mSELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2[0m [["canvas_term_id", 5], ["LIMIT", 1]]
|
38516
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38517
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[36mTerm Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2[0m [["canvas_term_id", 5], ["LIMIT", 1]]
|
38518
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-05-02 19:24:00.592717"], ["updated_at", "2018-05-02 19:24:00.592717"]]
|
38519
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38520
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[36mTerm Load (0.2ms)[0m [1m[34mSELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2[0m [["canvas_term_id", 4], ["LIMIT", 1]]
|
38521
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38522
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[36mTerm Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2[0m [["canvas_term_id", 4], ["LIMIT", 1]]
|
38523
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id"[0m [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-05-02 19:24:00.596077"], ["updated_at", "2018-05-02 19:24:00.596077"]]
|
38524
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38525
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[36mTerm Load (0.2ms)[0m [1m[34mSELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2[0m [["canvas_term_id", 3], ["LIMIT", 1]]
|
38526
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38527
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[36mTerm Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2[0m [["canvas_term_id", 3], ["LIMIT", 1]]
|
38528
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:00.599272"], ["updated_at", "2018-05-02 19:24:00.599272"]]
|
38529
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38530
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38531
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4[0m [["completed_at", "2018-05-02 19:24:00.600486"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.600878"], ["id", 22]]
|
38532
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38533
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 878b212d-c912-4557-ad2b-bdb7b2c780f0) from Async(default) in 30.19ms
|
38534
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "terms"[0m
|
38535
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38536
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38537
|
+
[ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [def18cc5-dfba-4157-a77c-9681235445ce] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: def18cc5-dfba-4157-a77c-9681235445ce) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
|
38538
|
+
[ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [def18cc5-dfba-4157-a77c-9681235445ce] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38539
|
+
[ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [def18cc5-dfba-4157-a77c-9681235445ce] [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["started_at", "2018-05-02 19:24:00.609305"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.609941"], ["updated_at", "2018-05-02 19:24:00.609941"]]
|
38540
|
+
[ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [def18cc5-dfba-4157-a77c-9681235445ce] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38541
|
+
[ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [def18cc5-dfba-4157-a77c-9681235445ce] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: d597eb2b-de61-4070-854c-4bb3359043fa) to Async(default) at 2018-05-02 19:24:30 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]}
|
38542
|
+
[ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [def18cc5-dfba-4157-a77c-9681235445ce] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38543
|
+
[ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [def18cc5-dfba-4157-a77c-9681235445ce] [1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4[0m [["completed_at", "2018-05-02 19:24:00.614509"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.615027"], ["id", 23]]
|
38544
|
+
[ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [def18cc5-dfba-4157-a77c-9681235445ce] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38545
|
+
[ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [def18cc5-dfba-4157-a77c-9681235445ce] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: def18cc5-dfba-4157-a77c-9681235445ce) from Async(default) in 7.77ms
|
38546
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38547
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38548
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38549
|
+
[1m[36mAccount Exists (2.0ms)[0m [1m[34mSELECT 1 AS one FROM "accounts" WHERE "accounts"."canvas_account_id" = $1 LIMIT $2[0m [["canvas_account_id", 55594085], ["LIMIT", 1]]
|
38550
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "accounts" ("canvas_account_id", "account_id", "canvas_parent_id", "parent_account_id", "name", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_account_id", 55594085], ["account_id", "2498c19df5df8185ae9e4e6470bf168c"], ["canvas_parent_id", 1], ["parent_account_id", "fd62e77dbc933141209ad76d96b4f569"], ["name", "Account name"], ["status", "active"], ["created_at", "2018-05-02 19:24:00.633255"], ["updated_at", "2018-05-02 19:24:00.633255"]]
|
38551
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38552
|
+
[1m[36mAccount Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "accounts" WHERE "accounts"."canvas_account_id" IS NULL AND ("accounts"."id" != $1) LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
|
38553
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38554
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38555
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38556
|
+
[1m[36mAccount Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "accounts" WHERE "accounts"."canvas_account_id" = $1 LIMIT $2[0m [["canvas_account_id", 28394772], ["LIMIT", 1]]
|
38557
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "accounts" ("canvas_account_id", "account_id", "canvas_parent_id", "parent_account_id", "name", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_account_id", 28394772], ["account_id", "377c5c447c8c9698f7ca6f9ced9e4534"], ["canvas_parent_id", 1], ["parent_account_id", "6b0ba575a11df1bce02e3755ffccc4aa"], ["name", "Account name"], ["status", "active"], ["created_at", "2018-05-02 19:24:00.656202"], ["updated_at", "2018-05-02 19:24:00.656202"]]
|
38558
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38559
|
+
[1m[36mAccount Load (0.2ms)[0m [1m[34mSELECT "accounts".* FROM "accounts" ORDER BY "accounts"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
38560
|
+
[1m[36mAccount Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "accounts" WHERE "accounts"."canvas_account_id" = $1 LIMIT $2[0m [["canvas_account_id", 28394772], ["LIMIT", 1]]
|
38561
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38562
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38563
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38564
|
+
[1m[36mAdmin Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2[0m [["canvas_admin_id", 92462719], ["LIMIT", 1]]
|
38565
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_admin_id", 92462719], ["role_name", "Cool Role"], ["canvas_role_id", 12859776], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:00.663379"], ["updated_at", "2018-05-02 19:24:00.663379"]]
|
38566
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38567
|
+
[1m[36mAdmin Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
|
38568
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38569
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38570
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38571
|
+
[1m[36mAdmin Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2[0m [["canvas_admin_id", 793787], ["LIMIT", 1]]
|
38572
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_admin_id", 793787], ["role_name", "Cool Role"], ["canvas_role_id", 17565406], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:00.668696"], ["updated_at", "2018-05-02 19:24:00.668696"]]
|
38573
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38574
|
+
[1m[36mAdmin Load (0.2ms)[0m [1m[34mSELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
38575
|
+
[1m[36mAdmin Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2[0m [["canvas_admin_id", 793787], ["LIMIT", 1]]
|
38576
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38577
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38578
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "admins"[0m
|
38579
|
+
[1m[36mAdmin Load (0.2ms)[0m [1m[34mSELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2[0m [["canvas_admin_id", 2], ["LIMIT", 1]]
|
38580
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38581
|
+
[1m[36mAdmin Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2[0m [["canvas_admin_id", 2], ["LIMIT", 1]]
|
38582
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:00.677917"], ["updated_at", "2018-05-02 19:24:00.677917"]]
|
38583
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38584
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "admins"[0m
|
38585
|
+
[1m[36mAdmin Load (0.2ms)[0m [1m[34mSELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
38586
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38587
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38588
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38589
|
+
[1m[36mAdmin Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2[0m [["canvas_admin_id", 2], ["LIMIT", 1]]
|
38590
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_admin_id", 2], ["role_name", "Cool Role"], ["canvas_role_id", 72718726], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:00.684795"], ["updated_at", "2018-05-02 19:24:00.684795"]]
|
38591
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38592
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "admins"[0m
|
38593
|
+
[1m[36mAdmin Load (0.2ms)[0m [1m[34mSELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2[0m [["canvas_admin_id", 2], ["LIMIT", 1]]
|
38594
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38595
|
+
[1m[36mAdmin Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3[0m [["canvas_admin_id", 2], ["id", 7], ["LIMIT", 1]]
|
38596
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "admins" SET "role_name" = $1, "canvas_role_id" = $2, "user_data" = $3, "updated_at" = $4 WHERE "admins"."id" = $5[0m [["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-05-02 19:24:00.689264"], ["id", 7]]
|
38597
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38598
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "admins"[0m
|
38599
|
+
[1m[36mAdmin Load (0.2ms)[0m [1m[34mSELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
|
38600
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38601
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38602
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38603
|
+
[1m[36mAssignmentGroup Exists (3.5ms)[0m [1m[34mSELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2[0m [["canvas_assignment_group_id", 1], ["LIMIT", 1]]
|
38604
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_assignment_group_id", 1], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-04-25 19:24:00.711437"], ["canvas_updated_at", "2018-05-01 19:24:00.711684"], ["created_at", "2018-05-02 19:24:00.717197"], ["updated_at", "2018-05-02 19:24:00.717197"]]
|
38605
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38606
|
+
[1m[36mAssignmentGroup Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" IS NULL AND ("assignment_groups"."id" != $1) LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
|
38607
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38608
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38609
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38610
|
+
[1m[36mAssignmentGroup Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2[0m [["canvas_assignment_group_id", 2], ["LIMIT", 1]]
|
38611
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_assignment_group_id", 2], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-04-25 19:24:00.723121"], ["canvas_updated_at", "2018-05-01 19:24:00.723258"], ["created_at", "2018-05-02 19:24:00.724381"], ["updated_at", "2018-05-02 19:24:00.724381"]]
|
38612
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38613
|
+
[1m[36mAssignmentGroup Load (0.2ms)[0m [1m[34mSELECT "assignment_groups".* FROM "assignment_groups" ORDER BY "assignment_groups"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
38614
|
+
[1m[36mAssignmentGroup Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2[0m [["canvas_assignment_group_id", 2], ["LIMIT", 1]]
|
38615
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38616
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38617
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38618
|
+
[1m[36mAssignmentGroup Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2[0m [["canvas_assignment_group_id", 3], ["LIMIT", 1]]
|
38619
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_assignment_group_id", 3], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-04-25 19:24:00.729787"], ["canvas_updated_at", "2018-05-01 19:24:00.729898"], ["created_at", "2018-05-02 19:24:00.730941"], ["updated_at", "2018-05-02 19:24:00.730941"]]
|
38620
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38621
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38622
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
38623
|
+
[1m[35m (2.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38624
|
+
[1m[36mAssignmentGroup Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2[0m [["canvas_assignment_group_id", 4], ["LIMIT", 1]]
|
38625
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_assignment_group_id", 4], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-04-25 19:24:00.734753"], ["canvas_updated_at", "2018-05-01 19:24:00.735152"], ["created_at", "2018-05-02 19:24:00.739113"], ["updated_at", "2018-05-02 19:24:00.739113"]]
|
38626
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38627
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38628
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38629
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38630
|
+
[1m[36mAssignment Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2[0m [["canvas_assignment_id", 1], ["LIMIT", 1]]
|
38631
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-05-09 19:24:00.759883"], ["unlock_at", "2018-05-01 19:24:00.759999"], ["lock_at", "2018-05-23 19:24:00.760050"], ["created_at", "2018-05-02 19:24:00.762705"], ["updated_at", "2018-05-02 19:24:00.762705"]]
|
38632
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38633
|
+
[1m[36mAssignment Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" IS NULL AND ("assignments"."id" != $1) LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
|
38634
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38635
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38636
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38637
|
+
[1m[36mAssignment Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2[0m [["canvas_assignment_id", 2], ["LIMIT", 1]]
|
38638
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_assignment_id", 2], ["title", "Assignment 2"], ["due_at", "2018-05-09 19:24:00.767423"], ["unlock_at", "2018-05-01 19:24:00.767512"], ["lock_at", "2018-05-23 19:24:00.767559"], ["created_at", "2018-05-02 19:24:00.768620"], ["updated_at", "2018-05-02 19:24:00.768620"]]
|
38639
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38640
|
+
[1m[36mAssignment Load (0.2ms)[0m [1m[34mSELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
38641
|
+
[1m[36mAssignment Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2[0m [["canvas_assignment_id", 2], ["LIMIT", 1]]
|
38642
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38643
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38644
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38645
|
+
[1m[36mAssignment Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2[0m [["canvas_assignment_id", 3], ["LIMIT", 1]]
|
38646
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_assignment_id", 3], ["title", "Assignment 3"], ["due_at", "2018-05-09 19:24:00.773909"], ["unlock_at", "2018-05-01 19:24:00.773995"], ["lock_at", "2018-05-23 19:24:00.774043"], ["created_at", "2018-05-02 19:24:00.775028"], ["updated_at", "2018-05-02 19:24:00.775028"]]
|
38647
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38648
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38649
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38650
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38651
|
+
[1m[36mAssignment Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2[0m [["canvas_assignment_id", 4], ["LIMIT", 1]]
|
38652
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_assignment_id", 4], ["title", "Assignment 4"], ["due_at", "2018-05-09 19:24:00.777978"], ["unlock_at", "2018-05-01 19:24:00.778058"], ["lock_at", "2018-05-23 19:24:00.778105"], ["created_at", "2018-05-02 19:24:00.779128"], ["updated_at", "2018-05-02 19:24:00.779128"]]
|
38653
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38654
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38655
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38656
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38657
|
+
[1m[36mAssignment Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2[0m [["canvas_assignment_id", 5], ["LIMIT", 1]]
|
38658
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_assignment_id", 5], ["title", "Assignment 5"], ["due_at", "2018-05-09 19:24:00.781918"], ["unlock_at", "2018-05-01 19:24:00.781989"], ["lock_at", "2018-05-23 19:24:00.782057"], ["created_at", "2018-05-02 19:24:00.783074"], ["updated_at", "2018-05-02 19:24:00.783074"]]
|
38659
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38660
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
38661
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38662
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38663
|
+
[1m[36mAssignment Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2[0m [["canvas_assignment_id", 6], ["LIMIT", 1]]
|
38664
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_assignment_id", 6], ["title", "Assignment 6"], ["due_at", "2018-05-09 19:24:00.786373"], ["unlock_at", "2018-05-01 19:24:00.786480"], ["lock_at", "2018-05-23 19:24:00.786531"], ["created_at", "2018-05-02 19:24:00.787726"], ["updated_at", "2018-05-02 19:24:00.787726"]]
|
38665
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38666
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
38667
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38668
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38669
|
+
[1m[36mCourse Exists (6.1ms)[0m [1m[34mSELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2[0m [["canvas_course_id", 38681895], ["LIMIT", 1]]
|
38670
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_course_id", 38681895], ["sis_id", "3a73b0e5c69416b586a0ac7880ba7a11"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-04-29 19:24:00.805580"], ["end_date", "2018-05-23 19:24:00.805694"], ["created_at", "2018-05-02 19:24:00.813466"], ["updated_at", "2018-05-02 19:24:00.813466"]]
|
38671
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38672
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38673
|
+
[1m[36mCourse Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2[0m [["canvas_course_id", 19747250], ["LIMIT", 1]]
|
38674
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_course_id", 19747250], ["sis_id", "57ec17311da8f803565972c0da086093"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-04-29 19:24:00.815717"], ["end_date", "2018-05-23 19:24:00.815798"], ["created_at", "2018-05-02 19:24:00.817111"], ["updated_at", "2018-05-02 19:24:00.817111"]]
|
38675
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38676
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38677
|
+
[1m[36mAssignment Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2[0m [["canvas_assignment_id", 7], ["LIMIT", 1]]
|
38678
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_assignment_id", 7], ["title", "Assignment 7"], ["due_at", "2018-05-09 19:24:00.818887"], ["unlock_at", "2018-05-01 19:24:00.818990"], ["lock_at", "2018-05-23 19:24:00.819039"], ["created_at", "2018-05-02 19:24:00.820226"], ["updated_at", "2018-05-02 19:24:00.820226"]]
|
38679
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38680
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38681
|
+
[1m[36mAssignment Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 AND ("assignments"."id" != $2) LIMIT $3[0m [["canvas_assignment_id", 7], ["id", 11], ["LIMIT", 1]]
|
38682
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "assignments" SET "context_id" = $1, "context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4[0m [["context_id", 19747250], ["context_type", "Course"], ["updated_at", "2018-05-02 19:24:00.822735"], ["id", 11]]
|
38683
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38684
|
+
[1m[36mCourse Load (0.2ms)[0m [1m[34mSELECT "courses".* FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2[0m [["canvas_course_id", 19747250], ["LIMIT", 1]]
|
38685
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
38686
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38687
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38688
|
+
[1m[36mAssignment Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2[0m [["canvas_assignment_id", 8], ["LIMIT", 1]]
|
38689
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_assignment_id", 8], ["title", "Assignment 8"], ["due_at", "2018-05-09 19:24:00.859732"], ["unlock_at", "2018-05-01 19:24:00.863368"], ["lock_at", "2018-05-23 19:24:00.863489"], ["created_at", "2018-05-02 19:24:00.865102"], ["updated_at", "2018-05-02 19:24:00.865102"]]
|
38690
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38691
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38692
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "context_module_items" ("canvas_context_module_item_id", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["canvas_context_module_item_id", 1], ["content_id", 8], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:00.867606"], ["updated_at", "2018-05-02 19:24:00.867606"]]
|
38693
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38694
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38695
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38696
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38697
|
+
[1m[36mAssignment Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2[0m [["canvas_assignment_id", 9], ["LIMIT", 1]]
|
38698
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_assignment_id", 9], ["title", "Assignment 9"], ["due_at", "2018-05-09 19:24:00.871342"], ["unlock_at", "2018-05-01 19:24:00.871435"], ["lock_at", "2018-05-23 19:24:00.871491"], ["created_at", "2018-05-02 19:24:00.872643"], ["updated_at", "2018-05-02 19:24:00.872643"]]
|
38699
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38700
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38701
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "context_module_items" ("canvas_context_module_item_id", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["canvas_context_module_item_id", 2], ["content_id", 9], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:00.878895"], ["updated_at", "2018-05-02 19:24:00.878895"]]
|
38702
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38703
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38704
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38705
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38706
|
+
[1m[36mCourse Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2[0m [["canvas_course_id", 58353165], ["LIMIT", 1]]
|
38707
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_course_id", 58353165], ["sis_id", "f9f069cdf5cde8190487775504b0e088"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-04-29 19:24:00.894691"], ["end_date", "2018-05-23 19:24:00.894795"], ["created_at", "2018-05-02 19:24:00.896134"], ["updated_at", "2018-05-02 19:24:00.896134"]]
|
38708
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38709
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38710
|
+
[1m[35mSQL (6.8ms)[0m [1m[32mINSERT INTO "context_modules" ("canvas_context_module_id", "canvas_context_id", "canvas_context_type", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_context_module_id", 1], ["canvas_context_id", 3], ["canvas_context_type", "Course"], ["name", "Context Module"], ["workflow_state", "available"], ["created_at", "2018-05-02 19:24:00.897967"], ["updated_at", "2018-05-02 19:24:00.897967"]]
|
38711
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38712
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38713
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
38714
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38715
|
+
[1m[36mCourse Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2[0m [["canvas_course_id", 98321678], ["LIMIT", 1]]
|
38716
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_course_id", 98321678], ["sis_id", "2d7b8834226cc23a78ba89f27652ad35"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-04-29 19:24:00.907682"], ["end_date", "2018-05-23 19:24:00.907779"], ["created_at", "2018-05-02 19:24:00.908950"], ["updated_at", "2018-05-02 19:24:00.908950"]]
|
38717
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38718
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38719
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "context_modules" ("canvas_context_module_id", "canvas_context_id", "canvas_context_type", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_context_module_id", 2], ["canvas_context_id", 4], ["canvas_context_type", "Course"], ["name", "Context Module"], ["workflow_state", "available"], ["created_at", "2018-05-02 19:24:00.911136"], ["updated_at", "2018-05-02 19:24:00.911136"]]
|
38720
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38721
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38722
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38723
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38724
|
+
[1m[36mCourse Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2[0m [["canvas_course_id", 28930554], ["LIMIT", 1]]
|
38725
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_course_id", 28930554], ["sis_id", "11a5011370fcdea50f0c3843f77de79f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-04-29 19:24:00.915720"], ["end_date", "2018-05-23 19:24:00.915842"], ["created_at", "2018-05-02 19:24:00.917095"], ["updated_at", "2018-05-02 19:24:00.917095"]]
|
38726
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38727
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38728
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "context_modules" ("canvas_context_module_id", "canvas_context_id", "canvas_context_type", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_context_module_id", 3], ["canvas_context_id", 5], ["canvas_context_type", "Course"], ["name", "Context Module"], ["workflow_state", "available"], ["created_at", "2018-05-02 19:24:00.919004"], ["updated_at", "2018-05-02 19:24:00.919004"]]
|
38729
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38730
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38731
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38732
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38733
|
+
[1m[36mCourse Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2[0m [["canvas_course_id", 84155248], ["LIMIT", 1]]
|
38734
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_course_id", 84155248], ["sis_id", "0285d80eef2a1b6c8071ff58bfe75942"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-04-29 19:24:00.922436"], ["end_date", "2018-05-23 19:24:00.922526"], ["created_at", "2018-05-02 19:24:00.923677"], ["updated_at", "2018-05-02 19:24:00.923677"]]
|
38735
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38736
|
+
[1m[36mCourse Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
|
38737
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38738
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38739
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38740
|
+
[1m[36mCourse Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2[0m [["canvas_course_id", 52311717], ["LIMIT", 1]]
|
38741
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_course_id", 52311717], ["sis_id", "05609c6a5adc99cffd5bedabe0f45850"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-04-29 19:24:00.928146"], ["end_date", "2018-05-23 19:24:00.928227"], ["created_at", "2018-05-02 19:24:00.929286"], ["updated_at", "2018-05-02 19:24:00.929286"]]
|
38742
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38743
|
+
[1m[36mCourse Load (0.2ms)[0m [1m[34mSELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
38744
|
+
[1m[36mCourse Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2[0m [["canvas_course_id", 52311717], ["LIMIT", 1]]
|
38745
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38746
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38747
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38748
|
+
[1m[36mCourse Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2[0m [["canvas_course_id", 31538348], ["LIMIT", 1]]
|
38749
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_course_id", 31538348], ["sis_id", "07ef44ffd8e6a53ff68eb2acf30566b0"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-04-29 19:24:00.938528"], ["end_date", "2018-05-23 19:24:00.938638"], ["created_at", "2018-05-02 19:24:00.940080"], ["updated_at", "2018-05-02 19:24:00.940080"]]
|
38750
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38751
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38752
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38753
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38754
|
+
[1m[36mCourse Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2[0m [["canvas_course_id", 78810978], ["LIMIT", 1]]
|
38755
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_course_id", 78810978], ["sis_id", "184f1dc88a80f81bccb5e590838c387f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-04-29 19:24:00.943278"], ["end_date", "2018-05-23 19:24:00.943404"], ["created_at", "2018-05-02 19:24:00.944542"], ["updated_at", "2018-05-02 19:24:00.944542"]]
|
38756
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38757
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38758
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38759
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38760
|
+
[1m[36mCourse Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2[0m [["canvas_course_id", 4102642], ["LIMIT", 1]]
|
38761
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_course_id", 4102642], ["sis_id", "8d43a5b42e7bbc3b521b8c4b9f5473e8"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-04-29 19:24:00.947764"], ["end_date", "2018-05-23 19:24:00.947846"], ["created_at", "2018-05-02 19:24:00.948908"], ["updated_at", "2018-05-02 19:24:00.948908"]]
|
38762
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38763
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
38764
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38765
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38766
|
+
[1m[36mCourse Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2[0m [["canvas_course_id", 31248044], ["LIMIT", 1]]
|
38767
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_course_id", 31248044], ["sis_id", "9d5c201e9b9c834b38483bd9eab2f925"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-04-29 19:24:00.951801"], ["end_date", "2018-05-23 19:24:00.951869"], ["created_at", "2018-05-02 19:24:00.952897"], ["updated_at", "2018-05-02 19:24:00.952897"]]
|
38768
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38769
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38770
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38771
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38772
|
+
[1m[36mCourse Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2[0m [["canvas_course_id", 25797144], ["LIMIT", 1]]
|
38773
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_course_id", 25797144], ["sis_id", "d50d57ccfd74e82097ea0b8e29db41ed"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-04-29 19:24:00.955817"], ["end_date", "2018-05-23 19:24:00.955888"], ["created_at", "2018-05-02 19:24:00.956939"], ["updated_at", "2018-05-02 19:24:00.956939"]]
|
38774
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38775
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38776
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38777
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38778
|
+
[1m[36mCourse Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2[0m [["canvas_course_id", 29734911], ["LIMIT", 1]]
|
38779
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_course_id", 29734911], ["sis_id", "8f3f6767da682ab621dcafe9f4920f1c"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-04-29 19:24:00.960838"], ["end_date", "2018-05-23 19:24:00.960954"], ["created_at", "2018-05-02 19:24:00.962182"], ["updated_at", "2018-05-02 19:24:00.962182"]]
|
38780
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38781
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38782
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38783
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38784
|
+
[1m[36mEnrollment Exists (6.8ms)[0m [1m[34mSELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2[0m [["canvas_enrollment_id", 94234425], ["LIMIT", 1]]
|
38785
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["canvas_enrollment_id", 94234425], ["created_at", "2018-05-02 19:24:00.994645"], ["updated_at", "2018-05-02 19:24:00.994645"]]
|
38786
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38787
|
+
[1m[36mEnrollment Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
|
38788
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
38789
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38790
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38791
|
+
[1m[36mEnrollment Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2[0m [["canvas_enrollment_id", 49799992], ["LIMIT", 1]]
|
38792
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["canvas_enrollment_id", 49799992], ["created_at", "2018-05-02 19:24:01.001047"], ["updated_at", "2018-05-02 19:24:01.001047"]]
|
38793
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38794
|
+
[1m[36mEnrollment Load (0.2ms)[0m [1m[34mSELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
38795
|
+
[1m[36mEnrollment Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2[0m [["canvas_enrollment_id", 49799992], ["LIMIT", 1]]
|
38796
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
38797
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38798
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38799
|
+
[1m[36mEnrollment Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2[0m [["canvas_enrollment_id", 7807286], ["LIMIT", 1]]
|
38800
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["canvas_enrollment_id", 7807286], ["created_at", "2018-05-02 19:24:01.008063"], ["updated_at", "2018-05-02 19:24:01.008063"]]
|
38801
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38802
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38803
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38804
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38805
|
+
[1m[36mEnrollment Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2[0m [["canvas_enrollment_id", 45675428], ["LIMIT", 1]]
|
38806
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["canvas_enrollment_id", 45675428], ["created_at", "2018-05-02 19:24:01.012661"], ["updated_at", "2018-05-02 19:24:01.012661"]]
|
38807
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38808
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38809
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38810
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38811
|
+
[1m[36mEnrollment Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2[0m [["canvas_enrollment_id", 2035087], ["LIMIT", 1]]
|
38812
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["canvas_enrollment_id", 2035087], ["created_at", "2018-05-02 19:24:01.016627"], ["updated_at", "2018-05-02 19:24:01.016627"]]
|
38813
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38814
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38815
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38816
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38817
|
+
[1m[36mRole Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2[0m [["canvas_role_id", 89103505], ["LIMIT", 1]]
|
38818
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["canvas_role_id", 89103505], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:01.020739"], ["updated_at", "2018-05-02 19:24:01.020739"]]
|
38819
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38820
|
+
[1m[36mRole Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
|
38821
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38822
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38823
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38824
|
+
[1m[36mRole Exists (3.9ms)[0m [1m[34mSELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2[0m [["canvas_role_id", 2128590], ["LIMIT", 1]]
|
38825
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["canvas_role_id", 2128590], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:01.029563"], ["updated_at", "2018-05-02 19:24:01.029563"]]
|
38826
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38827
|
+
[1m[36mRole Load (0.2ms)[0m [1m[34mSELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
38828
|
+
[1m[36mRole Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2[0m [["canvas_role_id", 2128590], ["LIMIT", 1]]
|
38829
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
38830
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38831
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "roles"[0m
|
38832
|
+
[1m[36mRole Load (0.2ms)[0m [1m[34mSELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2[0m [["canvas_role_id", 1], ["LIMIT", 1]]
|
38833
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38834
|
+
[1m[36mRole Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2[0m [["canvas_role_id", 1], ["LIMIT", 1]]
|
38835
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-05-02 19:24:01.041281"], ["updated_at", "2018-05-02 19:24:01.041281"]]
|
38836
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38837
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "roles"[0m
|
38838
|
+
[1m[36mRole Load (0.2ms)[0m [1m[34mSELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
38839
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38840
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38841
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38842
|
+
[1m[36mRole Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2[0m [["canvas_role_id", 1], ["LIMIT", 1]]
|
38843
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:01.053938"], ["updated_at", "2018-05-02 19:24:01.053938"]]
|
38844
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38845
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "roles"[0m
|
38846
|
+
[1m[36mRole Load (0.2ms)[0m [1m[34mSELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2[0m [["canvas_role_id", 1], ["LIMIT", 1]]
|
38847
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38848
|
+
[1m[36mRole Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3[0m [["canvas_role_id", 1], ["id", 6], ["LIMIT", 1]]
|
38849
|
+
[1m[35mSQL (0.7ms)[0m [1m[33mUPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5[0m [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-05-02 19:24:01.060230"], ["id", 6]]
|
38850
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38851
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "roles"[0m
|
38852
|
+
[1m[36mRole Load (0.2ms)[0m [1m[34mSELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
|
38853
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38854
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38855
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38856
|
+
[1m[36mSection Exists (2.9ms)[0m [1m[34mSELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2[0m [["canvas_section_id", 36442499], ["LIMIT", 1]]
|
38857
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["canvas_section_id", 36442499], ["created_at", "2018-05-02 19:24:01.095042"], ["updated_at", "2018-05-02 19:24:01.095042"]]
|
38858
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38859
|
+
[1m[36mSection Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
|
38860
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38861
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
38862
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38863
|
+
[1m[36mSection Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2[0m [["canvas_section_id", 6001030], ["LIMIT", 1]]
|
38864
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["canvas_section_id", 6001030], ["created_at", "2018-05-02 19:24:01.105372"], ["updated_at", "2018-05-02 19:24:01.105372"]]
|
38865
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38866
|
+
[1m[36mSection Load (0.2ms)[0m [1m[34mSELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
38867
|
+
[1m[36mSection Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2[0m [["canvas_section_id", 6001030], ["LIMIT", 1]]
|
38868
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38869
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38870
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38871
|
+
[1m[36mSection Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2[0m [["canvas_section_id", 71880449], ["LIMIT", 1]]
|
38872
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["canvas_section_id", 71880449], ["created_at", "2018-05-02 19:24:01.112301"], ["updated_at", "2018-05-02 19:24:01.112301"]]
|
38873
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38874
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38875
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38876
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38877
|
+
[1m[36mSection Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2[0m [["canvas_section_id", 62754922], ["LIMIT", 1]]
|
38878
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["canvas_section_id", 62754922], ["created_at", "2018-05-02 19:24:01.116612"], ["updated_at", "2018-05-02 19:24:01.116612"]]
|
38879
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38880
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
38881
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38882
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38883
|
+
[1m[36mSubmission Exists (8.8ms)[0m [1m[34mSELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2[0m [["canvas_submission_id", 1], ["LIMIT", 1]]
|
38884
|
+
[1m[35mSQL (1.6ms)[0m [1m[32mINSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_submission_id", 1], ["submitted_at", "2018-04-25 19:24:01.131460"], ["graded_at", "2018-05-01 19:24:01.131567"], ["score", 5], ["points_possible", 10], ["created_at", "2018-05-02 19:24:01.145531"], ["updated_at", "2018-05-02 19:24:01.145531"]]
|
38885
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38886
|
+
[1m[36mSubmission Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" IS NULL AND ("submissions"."id" != $1) LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
|
38887
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38888
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38889
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38890
|
+
[1m[36mSubmission Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2[0m [["canvas_submission_id", 2], ["LIMIT", 1]]
|
38891
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_submission_id", 2], ["submitted_at", "2018-04-25 19:24:01.152425"], ["graded_at", "2018-05-01 19:24:01.152572"], ["score", 5], ["points_possible", 10], ["created_at", "2018-05-02 19:24:01.154182"], ["updated_at", "2018-05-02 19:24:01.154182"]]
|
38892
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38893
|
+
[1m[36mSubmission Load (0.2ms)[0m [1m[34mSELECT "submissions".* FROM "submissions" ORDER BY "submissions"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
38894
|
+
[1m[36mSubmission Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2[0m [["canvas_submission_id", 2], ["LIMIT", 1]]
|
38895
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38896
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38897
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38898
|
+
[1m[36mSubmission Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2[0m [["canvas_submission_id", 3], ["LIMIT", 1]]
|
38899
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_submission_id", 3], ["submitted_at", "2018-04-25 19:24:01.160311"], ["graded_at", "2018-05-01 19:24:01.160438"], ["score", 5], ["points_possible", 10], ["created_at", "2018-05-02 19:24:01.161630"], ["updated_at", "2018-05-02 19:24:01.161630"]]
|
38900
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38901
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38902
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38903
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38904
|
+
[1m[36mSubmission Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2[0m [["canvas_submission_id", 4], ["LIMIT", 1]]
|
38905
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_submission_id", 4], ["submitted_at", "2018-04-25 19:24:01.164894"], ["graded_at", "2018-05-01 19:24:01.164972"], ["score", 5], ["points_possible", 10], ["created_at", "2018-05-02 19:24:01.166068"], ["updated_at", "2018-05-02 19:24:01.166068"]]
|
38906
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38907
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38908
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38909
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38910
|
+
[1m[36mSubmission Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2[0m [["canvas_submission_id", 5], ["LIMIT", 1]]
|
38911
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_submission_id", 5], ["submitted_at", "2018-04-25 19:24:01.168802"], ["graded_at", "2018-05-01 19:24:01.168872"], ["score", 5], ["points_possible", 10], ["created_at", "2018-05-02 19:24:01.170063"], ["updated_at", "2018-05-02 19:24:01.170063"]]
|
38912
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38913
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38914
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38915
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38916
|
+
[1m[36mTerm Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2[0m [["canvas_term_id", 38386411], ["LIMIT", 1]]
|
38917
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_term_id", 38386411], ["name", "Cool Term"], ["start_at", "2018-04-29 19:23:59.003659"], ["end_at", "2018-05-05 19:23:59.003837"], ["workflow_state", "active"], ["sis_id", "a2b9080d622332c778edd2449d0a7464"], ["created_at", "2018-05-02 19:24:01.174175"], ["updated_at", "2018-05-02 19:24:01.174175"]]
|
38918
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38919
|
+
[1m[36mTerm Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
|
38920
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
38921
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38922
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38923
|
+
[1m[36mTerm Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2[0m [["canvas_term_id", 78983909], ["LIMIT", 1]]
|
38924
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_term_id", 78983909], ["name", "Cool Term"], ["start_at", "2018-04-29 19:23:59.003659"], ["end_at", "2018-05-05 19:23:59.003837"], ["workflow_state", "active"], ["sis_id", "a88db115bb63dd451692b2375df6e446"], ["created_at", "2018-05-02 19:24:01.183726"], ["updated_at", "2018-05-02 19:24:01.183726"]]
|
38925
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38926
|
+
[1m[36mTerm Load (0.2ms)[0m [1m[34mSELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
38927
|
+
[1m[36mTerm Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2[0m [["canvas_term_id", 78983909], ["LIMIT", 1]]
|
38928
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38929
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38930
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38931
|
+
[1m[36mTerm Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2[0m [["canvas_term_id", 70580301], ["LIMIT", 1]]
|
38932
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_term_id", 70580301], ["name", "Cool Term"], ["start_at", "2018-04-29 19:23:59.003659"], ["end_at", "2018-05-05 19:23:59.003837"], ["workflow_state", "active"], ["sis_id", "e92fd79283219aff3e3dda572dc349d2"], ["created_at", "2018-05-02 19:24:01.189742"], ["updated_at", "2018-05-02 19:24:01.189742"]]
|
38933
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38934
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
38935
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38936
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38937
|
+
[1m[36mTerm Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2[0m [["canvas_term_id", 73072311], ["LIMIT", 1]]
|
38938
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_term_id", 73072311], ["name", "Cool Term"], ["start_at", "2018-04-30 19:24:01.192619"], ["end_at", "2018-05-05 19:24:01.192693"], ["workflow_state", "active"], ["sis_id", "f11a7d96e069ed2de288ecf69bfbd0d5"], ["created_at", "2018-05-02 19:24:01.194288"], ["updated_at", "2018-05-02 19:24:01.194288"]]
|
38939
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38940
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38941
|
+
[1m[36mTerm Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2[0m [["canvas_term_id", 67180012], ["LIMIT", 1]]
|
38942
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_term_id", 67180012], ["name", "Cool Term"], ["start_at", "2018-04-29 19:23:59.003659"], ["end_at", "2018-05-05 19:23:59.003837"], ["workflow_state", "inactive"], ["sis_id", "f3e18327f54e2b130bce6af71e83616e"], ["created_at", "2018-05-02 19:24:01.197575"], ["updated_at", "2018-05-02 19:24:01.197575"]]
|
38943
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38944
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38945
|
+
[1m[36mTerm Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2[0m [["canvas_term_id", 12872413], ["LIMIT", 1]]
|
38946
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_term_id", 12872413], ["name", "Cool Term"], ["start_at", "2018-03-02 19:24:01.198817"], ["end_at", "2018-04-02 19:24:01.200792"], ["workflow_state", "active"], ["sis_id", "3bf115a2ef33b595aeb3334c97307c2f"], ["created_at", "2018-05-02 19:24:01.202313"], ["updated_at", "2018-05-02 19:24:01.202313"]]
|
38947
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38948
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38949
|
+
[1m[36mTerm Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2[0m [["canvas_term_id", 92772924], ["LIMIT", 1]]
|
38950
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_term_id", 92772924], ["name", "Cool Term"], ["start_at", "2018-11-02 19:24:01.203829"], ["end_at", "2019-05-02 19:24:01.203931"], ["workflow_state", "active"], ["sis_id", "712e070fd53b86398c610ab761dbb403"], ["created_at", "2018-05-02 19:24:01.205151"], ["updated_at", "2018-05-02 19:24:01.205151"]]
|
38951
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38952
|
+
[1m[36mTerm Load (0.3ms)[0m [1m[34mSELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-05-17 19:24:01.206436' OR start_at IS NULL) AND (end_at >= '2018-04-17 19:24:01.206567' OR end_at IS NULL)[0m [["workflow_state", "active"]]
|
38953
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38954
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38955
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "terms"[0m
|
38956
|
+
[1m[36mTerm Load (0.1ms)[0m [1m[34mSELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2[0m [["canvas_term_id", 1], ["LIMIT", 1]]
|
38957
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38958
|
+
[1m[36mTerm Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2[0m [["canvas_term_id", 1], ["LIMIT", 1]]
|
38959
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-05-02 19:24:01.211365"], ["updated_at", "2018-05-02 19:24:01.211365"]]
|
38960
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38961
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "terms"[0m
|
38962
|
+
[1m[36mTerm Load (0.2ms)[0m [1m[34mSELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
38963
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
38964
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38965
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38966
|
+
[1m[36mTerm Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2[0m [["canvas_term_id", 1], ["LIMIT", 1]]
|
38967
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-04-29 19:23:59.003659"], ["end_at", "2018-05-05 19:23:59.003837"], ["workflow_state", "active"], ["sis_id", "25ec9b1154c079f1ffea05180d441834"], ["created_at", "2018-05-02 19:24:01.220701"], ["updated_at", "2018-05-02 19:24:01.220701"]]
|
38968
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38969
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "terms"[0m
|
38970
|
+
[1m[36mTerm Load (0.1ms)[0m [1m[34mSELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2[0m [["canvas_term_id", 1], ["LIMIT", 1]]
|
38971
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38972
|
+
[1m[36mTerm Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3[0m [["canvas_term_id", 1], ["id", 18], ["LIMIT", 1]]
|
38973
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7[0m [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-05-02 19:24:01.224406"], ["id", 18]]
|
38974
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38975
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "terms"[0m
|
38976
|
+
[1m[36mTerm Load (0.2ms)[0m [1m[34mSELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
|
38977
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38978
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38979
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38980
|
+
[1m[36mUser Exists (3.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2[0m [["canvas_user_id", 3200466], ["LIMIT", 1]]
|
38981
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_user_id", 3200466], ["sis_id", "2fe1db770f4c01fe96db2b4f28be0d91"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-05-02 19:24:01.244831"], ["updated_at", "2018-05-02 19:24:01.244831"]]
|
38982
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38983
|
+
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
|
38984
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
38985
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38986
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38987
|
+
[1m[36mUser Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2[0m [["canvas_user_id", 27256751], ["LIMIT", 1]]
|
38988
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_user_id", 27256751], ["sis_id", "f0339c715deb0597bb801f373fad678e"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-05-02 19:24:01.251140"], ["updated_at", "2018-05-02 19:24:01.251140"]]
|
38989
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38990
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
38991
|
+
[1m[36mUser Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2[0m [["canvas_user_id", 27256751], ["LIMIT", 1]]
|
38992
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
38993
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38994
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38995
|
+
[1m[36mUser Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2[0m [["canvas_user_id", 71759824], ["LIMIT", 1]]
|
38996
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_user_id", 71759824], ["sis_id", "fec77e18572258b07691477fbf77aca8"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-05-02 19:24:01.256987"], ["updated_at", "2018-05-02 19:24:01.256987"]]
|
38997
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38998
|
+
[1m[35m (3.7ms)[0m [1m[31mROLLBACK[0m
|
38999
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
39000
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39001
|
+
[1m[36mUser Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2[0m [["canvas_user_id", 41289803], ["LIMIT", 1]]
|
39002
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_user_id", 41289803], ["sis_id", "88f119df10b4feb07638b767ea4ddb6c"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-05-02 19:24:01.264979"], ["updated_at", "2018-05-02 19:24:01.264979"]]
|
39003
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39004
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
39005
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
39006
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "assignment_groups"[0m
|
39007
|
+
[1m[36mAssignmentGroup Create Many Without Validations Or Callbacks (0.8ms)[0m [1m[32mINSERT INTO "assignment_groups" ("canvas_assignment_group_id","canvas_course_id","name","rules","position","group_weight","workflow_state","canvas_created_at","canvas_updated_at","created_at","updated_at") VALUES (1,1,'Assignments','drop_lowest:1\nnever_drop:36\n',1,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2018-05-02 19:24:01.276285','2018-05-02 19:24:01.276285'),(2,1,'Tests',NULL,1,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2018-05-02 19:24:01.276285','2018-05-02 19:24:01.276285') ON CONFLICT (canvas_assignment_group_id) DO UPDATE SET "canvas_assignment_group_id"=EXCLUDED."canvas_assignment_group_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","rules"=EXCLUDED."rules","position"=EXCLUDED."position","group_weight"=EXCLUDED."group_weight","workflow_state"=EXCLUDED."workflow_state","canvas_created_at"=EXCLUDED."canvas_created_at","canvas_updated_at"=EXCLUDED."canvas_updated_at","updated_at"=EXCLUDED."updated_at" WHERE ("assignment_groups".canvas_assignment_group_id, "assignment_groups".canvas_course_id, "assignment_groups".name, "assignment_groups".rules, "assignment_groups".position, "assignment_groups".group_weight, "assignment_groups".workflow_state, "assignment_groups".canvas_created_at, "assignment_groups".canvas_updated_at) IS DISTINCT FROM (EXCLUDED.canvas_assignment_group_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.rules, EXCLUDED.position, EXCLUDED.group_weight, EXCLUDED.workflow_state, EXCLUDED.canvas_created_at, EXCLUDED.canvas_updated_at) RETURNING "id"[0m
|
39008
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "assignment_groups"[0m
|
39009
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
39010
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
39011
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "assignments"[0m
|
39012
|
+
[1m[36mAssignment Create Many Without Validations Or Callbacks (0.7ms)[0m [1m[32mINSERT INTO "assignments" ("canvas_assignment_id","title","description","due_at","unlock_at","lock_at","points_possible","min_score","max_score","mastery_score","grading_type","submission_types","workflow_state","context_id","context_type","canvas_assignment_group_id","grading_scheme_id","grading_standard_id","created_at","updated_at") VALUES (88,'Assignment 1','<p>fdsfds</p>',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',58,'Course',55,NULL,NULL,'2018-05-02 19:24:01.292058','2018-05-02 19:24:01.292058'),(89,'fdsfdsfds','<p>fdsfdsfsdf</p>',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2018-05-02 19:24:01.292058','2018-05-02 19:24:01.292058') ON CONFLICT (canvas_assignment_id) DO UPDATE SET "canvas_assignment_id"=EXCLUDED."canvas_assignment_id","title"=EXCLUDED."title","description"=EXCLUDED."description","due_at"=EXCLUDED."due_at","unlock_at"=EXCLUDED."unlock_at","lock_at"=EXCLUDED."lock_at","points_possible"=EXCLUDED."points_possible","min_score"=EXCLUDED."min_score","max_score"=EXCLUDED."max_score","mastery_score"=EXCLUDED."mastery_score","grading_type"=EXCLUDED."grading_type","submission_types"=EXCLUDED."submission_types","workflow_state"=EXCLUDED."workflow_state","context_id"=EXCLUDED."context_id","context_type"=EXCLUDED."context_type","canvas_assignment_group_id"=EXCLUDED."canvas_assignment_group_id","grading_scheme_id"=EXCLUDED."grading_scheme_id","grading_standard_id"=EXCLUDED."grading_standard_id","updated_at"=EXCLUDED."updated_at" WHERE ("assignments".canvas_assignment_id, "assignments".title, "assignments".description, "assignments".due_at, "assignments".unlock_at, "assignments".lock_at, "assignments".points_possible, "assignments".min_score, "assignments".max_score, "assignments".mastery_score, "assignments".grading_type, "assignments".submission_types, "assignments".workflow_state, "assignments".context_id, "assignments".context_type, "assignments".canvas_assignment_group_id, "assignments".grading_scheme_id, "assignments".grading_standard_id) IS DISTINCT FROM (EXCLUDED.canvas_assignment_id, EXCLUDED.title, EXCLUDED.description, EXCLUDED.due_at, EXCLUDED.unlock_at, EXCLUDED.lock_at, EXCLUDED.points_possible, EXCLUDED.min_score, EXCLUDED.max_score, EXCLUDED.mastery_score, EXCLUDED.grading_type, EXCLUDED.submission_types, EXCLUDED.workflow_state, EXCLUDED.context_id, EXCLUDED.context_type, EXCLUDED.canvas_assignment_group_id, EXCLUDED.grading_scheme_id, EXCLUDED.grading_standard_id) RETURNING "id"[0m
|
39013
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "assignments"[0m
|
39014
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
39015
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
39016
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "context_module_items"[0m
|
39017
|
+
[1m[36mContextModuleItem Create Many Without Validations Or Callbacks (0.6ms)[0m [1m[32mINSERT INTO "context_module_items" ("canvas_context_module_item_id","canvas_context_module_id","position","content_type","content_id","workflow_state","created_at","updated_at") VALUES (15,9,1,'Assignment',83,'active','2018-05-02 19:24:01.306811','2018-05-02 19:24:01.306811'),(16,10,1,'Assignment',80,'active','2018-05-02 19:24:01.306811','2018-05-02 19:24:01.306811') ON CONFLICT (canvas_context_module_item_id) DO UPDATE SET "canvas_context_module_item_id"=EXCLUDED."canvas_context_module_item_id","canvas_context_module_id"=EXCLUDED."canvas_context_module_id","position"=EXCLUDED."position","content_type"=EXCLUDED."content_type","content_id"=EXCLUDED."content_id","workflow_state"=EXCLUDED."workflow_state","updated_at"=EXCLUDED."updated_at" WHERE ("context_module_items".canvas_context_module_item_id, "context_module_items".canvas_context_module_id, "context_module_items".position, "context_module_items".content_type, "context_module_items".content_id, "context_module_items".workflow_state) IS DISTINCT FROM (EXCLUDED.canvas_context_module_item_id, EXCLUDED.canvas_context_module_id, EXCLUDED.position, EXCLUDED.content_type, EXCLUDED.content_id, EXCLUDED.workflow_state) RETURNING "id"[0m
|
39018
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "context_module_items"[0m
|
39019
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
39020
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
39021
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "context_modules"[0m
|
39022
|
+
[1m[36mContextModule Create Many Without Validations Or Callbacks (0.6ms)[0m [1m[32mINSERT INTO "context_modules" ("canvas_context_module_id","canvas_context_id","canvas_context_type","position","name","workflow_state","deleted_at","created_at","updated_at") VALUES (23,785,'Course',1,'New Mod','active',NULL,'2018-05-02 19:24:01.318422','2018-05-02 19:24:01.318422'),(4,27,'Course',1,'Modules gonna module','unpublished',NULL,'2018-05-02 19:24:01.318422','2018-05-02 19:24:01.318422') ON CONFLICT (canvas_context_module_id) DO UPDATE SET "canvas_context_module_id"=EXCLUDED."canvas_context_module_id","canvas_context_id"=EXCLUDED."canvas_context_id","canvas_context_type"=EXCLUDED."canvas_context_type","position"=EXCLUDED."position","name"=EXCLUDED."name","workflow_state"=EXCLUDED."workflow_state","deleted_at"=EXCLUDED."deleted_at","updated_at"=EXCLUDED."updated_at" WHERE ("context_modules".canvas_context_module_id, "context_modules".canvas_context_id, "context_modules".canvas_context_type, "context_modules".position, "context_modules".name, "context_modules".workflow_state, "context_modules".deleted_at) IS DISTINCT FROM (EXCLUDED.canvas_context_module_id, EXCLUDED.canvas_context_id, EXCLUDED.canvas_context_type, EXCLUDED.position, EXCLUDED.name, EXCLUDED.workflow_state, EXCLUDED.deleted_at) RETURNING "id"[0m
|
39023
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "context_modules"[0m
|
39024
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
39025
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
39026
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
39027
|
+
[1m[36mUser Create Many Without Validations Or Callbacks (0.5ms)[0m [1m[32mINSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-05-02 19:24:01.328393','2018-05-02 19:24:01.328393'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-05-02 19:24:01.328393','2018-05-02 19:24:01.328393') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"[0m
|
39028
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
39029
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
39030
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
39031
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "courses"[0m
|
39032
|
+
[1m[36mCourse Create Many Without Validations Or Callbacks (0.6ms)[0m [1m[32mINSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-05-02 19:24:01.341380','2018-05-02 19:24:01.341380'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-05-02 19:24:01.341380','2018-05-02 19:24:01.341380') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"[0m
|
39033
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "courses"[0m
|
39034
|
+
[1m[36mCourse Load (0.3ms)[0m [1m[34mSELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
39035
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
39036
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
39037
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "enrollments"[0m
|
39038
|
+
[1m[36mEnrollment Create Many Without Validations Or Callbacks (0.8ms)[0m [1m[32mINSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-05-02 19:24:01.352458','2018-05-02 19:24:01.352458'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-05-02 19:24:01.352458','2018-05-02 19:24:01.352458') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"[0m
|
39039
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "enrollments"[0m
|
39040
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
39041
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
39042
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "sections"[0m
|
39043
|
+
[1m[36mSection Create Many Without Validations Or Callbacks (0.6ms)[0m [1m[32mINSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-05-02 19:24:01.363957','2018-05-02 19:24:01.363957'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-05-02 19:24:01.363957','2018-05-02 19:24:01.363957') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"[0m
|
39044
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "sections"[0m
|
39045
|
+
[1m[36mSection Load (0.2ms)[0m [1m[34mSELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
39046
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
39047
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
39048
|
+
[1m[36mSection Create Many Without Validations Or Callbacks (0.5ms)[0m [1m[32mINSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-05-02 19:24:01.373101','2018-05-02 19:24:01.373101') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"[0m
|
39049
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL)[0m
|
39050
|
+
[1m[36mSection Load (0.3ms)[0m [1m[34mSELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1[0m [["LIMIT", 1]]
|
39051
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
39052
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
39053
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
39054
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "courses"[0m
|
39055
|
+
[1m[36mCourse Create Many Without Validations Or Callbacks (0.5ms)[0m [1m[32mINSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-05-02 19:24:01.389435','2018-05-02 19:24:01.389435'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-05-02 19:24:01.389435','2018-05-02 19:24:01.389435') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"[0m
|
39056
|
+
[1m[36mUser Create Many Without Validations Or Callbacks (0.7ms)[0m [1m[32mINSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-05-02 19:24:01.392738','2018-05-02 19:24:01.392738'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-05-02 19:24:01.392738','2018-05-02 19:24:01.392738') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"[0m
|
39057
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
39058
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "courses"[0m
|
39059
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
39060
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
39061
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
39062
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
39063
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "submissions"[0m
|
39064
|
+
[1m[36mSubmission Create Many Without Validations Or Callbacks (0.7ms)[0m [1m[32mINSERT INTO "submissions" ("canvas_submission_id","canvas_user_id","canvas_course_id","canvas_assignment_id","submitted_at","graded_at","score","points_possible","excused","workflow_state","created_at","updated_at") VALUES (1,1,1,1,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'t','graded','2018-05-02 19:24:01.414274','2018-05-02 19:24:01.414274'),(2,1,1,2,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'f','submitted','2018-05-02 19:24:01.414274','2018-05-02 19:24:01.414274') ON CONFLICT (canvas_submission_id) DO UPDATE SET "canvas_submission_id"=EXCLUDED."canvas_submission_id","canvas_user_id"=EXCLUDED."canvas_user_id","canvas_course_id"=EXCLUDED."canvas_course_id","canvas_assignment_id"=EXCLUDED."canvas_assignment_id","submitted_at"=EXCLUDED."submitted_at","graded_at"=EXCLUDED."graded_at","score"=EXCLUDED."score","points_possible"=EXCLUDED."points_possible","excused"=EXCLUDED."excused","workflow_state"=EXCLUDED."workflow_state","updated_at"=EXCLUDED."updated_at" WHERE ("submissions".canvas_submission_id, "submissions".canvas_user_id, "submissions".canvas_course_id, "submissions".canvas_assignment_id, "submissions".submitted_at, "submissions".graded_at, "submissions".score, "submissions".points_possible, "submissions".excused, "submissions".workflow_state) IS DISTINCT FROM (EXCLUDED.canvas_submission_id, EXCLUDED.canvas_user_id, EXCLUDED.canvas_course_id, EXCLUDED.canvas_assignment_id, EXCLUDED.submitted_at, EXCLUDED.graded_at, EXCLUDED.score, EXCLUDED.points_possible, EXCLUDED.excused, EXCLUDED.workflow_state) RETURNING "id"[0m
|
39065
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "submissions"[0m
|
39066
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
39067
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
39068
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39069
|
+
[1m[36mCourse Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2[0m [["canvas_course_id", 62358415], ["LIMIT", 1]]
|
39070
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_course_id", 62358415], ["sis_id", "642c9e46ba1fdb184a7e1e9967cd6cff"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-04-29 19:24:01.423323"], ["end_date", "2018-05-23 19:24:01.423418"], ["created_at", "2018-05-02 19:24:01.424938"], ["updated_at", "2018-05-02 19:24:01.424938"]]
|
39071
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39072
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39073
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "context_modules" ("canvas_context_module_id", "canvas_context_id", "canvas_context_type", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_context_module_id", 1], ["canvas_context_id", 18], ["canvas_context_type", "Course"], ["name", "Context Module"], ["workflow_state", "available"], ["created_at", "2018-05-02 19:24:01.428432"], ["updated_at", "2018-05-02 19:24:01.428432"]]
|
39074
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39075
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "context_modules"[0m
|
39076
|
+
[1m[36mContextModule Load (0.2ms)[0m [1m[34mSELECT "context_modules".* FROM "context_modules" WHERE "context_modules"."canvas_context_module_id" = $1 LIMIT $2[0m [["canvas_context_module_id", 1], ["LIMIT", 1]]
|
39077
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39078
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "context_modules" SET "canvas_context_id" = $1, "position" = $2, "name" = $3, "workflow_state" = $4, "updated_at" = $5 WHERE "context_modules"."id" = $6[0m [["canvas_context_id", 1], ["position", 1337], ["name", "Module 2"], ["workflow_state", "active"], ["updated_at", "2018-05-02 19:24:01.441012"], ["id", 6]]
|
39079
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39080
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "context_modules"[0m
|
39081
|
+
[1m[36mContextModule Load (0.2ms)[0m [1m[34mSELECT "context_modules".* FROM "context_modules" WHERE "context_modules"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
|
39082
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
39083
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
39084
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "context_modules"[0m
|
39085
|
+
[1m[36mContextModule Load (0.2ms)[0m [1m[34mSELECT "context_modules".* FROM "context_modules" WHERE "context_modules"."canvas_context_module_id" = $1 LIMIT $2[0m [["canvas_context_module_id", 1], ["LIMIT", 1]]
|
39086
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39087
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "context_modules" ("canvas_context_module_id", "canvas_context_id", "canvas_context_type", "position", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_context_module_id", 1], ["canvas_context_id", 1], ["canvas_context_type", "Course"], ["position", 1337], ["name", "Module 2"], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:01.455765"], ["updated_at", "2018-05-02 19:24:01.455765"]]
|
39088
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39089
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "context_modules"[0m
|
39090
|
+
[1m[36mContextModule Load (0.2ms)[0m [1m[34mSELECT "context_modules".* FROM "context_modules" ORDER BY "context_modules"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
39091
|
+
[1m[36mContextModule Load (0.1ms)[0m [1m[34mSELECT "context_modules".* FROM "context_modules" ORDER BY "context_modules"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
39092
|
+
[1m[36mContextModule Load (0.3ms)[0m [1m[34mSELECT "context_modules".* FROM "context_modules" ORDER BY "context_modules"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
39093
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
39094
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
39095
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39096
|
+
[1m[36mAssignment Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2[0m [["canvas_assignment_id", 10], ["LIMIT", 1]]
|
39097
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["canvas_assignment_id", 10], ["title", "Assignment 10"], ["due_at", "2018-05-09 19:24:01.465264"], ["unlock_at", "2018-05-01 19:24:01.465401"], ["lock_at", "2018-05-23 19:24:01.465453"], ["created_at", "2018-05-02 19:24:01.467097"], ["updated_at", "2018-05-02 19:24:01.467097"]]
|
39098
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39099
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39100
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "context_module_items" ("canvas_context_module_item_id", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["canvas_context_module_item_id", 1], ["content_id", 10], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:01.469945"], ["updated_at", "2018-05-02 19:24:01.469945"]]
|
39101
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39102
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "context_module_items"[0m
|
39103
|
+
[1m[36mContextModuleItem Load (0.2ms)[0m [1m[34mSELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2[0m [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
|
39104
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39105
|
+
[1m[35mSQL (4.0ms)[0m [1m[33mUPDATE "context_module_items" SET "canvas_context_module_id" = $1, "position" = $2, "content_id" = $3, "content_type" = $4, "updated_at" = $5 WHERE "context_module_items"."id" = $6[0m [["canvas_context_module_id", 1], ["position", 10], ["content_id", 143], ["content_type", "Assignment"], ["updated_at", "2018-05-02 19:24:01.480722"], ["id", 12]]
|
39106
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39107
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "context_module_items"[0m
|
39108
|
+
[1m[36mContextModuleItem Load (0.2ms)[0m [1m[34mSELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
|
39109
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
39110
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
39111
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "context_module_items"[0m
|
39112
|
+
[1m[36mContextModuleItem Load (0.2ms)[0m [1m[34mSELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2[0m [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
|
39113
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39114
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "context_module_items" ("canvas_context_module_item_id", "canvas_context_module_id", "position", "content_type", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["canvas_context_module_item_id", 1], ["canvas_context_module_id", 1], ["position", 10], ["content_type", "Assignment"], ["content_id", 143], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:01.498005"], ["updated_at", "2018-05-02 19:24:01.498005"]]
|
39115
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39116
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "context_module_items"[0m
|
39117
|
+
[1m[36mContextModuleItem Load (0.3ms)[0m [1m[34mSELECT "context_module_items".* FROM "context_module_items" ORDER BY "context_module_items"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
|
39118
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|