canvas_sync 0.17.23.beta2 → 0.17.23.beta7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/initializers/apartment.rb +9 -0
- data/lib/canvas_sync/concerns/sync_mapping.rb +5 -3
- data/lib/canvas_sync/generators/templates/migrations/create_grading_period_groups.rb +0 -4
- data/lib/canvas_sync/generators/templates/models/grading_period_group.rb +0 -2
- data/lib/canvas_sync/generators/templates/models/term.rb +1 -0
- data/lib/canvas_sync/jobs/sync_terms_job.rb +1 -1
- data/lib/canvas_sync/processors/model_mappings.yml +0 -6
- data/lib/canvas_sync/processors/report_processor.rb +2 -2
- data/lib/canvas_sync/version.rb +1 -1
- data/lib/canvas_sync.rb +1 -1
- data/spec/dummy/app/models/grading_period_group.rb +0 -2
- data/spec/dummy/app/models/term.rb +1 -0
- data/spec/dummy/db/migrate/{20210907233331_create_grading_period_groups.rb → 20211001184920_create_grading_period_groups.rb} +0 -4
- data/spec/dummy/db/schema.rb +1 -5
- data/spec/dummy/log/development.log +362 -0
- data/spec/dummy/log/test.log +13861 -0
- metadata +4 -4
@@ -1165,3 +1165,365 @@ Migrating to CreateGradingPeriodGroups (20210907233331)
|
|
1165
1165
|
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
1166
1166
|
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
1167
1167
|
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1168
|
+
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1169
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1170
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1171
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1172
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1173
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1174
|
+
[1m[35m (40.6ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_development"[0m
|
1175
|
+
[1m[35m (38.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_test"[0m
|
1176
|
+
[1m[35m (161.1ms)[0m [1m[35mCREATE DATABASE "canvas_sync_development" ENCODING = 'unicode'[0m
|
1177
|
+
[1m[35m (92.0ms)[0m [1m[35mCREATE DATABASE "canvas_sync_test" ENCODING = 'unicode'[0m
|
1178
|
+
[1m[35m (18.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1179
|
+
[1m[35m (11.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1180
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
1181
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1182
|
+
Migrating to CreateCanvasSyncJobLog (20170915210836)
|
1183
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1184
|
+
[1m[35m (9.1ms)[0m [1m[35mCREATE TABLE "canvas_sync_job_logs" ("id" serial NOT NULL PRIMARY KEY, "started_at" timestamp, "completed_at" timestamp, "exception" character varying, "backtrace" text, "job_class" character varying, "status" character varying, "metadata" text, "job_arguments" text, "created_at" timestamp, "updated_at" timestamp)[0m
|
1185
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170915210836"]]
|
1186
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
1187
|
+
Migrating to AddJobIdToCanvasSyncJobLogs (20180725155729)
|
1188
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1189
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "canvas_sync_job_logs" ADD "job_id" character varying[0m
|
1190
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_canvas_sync_job_logs_on_job_id" ON "canvas_sync_job_logs" ("job_id")[0m
|
1191
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180725155729"]]
|
1192
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
1193
|
+
Migrating to CreateUsers (20190702203620)
|
1194
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1195
|
+
[1m[35m (9.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
|
1196
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_id" ON "users" ("canvas_id")[0m
|
1197
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203620"]]
|
1198
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
1199
|
+
Migrating to CreateCourses (20190702203621)
|
1200
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1201
|
+
[1m[35m (10.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
|
1202
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_id" ON "courses" ("canvas_id")[0m
|
1203
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203621"]]
|
1204
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
1205
|
+
Migrating to CreateAccounts (20190702203622)
|
1206
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1207
|
+
[1m[35m (9.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
|
1208
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_accounts_on_canvas_id" ON "accounts" ("canvas_id")[0m
|
1209
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203622"]]
|
1210
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
1211
|
+
Migrating to CreateTerms (20190702203623)
|
1212
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1213
|
+
[1m[35m (8.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
|
1214
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_id" ON "terms" ("canvas_id")[0m
|
1215
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203623"]]
|
1216
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
1217
|
+
Migrating to CreateEnrollments (20190702203624)
|
1218
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1219
|
+
[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
|
1220
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_id" ON "enrollments" ("canvas_id")[0m
|
1221
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
1222
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
1223
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203624"]]
|
1224
|
+
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
1225
|
+
Migrating to CreateSections (20190702203625)
|
1226
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1227
|
+
[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
|
1228
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_id" ON "sections" ("canvas_id")[0m
|
1229
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
1230
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203625"]]
|
1231
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
1232
|
+
Migrating to CreateAssignments (20190702203626)
|
1233
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1234
|
+
[1m[35m (10.8ms)[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
|
1235
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignments_on_canvas_id" ON "assignments" ("canvas_id")[0m
|
1236
|
+
[1m[35m (4.7ms)[0m [1m[35mCREATE INDEX "index_assignments_on_canvas_context_id_and_canvas_context_type" ON "assignments" ("canvas_context_id", "canvas_context_type")[0m
|
1237
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203626"]]
|
1238
|
+
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
1239
|
+
Migrating to CreateSubmissions (20190702203627)
|
1240
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1241
|
+
[1m[35m (11.7ms)[0m [1m[35mCREATE TABLE "submissions" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "canvas_course_id" bigint, "canvas_assignment_id" bigint, "canvas_user_id" bigint, "submitted_at" timestamp, "due_at" timestamp, "graded_at" timestamp, "score" float, "points_possible" float, "excused" boolean, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1242
|
+
[1m[35m (6.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_submissions_on_canvas_id" ON "submissions" ("canvas_id")[0m
|
1243
|
+
[1m[35m (5.0ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")[0m
|
1244
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")[0m
|
1245
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")[0m
|
1246
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203627"]]
|
1247
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
1248
|
+
Migrating to CreateAssignmentGroups (20190702203630)
|
1249
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1250
|
+
[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
|
1251
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignment_groups_on_canvas_id" ON "assignment_groups" ("canvas_id")[0m
|
1252
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE INDEX "index_assignment_groups_on_canvas_course_id" ON "assignment_groups" ("canvas_course_id")[0m
|
1253
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203630"]]
|
1254
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
1255
|
+
Migrating to CreateContextModules (20190702203631)
|
1256
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1257
|
+
[1m[35m (9.7ms)[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
|
1258
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_modules_on_canvas_id" ON "context_modules" ("canvas_id")[0m
|
1259
|
+
[1m[35m (4.7ms)[0m [1m[35mCREATE INDEX "index_context_modules_on_context" ON "context_modules" ("canvas_context_id", "canvas_context_type")[0m
|
1260
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203631"]]
|
1261
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
1262
|
+
Migrating to CreateContextModuleItems (20190702203632)
|
1263
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1264
|
+
[1m[35m (10.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
|
1265
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_module_items_on_canvas_id" ON "context_module_items" ("canvas_id")[0m
|
1266
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE INDEX "index_context_module_items_on_canvas_context_module_id" ON "context_module_items" ("canvas_context_module_id")[0m
|
1267
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203632"]]
|
1268
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
1269
|
+
Migrating to AddForkCountToCanvasSyncJobLogs (20190916154829)
|
1270
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1271
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "canvas_sync_job_logs" ADD "fork_count" integer[0m
|
1272
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190916154829"]]
|
1273
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
1274
|
+
Migrating to CreateRoles (20190927204545)
|
1275
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1276
|
+
[1m[35m (10.6ms)[0m [1m[35mCREATE TABLE "roles" ("id" bigserial primary key, "canvas_id" integer NOT NULL, "label" character varying, "base_role_type" character varying, "canvas_account_id" integer, "workflow_state" character varying, "permissions" json, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1277
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_roles_on_canvas_id" ON "roles" ("canvas_id")[0m
|
1278
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE INDEX "index_roles_on_canvas_account_id" ON "roles" ("canvas_account_id")[0m
|
1279
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190927204545"]]
|
1280
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
1281
|
+
Migrating to CreateAdmins (20190927204546)
|
1282
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1283
|
+
[1m[35m (10.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
|
1284
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_id" ON "admins" ("canvas_id")[0m
|
1285
|
+
[1m[35m (4.7ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_role_id" ON "admins" ("canvas_role_id")[0m
|
1286
|
+
[1m[35m (4.7ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_user_id" ON "admins" ("canvas_user_id")[0m
|
1287
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_account_id" ON "admins" ("canvas_account_id")[0m
|
1288
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190927204546"]]
|
1289
|
+
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
1290
|
+
Migrating to CreateGroups (20200415171620)
|
1291
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1292
|
+
[1m[35m (10.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
|
1293
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_groups_on_canvas_id" ON "groups" ("canvas_id")[0m
|
1294
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200415171620"]]
|
1295
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
1296
|
+
Migrating to CreateGroupMemberships (20200416214248)
|
1297
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1298
|
+
[1m[35m (10.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
|
1299
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_group_memberships_on_canvas_id" ON "group_memberships" ("canvas_id")[0m
|
1300
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200416214248"]]
|
1301
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
1302
|
+
Migrating to CreatePseudonyms (20201016181346)
|
1303
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1304
|
+
[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
|
1305
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pseudonyms_on_canvas_id" ON "pseudonyms" ("canvas_id")[0m
|
1306
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE INDEX "index_pseudonyms_on_canvas_user_id" ON "pseudonyms" ("canvas_user_id")[0m
|
1307
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201016181346"]]
|
1308
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
1309
|
+
Migrating to CreateCanvasSyncSyncBatches (20201018210836)
|
1310
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1311
|
+
[1m[35m (10.5ms)[0m [1m[35mCREATE TABLE "canvas_sync_sync_batches" ("id" serial NOT NULL PRIMARY KEY, "started_at" timestamp, "completed_at" timestamp, "status" character varying, "created_at" timestamp, "updated_at" timestamp)[0m
|
1312
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201018210836"]]
|
1313
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
1314
|
+
Migrating to AddFullSyncToCanvasSyncSyncBatch (20201030210836)
|
1315
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1316
|
+
[1m[35m (0.8ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "full_sync" boolean DEFAULT FALSE[0m
|
1317
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "batch_genre" character varying[0m
|
1318
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "batch_bid" character varying[0m
|
1319
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201030210836"]]
|
1320
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
1321
|
+
Migrating to CreateUserObservers (20210907233329)
|
1322
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1323
|
+
[1m[35m (10.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
|
1324
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_user_observers_on_observed_user_id_and_observing_user_id" ON "user_observers" ("observed_user_id", "observing_user_id")[0m
|
1325
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE INDEX "index_user_observers_on_observing_user_id" ON "user_observers" ("observing_user_id")[0m
|
1326
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE INDEX "index_user_observers_on_observed_user_id" ON "user_observers" ("observed_user_id")[0m
|
1327
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20210907233329"]]
|
1328
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
1329
|
+
Migrating to CreateGradingPeriods (20210907233330)
|
1330
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1331
|
+
[1m[35m (11.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
|
1332
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_grading_periods_on_canvas_id" ON "grading_periods" ("canvas_id")[0m
|
1333
|
+
[1m[35m (4.7ms)[0m [1m[35mCREATE INDEX "index_grading_periods_on_canvas_grading_period_group_id" ON "grading_periods" ("canvas_grading_period_group_id")[0m
|
1334
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20210907233330"]]
|
1335
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
1336
|
+
Migrating to CreateGradingPeriodGroups (20210907233331)
|
1337
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1338
|
+
[1m[35m (11.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
|
1339
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_grading_period_groups_on_canvas_id" ON "grading_period_groups" ("canvas_id")[0m
|
1340
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE INDEX "index_grading_period_groups_on_canvas_course_id" ON "grading_period_groups" ("canvas_course_id")[0m
|
1341
|
+
[1m[35m (4.8ms)[0m [1m[35mCREATE INDEX "index_grading_period_groups_on_canvas_account_id" ON "grading_period_groups" ("canvas_account_id")[0m
|
1342
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20210907233331"]]
|
1343
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
1344
|
+
[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]]
|
1345
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1346
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.9ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2021-10-01 18:00:34.907891"], ["updated_at", "2021-10-01 18:00:34.907891"]]
|
1347
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
1348
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
1349
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1350
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1351
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1352
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1353
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1354
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1355
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1356
|
+
[1m[35m (109.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_development"[0m
|
1357
|
+
[1m[35m (36.6ms)[0m [1m[35mDROP DATABASE IF EXISTS "canvas_sync_test"[0m
|
1358
|
+
[1m[35m (136.7ms)[0m [1m[35mCREATE DATABASE "canvas_sync_development" ENCODING = 'unicode'[0m
|
1359
|
+
[1m[35m (80.5ms)[0m [1m[35mCREATE DATABASE "canvas_sync_test" ENCODING = 'unicode'[0m
|
1360
|
+
[1m[35m (11.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1361
|
+
[1m[35m (10.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
|
1362
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(1438354376499275445)[0m
|
1363
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1364
|
+
Migrating to CreateCanvasSyncJobLog (20170915210836)
|
1365
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1366
|
+
[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
|
1367
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20170915210836"]]
|
1368
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
1369
|
+
Migrating to AddJobIdToCanvasSyncJobLogs (20180725155729)
|
1370
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1371
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "canvas_sync_job_logs" ADD "job_id" character varying[0m
|
1372
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_canvas_sync_job_logs_on_job_id" ON "canvas_sync_job_logs" ("job_id")[0m
|
1373
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20180725155729"]]
|
1374
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
1375
|
+
Migrating to CreateUsers (20190702203620)
|
1376
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1377
|
+
[1m[35m (9.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
|
1378
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_id" ON "users" ("canvas_id")[0m
|
1379
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203620"]]
|
1380
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
1381
|
+
Migrating to CreateCourses (20190702203621)
|
1382
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1383
|
+
[1m[35m (8.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
|
1384
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_id" ON "courses" ("canvas_id")[0m
|
1385
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203621"]]
|
1386
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
1387
|
+
Migrating to CreateAccounts (20190702203622)
|
1388
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1389
|
+
[1m[35m (8.3ms)[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
|
1390
|
+
[1m[35m (3.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_accounts_on_canvas_id" ON "accounts" ("canvas_id")[0m
|
1391
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203622"]]
|
1392
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
1393
|
+
Migrating to CreateTerms (20190702203623)
|
1394
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1395
|
+
[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
|
1396
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_id" ON "terms" ("canvas_id")[0m
|
1397
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203623"]]
|
1398
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
1399
|
+
Migrating to CreateEnrollments (20190702203624)
|
1400
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1401
|
+
[1m[35m (8.6ms)[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
|
1402
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_id" ON "enrollments" ("canvas_id")[0m
|
1403
|
+
[1m[35m (4.8ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
1404
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
1405
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203624"]]
|
1406
|
+
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
|
1407
|
+
Migrating to CreateSections (20190702203625)
|
1408
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1409
|
+
[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
|
1410
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_id" ON "sections" ("canvas_id")[0m
|
1411
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
1412
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203625"]]
|
1413
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
1414
|
+
Migrating to CreateAssignments (20190702203626)
|
1415
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1416
|
+
[1m[35m (8.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
|
1417
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignments_on_canvas_id" ON "assignments" ("canvas_id")[0m
|
1418
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_assignments_on_canvas_context_id_and_canvas_context_type" ON "assignments" ("canvas_context_id", "canvas_context_type")[0m
|
1419
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203626"]]
|
1420
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
1421
|
+
Migrating to CreateSubmissions (20190702203627)
|
1422
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1423
|
+
[1m[35m (8.0ms)[0m [1m[35mCREATE TABLE "submissions" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "canvas_course_id" bigint, "canvas_assignment_id" bigint, "canvas_user_id" bigint, "submitted_at" timestamp, "due_at" timestamp, "graded_at" timestamp, "score" float, "points_possible" float, "excused" boolean, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1424
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_submissions_on_canvas_id" ON "submissions" ("canvas_id")[0m
|
1425
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")[0m
|
1426
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")[0m
|
1427
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")[0m
|
1428
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203627"]]
|
1429
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
1430
|
+
Migrating to CreateAssignmentGroups (20190702203630)
|
1431
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1432
|
+
[1m[35m (8.0ms)[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
|
1433
|
+
[1m[35m (3.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_assignment_groups_on_canvas_id" ON "assignment_groups" ("canvas_id")[0m
|
1434
|
+
[1m[35m (3.4ms)[0m [1m[35mCREATE INDEX "index_assignment_groups_on_canvas_course_id" ON "assignment_groups" ("canvas_course_id")[0m
|
1435
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203630"]]
|
1436
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
1437
|
+
Migrating to CreateContextModules (20190702203631)
|
1438
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1439
|
+
[1m[35m (7.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
|
1440
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_modules_on_canvas_id" ON "context_modules" ("canvas_id")[0m
|
1441
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE INDEX "index_context_modules_on_context" ON "context_modules" ("canvas_context_id", "canvas_context_type")[0m
|
1442
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203631"]]
|
1443
|
+
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
|
1444
|
+
Migrating to CreateContextModuleItems (20190702203632)
|
1445
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1446
|
+
[1m[35m (7.8ms)[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
|
1447
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_context_module_items_on_canvas_id" ON "context_module_items" ("canvas_id")[0m
|
1448
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_context_module_items_on_canvas_context_module_id" ON "context_module_items" ("canvas_context_module_id")[0m
|
1449
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190702203632"]]
|
1450
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
1451
|
+
Migrating to AddForkCountToCanvasSyncJobLogs (20190916154829)
|
1452
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1453
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "canvas_sync_job_logs" ADD "fork_count" integer[0m
|
1454
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190916154829"]]
|
1455
|
+
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
|
1456
|
+
Migrating to CreateRoles (20190927204545)
|
1457
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1458
|
+
[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
|
1459
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_roles_on_canvas_id" ON "roles" ("canvas_id")[0m
|
1460
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_roles_on_canvas_account_id" ON "roles" ("canvas_account_id")[0m
|
1461
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190927204545"]]
|
1462
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
1463
|
+
Migrating to CreateAdmins (20190927204546)
|
1464
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1465
|
+
[1m[35m (8.1ms)[0m [1m[35mCREATE TABLE "admins" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "role_name" character varying, "canvas_account_id" bigint, "canvas_role_id" bigint, "canvas_user_id" bigint, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1466
|
+
[1m[35m (3.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_admins_on_canvas_id" ON "admins" ("canvas_id")[0m
|
1467
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_role_id" ON "admins" ("canvas_role_id")[0m
|
1468
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_user_id" ON "admins" ("canvas_user_id")[0m
|
1469
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE INDEX "index_admins_on_canvas_account_id" ON "admins" ("canvas_account_id")[0m
|
1470
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20190927204546"]]
|
1471
|
+
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
|
1472
|
+
Migrating to CreateGroups (20200415171620)
|
1473
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1474
|
+
[1m[35m (8.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
|
1475
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_groups_on_canvas_id" ON "groups" ("canvas_id")[0m
|
1476
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200415171620"]]
|
1477
|
+
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
|
1478
|
+
Migrating to CreateGroupMemberships (20200416214248)
|
1479
|
+
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
1480
|
+
[1m[35m (10.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
|
1481
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_group_memberships_on_canvas_id" ON "group_memberships" ("canvas_id")[0m
|
1482
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20200416214248"]]
|
1483
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
1484
|
+
Migrating to CreatePseudonyms (20201016181346)
|
1485
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1486
|
+
[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
|
1487
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pseudonyms_on_canvas_id" ON "pseudonyms" ("canvas_id")[0m
|
1488
|
+
[1m[35m (4.8ms)[0m [1m[35mCREATE INDEX "index_pseudonyms_on_canvas_user_id" ON "pseudonyms" ("canvas_user_id")[0m
|
1489
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201016181346"]]
|
1490
|
+
[1m[35m (4.8ms)[0m [1m[35mCOMMIT[0m
|
1491
|
+
Migrating to CreateCanvasSyncSyncBatches (20201018210836)
|
1492
|
+
[1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
|
1493
|
+
[1m[35m (14.5ms)[0m [1m[35mCREATE TABLE "canvas_sync_sync_batches" ("id" serial NOT NULL PRIMARY KEY, "started_at" timestamp, "completed_at" timestamp, "status" character varying, "created_at" timestamp, "updated_at" timestamp)[0m
|
1494
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201018210836"]]
|
1495
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
1496
|
+
Migrating to AddFullSyncToCanvasSyncSyncBatch (20201030210836)
|
1497
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1498
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "full_sync" boolean DEFAULT FALSE[0m
|
1499
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "batch_genre" character varying[0m
|
1500
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "canvas_sync_sync_batches" ADD "batch_bid" character varying[0m
|
1501
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201030210836"]]
|
1502
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
1503
|
+
Migrating to CreateUserObservers (20210907233329)
|
1504
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1505
|
+
[1m[35m (8.7ms)[0m [1m[35mCREATE TABLE "user_observers" ("id" bigserial primary key, "observing_user_id" bigint, "observed_user_id" bigint, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1506
|
+
[1m[35m (3.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
|
1507
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE INDEX "index_user_observers_on_observing_user_id" ON "user_observers" ("observing_user_id")[0m
|
1508
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE INDEX "index_user_observers_on_observed_user_id" ON "user_observers" ("observed_user_id")[0m
|
1509
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20210907233329"]]
|
1510
|
+
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
|
1511
|
+
Migrating to CreateGradingPeriods (20210907233330)
|
1512
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1513
|
+
[1m[35m (8.0ms)[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
|
1514
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_grading_periods_on_canvas_id" ON "grading_periods" ("canvas_id")[0m
|
1515
|
+
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "index_grading_periods_on_canvas_grading_period_group_id" ON "grading_periods" ("canvas_grading_period_group_id")[0m
|
1516
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20210907233330"]]
|
1517
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
1518
|
+
Migrating to CreateGradingPeriodGroups (20211001184920)
|
1519
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1520
|
+
[1m[35m (7.7ms)[0m [1m[35mCREATE TABLE "grading_period_groups" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "title" character varying, "weighted" boolean, "display_totals_for_all_grading_periods" boolean, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1521
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_grading_period_groups_on_canvas_id" ON "grading_period_groups" ("canvas_id")[0m
|
1522
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20211001184920"]]
|
1523
|
+
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
|
1524
|
+
[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]]
|
1525
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1526
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.9ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2021-10-01 18:49:32.134294"], ["updated_at", "2021-10-01 18:49:32.134294"]]
|
1527
|
+
[1m[35m (2.3ms)[0m [1m[35mCOMMIT[0m
|
1528
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT pg_advisory_unlock(1438354376499275445)[0m
|
1529
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|