canvas_sync 0.3.14 → 0.3.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -3
- data/lib/canvas_sync.rb +3 -1
- data/lib/canvas_sync/generators/templates/models/assignment.rb +1 -0
- data/lib/canvas_sync/generators/templates/models/assignment_group.rb +7 -0
- data/lib/canvas_sync/generators/templates/models/course.rb +1 -0
- data/lib/canvas_sync/generators/templates/models/create_assignment_groups.rb +24 -0
- data/lib/canvas_sync/generators/templates/models/create_assignments.rb +1 -1
- data/lib/canvas_sync/jobs/sync_assignment_groups_job.rb +28 -0
- data/lib/canvas_sync/processors/assignment_groups_processor.rb +24 -0
- data/lib/canvas_sync/processors/model_mappings.yml +38 -1
- data/lib/canvas_sync/version.rb +1 -1
- data/spec/canvas_sync/canvas_sync_spec.rb +15 -0
- data/spec/canvas_sync/jobs/sync_assignment_groups_job_spec.rb +17 -0
- data/spec/canvas_sync/models/assignment_group_spec.rb +24 -0
- data/spec/canvas_sync/{assignment_spec.rb → models/assignment_spec.rb} +6 -0
- data/spec/canvas_sync/models/course_spec.rb +6 -0
- data/spec/canvas_sync/{submission_spec.rb → models/submission_spec.rb} +0 -0
- data/spec/canvas_sync/processors/assignment_groups_processor_spec.rb +13 -0
- data/spec/dummy/app/models/assignment.rb +1 -0
- data/spec/dummy/app/models/assignment_group.rb +13 -0
- data/spec/dummy/app/models/course.rb +1 -0
- data/spec/dummy/db/migrate/{20180212204530_create_assignments.rb → 20180215214227_create_assignments.rb} +1 -1
- data/spec/dummy/db/migrate/20180215220605_create_assignment_groups.rb +30 -0
- data/spec/dummy/db/schema.rb +20 -2
- data/spec/dummy/log/development.log +511 -0
- data/spec/dummy/log/test.log +1970 -0
- data/spec/factories/assignment_group_factory.rb +9 -0
- data/spec/support/fixtures/reports/assignment_groups.csv +3 -0
- metadata +26 -8
@@ -547,3 +547,514 @@ Migrating to CreateSubmissions (20180213235544)
|
|
547
547
|
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
548
548
|
[1m[35m (0.1ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
549
549
|
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
550
|
+
[1m[35m (2.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
551
|
+
[1m[35m (7.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
552
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
553
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
554
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
555
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
556
|
+
[1m[35m (126.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_development"[0m
|
557
|
+
[1m[35m (117.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_test"[0m
|
558
|
+
[1m[35m (13.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
559
|
+
[1m[35m (3.7ms)[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
|
560
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
561
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
562
|
+
Migrating to CreateEnrollments (20170905192509)
|
563
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
564
|
+
[1m[35m (5.2ms)[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
|
565
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
566
|
+
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
567
|
+
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
568
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170905192509"]]
|
569
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
570
|
+
Migrating to CreateTerms (20170906193506)
|
571
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
572
|
+
[1m[35m (4.5ms)[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
|
573
|
+
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
574
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170906193506"]]
|
575
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
576
|
+
Migrating to CreateCourses (20170914181345)
|
577
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
578
|
+
[1m[35m (3.9ms)[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
|
579
|
+
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
580
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170914181345"]]
|
581
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
582
|
+
Migrating to CreateCanvasSyncJobLog (20170915210836)
|
583
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
584
|
+
[1m[35m (6.4ms)[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
|
585
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170915210836"]]
|
586
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
587
|
+
Migrating to CreateUsers (20170918221413)
|
588
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
589
|
+
[1m[35m (3.6ms)[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
|
590
|
+
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
591
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170918221413"]]
|
592
|
+
[1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
|
593
|
+
Migrating to CreateSections (20171107213207)
|
594
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
595
|
+
[1m[35m (3.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
|
596
|
+
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
597
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
598
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20171107213207"]]
|
599
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
600
|
+
Migrating to CreateRoles (20180103162102)
|
601
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
602
|
+
[1m[35m (3.5ms)[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
|
603
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")[0m
|
604
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180103162102"]]
|
605
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
606
|
+
Migrating to CreateAdmins (20180109210452)
|
607
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
608
|
+
[1m[35m (3.9ms)[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
|
609
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")[0m
|
610
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180109210452"]]
|
611
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
612
|
+
Migrating to CreateSubmissions (20180213235544)
|
613
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
614
|
+
[1m[35m (3.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, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
615
|
+
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_submissions_on_canvas_submission_id" ON "submissions" ("canvas_submission_id")[0m
|
616
|
+
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")[0m
|
617
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")[0m
|
618
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")[0m
|
619
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180213235544"]]
|
620
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
621
|
+
Migrating to CreateAssignments (20180215214227)
|
622
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
623
|
+
[1m[35m (3.9ms)[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
|
624
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignments_on_canvas_assignment_id" ON "assignments" ("canvas_assignment_id")[0m
|
625
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_assignments_on_context_id_and_context_type" ON "assignments" ("context_id", "context_type")[0m
|
626
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180215214227"]]
|
627
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
628
|
+
[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]]
|
629
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
630
|
+
[1m[35mSQL (0.2ms)[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", "2018-02-15 21:42:39.178681"], ["updated_at", "2018-02-15 21:42:39.178681"]]
|
631
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
632
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
633
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
634
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
635
|
+
[1m[35m (8.7ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
636
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
637
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
638
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
639
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
640
|
+
[1m[35m (123.6ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_development"[0m
|
641
|
+
[1m[35m (123.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_test"[0m
|
642
|
+
[1m[35m (13.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
643
|
+
[1m[35m (3.6ms)[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
|
644
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
645
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
646
|
+
Migrating to CreateEnrollments (20170905192509)
|
647
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
648
|
+
[1m[35m (21.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
|
649
|
+
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
650
|
+
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
651
|
+
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
652
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170905192509"]]
|
653
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
654
|
+
Migrating to CreateTerms (20170906193506)
|
655
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
656
|
+
[1m[35m (3.7ms)[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
|
657
|
+
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
658
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170906193506"]]
|
659
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
660
|
+
Migrating to CreateCourses (20170914181345)
|
661
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
662
|
+
[1m[35m (3.9ms)[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
|
663
|
+
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
664
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170914181345"]]
|
665
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
666
|
+
Migrating to CreateCanvasSyncJobLog (20170915210836)
|
667
|
+
[1m[35m (6.0ms)[0m [1m[35mBEGIN[0m
|
668
|
+
[1m[35m (19.4ms)[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
|
669
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170915210836"]]
|
670
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
671
|
+
Migrating to CreateUsers (20170918221413)
|
672
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
673
|
+
[1m[35m (3.8ms)[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
|
674
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
675
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170918221413"]]
|
676
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
677
|
+
Migrating to CreateSections (20171107213207)
|
678
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
679
|
+
[1m[35m (3.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
|
680
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
681
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
682
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20171107213207"]]
|
683
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
684
|
+
Migrating to CreateRoles (20180103162102)
|
685
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
686
|
+
[1m[35m (3.4ms)[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
|
687
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")[0m
|
688
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180103162102"]]
|
689
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
690
|
+
Migrating to CreateAdmins (20180109210452)
|
691
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
692
|
+
[1m[35m (3.4ms)[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
|
693
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")[0m
|
694
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180109210452"]]
|
695
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
696
|
+
Migrating to CreateSubmissions (20180213235544)
|
697
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
698
|
+
[1m[35m (2.4ms)[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, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
699
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_submissions_on_canvas_submission_id" ON "submissions" ("canvas_submission_id")[0m
|
700
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")[0m
|
701
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")[0m
|
702
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")[0m
|
703
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180213235544"]]
|
704
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
705
|
+
Migrating to CreateAssignments (20180215214227)
|
706
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
707
|
+
[1m[35m (3.6ms)[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
|
708
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignments_on_canvas_assignment_id" ON "assignments" ("canvas_assignment_id")[0m
|
709
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_assignments_on_context_id_and_context_type" ON "assignments" ("context_id", "context_type")[0m
|
710
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180215214227"]]
|
711
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
712
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.9ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
713
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
714
|
+
[1m[35mSQL (0.3ms)[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", "2018-02-15 21:59:29.557046"], ["updated_at", "2018-02-15 21:59:29.557046"]]
|
715
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
716
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
717
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
718
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
719
|
+
[1m[35m (8.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
720
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
721
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
722
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
723
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
724
|
+
[1m[35m (123.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_development"[0m
|
725
|
+
[1m[35m (121.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_test"[0m
|
726
|
+
[1m[35m (11.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
727
|
+
[1m[35m (21.3ms)[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
|
728
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
729
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
730
|
+
Migrating to CreateEnrollments (20170905192509)
|
731
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
732
|
+
[1m[35m (15.2ms)[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
|
733
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
734
|
+
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
735
|
+
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
736
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170905192509"]]
|
737
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
738
|
+
Migrating to CreateTerms (20170906193506)
|
739
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
740
|
+
[1m[35m (4.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
|
741
|
+
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
742
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170906193506"]]
|
743
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
744
|
+
Migrating to CreateCourses (20170914181345)
|
745
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
746
|
+
[1m[35m (3.6ms)[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
|
747
|
+
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
748
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170914181345"]]
|
749
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
750
|
+
Migrating to CreateCanvasSyncJobLog (20170915210836)
|
751
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
752
|
+
[1m[35m (3.6ms)[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
|
753
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170915210836"]]
|
754
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
755
|
+
Migrating to CreateUsers (20170918221413)
|
756
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
757
|
+
[1m[35m (3.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
|
758
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
759
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170918221413"]]
|
760
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
761
|
+
Migrating to CreateSections (20171107213207)
|
762
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
763
|
+
[1m[35m (3.3ms)[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
|
764
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
765
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
766
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20171107213207"]]
|
767
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
768
|
+
Migrating to CreateRoles (20180103162102)
|
769
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
770
|
+
[1m[35m (3.4ms)[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
|
771
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")[0m
|
772
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180103162102"]]
|
773
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
774
|
+
Migrating to CreateAdmins (20180109210452)
|
775
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
776
|
+
[1m[35m (3.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
|
777
|
+
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")[0m
|
778
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180109210452"]]
|
779
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
780
|
+
Migrating to CreateSubmissions (20180213235544)
|
781
|
+
[1m[35m (5.5ms)[0m [1m[35mBEGIN[0m
|
782
|
+
[1m[35m (8.9ms)[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, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
783
|
+
[1m[35m (12.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_submissions_on_canvas_submission_id" ON "submissions" ("canvas_submission_id")[0m
|
784
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")[0m
|
785
|
+
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")[0m
|
786
|
+
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")[0m
|
787
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180213235544"]]
|
788
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
789
|
+
Migrating to CreateAssignments (20180215214227)
|
790
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
791
|
+
[1m[35m (4.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
|
792
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignments_on_canvas_assignment_id" ON "assignments" ("canvas_assignment_id")[0m
|
793
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_assignments_on_context_id_and_context_type" ON "assignments" ("context_id", "context_type")[0m
|
794
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180215214227"]]
|
795
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
796
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.9ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
797
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
798
|
+
[1m[35mSQL (0.3ms)[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", "2018-02-15 22:00:57.501540"], ["updated_at", "2018-02-15 22:00:57.501540"]]
|
799
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
800
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
801
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
802
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
803
|
+
[1m[35m (3.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
804
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
805
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
806
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
807
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
808
|
+
[1m[35m (124.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_development"[0m
|
809
|
+
[1m[35m (119.9ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_test"[0m
|
810
|
+
[1m[35m (33.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
811
|
+
[1m[35m (4.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
|
812
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
813
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
814
|
+
Migrating to CreateEnrollments (20170905192509)
|
815
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
816
|
+
[1m[35m (9.6ms)[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
|
817
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
818
|
+
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
819
|
+
[1m[35m (6.9ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
820
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170905192509"]]
|
821
|
+
[1m[35m (6.0ms)[0m [1m[35mCOMMIT[0m
|
822
|
+
Migrating to CreateTerms (20170906193506)
|
823
|
+
[1m[35m (6.2ms)[0m [1m[35mBEGIN[0m
|
824
|
+
[1m[35m (4.7ms)[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
|
825
|
+
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
826
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170906193506"]]
|
827
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
828
|
+
Migrating to CreateCourses (20170914181345)
|
829
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
830
|
+
[1m[35m (3.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
|
831
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
832
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170914181345"]]
|
833
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
834
|
+
Migrating to CreateCanvasSyncJobLog (20170915210836)
|
835
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
836
|
+
[1m[35m (10.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
|
837
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170915210836"]]
|
838
|
+
[1m[35m (5.7ms)[0m [1m[35mCOMMIT[0m
|
839
|
+
Migrating to CreateUsers (20170918221413)
|
840
|
+
[1m[35m (5.5ms)[0m [1m[35mBEGIN[0m
|
841
|
+
[1m[35m (7.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
|
842
|
+
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
843
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170918221413"]]
|
844
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
845
|
+
Migrating to CreateSections (20171107213207)
|
846
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
847
|
+
[1m[35m (3.6ms)[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
|
848
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
849
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
850
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20171107213207"]]
|
851
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
852
|
+
Migrating to CreateRoles (20180103162102)
|
853
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
854
|
+
[1m[35m (4.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
|
855
|
+
[1m[35m (6.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")[0m
|
856
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180103162102"]]
|
857
|
+
[1m[35m (6.0ms)[0m [1m[35mCOMMIT[0m
|
858
|
+
Migrating to CreateAdmins (20180109210452)
|
859
|
+
[1m[35m (11.8ms)[0m [1m[35mBEGIN[0m
|
860
|
+
[1m[35m (4.9ms)[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
|
861
|
+
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")[0m
|
862
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180109210452"]]
|
863
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
864
|
+
Migrating to CreateSubmissions (20180213235544)
|
865
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
866
|
+
[1m[35m (2.6ms)[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, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
867
|
+
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_submissions_on_canvas_submission_id" ON "submissions" ("canvas_submission_id")[0m
|
868
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")[0m
|
869
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")[0m
|
870
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")[0m
|
871
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180213235544"]]
|
872
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
873
|
+
Migrating to CreateAssignments (20180215214227)
|
874
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
875
|
+
[1m[35m (4.4ms)[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
|
876
|
+
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignments_on_canvas_assignment_id" ON "assignments" ("canvas_assignment_id")[0m
|
877
|
+
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_assignments_on_context_id_and_context_type" ON "assignments" ("context_id", "context_type")[0m
|
878
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180215214227"]]
|
879
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
880
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.0ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
881
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
882
|
+
[1m[35mSQL (0.3ms)[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", "2018-02-15 22:01:29.506349"], ["updated_at", "2018-02-15 22:01:29.506349"]]
|
883
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
884
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
885
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
886
|
+
[1m[35m (2.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
887
|
+
[1m[35m (8.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
888
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
889
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
890
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
891
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
892
|
+
[1m[35m (124.9ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_development"[0m
|
893
|
+
[1m[35m (119.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_test"[0m
|
894
|
+
[1m[35m (12.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
895
|
+
[1m[35m (3.5ms)[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
|
896
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
897
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
898
|
+
Migrating to CreateEnrollments (20170905192509)
|
899
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
900
|
+
[1m[35m (22.0ms)[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
|
901
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
902
|
+
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
903
|
+
[1m[35m (2.0ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
904
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170905192509"]]
|
905
|
+
[1m[35m (6.0ms)[0m [1m[35mCOMMIT[0m
|
906
|
+
Migrating to CreateTerms (20170906193506)
|
907
|
+
[1m[35m (11.0ms)[0m [1m[35mBEGIN[0m
|
908
|
+
[1m[35m (5.9ms)[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
|
909
|
+
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
910
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170906193506"]]
|
911
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
912
|
+
Migrating to CreateCourses (20170914181345)
|
913
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
914
|
+
[1m[35m (4.3ms)[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
|
915
|
+
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
916
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170914181345"]]
|
917
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
918
|
+
Migrating to CreateCanvasSyncJobLog (20170915210836)
|
919
|
+
[1m[35m (5.9ms)[0m [1m[35mBEGIN[0m
|
920
|
+
[1m[35m (21.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
|
921
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170915210836"]]
|
922
|
+
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
923
|
+
Migrating to CreateUsers (20170918221413)
|
924
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
925
|
+
[1m[35m (4.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
|
926
|
+
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
927
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170918221413"]]
|
928
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
929
|
+
Migrating to CreateSections (20171107213207)
|
930
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
931
|
+
[1m[35m (3.7ms)[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
|
932
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
933
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
934
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20171107213207"]]
|
935
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
936
|
+
Migrating to CreateRoles (20180103162102)
|
937
|
+
[1m[35m (6.2ms)[0m [1m[35mBEGIN[0m
|
938
|
+
[1m[35m (23.5ms)[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
|
939
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")[0m
|
940
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180103162102"]]
|
941
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
942
|
+
Migrating to CreateAdmins (20180109210452)
|
943
|
+
[1m[35m (6.1ms)[0m [1m[35mBEGIN[0m
|
944
|
+
[1m[35m (18.7ms)[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
|
945
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")[0m
|
946
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180109210452"]]
|
947
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
948
|
+
Migrating to CreateSubmissions (20180213235544)
|
949
|
+
[1m[35m (11.6ms)[0m [1m[35mBEGIN[0m
|
950
|
+
[1m[35m (9.5ms)[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, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
951
|
+
[1m[35m (1.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_submissions_on_canvas_submission_id" ON "submissions" ("canvas_submission_id")[0m
|
952
|
+
[1m[35m (2.0ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")[0m
|
953
|
+
[1m[35m (7.4ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")[0m
|
954
|
+
[1m[35m (14.5ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")[0m
|
955
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180213235544"]]
|
956
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
957
|
+
Migrating to CreateAssignments (20180215214227)
|
958
|
+
[1m[35m (15.5ms)[0m [1m[35mBEGIN[0m
|
959
|
+
[1m[35m (12.1ms)[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
|
960
|
+
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignments_on_canvas_assignment_id" ON "assignments" ("canvas_assignment_id")[0m
|
961
|
+
[1m[35m (2.1ms)[0m [1m[35mCREATE INDEX "index_assignments_on_context_id_and_context_type" ON "assignments" ("context_id", "context_type")[0m
|
962
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180215214227"]]
|
963
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
964
|
+
[1m[36mActiveRecord::InternalMetadata Load (1.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
965
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
966
|
+
[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", "development"], ["created_at", "2018-02-15 22:04:30.044556"], ["updated_at", "2018-02-15 22:04:30.044556"]]
|
967
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
968
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
969
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
970
|
+
[1m[35m (2.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
971
|
+
[1m[35m (7.7ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
972
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
973
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
974
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
975
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
976
|
+
[1m[35m (124.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_development"[0m
|
977
|
+
[1m[35m (120.9ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_test"[0m
|
978
|
+
[1m[35m (8.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
979
|
+
[1m[35m (3.8ms)[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
|
980
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
981
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
982
|
+
Migrating to CreateEnrollments (20170905192509)
|
983
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
984
|
+
[1m[35m (21.8ms)[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
|
985
|
+
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
986
|
+
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
987
|
+
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
988
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170905192509"]]
|
989
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
990
|
+
Migrating to CreateTerms (20170906193506)
|
991
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
992
|
+
[1m[35m (4.1ms)[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
|
993
|
+
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
994
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170906193506"]]
|
995
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
996
|
+
Migrating to CreateCourses (20170914181345)
|
997
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
998
|
+
[1m[35m (4.1ms)[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
|
999
|
+
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
1000
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170914181345"]]
|
1001
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
1002
|
+
Migrating to CreateCanvasSyncJobLog (20170915210836)
|
1003
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1004
|
+
[1m[35m (3.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
|
1005
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170915210836"]]
|
1006
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
1007
|
+
Migrating to CreateUsers (20170918221413)
|
1008
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1009
|
+
[1m[35m (3.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
|
1010
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
1011
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170918221413"]]
|
1012
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
1013
|
+
Migrating to CreateSections (20171107213207)
|
1014
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1015
|
+
[1m[35m (3.3ms)[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
|
1016
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
1017
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
1018
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20171107213207"]]
|
1019
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
1020
|
+
Migrating to CreateRoles (20180103162102)
|
1021
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1022
|
+
[1m[35m (3.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
|
1023
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")[0m
|
1024
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180103162102"]]
|
1025
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1026
|
+
Migrating to CreateAdmins (20180109210452)
|
1027
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1028
|
+
[1m[35m (3.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
|
1029
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")[0m
|
1030
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180109210452"]]
|
1031
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1032
|
+
Migrating to CreateSubmissions (20180213235544)
|
1033
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1034
|
+
[1m[35m (2.9ms)[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, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1035
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_submissions_on_canvas_submission_id" ON "submissions" ("canvas_submission_id")[0m
|
1036
|
+
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")[0m
|
1037
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")[0m
|
1038
|
+
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")[0m
|
1039
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180213235544"]]
|
1040
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
1041
|
+
Migrating to CreateAssignments (20180215214227)
|
1042
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1043
|
+
[1m[35m (4.0ms)[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
|
1044
|
+
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignments_on_canvas_assignment_id" ON "assignments" ("canvas_assignment_id")[0m
|
1045
|
+
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_assignments_on_context_id_and_context_type" ON "assignments" ("context_id", "context_type")[0m
|
1046
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180215214227"]]
|
1047
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
1048
|
+
Migrating to CreateAssignmentGroups (20180215220605)
|
1049
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1050
|
+
[1m[35m (4.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, "default_assignment_name" character varying, "position" integer, "assignment_weighting_scheme" text, "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
|
1051
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignment_groups_on_canvas_assignment_group_id" ON "assignment_groups" ("canvas_assignment_group_id")[0m
|
1052
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_assignment_groups_on_canvas_course_id" ON "assignment_groups" ("canvas_course_id")[0m
|
1053
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180215220605"]]
|
1054
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
1055
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.9ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1056
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1057
|
+
[1m[35mSQL (0.3ms)[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", "2018-02-15 22:06:17.250893"], ["updated_at", "2018-02-15 22:06:17.250893"]]
|
1058
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
1059
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
1060
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|