canvas_sync 0.17.23.beta7 → 0.17.26.beta1
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/job_batches/batch.rb +99 -58
- data/lib/canvas_sync/job_batches/batch_aware_job.rb +7 -7
- data/lib/canvas_sync/job_batches/chain_builder.rb +39 -6
- data/lib/canvas_sync/job_batches/pool.rb +42 -52
- data/lib/canvas_sync/job_batches/sidekiq.rb +7 -7
- data/lib/canvas_sync/jobs/begin_sync_chain_job.rb +9 -1
- data/lib/canvas_sync/jobs/sync_terms_job.rb +1 -17
- data/lib/canvas_sync/jobs/term_batches_job.rb +23 -0
- data/lib/canvas_sync/version.rb +1 -1
- data/lib/canvas_sync.rb +21 -8
- data/spec/canvas_sync/processors/provisioning_report_processor_spec.rb +8 -1
- data/spec/dummy/log/development.log +540 -0
- data/spec/dummy/log/test.log +65350 -0
- data/spec/job_batching/batch_aware_job_spec.rb +3 -3
- data/spec/job_batching/batch_spec.rb +40 -1
- data/spec/job_batching/sidekiq_spec.rb +2 -2
- data/spec/support/fixtures/reports/xlist.csv +1 -1
- metadata +3 -2
@@ -1527,3 +1527,543 @@ Migrating to CreateGradingPeriodGroups (20211001184920)
|
|
1527
1527
|
[1m[35m (2.3ms)[0m [1m[35mCOMMIT[0m
|
1528
1528
|
[1m[35m (0.8ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
1529
1529
|
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1530
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1531
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1532
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1533
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1534
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1535
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1536
|
+
[1m[35m (34.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_development"[0m
|
1537
|
+
[1m[35m (39.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_test"[0m
|
1538
|
+
[1m[35m (130.5ms)[0m [1m[35mCREATE DATABASE "canvas_sync_development" ENCODING = 'unicode'[0m
|
1539
|
+
[1m[35m (111.2ms)[0m [1m[35mCREATE DATABASE "canvas_sync_test" ENCODING = 'unicode'[0m
|
1540
|
+
[1m[35m (22.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1541
|
+
[1m[35m (21.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
|
1542
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
1543
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1544
|
+
Migrating to CreateCanvasSyncJobLog (20170915210836)
|
1545
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1546
|
+
[1m[35m (18.1ms)[0m [1m[35mCREATE TABLE "canvas_sync_job_logs" ("id" serial NOT NULL 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, "updated_at" timestamp)[0m
|
1547
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170915210836"]]
|
1548
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
1549
|
+
Migrating to AddJobIdToCanvasSyncJobLogs (20180725155729)
|
1550
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1551
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "canvas_sync_job_logs" ADD "job_id" character varying[0m
|
1552
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE INDEX "index_canvas_sync_job_logs_on_job_id" ON "canvas_sync_job_logs" ("job_id")[0m
|
1553
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180725155729"]]
|
1554
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
1555
|
+
Migrating to CreateUsers (20190702203620)
|
1556
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1557
|
+
[1m[35m (11.3ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "sis_id" character varying, "email" character varying, "first_name" character varying, "last_name" character varying, "workflow_state" character varying, "login_id" character varying, "name" character varying, "sortable_name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1558
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_id" ON "users" ("canvas_id")[0m
|
1559
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203620"]]
|
1560
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
1561
|
+
Migrating to CreateCourses (20190702203621)
|
1562
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1563
|
+
[1m[35m (11.5ms)[0m [1m[35mCREATE TABLE "courses" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "sis_id" character varying, "course_code" character varying, "name" character varying, "workflow_state" character varying, "canvas_account_id" integer, "canvas_term_id" integer, "start_at" timestamp, "end_at" timestamp, "grading_standard_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1564
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_id" ON "courses" ("canvas_id")[0m
|
1565
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203621"]]
|
1566
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
1567
|
+
Migrating to CreateAccounts (20190702203622)
|
1568
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1569
|
+
[1m[35m (10.5ms)[0m [1m[35mCREATE TABLE "accounts" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "sis_id" character varying, "canvas_parent_account_id" bigint, "sis_parent_account_id" character varying, "name" character varying, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1570
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_accounts_on_canvas_id" ON "accounts" ("canvas_id")[0m
|
1571
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203622"]]
|
1572
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
1573
|
+
Migrating to CreateTerms (20190702203623)
|
1574
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1575
|
+
[1m[35m (11.6ms)[0m [1m[35mCREATE TABLE "terms" ("id" bigserial primary key, "canvas_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
|
1576
|
+
[1m[35m (5.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_id" ON "terms" ("canvas_id")[0m
|
1577
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203623"]]
|
1578
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
1579
|
+
Migrating to CreateEnrollments (20190702203624)
|
1580
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1581
|
+
[1m[35m (11.9ms)[0m [1m[35mCREATE TABLE "enrollments" ("id" bigserial primary key, "canvas_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, "canvas_role_id" integer, "canvas_section_id" bigint, "workflow_state" character varying, "base_role_type" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1582
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_id" ON "enrollments" ("canvas_id")[0m
|
1583
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
1584
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
1585
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203624"]]
|
1586
|
+
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
1587
|
+
Migrating to CreateSections (20190702203625)
|
1588
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1589
|
+
[1m[35m (11.2ms)[0m [1m[35mCREATE TABLE "sections" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "sis_id" character varying, "canvas_course_id" bigint, "canvas_nonxlist_course_id" bigint, "name" character varying, "workflow_state" character varying, "start_at" timestamp, "end_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1590
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_id" ON "sections" ("canvas_id")[0m
|
1591
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
1592
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203625"]]
|
1593
|
+
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
1594
|
+
Migrating to CreateAssignments (20190702203626)
|
1595
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1596
|
+
[1m[35m (11.2ms)[0m [1m[35mCREATE TABLE "assignments" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "title" character varying, "description" text, "due_at" timestamp, "unlock_at" timestamp, "lock_at" timestamp, "points_possible" float, "min_score" float, "max_score" float, "mastery_score" float, "grading_type" character varying, "submission_types" character varying, "workflow_state" character varying, "canvas_context_id" integer, "canvas_context_type" character varying, "canvas_assignment_group_id" integer, "canvas_grading_scheme_id" integer, "canvas_grading_standard_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1597
|
+
[1m[35m (4.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignments_on_canvas_id" ON "assignments" ("canvas_id")[0m
|
1598
|
+
[1m[35m (4.9ms)[0m [1m[35mCREATE INDEX "index_assignments_on_canvas_context_id_and_canvas_context_type" ON "assignments" ("canvas_context_id", "canvas_context_type")[0m
|
1599
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203626"]]
|
1600
|
+
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
|
1601
|
+
Migrating to CreateSubmissions (20190702203627)
|
1602
|
+
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
1603
|
+
[1m[35m (11.7ms)[0m [1m[35mCREATE TABLE "submissions" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "canvas_course_id" bigint, "canvas_assignment_id" bigint, "canvas_user_id" bigint, "submitted_at" timestamp, "due_at" timestamp, "graded_at" timestamp, "score" float, "points_possible" float, "excused" boolean, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1604
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_submissions_on_canvas_id" ON "submissions" ("canvas_id")[0m
|
1605
|
+
[1m[35m (5.6ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")[0m
|
1606
|
+
[1m[35m (4.7ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")[0m
|
1607
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")[0m
|
1608
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203627"]]
|
1609
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
1610
|
+
Migrating to CreateAssignmentGroups (20190702203630)
|
1611
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1612
|
+
[1m[35m (11.1ms)[0m [1m[35mCREATE TABLE "assignment_groups" ("id" bigserial primary key, "canvas_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
|
1613
|
+
[1m[35m (4.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignment_groups_on_canvas_id" ON "assignment_groups" ("canvas_id")[0m
|
1614
|
+
[1m[35m (4.7ms)[0m [1m[35mCREATE INDEX "index_assignment_groups_on_canvas_course_id" ON "assignment_groups" ("canvas_course_id")[0m
|
1615
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203630"]]
|
1616
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
1617
|
+
Migrating to CreateContextModules (20190702203631)
|
1618
|
+
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
1619
|
+
[1m[35m (12.0ms)[0m [1m[35mCREATE TABLE "context_modules" ("id" bigserial primary key, "canvas_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
|
1620
|
+
[1m[35m (4.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_modules_on_canvas_id" ON "context_modules" ("canvas_id")[0m
|
1621
|
+
[1m[35m (4.9ms)[0m [1m[35mCREATE INDEX "index_context_modules_on_context" ON "context_modules" ("canvas_context_id", "canvas_context_type")[0m
|
1622
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203631"]]
|
1623
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
1624
|
+
Migrating to CreateContextModuleItems (20190702203632)
|
1625
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1626
|
+
[1m[35m (11.3ms)[0m [1m[35mCREATE TABLE "context_module_items" ("id" bigserial primary key, "canvas_id" bigint, "canvas_context_module_id" bigint, "position" integer, "canvas_content_id" bigint, "canvas_content_type" character varying, "canvas_assignment_id" bigint, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1627
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_module_items_on_canvas_id" ON "context_module_items" ("canvas_id")[0m
|
1628
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE INDEX "index_context_module_items_on_canvas_context_module_id" ON "context_module_items" ("canvas_context_module_id")[0m
|
1629
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203632"]]
|
1630
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
1631
|
+
Migrating to AddForkCountToCanvasSyncJobLogs (20190916154829)
|
1632
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1633
|
+
[1m[35m (0.7ms)[0m [1m[35mALTER TABLE "canvas_sync_job_logs" ADD "fork_count" integer[0m
|
1634
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190916154829"]]
|
1635
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
1636
|
+
Migrating to CreateRoles (20190927204545)
|
1637
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1638
|
+
[1m[35m (11.2ms)[0m [1m[35mCREATE TABLE "roles" ("id" bigserial primary key, "canvas_id" integer NOT NULL, "label" character varying, "base_role_type" character varying, "canvas_account_id" integer, "workflow_state" character varying, "permissions" json, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1639
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_roles_on_canvas_id" ON "roles" ("canvas_id")[0m
|
1640
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE INDEX "index_roles_on_canvas_account_id" ON "roles" ("canvas_account_id")[0m
|
1641
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190927204545"]]
|
1642
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
1643
|
+
Migrating to CreateAdmins (20190927204546)
|
1644
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1645
|
+
[1m[35m (10.1ms)[0m [1m[35mCREATE TABLE "admins" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "role_name" character varying, "canvas_account_id" bigint, "canvas_role_id" bigint, "canvas_user_id" bigint, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1646
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_id" ON "admins" ("canvas_id")[0m
|
1647
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_role_id" ON "admins" ("canvas_role_id")[0m
|
1648
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_user_id" ON "admins" ("canvas_user_id")[0m
|
1649
|
+
[1m[35m (4.7ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_account_id" ON "admins" ("canvas_account_id")[0m
|
1650
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190927204546"]]
|
1651
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
1652
|
+
Migrating to CreateGroups (20200415171620)
|
1653
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1654
|
+
[1m[35m (11.1ms)[0m [1m[35mCREATE TABLE "groups" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "sis_id" character varying, "canvas_group_category_id" bigint, "group_category_sis_id" character varying, "canvas_account_id" bigint, "canvas_course_id" bigint, "name" character varying, "workflow_state" character varying, "context_id" bigint, "context_type" character varying, "max_membership" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1655
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_groups_on_canvas_id" ON "groups" ("canvas_id")[0m
|
1656
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200415171620"]]
|
1657
|
+
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
1658
|
+
Migrating to CreateGroupMemberships (20200416214248)
|
1659
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1660
|
+
[1m[35m (10.9ms)[0m [1m[35mCREATE TABLE "group_memberships" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "canvas_user_id" bigint NOT NULL, "canvas_group_id" bigint NOT NULL, "group_sis_id" character varying, "user_sis_id" character varying, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1661
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_group_memberships_on_canvas_id" ON "group_memberships" ("canvas_id")[0m
|
1662
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200416214248"]]
|
1663
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
1664
|
+
Migrating to CreatePseudonyms (20201016181346)
|
1665
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1666
|
+
[1m[35m (9.3ms)[0m [1m[35mCREATE TABLE "pseudonyms" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "canvas_user_id" bigint, "sis_id" character varying, "unique_id" character varying, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1667
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pseudonyms_on_canvas_id" ON "pseudonyms" ("canvas_id")[0m
|
1668
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE INDEX "index_pseudonyms_on_canvas_user_id" ON "pseudonyms" ("canvas_user_id")[0m
|
1669
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201016181346"]]
|
1670
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
1671
|
+
Migrating to CreateCanvasSyncSyncBatches (20201018210836)
|
1672
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1673
|
+
[1m[35m (10.1ms)[0m [1m[35mCREATE TABLE "canvas_sync_sync_batches" ("id" serial NOT NULL PRIMARY KEY, "started_at" timestamp, "completed_at" timestamp, "status" character varying, "created_at" timestamp, "updated_at" timestamp)[0m
|
1674
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201018210836"]]
|
1675
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
1676
|
+
Migrating to AddFullSyncToCanvasSyncSyncBatch (20201030210836)
|
1677
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1678
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "full_sync" boolean DEFAULT FALSE[0m
|
1679
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "batch_genre" character varying[0m
|
1680
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "batch_bid" character varying[0m
|
1681
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201030210836"]]
|
1682
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
1683
|
+
Migrating to CreateUserObservers (20210907233329)
|
1684
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1685
|
+
[1m[35m (10.1ms)[0m [1m[35mCREATE TABLE "user_observers" ("id" bigserial primary key, "observing_user_id" bigint, "observed_user_id" bigint, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1686
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_user_observers_on_observed_user_id_and_observing_user_id" ON "user_observers" ("observed_user_id", "observing_user_id")[0m
|
1687
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE INDEX "index_user_observers_on_observing_user_id" ON "user_observers" ("observing_user_id")[0m
|
1688
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE INDEX "index_user_observers_on_observed_user_id" ON "user_observers" ("observed_user_id")[0m
|
1689
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20210907233329"]]
|
1690
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
1691
|
+
Migrating to CreateGradingPeriods (20210907233330)
|
1692
|
+
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
1693
|
+
[1m[35m (11.3ms)[0m [1m[35mCREATE TABLE "grading_periods" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "title" character varying, "weight" float, "start_date" timestamp, "end_date" timestamp, "close_date" timestamp, "canvas_grading_period_group_id" bigint, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1694
|
+
[1m[35m (4.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_grading_periods_on_canvas_id" ON "grading_periods" ("canvas_id")[0m
|
1695
|
+
[1m[35m (4.7ms)[0m [1m[35mCREATE INDEX "index_grading_periods_on_canvas_grading_period_group_id" ON "grading_periods" ("canvas_grading_period_group_id")[0m
|
1696
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20210907233330"]]
|
1697
|
+
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
1698
|
+
Migrating to CreateGradingPeriodGroups (20211001184920)
|
1699
|
+
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
1700
|
+
[1m[35m (11.5ms)[0m [1m[35mCREATE TABLE "grading_period_groups" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "title" character varying, "weighted" boolean, "display_totals_for_all_grading_periods" boolean, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1701
|
+
[1m[35m (4.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_grading_period_groups_on_canvas_id" ON "grading_period_groups" ("canvas_id")[0m
|
1702
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20211001184920"]]
|
1703
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
1704
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1705
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1706
|
+
[1m[36mActiveRecord::InternalMetadata Create (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", "development"], ["created_at", "2021-10-15 16:42:58.151172"], ["updated_at", "2021-10-15 16:42:58.151172"]]
|
1707
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
1708
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
1709
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1710
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1711
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1712
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1713
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1714
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1715
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1716
|
+
[1m[35m (86.2ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_development"[0m
|
1717
|
+
[1m[35m (42.9ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_test"[0m
|
1718
|
+
[1m[35m (96.3ms)[0m [1m[35mCREATE DATABASE "canvas_sync_development" ENCODING = 'unicode'[0m
|
1719
|
+
[1m[35m (105.0ms)[0m [1m[35mCREATE DATABASE "canvas_sync_test" ENCODING = 'unicode'[0m
|
1720
|
+
[1m[35m (19.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1721
|
+
[1m[35m (12.0ms)[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
|
1722
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
1723
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1724
|
+
Migrating to CreateCanvasSyncJobLog (20170915210836)
|
1725
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1726
|
+
[1m[35m (9.6ms)[0m [1m[35mCREATE TABLE "canvas_sync_job_logs" ("id" serial NOT NULL 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, "updated_at" timestamp)[0m
|
1727
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170915210836"]]
|
1728
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
1729
|
+
Migrating to AddJobIdToCanvasSyncJobLogs (20180725155729)
|
1730
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1731
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "canvas_sync_job_logs" ADD "job_id" character varying[0m
|
1732
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "index_canvas_sync_job_logs_on_job_id" ON "canvas_sync_job_logs" ("job_id")[0m
|
1733
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180725155729"]]
|
1734
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
1735
|
+
Migrating to CreateUsers (20190702203620)
|
1736
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1737
|
+
[1m[35m (8.0ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "sis_id" character varying, "email" character varying, "first_name" character varying, "last_name" character varying, "workflow_state" character varying, "login_id" character varying, "name" character varying, "sortable_name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1738
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_id" ON "users" ("canvas_id")[0m
|
1739
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203620"]]
|
1740
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
1741
|
+
Migrating to CreateCourses (20190702203621)
|
1742
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1743
|
+
[1m[35m (9.7ms)[0m [1m[35mCREATE TABLE "courses" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "sis_id" character varying, "course_code" character varying, "name" character varying, "workflow_state" character varying, "canvas_account_id" integer, "canvas_term_id" integer, "start_at" timestamp, "end_at" timestamp, "grading_standard_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1744
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_id" ON "courses" ("canvas_id")[0m
|
1745
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203621"]]
|
1746
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
1747
|
+
Migrating to CreateAccounts (20190702203622)
|
1748
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1749
|
+
[1m[35m (12.2ms)[0m [1m[35mCREATE TABLE "accounts" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "sis_id" character varying, "canvas_parent_account_id" bigint, "sis_parent_account_id" character varying, "name" character varying, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1750
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_accounts_on_canvas_id" ON "accounts" ("canvas_id")[0m
|
1751
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203622"]]
|
1752
|
+
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
1753
|
+
Migrating to CreateTerms (20190702203623)
|
1754
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1755
|
+
[1m[35m (11.4ms)[0m [1m[35mCREATE TABLE "terms" ("id" bigserial primary key, "canvas_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
|
1756
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_id" ON "terms" ("canvas_id")[0m
|
1757
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203623"]]
|
1758
|
+
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
1759
|
+
Migrating to CreateEnrollments (20190702203624)
|
1760
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1761
|
+
[1m[35m (11.1ms)[0m [1m[35mCREATE TABLE "enrollments" ("id" bigserial primary key, "canvas_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, "canvas_role_id" integer, "canvas_section_id" bigint, "workflow_state" character varying, "base_role_type" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1762
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_id" ON "enrollments" ("canvas_id")[0m
|
1763
|
+
[1m[35m (4.8ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
1764
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
1765
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203624"]]
|
1766
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
1767
|
+
Migrating to CreateSections (20190702203625)
|
1768
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1769
|
+
[1m[35m (10.2ms)[0m [1m[35mCREATE TABLE "sections" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "sis_id" character varying, "canvas_course_id" bigint, "canvas_nonxlist_course_id" bigint, "name" character varying, "workflow_state" character varying, "start_at" timestamp, "end_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1770
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_id" ON "sections" ("canvas_id")[0m
|
1771
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
1772
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203625"]]
|
1773
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
1774
|
+
Migrating to CreateAssignments (20190702203626)
|
1775
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1776
|
+
[1m[35m (10.9ms)[0m [1m[35mCREATE TABLE "assignments" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "title" character varying, "description" text, "due_at" timestamp, "unlock_at" timestamp, "lock_at" timestamp, "points_possible" float, "min_score" float, "max_score" float, "mastery_score" float, "grading_type" character varying, "submission_types" character varying, "workflow_state" character varying, "canvas_context_id" integer, "canvas_context_type" character varying, "canvas_assignment_group_id" integer, "canvas_grading_scheme_id" integer, "canvas_grading_standard_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1777
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignments_on_canvas_id" ON "assignments" ("canvas_id")[0m
|
1778
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE INDEX "index_assignments_on_canvas_context_id_and_canvas_context_type" ON "assignments" ("canvas_context_id", "canvas_context_type")[0m
|
1779
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203626"]]
|
1780
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
1781
|
+
Migrating to CreateSubmissions (20190702203627)
|
1782
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1783
|
+
[1m[35m (11.0ms)[0m [1m[35mCREATE TABLE "submissions" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "canvas_course_id" bigint, "canvas_assignment_id" bigint, "canvas_user_id" bigint, "submitted_at" timestamp, "due_at" timestamp, "graded_at" timestamp, "score" float, "points_possible" float, "excused" boolean, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1784
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_submissions_on_canvas_id" ON "submissions" ("canvas_id")[0m
|
1785
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")[0m
|
1786
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")[0m
|
1787
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")[0m
|
1788
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203627"]]
|
1789
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
1790
|
+
Migrating to CreateAssignmentGroups (20190702203630)
|
1791
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1792
|
+
[1m[35m (11.2ms)[0m [1m[35mCREATE TABLE "assignment_groups" ("id" bigserial primary key, "canvas_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
|
1793
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignment_groups_on_canvas_id" ON "assignment_groups" ("canvas_id")[0m
|
1794
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE INDEX "index_assignment_groups_on_canvas_course_id" ON "assignment_groups" ("canvas_course_id")[0m
|
1795
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203630"]]
|
1796
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
1797
|
+
Migrating to CreateContextModules (20190702203631)
|
1798
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1799
|
+
[1m[35m (11.4ms)[0m [1m[35mCREATE TABLE "context_modules" ("id" bigserial primary key, "canvas_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
|
1800
|
+
[1m[35m (5.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_modules_on_canvas_id" ON "context_modules" ("canvas_id")[0m
|
1801
|
+
[1m[35m (5.0ms)[0m [1m[35mCREATE INDEX "index_context_modules_on_context" ON "context_modules" ("canvas_context_id", "canvas_context_type")[0m
|
1802
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203631"]]
|
1803
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
1804
|
+
Migrating to CreateContextModuleItems (20190702203632)
|
1805
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1806
|
+
[1m[35m (11.6ms)[0m [1m[35mCREATE TABLE "context_module_items" ("id" bigserial primary key, "canvas_id" bigint, "canvas_context_module_id" bigint, "position" integer, "canvas_content_id" bigint, "canvas_content_type" character varying, "canvas_assignment_id" bigint, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1807
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_module_items_on_canvas_id" ON "context_module_items" ("canvas_id")[0m
|
1808
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_context_module_items_on_canvas_context_module_id" ON "context_module_items" ("canvas_context_module_id")[0m
|
1809
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203632"]]
|
1810
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
1811
|
+
Migrating to AddForkCountToCanvasSyncJobLogs (20190916154829)
|
1812
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1813
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "canvas_sync_job_logs" ADD "fork_count" integer[0m
|
1814
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190916154829"]]
|
1815
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
1816
|
+
Migrating to CreateRoles (20190927204545)
|
1817
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1818
|
+
[1m[35m (8.1ms)[0m [1m[35mCREATE TABLE "roles" ("id" bigserial primary key, "canvas_id" integer NOT NULL, "label" character varying, "base_role_type" character varying, "canvas_account_id" integer, "workflow_state" character varying, "permissions" json, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1819
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_roles_on_canvas_id" ON "roles" ("canvas_id")[0m
|
1820
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE INDEX "index_roles_on_canvas_account_id" ON "roles" ("canvas_account_id")[0m
|
1821
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190927204545"]]
|
1822
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
1823
|
+
Migrating to CreateAdmins (20190927204546)
|
1824
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1825
|
+
[1m[35m (10.7ms)[0m [1m[35mCREATE TABLE "admins" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "role_name" character varying, "canvas_account_id" bigint, "canvas_role_id" bigint, "canvas_user_id" bigint, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1826
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_id" ON "admins" ("canvas_id")[0m
|
1827
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_role_id" ON "admins" ("canvas_role_id")[0m
|
1828
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_user_id" ON "admins" ("canvas_user_id")[0m
|
1829
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_account_id" ON "admins" ("canvas_account_id")[0m
|
1830
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190927204546"]]
|
1831
|
+
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
|
1832
|
+
Migrating to CreateGroups (20200415171620)
|
1833
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1834
|
+
[1m[35m (12.7ms)[0m [1m[35mCREATE TABLE "groups" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "sis_id" character varying, "canvas_group_category_id" bigint, "group_category_sis_id" character varying, "canvas_account_id" bigint, "canvas_course_id" bigint, "name" character varying, "workflow_state" character varying, "context_id" bigint, "context_type" character varying, "max_membership" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1835
|
+
[1m[35m (4.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_groups_on_canvas_id" ON "groups" ("canvas_id")[0m
|
1836
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200415171620"]]
|
1837
|
+
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
1838
|
+
Migrating to CreateGroupMemberships (20200416214248)
|
1839
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1840
|
+
[1m[35m (12.3ms)[0m [1m[35mCREATE TABLE "group_memberships" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "canvas_user_id" bigint NOT NULL, "canvas_group_id" bigint NOT NULL, "group_sis_id" character varying, "user_sis_id" character varying, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1841
|
+
[1m[35m (4.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_group_memberships_on_canvas_id" ON "group_memberships" ("canvas_id")[0m
|
1842
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200416214248"]]
|
1843
|
+
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
1844
|
+
Migrating to CreatePseudonyms (20201016181346)
|
1845
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1846
|
+
[1m[35m (12.3ms)[0m [1m[35mCREATE TABLE "pseudonyms" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "canvas_user_id" bigint, "sis_id" character varying, "unique_id" character varying, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1847
|
+
[1m[35m (4.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pseudonyms_on_canvas_id" ON "pseudonyms" ("canvas_id")[0m
|
1848
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE INDEX "index_pseudonyms_on_canvas_user_id" ON "pseudonyms" ("canvas_user_id")[0m
|
1849
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201016181346"]]
|
1850
|
+
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
|
1851
|
+
Migrating to CreateCanvasSyncSyncBatches (20201018210836)
|
1852
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1853
|
+
[1m[35m (10.8ms)[0m [1m[35mCREATE TABLE "canvas_sync_sync_batches" ("id" serial NOT NULL PRIMARY KEY, "started_at" timestamp, "completed_at" timestamp, "status" character varying, "created_at" timestamp, "updated_at" timestamp)[0m
|
1854
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201018210836"]]
|
1855
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
1856
|
+
Migrating to AddFullSyncToCanvasSyncSyncBatch (20201030210836)
|
1857
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1858
|
+
[1m[35m (0.9ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "full_sync" boolean DEFAULT FALSE[0m
|
1859
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "batch_genre" character varying[0m
|
1860
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "batch_bid" character varying[0m
|
1861
|
+
[1m[36mActiveRecord::SchemaMigration Create (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201030210836"]]
|
1862
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
1863
|
+
Migrating to CreateUserObservers (20210907233329)
|
1864
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1865
|
+
[1m[35m (11.7ms)[0m [1m[35mCREATE TABLE "user_observers" ("id" bigserial primary key, "observing_user_id" bigint, "observed_user_id" bigint, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1866
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_user_observers_on_observed_user_id_and_observing_user_id" ON "user_observers" ("observed_user_id", "observing_user_id")[0m
|
1867
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE INDEX "index_user_observers_on_observing_user_id" ON "user_observers" ("observing_user_id")[0m
|
1868
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_user_observers_on_observed_user_id" ON "user_observers" ("observed_user_id")[0m
|
1869
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20210907233329"]]
|
1870
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
1871
|
+
Migrating to CreateGradingPeriods (20210907233330)
|
1872
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1873
|
+
[1m[35m (9.3ms)[0m [1m[35mCREATE TABLE "grading_periods" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "title" character varying, "weight" float, "start_date" timestamp, "end_date" timestamp, "close_date" timestamp, "canvas_grading_period_group_id" bigint, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1874
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_grading_periods_on_canvas_id" ON "grading_periods" ("canvas_id")[0m
|
1875
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE INDEX "index_grading_periods_on_canvas_grading_period_group_id" ON "grading_periods" ("canvas_grading_period_group_id")[0m
|
1876
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20210907233330"]]
|
1877
|
+
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
1878
|
+
Migrating to CreateGradingPeriodGroups (20211001184920)
|
1879
|
+
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
1880
|
+
[1m[35m (11.9ms)[0m [1m[35mCREATE TABLE "grading_period_groups" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "title" character varying, "weighted" boolean, "display_totals_for_all_grading_periods" boolean, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1881
|
+
[1m[35m (4.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_grading_period_groups_on_canvas_id" ON "grading_period_groups" ("canvas_id")[0m
|
1882
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20211001184920"]]
|
1883
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
1884
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1885
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1886
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.8ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2021-10-15 17:00:26.205209"], ["updated_at", "2021-10-15 17:00:26.205209"]]
|
1887
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
1888
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
1889
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1890
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1891
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1892
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1893
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1894
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1895
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1896
|
+
[1m[35m (98.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_development"[0m
|
1897
|
+
[1m[35m (43.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_test"[0m
|
1898
|
+
[1m[35m (114.7ms)[0m [1m[35mCREATE DATABASE "canvas_sync_development" ENCODING = 'unicode'[0m
|
1899
|
+
[1m[35m (115.3ms)[0m [1m[35mCREATE DATABASE "canvas_sync_test" ENCODING = 'unicode'[0m
|
1900
|
+
[1m[35m (18.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1901
|
+
[1m[35m (8.1ms)[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
|
1902
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
1903
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1904
|
+
Migrating to CreateCanvasSyncJobLog (20170915210836)
|
1905
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1906
|
+
[1m[35m (7.9ms)[0m [1m[35mCREATE TABLE "canvas_sync_job_logs" ("id" serial NOT NULL 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, "updated_at" timestamp)[0m
|
1907
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170915210836"]]
|
1908
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
1909
|
+
Migrating to AddJobIdToCanvasSyncJobLogs (20180725155729)
|
1910
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1911
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "canvas_sync_job_logs" ADD "job_id" character varying[0m
|
1912
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "index_canvas_sync_job_logs_on_job_id" ON "canvas_sync_job_logs" ("job_id")[0m
|
1913
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180725155729"]]
|
1914
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
1915
|
+
Migrating to CreateUsers (20190702203620)
|
1916
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1917
|
+
[1m[35m (8.0ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "sis_id" character varying, "email" character varying, "first_name" character varying, "last_name" character varying, "workflow_state" character varying, "login_id" character varying, "name" character varying, "sortable_name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1918
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_id" ON "users" ("canvas_id")[0m
|
1919
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203620"]]
|
1920
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
1921
|
+
Migrating to CreateCourses (20190702203621)
|
1922
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1923
|
+
[1m[35m (7.3ms)[0m [1m[35mCREATE TABLE "courses" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "sis_id" character varying, "course_code" character varying, "name" character varying, "workflow_state" character varying, "canvas_account_id" integer, "canvas_term_id" integer, "start_at" timestamp, "end_at" timestamp, "grading_standard_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1924
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_id" ON "courses" ("canvas_id")[0m
|
1925
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203621"]]
|
1926
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
1927
|
+
Migrating to CreateAccounts (20190702203622)
|
1928
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1929
|
+
[1m[35m (8.1ms)[0m [1m[35mCREATE TABLE "accounts" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "sis_id" character varying, "canvas_parent_account_id" bigint, "sis_parent_account_id" character varying, "name" character varying, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1930
|
+
[1m[35m (3.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_accounts_on_canvas_id" ON "accounts" ("canvas_id")[0m
|
1931
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203622"]]
|
1932
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
1933
|
+
Migrating to CreateTerms (20190702203623)
|
1934
|
+
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
1935
|
+
[1m[35m (11.7ms)[0m [1m[35mCREATE TABLE "terms" ("id" bigserial primary key, "canvas_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
|
1936
|
+
[1m[35m (4.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_id" ON "terms" ("canvas_id")[0m
|
1937
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203623"]]
|
1938
|
+
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
1939
|
+
Migrating to CreateEnrollments (20190702203624)
|
1940
|
+
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
1941
|
+
[1m[35m (12.5ms)[0m [1m[35mCREATE TABLE "enrollments" ("id" bigserial primary key, "canvas_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, "canvas_role_id" integer, "canvas_section_id" bigint, "workflow_state" character varying, "base_role_type" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1942
|
+
[1m[35m (5.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_id" ON "enrollments" ("canvas_id")[0m
|
1943
|
+
[1m[35m (6.0ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
1944
|
+
[1m[35m (5.4ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
1945
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203624"]]
|
1946
|
+
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
|
1947
|
+
Migrating to CreateSections (20190702203625)
|
1948
|
+
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
1949
|
+
[1m[35m (13.7ms)[0m [1m[35mCREATE TABLE "sections" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "sis_id" character varying, "canvas_course_id" bigint, "canvas_nonxlist_course_id" bigint, "name" character varying, "workflow_state" character varying, "start_at" timestamp, "end_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1950
|
+
[1m[35m (5.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_id" ON "sections" ("canvas_id")[0m
|
1951
|
+
[1m[35m (5.0ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
1952
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203625"]]
|
1953
|
+
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
|
1954
|
+
Migrating to CreateAssignments (20190702203626)
|
1955
|
+
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
1956
|
+
[1m[35m (13.6ms)[0m [1m[35mCREATE TABLE "assignments" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "title" character varying, "description" text, "due_at" timestamp, "unlock_at" timestamp, "lock_at" timestamp, "points_possible" float, "min_score" float, "max_score" float, "mastery_score" float, "grading_type" character varying, "submission_types" character varying, "workflow_state" character varying, "canvas_context_id" integer, "canvas_context_type" character varying, "canvas_assignment_group_id" integer, "canvas_grading_scheme_id" integer, "canvas_grading_standard_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1957
|
+
[1m[35m (4.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignments_on_canvas_id" ON "assignments" ("canvas_id")[0m
|
1958
|
+
[1m[35m (4.9ms)[0m [1m[35mCREATE INDEX "index_assignments_on_canvas_context_id_and_canvas_context_type" ON "assignments" ("canvas_context_id", "canvas_context_type")[0m
|
1959
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203626"]]
|
1960
|
+
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
|
1961
|
+
Migrating to CreateSubmissions (20190702203627)
|
1962
|
+
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
1963
|
+
[1m[35m (12.6ms)[0m [1m[35mCREATE TABLE "submissions" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "canvas_course_id" bigint, "canvas_assignment_id" bigint, "canvas_user_id" bigint, "submitted_at" timestamp, "due_at" timestamp, "graded_at" timestamp, "score" float, "points_possible" float, "excused" boolean, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1964
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_submissions_on_canvas_id" ON "submissions" ("canvas_id")[0m
|
1965
|
+
[1m[35m (5.6ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")[0m
|
1966
|
+
[1m[35m (4.9ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")[0m
|
1967
|
+
[1m[35m (4.8ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")[0m
|
1968
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203627"]]
|
1969
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
1970
|
+
Migrating to CreateAssignmentGroups (20190702203630)
|
1971
|
+
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
1972
|
+
[1m[35m (12.3ms)[0m [1m[35mCREATE TABLE "assignment_groups" ("id" bigserial primary key, "canvas_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
|
1973
|
+
[1m[35m (4.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignment_groups_on_canvas_id" ON "assignment_groups" ("canvas_id")[0m
|
1974
|
+
[1m[35m (4.7ms)[0m [1m[35mCREATE INDEX "index_assignment_groups_on_canvas_course_id" ON "assignment_groups" ("canvas_course_id")[0m
|
1975
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203630"]]
|
1976
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
1977
|
+
Migrating to CreateContextModules (20190702203631)
|
1978
|
+
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
1979
|
+
[1m[35m (11.4ms)[0m [1m[35mCREATE TABLE "context_modules" ("id" bigserial primary key, "canvas_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
|
1980
|
+
[1m[35m (4.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_modules_on_canvas_id" ON "context_modules" ("canvas_id")[0m
|
1981
|
+
[1m[35m (4.9ms)[0m [1m[35mCREATE INDEX "index_context_modules_on_context" ON "context_modules" ("canvas_context_id", "canvas_context_type")[0m
|
1982
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203631"]]
|
1983
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
1984
|
+
Migrating to CreateContextModuleItems (20190702203632)
|
1985
|
+
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
1986
|
+
[1m[35m (11.3ms)[0m [1m[35mCREATE TABLE "context_module_items" ("id" bigserial primary key, "canvas_id" bigint, "canvas_context_module_id" bigint, "position" integer, "canvas_content_id" bigint, "canvas_content_type" character varying, "canvas_assignment_id" bigint, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1987
|
+
[1m[35m (4.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_module_items_on_canvas_id" ON "context_module_items" ("canvas_id")[0m
|
1988
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE INDEX "index_context_module_items_on_canvas_context_module_id" ON "context_module_items" ("canvas_context_module_id")[0m
|
1989
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203632"]]
|
1990
|
+
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
|
1991
|
+
Migrating to AddForkCountToCanvasSyncJobLogs (20190916154829)
|
1992
|
+
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
1993
|
+
[1m[35m (0.8ms)[0m [1m[35mALTER TABLE "canvas_sync_job_logs" ADD "fork_count" integer[0m
|
1994
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190916154829"]]
|
1995
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
1996
|
+
Migrating to CreateRoles (20190927204545)
|
1997
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1998
|
+
[1m[35m (12.6ms)[0m [1m[35mCREATE TABLE "roles" ("id" bigserial primary key, "canvas_id" integer NOT NULL, "label" character varying, "base_role_type" character varying, "canvas_account_id" integer, "workflow_state" character varying, "permissions" json, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1999
|
+
[1m[35m (4.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_roles_on_canvas_id" ON "roles" ("canvas_id")[0m
|
2000
|
+
[1m[35m (8.1ms)[0m [1m[35mCREATE INDEX "index_roles_on_canvas_account_id" ON "roles" ("canvas_account_id")[0m
|
2001
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190927204545"]]
|
2002
|
+
[1m[35m (4.8ms)[0m [1m[35mCOMMIT[0m
|
2003
|
+
Migrating to CreateAdmins (20190927204546)
|
2004
|
+
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
2005
|
+
[1m[35m (18.2ms)[0m [1m[35mCREATE TABLE "admins" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "role_name" character varying, "canvas_account_id" bigint, "canvas_role_id" bigint, "canvas_user_id" bigint, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
2006
|
+
[1m[35m (7.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_id" ON "admins" ("canvas_id")[0m
|
2007
|
+
[1m[35m (10.2ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_role_id" ON "admins" ("canvas_role_id")[0m
|
2008
|
+
[1m[35m (7.4ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_user_id" ON "admins" ("canvas_user_id")[0m
|
2009
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_account_id" ON "admins" ("canvas_account_id")[0m
|
2010
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190927204546"]]
|
2011
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
2012
|
+
Migrating to CreateGroups (20200415171620)
|
2013
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
2014
|
+
[1m[35m (9.8ms)[0m [1m[35mCREATE TABLE "groups" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "sis_id" character varying, "canvas_group_category_id" bigint, "group_category_sis_id" character varying, "canvas_account_id" bigint, "canvas_course_id" bigint, "name" character varying, "workflow_state" character varying, "context_id" bigint, "context_type" character varying, "max_membership" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
2015
|
+
[1m[35m (5.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_groups_on_canvas_id" ON "groups" ("canvas_id")[0m
|
2016
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200415171620"]]
|
2017
|
+
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
|
2018
|
+
Migrating to CreateGroupMemberships (20200416214248)
|
2019
|
+
[1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
|
2020
|
+
[1m[35m (12.5ms)[0m [1m[35mCREATE TABLE "group_memberships" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "canvas_user_id" bigint NOT NULL, "canvas_group_id" bigint NOT NULL, "group_sis_id" character varying, "user_sis_id" character varying, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
2021
|
+
[1m[35m (5.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_group_memberships_on_canvas_id" ON "group_memberships" ("canvas_id")[0m
|
2022
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200416214248"]]
|
2023
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
2024
|
+
Migrating to CreatePseudonyms (20201016181346)
|
2025
|
+
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
2026
|
+
[1m[35m (12.8ms)[0m [1m[35mCREATE TABLE "pseudonyms" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "canvas_user_id" bigint, "sis_id" character varying, "unique_id" character varying, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
2027
|
+
[1m[35m (5.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pseudonyms_on_canvas_id" ON "pseudonyms" ("canvas_id")[0m
|
2028
|
+
[1m[35m (5.4ms)[0m [1m[35mCREATE INDEX "index_pseudonyms_on_canvas_user_id" ON "pseudonyms" ("canvas_user_id")[0m
|
2029
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201016181346"]]
|
2030
|
+
[1m[35m (2.1ms)[0m [1m[35mCOMMIT[0m
|
2031
|
+
Migrating to CreateCanvasSyncSyncBatches (20201018210836)
|
2032
|
+
[1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
|
2033
|
+
[1m[35m (14.5ms)[0m [1m[35mCREATE TABLE "canvas_sync_sync_batches" ("id" serial NOT NULL PRIMARY KEY, "started_at" timestamp, "completed_at" timestamp, "status" character varying, "created_at" timestamp, "updated_at" timestamp)[0m
|
2034
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201018210836"]]
|
2035
|
+
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
|
2036
|
+
Migrating to AddFullSyncToCanvasSyncSyncBatch (20201030210836)
|
2037
|
+
[1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
|
2038
|
+
[1m[35m (1.1ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "full_sync" boolean DEFAULT FALSE[0m
|
2039
|
+
[1m[35m (0.8ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "batch_genre" character varying[0m
|
2040
|
+
[1m[35m (0.7ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "batch_bid" character varying[0m
|
2041
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201030210836"]]
|
2042
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
2043
|
+
Migrating to CreateUserObservers (20210907233329)
|
2044
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
2045
|
+
[1m[35m (12.5ms)[0m [1m[35mCREATE TABLE "user_observers" ("id" bigserial primary key, "observing_user_id" bigint, "observed_user_id" bigint, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
2046
|
+
[1m[35m (5.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_user_observers_on_observed_user_id_and_observing_user_id" ON "user_observers" ("observed_user_id", "observing_user_id")[0m
|
2047
|
+
[1m[35m (4.9ms)[0m [1m[35mCREATE INDEX "index_user_observers_on_observing_user_id" ON "user_observers" ("observing_user_id")[0m
|
2048
|
+
[1m[35m (4.7ms)[0m [1m[35mCREATE INDEX "index_user_observers_on_observed_user_id" ON "user_observers" ("observed_user_id")[0m
|
2049
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20210907233329"]]
|
2050
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
2051
|
+
Migrating to CreateGradingPeriods (20210907233330)
|
2052
|
+
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
2053
|
+
[1m[35m (12.4ms)[0m [1m[35mCREATE TABLE "grading_periods" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "title" character varying, "weight" float, "start_date" timestamp, "end_date" timestamp, "close_date" timestamp, "canvas_grading_period_group_id" bigint, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
2054
|
+
[1m[35m (4.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_grading_periods_on_canvas_id" ON "grading_periods" ("canvas_id")[0m
|
2055
|
+
[1m[35m (5.4ms)[0m [1m[35mCREATE INDEX "index_grading_periods_on_canvas_grading_period_group_id" ON "grading_periods" ("canvas_grading_period_group_id")[0m
|
2056
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20210907233330"]]
|
2057
|
+
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
2058
|
+
Migrating to CreateGradingPeriodGroups (20211001184920)
|
2059
|
+
[1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
|
2060
|
+
[1m[35m (11.8ms)[0m [1m[35mCREATE TABLE "grading_period_groups" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "title" character varying, "weighted" boolean, "display_totals_for_all_grading_periods" boolean, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
2061
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_grading_period_groups_on_canvas_id" ON "grading_period_groups" ("canvas_id")[0m
|
2062
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20211001184920"]]
|
2063
|
+
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
2064
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
2065
|
+
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
2066
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2021-10-15 17:01:20.820040"], ["updated_at", "2021-10-15 17:01:20.820040"]]
|
2067
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
2068
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
2069
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|