canvas_sync 0.17.20 → 0.17.23.beta5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +24 -1
- data/config/initializers/apartment.rb +10 -0
- data/lib/canvas_sync/concerns/sync_mapping.rb +114 -0
- data/lib/canvas_sync/generators/install_generator.rb +1 -0
- data/lib/canvas_sync/generators/templates/migrations/create_grading_period_groups.rb +22 -0
- data/lib/canvas_sync/generators/templates/migrations/create_grading_periods.rb +22 -0
- data/lib/canvas_sync/generators/templates/migrations/create_user_observers.rb +17 -0
- data/lib/canvas_sync/generators/templates/models/grading_period.rb +8 -0
- data/lib/canvas_sync/generators/templates/models/grading_period_group.rb +9 -0
- data/lib/canvas_sync/generators/templates/models/term.rb +1 -0
- data/lib/canvas_sync/generators/templates/models/user_observer.rb +11 -0
- data/lib/canvas_sync/importers/bulk_importer.rb +27 -16
- data/lib/canvas_sync/job_batches/chain_builder.rb +1 -1
- data/lib/canvas_sync/processors/assignment_groups_processor.rb +1 -7
- data/lib/canvas_sync/processors/assignments_processor.rb +1 -7
- data/lib/canvas_sync/processors/context_module_items_processor.rb +1 -7
- data/lib/canvas_sync/processors/context_modules_processor.rb +1 -7
- data/lib/canvas_sync/processors/model_mappings.yml +68 -0
- data/lib/canvas_sync/processors/normal_processor.rb +3 -3
- data/lib/canvas_sync/processors/provisioning_report_processor.rb +21 -63
- data/lib/canvas_sync/processors/report_processor.rb +14 -9
- data/lib/canvas_sync/processors/submissions_processor.rb +1 -7
- data/lib/canvas_sync/record.rb +4 -0
- data/lib/canvas_sync/version.rb +1 -1
- data/lib/canvas_sync.rb +4 -1
- data/spec/canvas_sync/processors/provisioning_report_processor_spec.rb +40 -0
- data/spec/dummy/app/models/grading_period.rb +14 -0
- data/spec/dummy/app/models/grading_period_group.rb +15 -0
- data/spec/dummy/app/models/user_observer.rb +17 -0
- data/spec/dummy/db/migrate/20210907233329_create_user_observers.rb +23 -0
- data/spec/dummy/db/migrate/20210907233330_create_grading_periods.rb +28 -0
- data/spec/dummy/db/migrate/20210907233331_create_grading_period_groups.rb +28 -0
- data/spec/dummy/db/schema.rb +42 -1
- data/spec/dummy/log/development.log +1105 -1186
- data/spec/dummy/log/test.log +9781 -42513
- data/spec/support/fixtures/reports/grading_period_groups.csv +2 -0
- data/spec/support/fixtures/reports/grading_periods.csv +3 -0
- data/spec/support/fixtures/reports/user_observers.csv +3 -0
- metadata +34 -25
- data/spec/dummy/db/test.sqlite3 +0 -0
@@ -1,1248 +1,1167 @@
|
|
1
|
-
[1m[35m (16.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
2
|
-
[1m[35m (19.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
|
3
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
4
|
-
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
5
|
-
Migrating to CreateEnrollments (20170905192509)
|
6
|
-
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
7
|
-
[1m[35m (25.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
|
8
|
-
[1m[35m (1.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
9
|
-
[1m[35m (4.2ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
10
|
-
[1m[35m (2.0ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
11
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170905192509"]]
|
12
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
13
|
-
Migrating to CreateTerms (20170906193506)
|
14
|
-
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
15
|
-
[1m[35m (4.3ms)[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
|
16
|
-
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
17
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170906193506"]]
|
18
|
-
[1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
|
19
|
-
Migrating to CreateCourses (20170914181345)
|
20
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
21
|
-
[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
|
22
|
-
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
23
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170914181345"]]
|
24
|
-
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
25
|
-
Migrating to CreateCanvasSyncJobLog (20170915210836)
|
26
|
-
[1m[35m (8.2ms)[0m [1m[35mBEGIN[0m
|
27
|
-
[1m[35m (41.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
|
28
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170915210836"]]
|
29
|
-
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
30
|
-
Migrating to CreateUsers (20170918221413)
|
31
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
32
|
-
[1m[35m (4.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
|
33
|
-
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
34
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170918221413"]]
|
35
|
-
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
36
|
-
Migrating to CreateSections (20171107213207)
|
37
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
38
|
-
[1m[35m (4.1ms)[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
|
39
|
-
[1m[35m (1.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
40
|
-
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
41
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20171107213207"]]
|
42
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
43
|
-
Migrating to CreateRoles (20180103162102)
|
44
|
-
[1m[35m (10.7ms)[0m [1m[35mBEGIN[0m
|
45
|
-
[1m[35m (16.2ms)[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
|
46
|
-
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")[0m
|
47
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180103162102"]]
|
48
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
49
|
-
[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]]
|
50
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
51
|
-
[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-01-03 16:29:37.282741"], ["updated_at", "2018-01-03 16:29:37.282741"]]
|
52
|
-
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
53
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
54
|
-
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
55
|
-
[1m[35m (0.8ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
56
|
-
[1m[35m (11.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
57
|
-
Migrating to CreateAdmins (20180109210452)
|
58
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
59
|
-
[1m[35m (23.4ms)[0m [1m[35mCREATE TABLE "admins" ("id" bigserial primary key, "canvas_admin_id" bigint NOT NULL, "role" character varying, "canvas_role_id" bigint NOT NULL, "user" json, "canvas_user_id" bigint NOT NULL, "workflow_state" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
60
|
-
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")[0m
|
61
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180109210452"]]
|
62
|
-
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
63
|
-
[1m[36mActiveRecord::InternalMetadata Load (2.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
64
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
65
|
-
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
66
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
67
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
68
|
-
[1m[35m (2.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
69
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
70
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
71
|
-
Migrating to CreateAdmins (20180109210452)
|
72
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
73
|
-
[1m[35m (3.1ms)[0m [1m[35mDROP INDEX "index_admins_on_canvas_admin_id"[0m
|
74
|
-
[1m[35m (3.3ms)[0m [1m[35mDROP TABLE "admins"[0m
|
75
|
-
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = $1[0m [["version", "20180109210452"]]
|
76
|
-
[1m[35m (6.0ms)[0m [1m[35mCOMMIT[0m
|
77
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
78
|
-
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
79
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
80
|
-
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
81
|
-
Migrating to CreateAdmins (20180109210452)
|
82
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
83
|
-
[1m[35m (10.8ms)[0m [1m[35mCREATE TABLE "admins" ("id" bigserial primary key, "canvas_admin_id" bigint NOT NULL, "role" character varying, "canvas_role_id" bigint NOT NULL, "user" json, "canvas_user_id" bigint NOT NULL, "workflow_state" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
84
|
-
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")[0m
|
85
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180109210452"]]
|
86
|
-
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
|
87
|
-
[1m[36mActiveRecord::InternalMetadata Load (1.9ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
88
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
89
|
-
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
90
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
91
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
92
|
-
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
93
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
94
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
95
|
-
Migrating to CreateAdmins (20180109210452)
|
96
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
97
|
-
[1m[35m (0.5ms)[0m [1m[35mDROP INDEX "index_admins_on_canvas_admin_id"[0m
|
98
|
-
[1m[35m (0.7ms)[0m [1m[35mDROP TABLE "admins"[0m
|
99
|
-
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = $1[0m [["version", "20180109210452"]]
|
100
|
-
[1m[35m (22.8ms)[0m [1m[35mCOMMIT[0m
|
101
|
-
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
102
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
103
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
104
1
|
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
105
|
-
|
106
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
107
|
-
[1m[35m (9.0ms)[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
|
108
|
-
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")[0m
|
109
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180109210452"]]
|
110
|
-
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
|
111
|
-
[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]]
|
112
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
113
|
-
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
114
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
115
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
116
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
117
|
-
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
118
|
-
[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]]
|
119
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
120
|
-
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
121
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
122
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
123
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
124
|
-
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
125
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
126
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
127
|
-
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
128
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
129
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
130
|
-
[1m[35m (2.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
131
|
-
[1m[35m (8.0ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
132
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
133
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
2
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
134
3
|
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
135
4
|
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
136
|
-
[1m[35m (165.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_development"[0m
|
137
|
-
[1m[35m (127.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_test"[0m
|
138
|
-
[1m[35m (28.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
139
|
-
[1m[35m (5.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
140
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
141
|
-
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
142
|
-
Migrating to CreateEnrollments (20170905192509)
|
143
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
144
|
-
[1m[35m (5.3ms)[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
|
145
|
-
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
146
|
-
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
147
|
-
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
148
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170905192509"]]
|
149
|
-
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
150
|
-
Migrating to CreateTerms (20170906193506)
|
151
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
152
|
-
[1m[35m (3.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
|
153
|
-
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
154
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170906193506"]]
|
155
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
156
|
-
Migrating to CreateCourses (20170914181345)
|
157
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
158
|
-
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "courses" ("id" bigserial primary key, "canvas_course_id" bigint NOT NULL, "sis_id" character varying, "short_name" character varying, "long_name" character varying, "status" character varying, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
159
|
-
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
160
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170914181345"]]
|
161
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
162
|
-
Migrating to CreateCanvasSyncJobLog (20170915210836)
|
163
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
164
|
-
[1m[35m (4.0ms)[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
|
165
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170915210836"]]
|
166
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
167
|
-
Migrating to CreateUsers (20170918221413)
|
168
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
169
|
-
[1m[35m (4.0ms)[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
|
170
|
-
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
171
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170918221413"]]
|
172
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
173
|
-
Migrating to CreateSections (20171107213207)
|
174
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
175
|
-
[1m[35m (4.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
|
176
|
-
[1m[35m (1.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
177
|
-
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
178
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20171107213207"]]
|
179
|
-
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
180
|
-
Migrating to CreateRoles (20180103162102)
|
181
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
182
|
-
[1m[35m (3.7ms)[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
|
183
|
-
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")[0m
|
184
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180103162102"]]
|
185
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
186
|
-
Migrating to CreateAdmins (20180109210452)
|
187
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
188
|
-
[1m[35m (3.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
|
189
|
-
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")[0m
|
190
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180109210452"]]
|
191
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
192
|
-
Migrating to CreateAssignments (20180212204530)
|
193
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
194
|
-
[1m[35m (4.5ms)[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, "assignment_group_id" integer, "grading_scheme_id" integer, "grading_standard_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
195
|
-
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignments_on_canvas_assignment_id" ON "assignments" ("canvas_assignment_id")[0m
|
196
|
-
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_assignments_on_context_id_and_context_type" ON "assignments" ("context_id", "context_type")[0m
|
197
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180212204530"]]
|
198
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
199
|
-
Migrating to CreateSubmissions (20180213232302)
|
200
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
201
|
-
[1m[35m (2.3ms)[0m [1m[35mCREATE TABLE "submissions" ("id" bigserial primary key, "canvas_submission_id" bigint NOT NULL, "canvas_course_id" bigint NOT NULL, "canvas_assignment_id" bigint NOT NULL, "canvas_user_id" bigint NOT NULL, "submission_date" timestamp, "graded_date" timestamp, "score" integer, "points_possible" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
202
|
-
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_submissions_on_canvas_submission_id" ON "submissions" ("canvas_submission_id")[0m
|
203
|
-
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")[0m
|
204
|
-
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")[0m
|
205
|
-
[1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")[0m
|
206
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180213232302"]]
|
207
|
-
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
208
|
-
[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]]
|
209
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
210
|
-
[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-13 23:23:14.681205"], ["updated_at", "2018-02-13 23:23:14.681205"]]
|
211
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
212
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
213
5
|
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
214
|
-
[1m[35m (2.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
215
|
-
[1m[35m (15.9ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
216
|
-
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
217
6
|
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
218
|
-
[1m[35m (
|
219
|
-
[1m[35m (
|
220
|
-
[1m[35m (
|
221
|
-
[1m[35m (
|
222
|
-
[1m[35m (
|
223
|
-
[1m[35m (
|
224
|
-
[1m[35m (0.
|
225
|
-
[1m[35m (
|
226
|
-
Migrating to CreateEnrollments (20170905192509)
|
227
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
228
|
-
[1m[35m (15.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
|
229
|
-
[1m[35m (5.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
230
|
-
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
231
|
-
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
232
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170905192509"]]
|
233
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
234
|
-
Migrating to CreateTerms (20170906193506)
|
235
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
236
|
-
[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
|
237
|
-
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
238
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170906193506"]]
|
239
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
240
|
-
Migrating to CreateCourses (20170914181345)
|
241
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
242
|
-
[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
|
243
|
-
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
244
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170914181345"]]
|
245
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
246
|
-
Migrating to CreateCanvasSyncJobLog (20170915210836)
|
247
|
-
[1m[35m (6.1ms)[0m [1m[35mBEGIN[0m
|
248
|
-
[1m[35m (21.2ms)[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
|
249
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170915210836"]]
|
250
|
-
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
251
|
-
Migrating to CreateUsers (20170918221413)
|
252
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
253
|
-
[1m[35m (5.1ms)[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
|
254
|
-
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
255
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170918221413"]]
|
256
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
257
|
-
Migrating to CreateSections (20171107213207)
|
258
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
259
|
-
[1m[35m (3.9ms)[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
|
260
|
-
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
261
|
-
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
262
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20171107213207"]]
|
263
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
264
|
-
Migrating to CreateRoles (20180103162102)
|
265
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
266
|
-
[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
|
267
|
-
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")[0m
|
268
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180103162102"]]
|
269
|
-
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
270
|
-
Migrating to CreateAdmins (20180109210452)
|
271
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
272
|
-
[1m[35m (4.0ms)[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
|
273
|
-
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")[0m
|
274
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180109210452"]]
|
275
|
-
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
276
|
-
Migrating to CreateAssignments (20180212204530)
|
277
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
278
|
-
[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, "assignment_group_id" integer, "grading_scheme_id" integer, "grading_standard_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
279
|
-
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignments_on_canvas_assignment_id" ON "assignments" ("canvas_assignment_id")[0m
|
280
|
-
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_assignments_on_context_id_and_context_type" ON "assignments" ("context_id", "context_type")[0m
|
281
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180212204530"]]
|
282
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
283
|
-
Migrating to CreateSubmissions (20180213234230)
|
284
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
285
|
-
[1m[35m (2.6ms)[0m [1m[35mCREATE TABLE "submissions" ("id" bigserial primary key, "canvas_submission_id" bigint NOT NULL, "canvas_course_id" bigint NOT NULL, "canvas_assignment_id" bigint NOT NULL, "canvas_user_id" bigint NOT NULL, "submitted_at" timestamp, "graded_at" timestamp, "score" integer, "points_possible" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
286
|
-
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_submissions_on_canvas_submission_id" ON "submissions" ("canvas_submission_id")[0m
|
287
|
-
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")[0m
|
288
|
-
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")[0m
|
289
|
-
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")[0m
|
290
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180213234230"]]
|
291
|
-
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
292
|
-
[1m[36mActiveRecord::InternalMetadata Load (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
293
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
294
|
-
[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-13 23:42:42.931090"], ["updated_at", "2018-02-13 23:42:42.931090"]]
|
295
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
296
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
297
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
298
|
-
[1m[35m (2.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
299
|
-
[1m[35m (0.9ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
300
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
301
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
302
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
303
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
304
|
-
[1m[35m (140.2ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_development"[0m
|
305
|
-
[1m[35m (126.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_test"[0m
|
306
|
-
[1m[35m (19.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
307
|
-
[1m[35m (4.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
|
308
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
309
|
-
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
310
|
-
Migrating to CreateEnrollments (20170905192509)
|
311
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
312
|
-
[1m[35m (16.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
|
313
|
-
[1m[35m (4.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
314
|
-
[1m[35m (7.3ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
315
|
-
[1m[35m (7.6ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
316
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170905192509"]]
|
317
|
-
[1m[35m (5.9ms)[0m [1m[35mCOMMIT[0m
|
318
|
-
Migrating to CreateTerms (20170906193506)
|
319
|
-
[1m[35m (9.7ms)[0m [1m[35mBEGIN[0m
|
320
|
-
[1m[35m (5.6ms)[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
|
321
|
-
[1m[35m (1.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
322
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170906193506"]]
|
323
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
324
|
-
Migrating to CreateCourses (20170914181345)
|
325
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
326
|
-
[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
|
327
|
-
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
328
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170914181345"]]
|
329
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
7
|
+
[1m[35m (54.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_development"[0m
|
8
|
+
[1m[35m (50.9ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_test"[0m
|
9
|
+
[1m[35m (108.5ms)[0m [1m[35mCREATE DATABASE "canvas_sync_development" ENCODING = 'unicode'[0m
|
10
|
+
[1m[35m (114.3ms)[0m [1m[35mCREATE DATABASE "canvas_sync_test" ENCODING = 'unicode'[0m
|
11
|
+
[1m[35m (17.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
12
|
+
[1m[35m (9.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
13
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
14
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
330
15
|
Migrating to CreateCanvasSyncJobLog (20170915210836)
|
331
|
-
[1m[35m (5.7ms)[0m [1m[35mBEGIN[0m
|
332
|
-
[1m[35m (17.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
|
333
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170915210836"]]
|
334
|
-
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
335
|
-
Migrating to CreateUsers (20170918221413)
|
336
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
337
|
-
[1m[35m (5.1ms)[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
|
338
|
-
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
339
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170918221413"]]
|
340
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
341
|
-
Migrating to CreateSections (20171107213207)
|
342
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
343
|
-
[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
|
344
|
-
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
345
|
-
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
346
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20171107213207"]]
|
347
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
348
|
-
Migrating to CreateRoles (20180103162102)
|
349
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
350
|
-
[1m[35m (3.8ms)[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
|
351
|
-
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")[0m
|
352
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180103162102"]]
|
353
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
354
|
-
Migrating to CreateAdmins (20180109210452)
|
355
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
356
|
-
[1m[35m (4.8ms)[0m [1m[35mCREATE TABLE "admins" ("id" bigserial primary key, "canvas_admin_id" bigint NOT NULL, "role_name" character varying, "canvas_role_id" bigint NOT NULL, "user_data" json, "canvas_user_id" bigint NOT NULL, "workflow_state" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
357
|
-
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")[0m
|
358
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180109210452"]]
|
359
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
360
|
-
Migrating to CreateAssignments (20180212204530)
|
361
16
|
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
362
|
-
[1m[35m (
|
363
|
-
[1m[
|
364
|
-
[1m[35m (1.
|
365
|
-
|
366
|
-
[1m[35m (0.
|
367
|
-
|
17
|
+
[1m[35m (9.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
|
18
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170915210836"]]
|
19
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
20
|
+
Migrating to AddJobIdToCanvasSyncJobLogs (20180725155729)
|
21
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
22
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "canvas_sync_job_logs" ADD "job_id" character varying[0m
|
23
|
+
[1m[35m (4.7ms)[0m [1m[35mCREATE INDEX "index_canvas_sync_job_logs_on_job_id" ON "canvas_sync_job_logs" ("job_id")[0m
|
24
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180725155729"]]
|
25
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
26
|
+
Migrating to CreateUsers (20190702203620)
|
27
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
28
|
+
[1m[35m (10.8ms)[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
|
29
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_id" ON "users" ("canvas_id")[0m
|
30
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203620"]]
|
31
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
32
|
+
Migrating to CreateCourses (20190702203621)
|
33
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
34
|
+
[1m[35m (10.8ms)[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
|
35
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_id" ON "courses" ("canvas_id")[0m
|
36
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203621"]]
|
37
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
38
|
+
Migrating to CreateAccounts (20190702203622)
|
39
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
40
|
+
[1m[35m (10.9ms)[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
|
41
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_accounts_on_canvas_id" ON "accounts" ("canvas_id")[0m
|
42
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203622"]]
|
43
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
44
|
+
Migrating to CreateTerms (20190702203623)
|
45
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
46
|
+
[1m[35m (9.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
|
47
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_id" ON "terms" ("canvas_id")[0m
|
48
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203623"]]
|
49
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
50
|
+
Migrating to CreateEnrollments (20190702203624)
|
51
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
52
|
+
[1m[35m (8.0ms)[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
|
53
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_id" ON "enrollments" ("canvas_id")[0m
|
54
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
55
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
56
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203624"]]
|
57
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
58
|
+
Migrating to CreateSections (20190702203625)
|
59
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
60
|
+
[1m[35m (9.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
|
61
|
+
[1m[35m (4.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_id" ON "sections" ("canvas_id")[0m
|
62
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
63
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203625"]]
|
64
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
65
|
+
Migrating to CreateAssignments (20190702203626)
|
66
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
67
|
+
[1m[35m (12.3ms)[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
|
68
|
+
[1m[35m (4.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignments_on_canvas_id" ON "assignments" ("canvas_id")[0m
|
69
|
+
[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
|
70
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203626"]]
|
71
|
+
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
72
|
+
Migrating to CreateSubmissions (20190702203627)
|
73
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
74
|
+
[1m[35m (12.3ms)[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
|
75
|
+
[1m[35m (4.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_submissions_on_canvas_id" ON "submissions" ("canvas_id")[0m
|
76
|
+
[1m[35m (4.8ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")[0m
|
77
|
+
[1m[35m (4.8ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")[0m
|
78
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")[0m
|
79
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203627"]]
|
80
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
81
|
+
Migrating to CreateAssignmentGroups (20190702203630)
|
82
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
83
|
+
[1m[35m (11.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
|
84
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignment_groups_on_canvas_id" ON "assignment_groups" ("canvas_id")[0m
|
85
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE INDEX "index_assignment_groups_on_canvas_course_id" ON "assignment_groups" ("canvas_course_id")[0m
|
86
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203630"]]
|
87
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
88
|
+
Migrating to CreateContextModules (20190702203631)
|
89
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
90
|
+
[1m[35m (11.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
|
91
|
+
[1m[35m (5.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_modules_on_canvas_id" ON "context_modules" ("canvas_id")[0m
|
92
|
+
[1m[35m (4.9ms)[0m [1m[35mCREATE INDEX "index_context_modules_on_context" ON "context_modules" ("canvas_context_id", "canvas_context_type")[0m
|
93
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203631"]]
|
94
|
+
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
95
|
+
Migrating to CreateContextModuleItems (20190702203632)
|
96
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
97
|
+
[1m[35m (11.2ms)[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
|
98
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_module_items_on_canvas_id" ON "context_module_items" ("canvas_id")[0m
|
99
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE INDEX "index_context_module_items_on_canvas_context_module_id" ON "context_module_items" ("canvas_context_module_id")[0m
|
100
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203632"]]
|
101
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
102
|
+
Migrating to AddForkCountToCanvasSyncJobLogs (20190916154829)
|
103
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
104
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "canvas_sync_job_logs" ADD "fork_count" integer[0m
|
105
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190916154829"]]
|
106
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
107
|
+
Migrating to CreateRoles (20190927204545)
|
368
108
|
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
369
|
-
[1m[35m (
|
370
|
-
[1m[35m (
|
371
|
-
[1m[35m (
|
372
|
-
[1m[
|
373
|
-
[1m[35m (1.
|
374
|
-
|
375
|
-
[1m[35m (0.3ms)[0m [1m[
|
376
|
-
[1m[
|
109
|
+
[1m[35m (8.0ms)[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
|
110
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_roles_on_canvas_id" ON "roles" ("canvas_id")[0m
|
111
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE INDEX "index_roles_on_canvas_account_id" ON "roles" ("canvas_account_id")[0m
|
112
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190927204545"]]
|
113
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
114
|
+
Migrating to CreateAdmins (20190927204546)
|
115
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
116
|
+
[1m[35m (8.8ms)[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
|
117
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_id" ON "admins" ("canvas_id")[0m
|
118
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_role_id" ON "admins" ("canvas_role_id")[0m
|
119
|
+
[1m[35m (7.0ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_user_id" ON "admins" ("canvas_user_id")[0m
|
120
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_account_id" ON "admins" ("canvas_account_id")[0m
|
121
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190927204546"]]
|
122
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
123
|
+
Migrating to CreateGroups (20200415171620)
|
377
124
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
378
|
-
[1m[
|
379
|
-
[1m[35m (
|
125
|
+
[1m[35m (8.2ms)[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
|
126
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_groups_on_canvas_id" ON "groups" ("canvas_id")[0m
|
127
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200415171620"]]
|
128
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
129
|
+
Migrating to CreateGroupMemberships (20200416214248)
|
130
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
131
|
+
[1m[35m (8.1ms)[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
|
132
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_group_memberships_on_canvas_id" ON "group_memberships" ("canvas_id")[0m
|
133
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200416214248"]]
|
134
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
135
|
+
Migrating to CreatePseudonyms (20201016181346)
|
136
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
137
|
+
[1m[35m (8.2ms)[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
|
138
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pseudonyms_on_canvas_id" ON "pseudonyms" ("canvas_id")[0m
|
139
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_pseudonyms_on_canvas_user_id" ON "pseudonyms" ("canvas_user_id")[0m
|
140
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201016181346"]]
|
141
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
142
|
+
Migrating to CreateCanvasSyncSyncBatches (20201018210836)
|
143
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
144
|
+
[1m[35m (8.3ms)[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
|
145
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201018210836"]]
|
146
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
147
|
+
Migrating to AddFullSyncToCanvasSyncSyncBatch (20201030210836)
|
148
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
149
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "full_sync" boolean DEFAULT FALSE[0m
|
150
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "batch_genre" character varying[0m
|
151
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "batch_bid" character varying[0m
|
152
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201030210836"]]
|
153
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
154
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
155
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
156
|
+
[1m[36mActiveRecord::InternalMetadata Create (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", "2021-09-07 23:25:24.331448"], ["updated_at", "2021-09-07 23:25:24.331448"]]
|
157
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
380
158
|
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
159
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
160
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
161
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
381
162
|
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
382
|
-
[1m[35m (
|
383
|
-
[1m[35m (1.8ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
384
|
-
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
385
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
163
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
386
164
|
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
387
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
388
|
-
[1m[35m (125.9ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_development"[0m
|
389
|
-
[1m[35m (128.6ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_test"[0m
|
390
|
-
[1m[35m (13.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
391
|
-
[1m[35m (4.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
|
392
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
393
|
-
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
394
|
-
Migrating to CreateEnrollments (20170905192509)
|
395
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
396
|
-
[1m[35m (4.5ms)[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
|
397
|
-
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
398
|
-
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
399
|
-
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
400
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170905192509"]]
|
401
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
402
|
-
Migrating to CreateTerms (20170906193506)
|
403
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
404
|
-
[1m[35m (3.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
|
405
|
-
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
406
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170906193506"]]
|
407
|
-
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
408
|
-
Migrating to CreateCourses (20170914181345)
|
409
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
410
|
-
[1m[35m (4.4ms)[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
|
411
|
-
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
412
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170914181345"]]
|
413
|
-
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
414
|
-
Migrating to CreateCanvasSyncJobLog (20170915210836)
|
415
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
416
|
-
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "canvas_sync_job_logs" ("id" bigserial primary key, "started_at" timestamp, "completed_at" timestamp, "exception" character varying, "backtrace" text, "job_class" character varying, "status" character varying, "metadata" text, "job_arguments" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
417
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170915210836"]]
|
418
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
419
|
-
Migrating to CreateUsers (20170918221413)
|
420
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
421
|
-
[1m[35m (4.0ms)[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
|
422
|
-
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
423
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170918221413"]]
|
424
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
425
|
-
Migrating to CreateSections (20171107213207)
|
426
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
427
|
-
[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
|
428
|
-
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
429
|
-
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
430
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20171107213207"]]
|
431
|
-
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
432
|
-
Migrating to CreateRoles (20180103162102)
|
433
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
434
|
-
[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
|
435
|
-
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")[0m
|
436
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180103162102"]]
|
437
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
438
|
-
Migrating to CreateAdmins (20180109210452)
|
439
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
440
|
-
[1m[35m (3.6ms)[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
|
441
|
-
[1m[35m (1.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")[0m
|
442
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180109210452"]]
|
443
|
-
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
444
|
-
Migrating to CreateAssignments (20180212204530)
|
445
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
446
|
-
[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, "assignment_group_id" integer, "grading_scheme_id" integer, "grading_standard_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
447
|
-
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignments_on_canvas_assignment_id" ON "assignments" ("canvas_assignment_id")[0m
|
448
|
-
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_assignments_on_context_id_and_context_type" ON "assignments" ("context_id", "context_type")[0m
|
449
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180212204530"]]
|
450
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
451
|
-
Migrating to CreateSubmissions (20180213235544)
|
452
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
453
|
-
[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
|
454
|
-
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_submissions_on_canvas_submission_id" ON "submissions" ("canvas_submission_id")[0m
|
455
|
-
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")[0m
|
456
|
-
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")[0m
|
457
|
-
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")[0m
|
458
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180213235544"]]
|
459
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
460
|
-
[1m[36mActiveRecord::InternalMetadata Load (1.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
461
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
462
|
-
[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-13 23:57:20.233403"], ["updated_at", "2018-02-13 23:57:20.233403"]]
|
463
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
464
|
-
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
465
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
466
|
-
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
467
|
-
[1m[35m (14.7ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
468
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
469
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
470
|
-
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
471
165
|
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
472
|
-
[1m[35m (
|
473
|
-
[1m[35m (
|
474
|
-
[1m[35m (
|
475
|
-
[1m[35m (
|
166
|
+
[1m[35m (48.2ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_development"[0m
|
167
|
+
[1m[35m (52.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_test"[0m
|
168
|
+
[1m[35m (143.1ms)[0m [1m[35mCREATE DATABASE "canvas_sync_development" ENCODING = 'unicode'[0m
|
169
|
+
[1m[35m (116.4ms)[0m [1m[35mCREATE DATABASE "canvas_sync_test" ENCODING = 'unicode'[0m
|
170
|
+
[1m[35m (18.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
171
|
+
[1m[35m (9.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
476
172
|
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
477
|
-
[1m[35m (
|
478
|
-
Migrating to CreateEnrollments (20170905192509)
|
479
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
480
|
-
[1m[35m (4.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
|
481
|
-
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
482
|
-
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
483
|
-
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
484
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170905192509"]]
|
485
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
486
|
-
Migrating to CreateTerms (20170906193506)
|
487
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
488
|
-
[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
|
489
|
-
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
490
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170906193506"]]
|
491
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
492
|
-
Migrating to CreateCourses (20170914181345)
|
493
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
494
|
-
[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
|
495
|
-
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
496
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170914181345"]]
|
497
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
173
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
498
174
|
Migrating to CreateCanvasSyncJobLog (20170915210836)
|
499
175
|
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
500
|
-
[1m[35m (
|
501
|
-
[1m[
|
502
|
-
[1m[35m (
|
503
|
-
Migrating to
|
504
|
-
[1m[35m (0.
|
505
|
-
[1m[35m (
|
506
|
-
[1m[35m (
|
507
|
-
[1m[
|
508
|
-
[1m[35m (
|
509
|
-
Migrating to
|
510
|
-
[1m[35m (0.
|
511
|
-
[1m[35m (
|
512
|
-
[1m[35m (
|
513
|
-
[1m[
|
514
|
-
[1m[
|
515
|
-
|
516
|
-
|
517
|
-
[1m[35m (
|
518
|
-
[1m[35m (
|
519
|
-
[1m[
|
520
|
-
[1m[
|
521
|
-
|
522
|
-
|
523
|
-
[1m[35m (
|
524
|
-
[1m[35m (
|
525
|
-
[1m[
|
526
|
-
[1m[
|
527
|
-
|
528
|
-
|
529
|
-
[1m[35m (
|
530
|
-
[1m[35m (4.
|
531
|
-
[1m[
|
532
|
-
[1m[35m (1.5ms)[0m [1m[
|
533
|
-
|
534
|
-
[1m[35m (0.
|
535
|
-
|
176
|
+
[1m[35m (8.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
|
177
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170915210836"]]
|
178
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
179
|
+
Migrating to AddJobIdToCanvasSyncJobLogs (20180725155729)
|
180
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
181
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "canvas_sync_job_logs" ADD "job_id" character varying[0m
|
182
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_canvas_sync_job_logs_on_job_id" ON "canvas_sync_job_logs" ("job_id")[0m
|
183
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180725155729"]]
|
184
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
185
|
+
Migrating to CreateUsers (20190702203620)
|
186
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
187
|
+
[1m[35m (8.2ms)[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
|
188
|
+
[1m[35m (4.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_id" ON "users" ("canvas_id")[0m
|
189
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203620"]]
|
190
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
191
|
+
Migrating to CreateCourses (20190702203621)
|
192
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
193
|
+
[1m[35m (11.0ms)[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
|
194
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_id" ON "courses" ("canvas_id")[0m
|
195
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203621"]]
|
196
|
+
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
197
|
+
Migrating to CreateAccounts (20190702203622)
|
198
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
199
|
+
[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
|
200
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_accounts_on_canvas_id" ON "accounts" ("canvas_id")[0m
|
201
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203622"]]
|
202
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
203
|
+
Migrating to CreateTerms (20190702203623)
|
204
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
205
|
+
[1m[35m (10.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
|
206
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_id" ON "terms" ("canvas_id")[0m
|
207
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203623"]]
|
208
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
209
|
+
Migrating to CreateEnrollments (20190702203624)
|
210
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
211
|
+
[1m[35m (10.4ms)[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
|
212
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_id" ON "enrollments" ("canvas_id")[0m
|
213
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
214
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
215
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203624"]]
|
216
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
217
|
+
Migrating to CreateSections (20190702203625)
|
218
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
219
|
+
[1m[35m (10.6ms)[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
|
220
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_id" ON "sections" ("canvas_id")[0m
|
221
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
222
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203625"]]
|
223
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
224
|
+
Migrating to CreateAssignments (20190702203626)
|
225
|
+
[1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
|
226
|
+
[1m[35m (12.3ms)[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
|
227
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignments_on_canvas_id" ON "assignments" ("canvas_id")[0m
|
228
|
+
[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
|
229
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203626"]]
|
230
|
+
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
231
|
+
Migrating to CreateSubmissions (20190702203627)
|
232
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
233
|
+
[1m[35m (10.2ms)[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
|
234
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_submissions_on_canvas_id" ON "submissions" ("canvas_id")[0m
|
235
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")[0m
|
236
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")[0m
|
237
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")[0m
|
238
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203627"]]
|
239
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
240
|
+
Migrating to CreateAssignmentGroups (20190702203630)
|
241
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
242
|
+
[1m[35m (8.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
|
243
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignment_groups_on_canvas_id" ON "assignment_groups" ("canvas_id")[0m
|
244
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE INDEX "index_assignment_groups_on_canvas_course_id" ON "assignment_groups" ("canvas_course_id")[0m
|
245
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203630"]]
|
246
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
247
|
+
Migrating to CreateContextModules (20190702203631)
|
248
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
249
|
+
[1m[35m (9.3ms)[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
|
250
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_modules_on_canvas_id" ON "context_modules" ("canvas_id")[0m
|
251
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_context_modules_on_context" ON "context_modules" ("canvas_context_id", "canvas_context_type")[0m
|
252
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203631"]]
|
253
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
254
|
+
Migrating to CreateContextModuleItems (20190702203632)
|
255
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
256
|
+
[1m[35m (7.9ms)[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
|
257
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_module_items_on_canvas_id" ON "context_module_items" ("canvas_id")[0m
|
258
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE INDEX "index_context_module_items_on_canvas_context_module_id" ON "context_module_items" ("canvas_context_module_id")[0m
|
259
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203632"]]
|
260
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
261
|
+
Migrating to AddForkCountToCanvasSyncJobLogs (20190916154829)
|
262
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
263
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "canvas_sync_job_logs" ADD "fork_count" integer[0m
|
264
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190916154829"]]
|
265
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
266
|
+
Migrating to CreateRoles (20190927204545)
|
267
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
268
|
+
[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
|
269
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_roles_on_canvas_id" ON "roles" ("canvas_id")[0m
|
270
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE INDEX "index_roles_on_canvas_account_id" ON "roles" ("canvas_account_id")[0m
|
271
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190927204545"]]
|
272
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
273
|
+
Migrating to CreateAdmins (20190927204546)
|
274
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
275
|
+
[1m[35m (8.4ms)[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
|
276
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_id" ON "admins" ("canvas_id")[0m
|
277
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_role_id" ON "admins" ("canvas_role_id")[0m
|
278
|
+
[1m[35m (3.4ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_user_id" ON "admins" ("canvas_user_id")[0m
|
279
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_account_id" ON "admins" ("canvas_account_id")[0m
|
280
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190927204546"]]
|
281
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
282
|
+
Migrating to CreateGroups (20200415171620)
|
283
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
284
|
+
[1m[35m (8.6ms)[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
|
285
|
+
[1m[35m (3.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_groups_on_canvas_id" ON "groups" ("canvas_id")[0m
|
286
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200415171620"]]
|
287
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
288
|
+
Migrating to CreateGroupMemberships (20200416214248)
|
289
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
290
|
+
[1m[35m (8.4ms)[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
|
291
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_group_memberships_on_canvas_id" ON "group_memberships" ("canvas_id")[0m
|
292
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200416214248"]]
|
293
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
294
|
+
Migrating to CreatePseudonyms (20201016181346)
|
295
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
296
|
+
[1m[35m (11.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
|
297
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pseudonyms_on_canvas_id" ON "pseudonyms" ("canvas_id")[0m
|
298
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE INDEX "index_pseudonyms_on_canvas_user_id" ON "pseudonyms" ("canvas_user_id")[0m
|
299
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201016181346"]]
|
300
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
301
|
+
Migrating to CreateCanvasSyncSyncBatches (20201018210836)
|
302
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
303
|
+
[1m[35m (11.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
|
304
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201018210836"]]
|
305
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
306
|
+
Migrating to AddFullSyncToCanvasSyncSyncBatch (20201030210836)
|
307
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
308
|
+
[1m[35m (0.7ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "full_sync" boolean DEFAULT FALSE[0m
|
309
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "batch_genre" character varying[0m
|
310
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "batch_bid" character varying[0m
|
311
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201030210836"]]
|
312
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
313
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
536
314
|
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
537
|
-
[1m[
|
538
|
-
[1m[35m (1.
|
539
|
-
[1m[35m (
|
540
|
-
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")[0m
|
541
|
-
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")[0m
|
542
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180213235544"]]
|
543
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
544
|
-
[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]]
|
545
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
546
|
-
[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-14 00:29:53.010574"], ["updated_at", "2018-02-14 00:29:53.010574"]]
|
547
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
548
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
315
|
+
[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-09-07 23:28:47.928818"], ["updated_at", "2021-09-07 23:28:47.928818"]]
|
316
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
317
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
549
318
|
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
550
|
-
[1m[35m (
|
551
|
-
[1m[35m (
|
319
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
320
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
552
321
|
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
553
322
|
[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
323
|
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
555
324
|
[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 (
|
557
|
-
[1m[35m (
|
558
|
-
[1m[35m (
|
559
|
-
[1m[35m (
|
560
|
-
[1m[35m (
|
561
|
-
[1m[35m (
|
562
|
-
|
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"]]
|
325
|
+
[1m[35m (55.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_development"[0m
|
326
|
+
[1m[35m (45.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_test"[0m
|
327
|
+
[1m[35m (122.4ms)[0m [1m[35mCREATE DATABASE "canvas_sync_development" ENCODING = 'unicode'[0m
|
328
|
+
[1m[35m (113.3ms)[0m [1m[35mCREATE DATABASE "canvas_sync_test" ENCODING = 'unicode'[0m
|
329
|
+
[1m[35m (18.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
330
|
+
[1m[35m (9.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
|
331
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
636
332
|
[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
333
|
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
334
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
679
|
-
[1m[35m (
|
680
|
-
[1m[
|
681
|
-
[1m[35m (1.1ms)[0m [1m[
|
682
|
-
|
683
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
684
|
-
Migrating to CreateRoles (20180103162102)
|
335
|
+
[1m[35m (8.2ms)[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
|
336
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170915210836"]]
|
337
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
338
|
+
Migrating to AddJobIdToCanvasSyncJobLogs (20180725155729)
|
685
339
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
686
|
-
[1m[35m (
|
687
|
-
[1m[35m (
|
688
|
-
[1m[
|
689
|
-
[1m[35m (
|
690
|
-
Migrating to
|
340
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "canvas_sync_job_logs" ADD "job_id" character varying[0m
|
341
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE INDEX "index_canvas_sync_job_logs_on_job_id" ON "canvas_sync_job_logs" ("job_id")[0m
|
342
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180725155729"]]
|
343
|
+
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
|
344
|
+
Migrating to CreateUsers (20190702203620)
|
345
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
346
|
+
[1m[35m (7.7ms)[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
|
347
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_id" ON "users" ("canvas_id")[0m
|
348
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203620"]]
|
349
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
350
|
+
Migrating to CreateCourses (20190702203621)
|
351
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
352
|
+
[1m[35m (11.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
|
353
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_id" ON "courses" ("canvas_id")[0m
|
354
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203621"]]
|
355
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
356
|
+
Migrating to CreateAccounts (20190702203622)
|
357
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
358
|
+
[1m[35m (11.4ms)[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
|
359
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_accounts_on_canvas_id" ON "accounts" ("canvas_id")[0m
|
360
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203622"]]
|
361
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
362
|
+
Migrating to CreateTerms (20190702203623)
|
363
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
364
|
+
[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
|
365
|
+
[1m[35m (4.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_id" ON "terms" ("canvas_id")[0m
|
366
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203623"]]
|
367
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
368
|
+
Migrating to CreateEnrollments (20190702203624)
|
369
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
370
|
+
[1m[35m (12.3ms)[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
|
371
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_id" ON "enrollments" ("canvas_id")[0m
|
372
|
+
[1m[35m (7.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
373
|
+
[1m[35m (6.4ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
374
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203624"]]
|
375
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
376
|
+
Migrating to CreateSections (20190702203625)
|
377
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
378
|
+
[1m[35m (12.1ms)[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
|
379
|
+
[1m[35m (5.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_id" ON "sections" ("canvas_id")[0m
|
380
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
381
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203625"]]
|
382
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
383
|
+
Migrating to CreateAssignments (20190702203626)
|
384
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
385
|
+
[1m[35m (11.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
|
386
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignments_on_canvas_id" ON "assignments" ("canvas_id")[0m
|
387
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE INDEX "index_assignments_on_canvas_context_id_and_canvas_context_type" ON "assignments" ("canvas_context_id", "canvas_context_type")[0m
|
388
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203626"]]
|
389
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
390
|
+
Migrating to CreateSubmissions (20190702203627)
|
391
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
392
|
+
[1m[35m (8.9ms)[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
|
393
|
+
[1m[35m (3.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_submissions_on_canvas_id" ON "submissions" ("canvas_id")[0m
|
394
|
+
[1m[35m (3.3ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")[0m
|
395
|
+
[1m[35m (3.3ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")[0m
|
396
|
+
[1m[35m (3.4ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")[0m
|
397
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203627"]]
|
398
|
+
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
|
399
|
+
Migrating to CreateAssignmentGroups (20190702203630)
|
400
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
401
|
+
[1m[35m (8.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
|
402
|
+
[1m[35m (3.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignment_groups_on_canvas_id" ON "assignment_groups" ("canvas_id")[0m
|
403
|
+
[1m[35m (3.3ms)[0m [1m[35mCREATE INDEX "index_assignment_groups_on_canvas_course_id" ON "assignment_groups" ("canvas_course_id")[0m
|
404
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203630"]]
|
405
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
406
|
+
Migrating to CreateContextModules (20190702203631)
|
407
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
408
|
+
[1m[35m (7.6ms)[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
|
409
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_modules_on_canvas_id" ON "context_modules" ("canvas_id")[0m
|
410
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_context_modules_on_context" ON "context_modules" ("canvas_context_id", "canvas_context_type")[0m
|
411
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203631"]]
|
412
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
413
|
+
Migrating to CreateContextModuleItems (20190702203632)
|
414
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
415
|
+
[1m[35m (8.5ms)[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
|
416
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_module_items_on_canvas_id" ON "context_module_items" ("canvas_id")[0m
|
417
|
+
[1m[35m (3.3ms)[0m [1m[35mCREATE INDEX "index_context_module_items_on_canvas_context_module_id" ON "context_module_items" ("canvas_context_module_id")[0m
|
418
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203632"]]
|
419
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
420
|
+
Migrating to AddForkCountToCanvasSyncJobLogs (20190916154829)
|
421
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
422
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "canvas_sync_job_logs" ADD "fork_count" integer[0m
|
423
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190916154829"]]
|
424
|
+
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
|
425
|
+
Migrating to CreateRoles (20190927204545)
|
691
426
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
692
|
-
[1m[35m (
|
693
|
-
[1m[35m (
|
694
|
-
[1m[
|
695
|
-
[1m[
|
696
|
-
|
427
|
+
[1m[35m (7.7ms)[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
|
428
|
+
[1m[35m (3.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_roles_on_canvas_id" ON "roles" ("canvas_id")[0m
|
429
|
+
[1m[35m (3.3ms)[0m [1m[35mCREATE INDEX "index_roles_on_canvas_account_id" ON "roles" ("canvas_account_id")[0m
|
430
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190927204545"]]
|
431
|
+
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
|
432
|
+
Migrating to CreateAdmins (20190927204546)
|
433
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
434
|
+
[1m[35m (8.5ms)[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
|
435
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_id" ON "admins" ("canvas_id")[0m
|
436
|
+
[1m[35m (3.3ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_role_id" ON "admins" ("canvas_role_id")[0m
|
437
|
+
[1m[35m (3.4ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_user_id" ON "admins" ("canvas_user_id")[0m
|
438
|
+
[1m[35m (7.0ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_account_id" ON "admins" ("canvas_account_id")[0m
|
439
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190927204546"]]
|
440
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
441
|
+
Migrating to CreateGroups (20200415171620)
|
442
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
443
|
+
[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
|
444
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_groups_on_canvas_id" ON "groups" ("canvas_id")[0m
|
445
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200415171620"]]
|
446
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
447
|
+
Migrating to CreateGroupMemberships (20200416214248)
|
448
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
449
|
+
[1m[35m (8.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
|
450
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_group_memberships_on_canvas_id" ON "group_memberships" ("canvas_id")[0m
|
451
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200416214248"]]
|
452
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
453
|
+
Migrating to CreatePseudonyms (20201016181346)
|
454
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
455
|
+
[1m[35m (8.4ms)[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
|
456
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pseudonyms_on_canvas_id" ON "pseudonyms" ("canvas_id")[0m
|
457
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_pseudonyms_on_canvas_user_id" ON "pseudonyms" ("canvas_user_id")[0m
|
458
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201016181346"]]
|
459
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
460
|
+
Migrating to CreateCanvasSyncSyncBatches (20201018210836)
|
461
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
462
|
+
[1m[35m (9.0ms)[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
|
463
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201018210836"]]
|
464
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
465
|
+
Migrating to AddFullSyncToCanvasSyncSyncBatch (20201030210836)
|
466
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
467
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "full_sync" boolean DEFAULT FALSE[0m
|
468
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "batch_genre" character varying[0m
|
469
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "batch_bid" character varying[0m
|
470
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201030210836"]]
|
471
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
472
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
697
473
|
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
698
|
-
[1m[
|
699
|
-
[1m[35m (1.
|
700
|
-
[1m[35m (
|
701
|
-
[1m[35m (
|
702
|
-
[1m[35m (
|
703
|
-
[1m[
|
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"]]
|
474
|
+
[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-09-07 23:31:02.638661"], ["updated_at", "2021-09-07 23:31:02.638661"]]
|
475
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
476
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
477
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
478
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
479
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
720
480
|
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
721
481
|
[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
482
|
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
807
483
|
[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 (
|
809
|
-
[1m[35m (
|
810
|
-
[1m[35m (
|
811
|
-
[1m[35m (
|
812
|
-
[1m[35m (
|
813
|
-
[1m[35m (
|
814
|
-
|
815
|
-
[1m[35m (0.
|
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
|
484
|
+
[1m[35m (63.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_development"[0m
|
485
|
+
[1m[35m (36.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_test"[0m
|
486
|
+
[1m[35m (114.1ms)[0m [1m[35mCREATE DATABASE "canvas_sync_development" ENCODING = 'unicode'[0m
|
487
|
+
[1m[35m (102.9ms)[0m [1m[35mCREATE DATABASE "canvas_sync_test" ENCODING = 'unicode'[0m
|
488
|
+
[1m[35m (11.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
489
|
+
[1m[35m (9.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
|
490
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
491
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
834
492
|
Migrating to CreateCanvasSyncJobLog (20170915210836)
|
835
493
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
836
|
-
[1m[35m (
|
837
|
-
[1m[
|
838
|
-
[1m[35m (
|
839
|
-
Migrating to
|
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)
|
494
|
+
[1m[35m (9.0ms)[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
|
495
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170915210836"]]
|
496
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
497
|
+
Migrating to AddJobIdToCanvasSyncJobLogs (20180725155729)
|
874
498
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
875
|
-
[1m[35m (
|
876
|
-
[1m[35m (
|
877
|
-
[1m[
|
878
|
-
[1m[
|
879
|
-
|
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]]
|
499
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "canvas_sync_job_logs" ADD "job_id" character varying[0m
|
500
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_canvas_sync_job_logs_on_job_id" ON "canvas_sync_job_logs" ("job_id")[0m
|
501
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180725155729"]]
|
502
|
+
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
|
503
|
+
Migrating to CreateUsers (20190702203620)
|
881
504
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
882
|
-
[1m[
|
883
|
-
[1m[35m (
|
884
|
-
[1m[
|
885
|
-
[1m[35m (
|
886
|
-
|
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)
|
505
|
+
[1m[35m (11.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
|
506
|
+
[1m[35m (3.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_id" ON "users" ("canvas_id")[0m
|
507
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203620"]]
|
508
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
509
|
+
Migrating to CreateCourses (20190702203621)
|
899
510
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
900
|
-
[1m[35m (
|
901
|
-
[1m[35m (
|
902
|
-
[1m[
|
903
|
-
[1m[35m (
|
904
|
-
|
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)
|
511
|
+
[1m[35m (7.2ms)[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
|
512
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_id" ON "courses" ("canvas_id")[0m
|
513
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203621"]]
|
514
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
515
|
+
Migrating to CreateAccounts (20190702203622)
|
913
516
|
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
914
|
-
[1m[35m (
|
915
|
-
[1m[35m (
|
916
|
-
[1m[
|
917
|
-
[1m[35m (
|
918
|
-
Migrating to
|
919
|
-
[1m[35m (
|
920
|
-
[1m[35m (
|
921
|
-
[1m[
|
922
|
-
[1m[
|
923
|
-
|
924
|
-
|
925
|
-
[1m[35m (
|
926
|
-
[1m[35m (
|
927
|
-
[1m[
|
928
|
-
[1m[35m (
|
929
|
-
|
517
|
+
[1m[35m (7.9ms)[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
|
518
|
+
[1m[35m (3.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_accounts_on_canvas_id" ON "accounts" ("canvas_id")[0m
|
519
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203622"]]
|
520
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
521
|
+
Migrating to CreateTerms (20190702203623)
|
522
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
523
|
+
[1m[35m (12.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
|
524
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_id" ON "terms" ("canvas_id")[0m
|
525
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203623"]]
|
526
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
527
|
+
Migrating to CreateEnrollments (20190702203624)
|
528
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
529
|
+
[1m[35m (9.0ms)[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
|
530
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_id" ON "enrollments" ("canvas_id")[0m
|
531
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
532
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
533
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203624"]]
|
534
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
535
|
+
Migrating to CreateSections (20190702203625)
|
536
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
537
|
+
[1m[35m (10.5ms)[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
|
538
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_id" ON "sections" ("canvas_id")[0m
|
539
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
540
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203625"]]
|
541
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
542
|
+
Migrating to CreateAssignments (20190702203626)
|
543
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
544
|
+
[1m[35m (8.4ms)[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
|
545
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignments_on_canvas_id" ON "assignments" ("canvas_id")[0m
|
546
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_assignments_on_canvas_context_id_and_canvas_context_type" ON "assignments" ("canvas_context_id", "canvas_context_type")[0m
|
547
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203626"]]
|
548
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
549
|
+
Migrating to CreateSubmissions (20190702203627)
|
550
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
551
|
+
[1m[35m (8.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
|
552
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_submissions_on_canvas_id" ON "submissions" ("canvas_id")[0m
|
553
|
+
[1m[35m (3.3ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")[0m
|
554
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")[0m
|
555
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")[0m
|
556
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203627"]]
|
557
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
558
|
+
Migrating to CreateAssignmentGroups (20190702203630)
|
559
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
560
|
+
[1m[35m (8.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
|
561
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignment_groups_on_canvas_id" ON "assignment_groups" ("canvas_id")[0m
|
562
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "index_assignment_groups_on_canvas_course_id" ON "assignment_groups" ("canvas_course_id")[0m
|
563
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203630"]]
|
564
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
565
|
+
Migrating to CreateContextModules (20190702203631)
|
566
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
567
|
+
[1m[35m (8.8ms)[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
|
568
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_modules_on_canvas_id" ON "context_modules" ("canvas_id")[0m
|
569
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_context_modules_on_context" ON "context_modules" ("canvas_context_id", "canvas_context_type")[0m
|
570
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203631"]]
|
571
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
572
|
+
Migrating to CreateContextModuleItems (20190702203632)
|
930
573
|
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
931
|
-
[1m[35m (
|
932
|
-
[1m[35m (
|
933
|
-
[1m[35m (
|
934
|
-
[1m[
|
935
|
-
[1m[35m (
|
936
|
-
Migrating to
|
937
|
-
[1m[35m (
|
938
|
-
[1m[35m (
|
939
|
-
[1m[
|
940
|
-
[1m[
|
941
|
-
|
942
|
-
|
943
|
-
[1m[35m (
|
944
|
-
[1m[35m (
|
945
|
-
[1m[35m (
|
946
|
-
[1m[
|
947
|
-
[1m[35m (
|
948
|
-
Migrating to
|
949
|
-
[1m[35m (
|
950
|
-
[1m[35m (
|
951
|
-
[1m[35m (
|
952
|
-
[1m[35m (
|
953
|
-
[1m[35m (
|
954
|
-
[1m[35m (
|
955
|
-
[1m[
|
956
|
-
[1m[35m (
|
957
|
-
Migrating to
|
958
|
-
[1m[35m (
|
959
|
-
[1m[35m (
|
960
|
-
[1m[35m (
|
961
|
-
[1m[
|
962
|
-
[1m[
|
963
|
-
|
964
|
-
[1m[
|
965
|
-
[1m[35m (
|
966
|
-
[1m[
|
967
|
-
[1m[
|
968
|
-
[1m[35m (
|
969
|
-
|
970
|
-
[1m[35m (
|
971
|
-
[1m[35m (
|
574
|
+
[1m[35m (7.9ms)[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
|
575
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_module_items_on_canvas_id" ON "context_module_items" ("canvas_id")[0m
|
576
|
+
[1m[35m (3.4ms)[0m [1m[35mCREATE INDEX "index_context_module_items_on_canvas_context_module_id" ON "context_module_items" ("canvas_context_module_id")[0m
|
577
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203632"]]
|
578
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
579
|
+
Migrating to AddForkCountToCanvasSyncJobLogs (20190916154829)
|
580
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
581
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "canvas_sync_job_logs" ADD "fork_count" integer[0m
|
582
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190916154829"]]
|
583
|
+
[1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m
|
584
|
+
Migrating to CreateRoles (20190927204545)
|
585
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
586
|
+
[1m[35m (7.7ms)[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
|
587
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_roles_on_canvas_id" ON "roles" ("canvas_id")[0m
|
588
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_roles_on_canvas_account_id" ON "roles" ("canvas_account_id")[0m
|
589
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190927204545"]]
|
590
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
591
|
+
Migrating to CreateAdmins (20190927204546)
|
592
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
593
|
+
[1m[35m (7.9ms)[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
|
594
|
+
[1m[35m (3.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_id" ON "admins" ("canvas_id")[0m
|
595
|
+
[1m[35m (3.3ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_role_id" ON "admins" ("canvas_role_id")[0m
|
596
|
+
[1m[35m (3.4ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_user_id" ON "admins" ("canvas_user_id")[0m
|
597
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_account_id" ON "admins" ("canvas_account_id")[0m
|
598
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190927204546"]]
|
599
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
600
|
+
Migrating to CreateGroups (20200415171620)
|
601
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
602
|
+
[1m[35m (8.9ms)[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
|
603
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_groups_on_canvas_id" ON "groups" ("canvas_id")[0m
|
604
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200415171620"]]
|
605
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
606
|
+
Migrating to CreateGroupMemberships (20200416214248)
|
607
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
608
|
+
[1m[35m (9.0ms)[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
|
609
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_group_memberships_on_canvas_id" ON "group_memberships" ("canvas_id")[0m
|
610
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200416214248"]]
|
611
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
612
|
+
Migrating to CreatePseudonyms (20201016181346)
|
613
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
614
|
+
[1m[35m (8.9ms)[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
|
615
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pseudonyms_on_canvas_id" ON "pseudonyms" ("canvas_id")[0m
|
616
|
+
[1m[35m (5.2ms)[0m [1m[35mCREATE INDEX "index_pseudonyms_on_canvas_user_id" ON "pseudonyms" ("canvas_user_id")[0m
|
617
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201016181346"]]
|
618
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
619
|
+
Migrating to CreateCanvasSyncSyncBatches (20201018210836)
|
620
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
621
|
+
[1m[35m (9.4ms)[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
|
622
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201018210836"]]
|
623
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
624
|
+
Migrating to AddFullSyncToCanvasSyncSyncBatch (20201030210836)
|
625
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
626
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "full_sync" boolean DEFAULT FALSE[0m
|
627
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "batch_genre" character varying[0m
|
628
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "batch_bid" character varying[0m
|
629
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201030210836"]]
|
630
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
631
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
632
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
633
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.6ms)[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-09-07 23:32:02.640160"], ["updated_at", "2021-09-07 23:32:02.640160"]]
|
634
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
635
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
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.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
638
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
972
639
|
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
973
640
|
[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.
|
975
|
-
[1m[35m (0.
|
976
|
-
[1m[35m (
|
977
|
-
[1m[35m (
|
978
|
-
[1m[35m (
|
979
|
-
[1m[35m (
|
980
|
-
[1m[35m (
|
981
|
-
[1m[35m (
|
982
|
-
|
983
|
-
[1m[35m (0.
|
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
|
641
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
642
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
643
|
+
[1m[35m (47.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_development"[0m
|
644
|
+
[1m[35m (46.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_test"[0m
|
645
|
+
[1m[35m (126.0ms)[0m [1m[35mCREATE DATABASE "canvas_sync_development" ENCODING = 'unicode'[0m
|
646
|
+
[1m[35m (100.6ms)[0m [1m[35mCREATE DATABASE "canvas_sync_test" ENCODING = 'unicode'[0m
|
647
|
+
[1m[35m (13.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
648
|
+
[1m[35m (8.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
|
649
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
650
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1002
651
|
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
652
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1043
|
-
[1m[35m (
|
1044
|
-
[1m[
|
1045
|
-
[1m[35m (1.
|
1046
|
-
|
1047
|
-
[1m[35m (0.3ms)[0m [1m[
|
1048
|
-
|
1049
|
-
[1m[35m (
|
1050
|
-
[1m[
|
1051
|
-
[1m[35m (1.
|
1052
|
-
|
1053
|
-
[1m[
|
1054
|
-
[1m[35m (
|
1055
|
-
[1m[
|
1056
|
-
[1m[
|
1057
|
-
[1m[
|
1058
|
-
|
653
|
+
[1m[35m (8.2ms)[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
|
654
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170915210836"]]
|
655
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
656
|
+
Migrating to AddJobIdToCanvasSyncJobLogs (20180725155729)
|
657
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
658
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "canvas_sync_job_logs" ADD "job_id" character varying[0m
|
659
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "index_canvas_sync_job_logs_on_job_id" ON "canvas_sync_job_logs" ("job_id")[0m
|
660
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180725155729"]]
|
661
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
662
|
+
Migrating to CreateUsers (20190702203620)
|
663
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
664
|
+
[1m[35m (7.9ms)[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
|
665
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_id" ON "users" ("canvas_id")[0m
|
666
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203620"]]
|
667
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
668
|
+
Migrating to CreateCourses (20190702203621)
|
669
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
670
|
+
[1m[35m (7.9ms)[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
|
671
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_id" ON "courses" ("canvas_id")[0m
|
672
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203621"]]
|
673
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
674
|
+
Migrating to CreateAccounts (20190702203622)
|
675
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
676
|
+
[1m[35m (8.0ms)[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
|
677
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_accounts_on_canvas_id" ON "accounts" ("canvas_id")[0m
|
678
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203622"]]
|
679
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
680
|
+
Migrating to CreateTerms (20190702203623)
|
681
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
682
|
+
[1m[35m (9.0ms)[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
|
683
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_id" ON "terms" ("canvas_id")[0m
|
684
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203623"]]
|
685
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
686
|
+
Migrating to CreateEnrollments (20190702203624)
|
687
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
688
|
+
[1m[35m (9.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
|
689
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_id" ON "enrollments" ("canvas_id")[0m
|
690
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
691
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
692
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203624"]]
|
693
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
694
|
+
Migrating to CreateSections (20190702203625)
|
695
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
696
|
+
[1m[35m (9.0ms)[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
|
697
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_id" ON "sections" ("canvas_id")[0m
|
698
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
699
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203625"]]
|
700
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
701
|
+
Migrating to CreateAssignments (20190702203626)
|
702
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
703
|
+
[1m[35m (9.7ms)[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
|
704
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignments_on_canvas_id" ON "assignments" ("canvas_id")[0m
|
705
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE INDEX "index_assignments_on_canvas_context_id_and_canvas_context_type" ON "assignments" ("canvas_context_id", "canvas_context_type")[0m
|
706
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203626"]]
|
707
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
708
|
+
Migrating to CreateSubmissions (20190702203627)
|
709
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
710
|
+
[1m[35m (9.3ms)[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
|
711
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_submissions_on_canvas_id" ON "submissions" ("canvas_id")[0m
|
712
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")[0m
|
713
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")[0m
|
714
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")[0m
|
715
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203627"]]
|
716
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
717
|
+
Migrating to CreateAssignmentGroups (20190702203630)
|
718
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
719
|
+
[1m[35m (9.4ms)[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
|
720
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignment_groups_on_canvas_id" ON "assignment_groups" ("canvas_id")[0m
|
721
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE INDEX "index_assignment_groups_on_canvas_course_id" ON "assignment_groups" ("canvas_course_id")[0m
|
722
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203630"]]
|
723
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
724
|
+
Migrating to CreateContextModules (20190702203631)
|
725
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
726
|
+
[1m[35m (9.3ms)[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
|
727
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_modules_on_canvas_id" ON "context_modules" ("canvas_id")[0m
|
728
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE INDEX "index_context_modules_on_context" ON "context_modules" ("canvas_context_id", "canvas_context_type")[0m
|
729
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203631"]]
|
730
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
731
|
+
Migrating to CreateContextModuleItems (20190702203632)
|
732
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
733
|
+
[1m[35m (9.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
|
734
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_module_items_on_canvas_id" ON "context_module_items" ("canvas_id")[0m
|
735
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE INDEX "index_context_module_items_on_canvas_context_module_id" ON "context_module_items" ("canvas_context_module_id")[0m
|
736
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203632"]]
|
737
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
738
|
+
Migrating to AddForkCountToCanvasSyncJobLogs (20190916154829)
|
739
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
740
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "canvas_sync_job_logs" ADD "fork_count" integer[0m
|
741
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190916154829"]]
|
742
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
743
|
+
Migrating to CreateRoles (20190927204545)
|
744
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
745
|
+
[1m[35m (9.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
|
746
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_roles_on_canvas_id" ON "roles" ("canvas_id")[0m
|
747
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE INDEX "index_roles_on_canvas_account_id" ON "roles" ("canvas_account_id")[0m
|
748
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190927204545"]]
|
749
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
750
|
+
Migrating to CreateAdmins (20190927204546)
|
751
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
752
|
+
[1m[35m (9.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
|
753
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_id" ON "admins" ("canvas_id")[0m
|
754
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_role_id" ON "admins" ("canvas_role_id")[0m
|
755
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_user_id" ON "admins" ("canvas_user_id")[0m
|
756
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_account_id" ON "admins" ("canvas_account_id")[0m
|
757
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190927204546"]]
|
758
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
759
|
+
Migrating to CreateGroups (20200415171620)
|
760
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
761
|
+
[1m[35m (9.3ms)[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
|
762
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_groups_on_canvas_id" ON "groups" ("canvas_id")[0m
|
763
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200415171620"]]
|
764
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
765
|
+
Migrating to CreateGroupMemberships (20200416214248)
|
766
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
767
|
+
[1m[35m (8.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
|
768
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_group_memberships_on_canvas_id" ON "group_memberships" ("canvas_id")[0m
|
769
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200416214248"]]
|
770
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
771
|
+
Migrating to CreatePseudonyms (20201016181346)
|
772
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
773
|
+
[1m[35m (9.5ms)[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
|
774
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pseudonyms_on_canvas_id" ON "pseudonyms" ("canvas_id")[0m
|
775
|
+
[1m[35m (5.1ms)[0m [1m[35mCREATE INDEX "index_pseudonyms_on_canvas_user_id" ON "pseudonyms" ("canvas_user_id")[0m
|
776
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201016181346"]]
|
777
|
+
[1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
|
778
|
+
Migrating to CreateCanvasSyncSyncBatches (20201018210836)
|
779
|
+
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
780
|
+
[1m[35m (13.4ms)[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
|
781
|
+
[1m[36mActiveRecord::SchemaMigration Create (1.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201018210836"]]
|
782
|
+
[1m[35m (2.1ms)[0m [1m[35mCOMMIT[0m
|
783
|
+
Migrating to AddFullSyncToCanvasSyncSyncBatch (20201030210836)
|
784
|
+
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
785
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "full_sync" boolean DEFAULT FALSE[0m
|
786
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "batch_genre" character varying[0m
|
787
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "batch_bid" character varying[0m
|
788
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201030210836"]]
|
789
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
790
|
+
Migrating to CreateUserObservers (20210907233329)
|
791
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
792
|
+
[1m[35m (9.9ms)[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
|
793
|
+
[1m[35m (3.7ms)[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
|
794
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_user_observers_on_observing_user_id" ON "user_observers" ("observing_user_id")[0m
|
795
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE INDEX "index_user_observers_on_observed_user_id" ON "user_observers" ("observed_user_id")[0m
|
796
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20210907233329"]]
|
797
|
+
[1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
|
798
|
+
Migrating to CreateGradingPeriods (20210907233330)
|
799
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
800
|
+
[1m[35m (9.5ms)[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
|
801
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_grading_periods_on_canvas_id" ON "grading_periods" ("canvas_id")[0m
|
802
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE INDEX "index_grading_periods_on_canvas_grading_period_group_id" ON "grading_periods" ("canvas_grading_period_group_id")[0m
|
803
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20210907233330"]]
|
804
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
805
|
+
Migrating to CreateGradingPeriodGroups (20210907233331)
|
806
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
807
|
+
[1m[35m (9.2ms)[0m [1m[35mCREATE TABLE "grading_period_groups" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "canvas_course_id" bigint, "canvas_account_id" bigint, "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
|
808
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_grading_period_groups_on_canvas_id" ON "grading_period_groups" ("canvas_id")[0m
|
809
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE INDEX "index_grading_period_groups_on_canvas_course_id" ON "grading_period_groups" ("canvas_course_id")[0m
|
810
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_grading_period_groups_on_canvas_account_id" ON "grading_period_groups" ("canvas_account_id")[0m
|
811
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20210907233331"]]
|
812
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
813
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
814
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
815
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.6ms)[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-09-07 23:33:44.270929"], ["updated_at", "2021-09-07 23:33:44.270929"]]
|
816
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
1059
817
|
[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
|
1061
|
-
[1m[35m (2.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1062
|
-
[1m[35m (9.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1063
818
|
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
819
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
820
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
821
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1064
822
|
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1065
823
|
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1066
824
|
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1067
|
-
[1m[35m (
|
1068
|
-
[1m[35m (
|
1069
|
-
[1m[35m (
|
1070
|
-
[1m[35m (
|
825
|
+
[1m[35m (60.9ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_development"[0m
|
826
|
+
[1m[35m (38.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_test"[0m
|
827
|
+
[1m[35m (137.2ms)[0m [1m[35mCREATE DATABASE "canvas_sync_development" ENCODING = 'unicode'[0m
|
828
|
+
[1m[35m (108.4ms)[0m [1m[35mCREATE DATABASE "canvas_sync_test" ENCODING = 'unicode'[0m
|
829
|
+
[1m[35m (18.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
830
|
+
[1m[35m (9.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
|
1071
831
|
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
1072
|
-
[1m[35m (
|
1073
|
-
Migrating to CreateEnrollments (20170905192509)
|
1074
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1075
|
-
[1m[35m (5.3ms)[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
|
1076
|
-
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
1077
|
-
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
1078
|
-
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
1079
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170905192509"]]
|
1080
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
1081
|
-
Migrating to CreateTerms (20170906193506)
|
1082
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1083
|
-
[1m[35m (3.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
|
1084
|
-
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
1085
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170906193506"]]
|
1086
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
1087
|
-
Migrating to CreateCourses (20170914181345)
|
1088
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1089
|
-
[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
|
1090
|
-
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
1091
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170914181345"]]
|
1092
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
832
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1093
833
|
Migrating to CreateCanvasSyncJobLog (20170915210836)
|
1094
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1095
|
-
[1m[35m (13.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
|
1096
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170915210836"]]
|
1097
|
-
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
1098
|
-
Migrating to CreateUsers (20170918221413)
|
1099
|
-
[1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
|
1100
|
-
[1m[35m (4.4ms)[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
|
1101
|
-
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
1102
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170918221413"]]
|
1103
|
-
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1104
|
-
Migrating to CreateSections (20171107213207)
|
1105
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1106
|
-
[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
|
1107
|
-
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
1108
|
-
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
1109
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20171107213207"]]
|
1110
|
-
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1111
|
-
Migrating to CreateRoles (20180103162102)
|
1112
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1113
|
-
[1m[35m (4.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
|
1114
|
-
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")[0m
|
1115
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180103162102"]]
|
1116
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
1117
|
-
Migrating to CreateAdmins (20180109210452)
|
1118
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1119
|
-
[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
|
1120
|
-
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")[0m
|
1121
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180109210452"]]
|
1122
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
1123
|
-
Migrating to CreateAssignments (20180215214227)
|
1124
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1125
|
-
[1m[35m (4.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
|
1126
|
-
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignments_on_canvas_assignment_id" ON "assignments" ("canvas_assignment_id")[0m
|
1127
|
-
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_assignments_on_context_id_and_context_type" ON "assignments" ("context_id", "context_type")[0m
|
1128
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180215214227"]]
|
1129
|
-
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1130
|
-
Migrating to CreateAssignmentGroups (20180215220605)
|
1131
834
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1132
|
-
[1m[35m (
|
1133
|
-
[1m[
|
1134
|
-
[1m[35m (1.
|
1135
|
-
|
1136
|
-
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1137
|
-
Migrating to CreateSubmissions (20180216171618)
|
835
|
+
[1m[35m (8.5ms)[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
|
836
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170915210836"]]
|
837
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
838
|
+
Migrating to AddJobIdToCanvasSyncJobLogs (20180725155729)
|
1138
839
|
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1139
|
-
[1m[35m (
|
1140
|
-
[1m[35m (
|
1141
|
-
[1m[
|
1142
|
-
[1m[35m (1.0ms)[0m [1m[
|
1143
|
-
|
1144
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180216171618"]]
|
1145
|
-
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1146
|
-
[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]]
|
840
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "canvas_sync_job_logs" ADD "job_id" character varying[0m
|
841
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "index_canvas_sync_job_logs_on_job_id" ON "canvas_sync_job_logs" ("job_id")[0m
|
842
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180725155729"]]
|
843
|
+
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
|
844
|
+
Migrating to CreateUsers (20190702203620)
|
1147
845
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1148
|
-
[1m[
|
1149
|
-
[1m[35m (
|
1150
|
-
[1m[
|
846
|
+
[1m[35m (8.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
|
847
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_id" ON "users" ("canvas_id")[0m
|
848
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203620"]]
|
849
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
850
|
+
Migrating to CreateCourses (20190702203621)
|
851
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
852
|
+
[1m[35m (10.6ms)[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
|
853
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_id" ON "courses" ("canvas_id")[0m
|
854
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203621"]]
|
855
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
856
|
+
Migrating to CreateAccounts (20190702203622)
|
857
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
858
|
+
[1m[35m (10.6ms)[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
|
859
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_accounts_on_canvas_id" ON "accounts" ("canvas_id")[0m
|
860
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203622"]]
|
861
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
862
|
+
Migrating to CreateTerms (20190702203623)
|
863
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
864
|
+
[1m[35m (10.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
|
865
|
+
[1m[35m (5.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_id" ON "terms" ("canvas_id")[0m
|
866
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203623"]]
|
867
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
868
|
+
Migrating to CreateEnrollments (20190702203624)
|
869
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
870
|
+
[1m[35m (10.4ms)[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
|
871
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_id" ON "enrollments" ("canvas_id")[0m
|
872
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
873
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
874
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203624"]]
|
875
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
876
|
+
Migrating to CreateSections (20190702203625)
|
877
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
878
|
+
[1m[35m (10.9ms)[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
|
879
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_id" ON "sections" ("canvas_id")[0m
|
880
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
881
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203625"]]
|
882
|
+
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
883
|
+
Migrating to CreateAssignments (20190702203626)
|
884
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
885
|
+
[1m[35m (11.5ms)[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
|
886
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignments_on_canvas_id" ON "assignments" ("canvas_id")[0m
|
887
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE INDEX "index_assignments_on_canvas_context_id_and_canvas_context_type" ON "assignments" ("canvas_context_id", "canvas_context_type")[0m
|
888
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203626"]]
|
889
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
890
|
+
Migrating to CreateSubmissions (20190702203627)
|
891
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
892
|
+
[1m[35m (11.1ms)[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
|
893
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_submissions_on_canvas_id" ON "submissions" ("canvas_id")[0m
|
894
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")[0m
|
895
|
+
[1m[35m (4.7ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")[0m
|
896
|
+
[1m[35m (4.7ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")[0m
|
897
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203627"]]
|
898
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
899
|
+
Migrating to CreateAssignmentGroups (20190702203630)
|
900
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
901
|
+
[1m[35m (10.7ms)[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
|
902
|
+
[1m[35m (4.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignment_groups_on_canvas_id" ON "assignment_groups" ("canvas_id")[0m
|
903
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE INDEX "index_assignment_groups_on_canvas_course_id" ON "assignment_groups" ("canvas_course_id")[0m
|
904
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203630"]]
|
905
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
906
|
+
Migrating to CreateContextModules (20190702203631)
|
907
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
908
|
+
[1m[35m (10.1ms)[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
|
909
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_modules_on_canvas_id" ON "context_modules" ("canvas_id")[0m
|
910
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE INDEX "index_context_modules_on_context" ON "context_modules" ("canvas_context_id", "canvas_context_type")[0m
|
911
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203631"]]
|
912
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
913
|
+
Migrating to CreateContextModuleItems (20190702203632)
|
914
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
915
|
+
[1m[35m (9.9ms)[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
|
916
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_module_items_on_canvas_id" ON "context_module_items" ("canvas_id")[0m
|
917
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE INDEX "index_context_module_items_on_canvas_context_module_id" ON "context_module_items" ("canvas_context_module_id")[0m
|
918
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203632"]]
|
919
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
920
|
+
Migrating to AddForkCountToCanvasSyncJobLogs (20190916154829)
|
921
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
922
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "canvas_sync_job_logs" ADD "fork_count" integer[0m
|
923
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190916154829"]]
|
924
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
925
|
+
Migrating to CreateRoles (20190927204545)
|
926
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
927
|
+
[1m[35m (10.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
|
928
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_roles_on_canvas_id" ON "roles" ("canvas_id")[0m
|
929
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE INDEX "index_roles_on_canvas_account_id" ON "roles" ("canvas_account_id")[0m
|
930
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190927204545"]]
|
931
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
932
|
+
Migrating to CreateAdmins (20190927204546)
|
933
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
934
|
+
[1m[35m (9.8ms)[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
|
935
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_id" ON "admins" ("canvas_id")[0m
|
936
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_role_id" ON "admins" ("canvas_role_id")[0m
|
937
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_user_id" ON "admins" ("canvas_user_id")[0m
|
938
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_account_id" ON "admins" ("canvas_account_id")[0m
|
939
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190927204546"]]
|
940
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
941
|
+
Migrating to CreateGroups (20200415171620)
|
942
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
943
|
+
[1m[35m (10.0ms)[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
|
944
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_groups_on_canvas_id" ON "groups" ("canvas_id")[0m
|
945
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200415171620"]]
|
946
|
+
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
947
|
+
Migrating to CreateGroupMemberships (20200416214248)
|
948
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
949
|
+
[1m[35m (9.6ms)[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
|
950
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_group_memberships_on_canvas_id" ON "group_memberships" ("canvas_id")[0m
|
951
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200416214248"]]
|
952
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
953
|
+
Migrating to CreatePseudonyms (20201016181346)
|
954
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
955
|
+
[1m[35m (10.9ms)[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
|
956
|
+
[1m[35m (4.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pseudonyms_on_canvas_id" ON "pseudonyms" ("canvas_id")[0m
|
957
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE INDEX "index_pseudonyms_on_canvas_user_id" ON "pseudonyms" ("canvas_user_id")[0m
|
958
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201016181346"]]
|
959
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
960
|
+
Migrating to CreateCanvasSyncSyncBatches (20201018210836)
|
961
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
962
|
+
[1m[35m (10.0ms)[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
|
963
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201018210836"]]
|
964
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
965
|
+
Migrating to AddFullSyncToCanvasSyncSyncBatch (20201030210836)
|
966
|
+
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
967
|
+
[1m[35m (0.7ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "full_sync" boolean DEFAULT FALSE[0m
|
968
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "batch_genre" character varying[0m
|
969
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "batch_bid" character varying[0m
|
970
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201030210836"]]
|
971
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
972
|
+
Migrating to CreateUserObservers (20210907233329)
|
973
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
974
|
+
[1m[35m (14.6ms)[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
|
975
|
+
[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
|
976
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_user_observers_on_observing_user_id" ON "user_observers" ("observing_user_id")[0m
|
977
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_user_observers_on_observed_user_id" ON "user_observers" ("observed_user_id")[0m
|
978
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20210907233329"]]
|
979
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
980
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
981
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
982
|
+
[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-09-07 23:46:17.793485"], ["updated_at", "2021-09-07 23:46:17.793485"]]
|
983
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
984
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
1151
985
|
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1152
|
-
[1m[35m (
|
1153
|
-
[1m[35m (
|
986
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
987
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1154
988
|
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1155
989
|
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1156
990
|
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1157
|
-
[1m[35m (0.
|
1158
|
-
[1m[35m (
|
1159
|
-
[1m[35m (
|
1160
|
-
[1m[35m (
|
1161
|
-
[1m[35m (
|
991
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
992
|
+
[1m[35m (62.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_development"[0m
|
993
|
+
[1m[35m (48.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_test"[0m
|
994
|
+
[1m[35m (120.8ms)[0m [1m[35mCREATE DATABASE "canvas_sync_development" ENCODING = 'unicode'[0m
|
995
|
+
[1m[35m (122.5ms)[0m [1m[35mCREATE DATABASE "canvas_sync_test" ENCODING = 'unicode'[0m
|
996
|
+
[1m[35m (13.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
997
|
+
[1m[35m (8.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1162
998
|
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
1163
|
-
[1m[35m (
|
1164
|
-
Migrating to CreateEnrollments (20170905192509)
|
1165
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1166
|
-
[1m[35m (6.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
|
1167
|
-
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
1168
|
-
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
1169
|
-
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
1170
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170905192509"]]
|
1171
|
-
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
1172
|
-
Migrating to CreateTerms (20170906193506)
|
1173
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1174
|
-
[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
|
1175
|
-
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
1176
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170906193506"]]
|
1177
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
1178
|
-
Migrating to CreateCourses (20170914181345)
|
1179
|
-
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1180
|
-
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "courses" ("id" bigserial primary key, "canvas_course_id" bigint NOT NULL, "sis_id" character varying, "short_name" character varying, "long_name" character varying, "status" character varying, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1181
|
-
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
1182
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170914181345"]]
|
1183
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
999
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1184
1000
|
Migrating to CreateCanvasSyncJobLog (20170915210836)
|
1185
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1186
|
-
[1m[35m (3.7ms)[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
|
1187
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170915210836"]]
|
1188
|
-
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1189
|
-
Migrating to CreateUsers (20170918221413)
|
1190
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1191
|
-
[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
|
1192
|
-
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
1193
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170918221413"]]
|
1194
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
1195
|
-
Migrating to CreateSections (20171107213207)
|
1196
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1197
|
-
[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
|
1198
|
-
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
1199
|
-
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
1200
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20171107213207"]]
|
1201
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
1202
|
-
Migrating to CreateRoles (20180103162102)
|
1203
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1204
|
-
[1m[35m (3.7ms)[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
|
1205
|
-
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")[0m
|
1206
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180103162102"]]
|
1207
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
1208
|
-
Migrating to CreateAdmins (20180109210452)
|
1209
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1210
|
-
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "admins" ("id" bigserial primary key, "canvas_admin_id" bigint NOT NULL, "role_name" character varying, "canvas_role_id" bigint NOT NULL, "user_data" json, "canvas_user_id" bigint NOT NULL, "workflow_state" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1211
|
-
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")[0m
|
1212
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180109210452"]]
|
1213
|
-
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
1214
|
-
Migrating to CreateAssignments (20180215214227)
|
1215
1001
|
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1216
|
-
[1m[35m (
|
1217
|
-
[1m[
|
1218
|
-
[1m[35m (1.
|
1219
|
-
|
1220
|
-
[1m[35m (0.
|
1221
|
-
|
1222
|
-
[1m[35m (
|
1223
|
-
[1m[
|
1224
|
-
[1m[35m (1.
|
1225
|
-
|
1226
|
-
[1m[35m (
|
1227
|
-
[1m[35m (
|
1228
|
-
[1m[
|
1229
|
-
[1m[
|
1230
|
-
|
1002
|
+
[1m[35m (8.5ms)[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
|
1003
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170915210836"]]
|
1004
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
1005
|
+
Migrating to AddJobIdToCanvasSyncJobLogs (20180725155729)
|
1006
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1007
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "canvas_sync_job_logs" ADD "job_id" character varying[0m
|
1008
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE INDEX "index_canvas_sync_job_logs_on_job_id" ON "canvas_sync_job_logs" ("job_id")[0m
|
1009
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180725155729"]]
|
1010
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
1011
|
+
Migrating to CreateUsers (20190702203620)
|
1012
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1013
|
+
[1m[35m (8.8ms)[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
|
1014
|
+
[1m[35m (6.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_id" ON "users" ("canvas_id")[0m
|
1015
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203620"]]
|
1016
|
+
[1m[35m (4.3ms)[0m [1m[35mCOMMIT[0m
|
1017
|
+
Migrating to CreateCourses (20190702203621)
|
1018
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1019
|
+
[1m[35m (14.0ms)[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
|
1020
|
+
[1m[35m (6.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_id" ON "courses" ("canvas_id")[0m
|
1021
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203621"]]
|
1022
|
+
[1m[35m (4.4ms)[0m [1m[35mCOMMIT[0m
|
1023
|
+
Migrating to CreateAccounts (20190702203622)
|
1024
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1025
|
+
[1m[35m (14.8ms)[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
|
1026
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_accounts_on_canvas_id" ON "accounts" ("canvas_id")[0m
|
1027
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203622"]]
|
1028
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
1029
|
+
Migrating to CreateTerms (20190702203623)
|
1030
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1031
|
+
[1m[35m (8.5ms)[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
|
1032
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_id" ON "terms" ("canvas_id")[0m
|
1033
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203623"]]
|
1034
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
1035
|
+
Migrating to CreateEnrollments (20190702203624)
|
1036
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1037
|
+
[1m[35m (8.4ms)[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
|
1038
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_id" ON "enrollments" ("canvas_id")[0m
|
1039
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
1040
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
1041
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203624"]]
|
1042
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
1043
|
+
Migrating to CreateSections (20190702203625)
|
1044
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1045
|
+
[1m[35m (8.8ms)[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
|
1046
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_id" ON "sections" ("canvas_id")[0m
|
1047
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
1048
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203625"]]
|
1049
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
1050
|
+
Migrating to CreateAssignments (20190702203626)
|
1051
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1052
|
+
[1m[35m (8.0ms)[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
|
1053
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignments_on_canvas_id" ON "assignments" ("canvas_id")[0m
|
1054
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_assignments_on_canvas_context_id_and_canvas_context_type" ON "assignments" ("canvas_context_id", "canvas_context_type")[0m
|
1055
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203626"]]
|
1056
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
1057
|
+
Migrating to CreateSubmissions (20190702203627)
|
1058
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1059
|
+
[1m[35m (9.2ms)[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
|
1060
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_submissions_on_canvas_id" ON "submissions" ("canvas_id")[0m
|
1061
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")[0m
|
1062
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")[0m
|
1063
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")[0m
|
1064
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203627"]]
|
1065
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
1066
|
+
Migrating to CreateAssignmentGroups (20190702203630)
|
1067
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1068
|
+
[1m[35m (8.5ms)[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
|
1069
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignment_groups_on_canvas_id" ON "assignment_groups" ("canvas_id")[0m
|
1070
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE INDEX "index_assignment_groups_on_canvas_course_id" ON "assignment_groups" ("canvas_course_id")[0m
|
1071
|
+
[1m[36mActiveRecord::SchemaMigration Create (1.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203630"]]
|
1072
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
1073
|
+
Migrating to CreateContextModules (20190702203631)
|
1074
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1075
|
+
[1m[35m (8.2ms)[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
|
1076
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_modules_on_canvas_id" ON "context_modules" ("canvas_id")[0m
|
1077
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE INDEX "index_context_modules_on_context" ON "context_modules" ("canvas_context_id", "canvas_context_type")[0m
|
1078
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203631"]]
|
1079
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
1080
|
+
Migrating to CreateContextModuleItems (20190702203632)
|
1081
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1082
|
+
[1m[35m (7.9ms)[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
|
1083
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_module_items_on_canvas_id" ON "context_module_items" ("canvas_id")[0m
|
1084
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_context_module_items_on_canvas_context_module_id" ON "context_module_items" ("canvas_context_module_id")[0m
|
1085
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203632"]]
|
1086
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
1087
|
+
Migrating to AddForkCountToCanvasSyncJobLogs (20190916154829)
|
1231
1088
|
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1232
|
-
[1m[35m (
|
1233
|
-
[1m[
|
1234
|
-
[1m[
|
1235
|
-
|
1236
|
-
|
1237
|
-
[1m[35m (
|
1238
|
-
[1m[35m (3.
|
1239
|
-
[1m[35m (
|
1240
|
-
[1m[
|
1241
|
-
[1m[
|
1242
|
-
|
1243
|
-
[1m[
|
1244
|
-
[1m[35m (
|
1245
|
-
[1m[
|
1246
|
-
[1m[35m (
|
1247
|
-
[1m[35m (
|
1089
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "canvas_sync_job_logs" ADD "fork_count" integer[0m
|
1090
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190916154829"]]
|
1091
|
+
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
|
1092
|
+
Migrating to CreateRoles (20190927204545)
|
1093
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1094
|
+
[1m[35m (7.8ms)[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
|
1095
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_roles_on_canvas_id" ON "roles" ("canvas_id")[0m
|
1096
|
+
[1m[35m (3.4ms)[0m [1m[35mCREATE INDEX "index_roles_on_canvas_account_id" ON "roles" ("canvas_account_id")[0m
|
1097
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190927204545"]]
|
1098
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
1099
|
+
Migrating to CreateAdmins (20190927204546)
|
1100
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1101
|
+
[1m[35m (8.3ms)[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
|
1102
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_id" ON "admins" ("canvas_id")[0m
|
1103
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_role_id" ON "admins" ("canvas_role_id")[0m
|
1104
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_user_id" ON "admins" ("canvas_user_id")[0m
|
1105
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_account_id" ON "admins" ("canvas_account_id")[0m
|
1106
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190927204546"]]
|
1107
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
1108
|
+
Migrating to CreateGroups (20200415171620)
|
1109
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1110
|
+
[1m[35m (8.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
|
1111
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_groups_on_canvas_id" ON "groups" ("canvas_id")[0m
|
1112
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200415171620"]]
|
1113
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
1114
|
+
Migrating to CreateGroupMemberships (20200416214248)
|
1115
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1116
|
+
[1m[35m (8.7ms)[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
|
1117
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_group_memberships_on_canvas_id" ON "group_memberships" ("canvas_id")[0m
|
1118
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200416214248"]]
|
1119
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
1120
|
+
Migrating to CreatePseudonyms (20201016181346)
|
1121
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1122
|
+
[1m[35m (8.9ms)[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
|
1123
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pseudonyms_on_canvas_id" ON "pseudonyms" ("canvas_id")[0m
|
1124
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_pseudonyms_on_canvas_user_id" ON "pseudonyms" ("canvas_user_id")[0m
|
1125
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201016181346"]]
|
1126
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
1127
|
+
Migrating to CreateCanvasSyncSyncBatches (20201018210836)
|
1128
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1129
|
+
[1m[35m (8.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
|
1130
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201018210836"]]
|
1131
|
+
[1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
|
1132
|
+
Migrating to AddFullSyncToCanvasSyncSyncBatch (20201030210836)
|
1133
|
+
[1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
|
1134
|
+
[1m[35m (1.2ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "full_sync" boolean DEFAULT FALSE[0m
|
1135
|
+
[1m[35m (0.8ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "batch_genre" character varying[0m
|
1136
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "batch_bid" character varying[0m
|
1137
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201030210836"]]
|
1138
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
1139
|
+
Migrating to CreateUserObservers (20210907233329)
|
1140
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1141
|
+
[1m[35m (14.0ms)[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
|
1142
|
+
[1m[35m (5.8ms)[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
|
1143
|
+
[1m[35m (5.9ms)[0m [1m[35mCREATE INDEX "index_user_observers_on_observing_user_id" ON "user_observers" ("observing_user_id")[0m
|
1144
|
+
[1m[35m (5.3ms)[0m [1m[35mCREATE INDEX "index_user_observers_on_observed_user_id" ON "user_observers" ("observed_user_id")[0m
|
1145
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20210907233329"]]
|
1146
|
+
[1m[35m (2.1ms)[0m [1m[35mCOMMIT[0m
|
1147
|
+
Migrating to CreateGradingPeriods (20210907233330)
|
1148
|
+
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
1149
|
+
[1m[35m (14.1ms)[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
|
1150
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_grading_periods_on_canvas_id" ON "grading_periods" ("canvas_id")[0m
|
1151
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE INDEX "index_grading_periods_on_canvas_grading_period_group_id" ON "grading_periods" ("canvas_grading_period_group_id")[0m
|
1152
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20210907233330"]]
|
1153
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
1154
|
+
Migrating to CreateGradingPeriodGroups (20210907233331)
|
1155
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1156
|
+
[1m[35m (8.5ms)[0m [1m[35mCREATE TABLE "grading_period_groups" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "canvas_course_id" bigint, "canvas_account_id" bigint, "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
|
1157
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_grading_period_groups_on_canvas_id" ON "grading_period_groups" ("canvas_id")[0m
|
1158
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_grading_period_groups_on_canvas_course_id" ON "grading_period_groups" ("canvas_course_id")[0m
|
1159
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE INDEX "index_grading_period_groups_on_canvas_account_id" ON "grading_period_groups" ("canvas_account_id")[0m
|
1160
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20210907233331"]]
|
1161
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
1162
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1163
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1164
|
+
[1m[36mActiveRecord::InternalMetadata Create (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", "2021-09-07 23:47:41.300013"], ["updated_at", "2021-09-07 23:47:41.300013"]]
|
1165
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
1166
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
1248
1167
|
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|