canvas_sync 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +178 -0
- data/Rakefile +23 -0
- data/lib/canvas_sync.rb +96 -0
- data/lib/canvas_sync/generators/install_generator.rb +54 -0
- data/lib/canvas_sync/generators/templates/course.rb +8 -0
- data/lib/canvas_sync/generators/templates/create_courses.rb +21 -0
- data/lib/canvas_sync/generators/templates/create_enrollments.rb +26 -0
- data/lib/canvas_sync/generators/templates/create_sections.rb +20 -0
- data/lib/canvas_sync/generators/templates/create_terms.rb +18 -0
- data/lib/canvas_sync/generators/templates/create_users.rb +18 -0
- data/lib/canvas_sync/generators/templates/enrollment.rb +8 -0
- data/lib/canvas_sync/generators/templates/section.rb +7 -0
- data/lib/canvas_sync/generators/templates/term.rb +28 -0
- data/lib/canvas_sync/generators/templates/user.rb +6 -0
- data/lib/canvas_sync/importers/bulk_importer.rb +54 -0
- data/lib/canvas_sync/jobs/application_job.rb +25 -0
- data/lib/canvas_sync/jobs/report_checker.rb +48 -0
- data/lib/canvas_sync/jobs/report_processor_job.rb +36 -0
- data/lib/canvas_sync/jobs/report_starter.rb +29 -0
- data/lib/canvas_sync/jobs/sync_provisioning_report_job.rb +58 -0
- data/lib/canvas_sync/jobs/sync_terms_job.rb +23 -0
- data/lib/canvas_sync/jobs/sync_users_job.rb +32 -0
- data/lib/canvas_sync/processors/provisioning_report_processor.rb +118 -0
- data/lib/canvas_sync/version.rb +3 -0
- data/spec/canvas_sync/canvas_sync_spec.rb +60 -0
- data/spec/canvas_sync/jobs/report_checker_spec.rb +62 -0
- data/spec/canvas_sync/jobs/report_processor_job_spec.rb +30 -0
- data/spec/canvas_sync/jobs/report_starter_spec.rb +27 -0
- data/spec/canvas_sync/jobs/sync_provisioning_report_job_spec.rb +81 -0
- data/spec/canvas_sync/jobs/sync_terms_job_spec.rb +18 -0
- data/spec/canvas_sync/jobs/sync_users_job_spec.rb +18 -0
- data/spec/canvas_sync/models/course_spec.rb +30 -0
- data/spec/canvas_sync/models/enrollment_spec.rb +30 -0
- data/spec/canvas_sync/models/section_spec.rb +24 -0
- data/spec/canvas_sync/models/term_spec.rb +71 -0
- data/spec/canvas_sync/models/user_spec.rb +18 -0
- data/spec/canvas_sync/processors/provisioning_report_processor_spec.rb +41 -0
- data/spec/dummy/README.rdoc +1 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/app/models/course.rb +14 -0
- data/spec/dummy/app/models/enrollment.rb +14 -0
- data/spec/dummy/app/models/section.rb +13 -0
- data/spec/dummy/app/models/term.rb +34 -0
- data/spec/dummy/app/models/user.rb +12 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +26 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +41 -0
- data/spec/dummy/config/environments/test.rb +42 -0
- data/spec/dummy/config/initializers/assets.rb +11 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/routes.rb +2 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20170831220702_create_courses.rb +27 -0
- data/spec/dummy/db/migrate/20170831221129_create_users.rb +24 -0
- data/spec/dummy/db/migrate/20170905192509_create_enrollments.rb +32 -0
- data/spec/dummy/db/migrate/20170906193506_create_terms.rb +24 -0
- data/spec/dummy/db/migrate/20170906203438_create_sections.rb +26 -0
- data/spec/dummy/db/schema.rb +88 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +828 -0
- data/spec/dummy/log/test.log +14582 -0
- data/spec/factories/course_factory.rb +10 -0
- data/spec/factories/enrollment_factory.rb +5 -0
- data/spec/factories/section_factory.rb +5 -0
- data/spec/factories/term_factory.rb +10 -0
- data/spec/factories/user_factory.rb +9 -0
- data/spec/spec_helper.rb +46 -0
- data/spec/support/fake_canvas.rb +22 -0
- data/spec/support/fixtures/canvas_responses/terms.json +64 -0
- data/spec/support/fixtures/reports/courses.csv +3 -0
- data/spec/support/fixtures/reports/enrollments.csv +3 -0
- data/spec/support/fixtures/reports/provisioning_csv +0 -0
- data/spec/support/fixtures/reports/provisioning_csv_unzipped/courses.csv +3 -0
- data/spec/support/fixtures/reports/provisioning_csv_unzipped/users.csv +4 -0
- data/spec/support/fixtures/reports/sections.csv +3 -0
- data/spec/support/fixtures/reports/users.csv +4 -0
- metadata +423 -0
@@ -0,0 +1,32 @@
|
|
1
|
+
#
|
2
|
+
# AUTO GENERATED MIGRATION
|
3
|
+
# This migration was auto generated by the CanvasSync Gem.
|
4
|
+
# You can add new columns to this table, but removing or
|
5
|
+
# re-naming ones created here may break Canvas Syncing.
|
6
|
+
#
|
7
|
+
|
8
|
+
|
9
|
+
class CreateEnrollments < ActiveRecord::Migration[5.1]
|
10
|
+
def change
|
11
|
+
create_table :enrollments do |t|
|
12
|
+
t.bigint :canvas_enrollment_id, null: false
|
13
|
+
t.bigint :canvas_course_id
|
14
|
+
t.string :course_sis_id
|
15
|
+
t.bigint :canvas_user_id
|
16
|
+
t.string :user_sis_id
|
17
|
+
t.string :role
|
18
|
+
t.integer :role_id
|
19
|
+
t.bigint :canvas_section_id
|
20
|
+
t.string :section_sis_id
|
21
|
+
t.string :status
|
22
|
+
t.string :base_role_type
|
23
|
+
|
24
|
+
|
25
|
+
t.timestamps
|
26
|
+
end
|
27
|
+
|
28
|
+
add_index :enrollments, :canvas_enrollment_id, unique: true
|
29
|
+
add_index :enrollments, :canvas_course_id
|
30
|
+
add_index :enrollments, :canvas_user_id
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
#
|
2
|
+
# AUTO GENERATED MIGRATION
|
3
|
+
# This migration was auto generated by the CanvasSync Gem.
|
4
|
+
# You can add new columns to this table, but removing or
|
5
|
+
# re-naming ones created here may break Canvas Syncing.
|
6
|
+
#
|
7
|
+
|
8
|
+
|
9
|
+
class CreateTerms < ActiveRecord::Migration[5.1]
|
10
|
+
def change
|
11
|
+
create_table :terms do |t|
|
12
|
+
t.integer :canvas_term_id, null: false
|
13
|
+
t.string :name
|
14
|
+
t.datetime :start_at
|
15
|
+
t.datetime :end_at
|
16
|
+
t.string :workflow_state
|
17
|
+
t.integer :grading_period_group_id
|
18
|
+
t.string :sis_id
|
19
|
+
|
20
|
+
t.timestamps
|
21
|
+
end
|
22
|
+
add_index :terms, :canvas_term_id, unique: true
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
#
|
2
|
+
# AUTO GENERATED MIGRATION
|
3
|
+
# This migration was auto generated by the CanvasSync Gem.
|
4
|
+
# You can add new columns to this table, but removing or
|
5
|
+
# re-naming ones created here may break Canvas Syncing.
|
6
|
+
#
|
7
|
+
|
8
|
+
|
9
|
+
class CreateSections < ActiveRecord::Migration[5.1]
|
10
|
+
def change
|
11
|
+
create_table :sections do |t|
|
12
|
+
t.bigint :canvas_section_id, null: false
|
13
|
+
t.string :sis_id
|
14
|
+
t.bigint :canvas_course_id
|
15
|
+
t.string :name
|
16
|
+
t.string :status
|
17
|
+
t.datetime :start_date
|
18
|
+
t.datetime :end_date
|
19
|
+
|
20
|
+
t.timestamps
|
21
|
+
end
|
22
|
+
|
23
|
+
add_index :sections, :canvas_section_id, unique: true
|
24
|
+
add_index :sections, :canvas_course_id
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,88 @@
|
|
1
|
+
# This file is auto-generated from the current state of the database. Instead
|
2
|
+
# of editing this file, please use the migrations feature of Active Record to
|
3
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
4
|
+
#
|
5
|
+
# Note that this schema.rb definition is the authoritative source for your
|
6
|
+
# database schema. If you need to create the application database on another
|
7
|
+
# system, you should be using db:schema:load, not running all the migrations
|
8
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
9
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
10
|
+
#
|
11
|
+
# It's strongly recommended that you check this file into your version control system.
|
12
|
+
|
13
|
+
ActiveRecord::Schema.define(version: 20170906203438) do
|
14
|
+
|
15
|
+
create_table "courses", force: :cascade do |t|
|
16
|
+
t.bigint "canvas_course_id", null: false
|
17
|
+
t.string "sis_id"
|
18
|
+
t.string "short_name"
|
19
|
+
t.string "long_name"
|
20
|
+
t.integer "canvas_account_id"
|
21
|
+
t.integer "canvas_term_id"
|
22
|
+
t.integer "term_sis_id"
|
23
|
+
t.datetime "start_date"
|
24
|
+
t.datetime "end_date"
|
25
|
+
t.datetime "created_at", null: false
|
26
|
+
t.datetime "updated_at", null: false
|
27
|
+
t.index ["canvas_course_id"], name: "index_courses_on_canvas_course_id", unique: true
|
28
|
+
end
|
29
|
+
|
30
|
+
create_table "enrollments", force: :cascade do |t|
|
31
|
+
t.bigint "canvas_enrollment_id", null: false
|
32
|
+
t.bigint "canvas_course_id"
|
33
|
+
t.string "course_sis_id"
|
34
|
+
t.bigint "canvas_user_id"
|
35
|
+
t.string "user_sis_id"
|
36
|
+
t.string "role"
|
37
|
+
t.integer "role_id"
|
38
|
+
t.bigint "canvas_section_id"
|
39
|
+
t.string "section_sis_id"
|
40
|
+
t.string "status"
|
41
|
+
t.string "base_role_type"
|
42
|
+
t.datetime "created_at", null: false
|
43
|
+
t.datetime "updated_at", null: false
|
44
|
+
t.index ["canvas_course_id"], name: "index_enrollments_on_canvas_course_id"
|
45
|
+
t.index ["canvas_enrollment_id"], name: "index_enrollments_on_canvas_enrollment_id", unique: true
|
46
|
+
t.index ["canvas_user_id"], name: "index_enrollments_on_canvas_user_id"
|
47
|
+
end
|
48
|
+
|
49
|
+
create_table "sections", force: :cascade do |t|
|
50
|
+
t.bigint "canvas_section_id", null: false
|
51
|
+
t.string "sis_id"
|
52
|
+
t.bigint "canvas_course_id"
|
53
|
+
t.string "name"
|
54
|
+
t.string "status"
|
55
|
+
t.datetime "start_date"
|
56
|
+
t.datetime "end_date"
|
57
|
+
t.datetime "created_at", null: false
|
58
|
+
t.datetime "updated_at", null: false
|
59
|
+
t.index ["canvas_course_id"], name: "index_sections_on_canvas_course_id"
|
60
|
+
t.index ["canvas_section_id"], name: "index_sections_on_canvas_section_id", unique: true
|
61
|
+
end
|
62
|
+
|
63
|
+
create_table "terms", force: :cascade do |t|
|
64
|
+
t.integer "canvas_term_id", null: false
|
65
|
+
t.string "name"
|
66
|
+
t.datetime "start_at"
|
67
|
+
t.datetime "end_at"
|
68
|
+
t.string "workflow_state"
|
69
|
+
t.integer "grading_period_group_id"
|
70
|
+
t.string "sis_id"
|
71
|
+
t.datetime "created_at", null: false
|
72
|
+
t.datetime "updated_at", null: false
|
73
|
+
t.index ["canvas_term_id"], name: "index_terms_on_canvas_term_id", unique: true
|
74
|
+
end
|
75
|
+
|
76
|
+
create_table "users", force: :cascade do |t|
|
77
|
+
t.bigint "canvas_user_id", null: false
|
78
|
+
t.string "sis_id"
|
79
|
+
t.string "email"
|
80
|
+
t.string "first_name"
|
81
|
+
t.string "last_name"
|
82
|
+
t.string "status"
|
83
|
+
t.datetime "created_at", null: false
|
84
|
+
t.datetime "updated_at", null: false
|
85
|
+
t.index ["canvas_user_id"], name: "index_users_on_canvas_user_id", unique: true
|
86
|
+
end
|
87
|
+
|
88
|
+
end
|
Binary file
|
@@ -0,0 +1,828 @@
|
|
1
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
2
|
+
[1m[35m (6.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
3
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
4
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
5
|
+
Migrating to CreateCourses (20170831220702)
|
6
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
7
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "courses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_course_id" bigint NOT NULL, "sis_id" varchar, "short_name" varchar, "long_name" varchar, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" datetime, "end_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
8
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
9
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831220702"]]
|
10
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
11
|
+
Migrating to CreateUsers (20170831221129)
|
12
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
13
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_user_id" bigint NOT NULL, "sis_id" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "status" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
14
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
15
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831221129"]]
|
16
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
17
|
+
Migrating to CreateTerms (20170906193506)
|
18
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
19
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_term_id" integer NOT NULL, "name" varchar, "start_at" datetime, "end_at" datetime, "workflow_state" varchar, "grading_period_group_id" integer, "sis_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
20
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
21
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906193506"]]
|
22
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
23
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
24
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
25
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", "2017-09-06 19:35:30.926435"], ["updated_at", "2017-09-06 19:35:30.926435"]]
|
26
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
27
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
28
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
29
|
+
FROM sqlite_master
|
30
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
31
|
+
UNION ALL
|
32
|
+
SELECT sql
|
33
|
+
FROM sqlite_temp_master
|
34
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
35
|
+
[0m
|
36
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
37
|
+
FROM sqlite_master
|
38
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
39
|
+
UNION ALL
|
40
|
+
SELECT sql
|
41
|
+
FROM sqlite_temp_master
|
42
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
43
|
+
[0m
|
44
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
45
|
+
FROM sqlite_master
|
46
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
47
|
+
UNION ALL
|
48
|
+
SELECT sql
|
49
|
+
FROM sqlite_temp_master
|
50
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
51
|
+
[0m
|
52
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
53
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
54
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
55
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
56
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
57
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
58
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
59
|
+
[1m[35m (6.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
60
|
+
[1m[35m (1.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
61
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
62
|
+
Migrating to CreateCourses (20170831220702)
|
63
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
64
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "courses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_course_id" bigint NOT NULL, "sis_id" varchar, "short_name" varchar, "long_name" varchar, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" datetime, "end_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
65
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
66
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831220702"]]
|
67
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
68
|
+
Migrating to CreateUsers (20170831221129)
|
69
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
70
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_user_id" bigint NOT NULL, "sis_id" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "status" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
71
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
72
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831221129"]]
|
73
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
74
|
+
Migrating to CreateTerms (20170906193506)
|
75
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
76
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_term_id" integer NOT NULL, "name" varchar, "start_at" datetime, "end_at" datetime, "workflow_state" varchar, "grading_period_group_id" integer, "sis_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
77
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
78
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906193506"]]
|
79
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
80
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
81
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
82
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", "2017-09-06 19:36:46.224786"], ["updated_at", "2017-09-06 19:36:46.224786"]]
|
83
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
84
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
85
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
86
|
+
FROM sqlite_master
|
87
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
88
|
+
UNION ALL
|
89
|
+
SELECT sql
|
90
|
+
FROM sqlite_temp_master
|
91
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
92
|
+
[0m
|
93
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
94
|
+
FROM sqlite_master
|
95
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
96
|
+
UNION ALL
|
97
|
+
SELECT sql
|
98
|
+
FROM sqlite_temp_master
|
99
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
100
|
+
[0m
|
101
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
102
|
+
FROM sqlite_master
|
103
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
104
|
+
UNION ALL
|
105
|
+
SELECT sql
|
106
|
+
FROM sqlite_temp_master
|
107
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
108
|
+
[0m
|
109
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
110
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
111
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
112
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
113
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
114
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
115
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
116
|
+
[1m[35m (6.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
117
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
118
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
119
|
+
Migrating to CreateCourses (20170831220702)
|
120
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
121
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "courses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_course_id" bigint NOT NULL, "sis_id" varchar, "short_name" varchar, "long_name" varchar, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" datetime, "end_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
122
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
123
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831220702"]]
|
124
|
+
[1m[35m (1.3ms)[0m [1m[36mcommit transaction[0m
|
125
|
+
Migrating to CreateUsers (20170831221129)
|
126
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
127
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_user_id" bigint NOT NULL, "sis_id" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "status" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
128
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
129
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831221129"]]
|
130
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
131
|
+
Migrating to CreateEnrollments (20170905192509)
|
132
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
133
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "enrollments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_enrollment_id" bigint NOT NULL, "canvas_course_id" bigint, "course_sis_id" varchar, "canvas_user_id" bigint, "user_sis_id" varchar, "role" varchar, "role_id" integer, "canvas_section_id" bigint, "section_sis_id" varchar, "status" varchar, "base_role_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
134
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
135
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
136
|
+
FROM sqlite_master
|
137
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
138
|
+
UNION ALL
|
139
|
+
SELECT sql
|
140
|
+
FROM sqlite_temp_master
|
141
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
142
|
+
[0m
|
143
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
144
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
145
|
+
FROM sqlite_master
|
146
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
147
|
+
UNION ALL
|
148
|
+
SELECT sql
|
149
|
+
FROM sqlite_temp_master
|
150
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
151
|
+
[0m
|
152
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
153
|
+
FROM sqlite_master
|
154
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
155
|
+
UNION ALL
|
156
|
+
SELECT sql
|
157
|
+
FROM sqlite_temp_master
|
158
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
159
|
+
[0m
|
160
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
161
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170905192509"]]
|
162
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
163
|
+
Migrating to CreateTerms (20170906193506)
|
164
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
165
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_term_id" integer NOT NULL, "name" varchar, "start_at" datetime, "end_at" datetime, "workflow_state" varchar, "grading_period_group_id" integer, "sis_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
166
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
167
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906193506"]]
|
168
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
169
|
+
Migrating to CreateSections (20170906201047)
|
170
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
171
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_section_id" bigint NOT NULL, "sis_id" varchar, "canvas_course_id" bigint, "name" varchar, "status" varchar, "start_date" datetime, "end_Date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
172
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
173
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
174
|
+
FROM sqlite_master
|
175
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
176
|
+
UNION ALL
|
177
|
+
SELECT sql
|
178
|
+
FROM sqlite_temp_master
|
179
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
180
|
+
[0m
|
181
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
182
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906201047"]]
|
183
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
184
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
185
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
186
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", "2017-09-06 20:10:52.433058"], ["updated_at", "2017-09-06 20:10:52.433058"]]
|
187
|
+
[1m[35m (1.3ms)[0m [1m[36mcommit transaction[0m
|
188
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
189
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
190
|
+
FROM sqlite_master
|
191
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
192
|
+
UNION ALL
|
193
|
+
SELECT sql
|
194
|
+
FROM sqlite_temp_master
|
195
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
196
|
+
[0m
|
197
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
198
|
+
FROM sqlite_master
|
199
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
200
|
+
UNION ALL
|
201
|
+
SELECT sql
|
202
|
+
FROM sqlite_temp_master
|
203
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
204
|
+
[0m
|
205
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
206
|
+
FROM sqlite_master
|
207
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
208
|
+
UNION ALL
|
209
|
+
SELECT sql
|
210
|
+
FROM sqlite_temp_master
|
211
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
212
|
+
[0m
|
213
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
214
|
+
FROM sqlite_master
|
215
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
216
|
+
UNION ALL
|
217
|
+
SELECT sql
|
218
|
+
FROM sqlite_temp_master
|
219
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
220
|
+
[0m
|
221
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
222
|
+
FROM sqlite_master
|
223
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
224
|
+
UNION ALL
|
225
|
+
SELECT sql
|
226
|
+
FROM sqlite_temp_master
|
227
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
228
|
+
[0m
|
229
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
230
|
+
FROM sqlite_master
|
231
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
232
|
+
UNION ALL
|
233
|
+
SELECT sql
|
234
|
+
FROM sqlite_temp_master
|
235
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
236
|
+
[0m
|
237
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
238
|
+
FROM sqlite_master
|
239
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
240
|
+
UNION ALL
|
241
|
+
SELECT sql
|
242
|
+
FROM sqlite_temp_master
|
243
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
244
|
+
[0m
|
245
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
246
|
+
FROM sqlite_master
|
247
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
248
|
+
UNION ALL
|
249
|
+
SELECT sql
|
250
|
+
FROM sqlite_temp_master
|
251
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
252
|
+
[0m
|
253
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
254
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
255
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
256
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
257
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
258
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
259
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
260
|
+
[1m[35m (6.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
261
|
+
[1m[35m (0.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
262
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
263
|
+
Migrating to CreateCourses (20170831220702)
|
264
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
265
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "courses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_course_id" bigint NOT NULL, "sis_id" varchar, "short_name" varchar, "long_name" varchar, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" datetime, "end_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
266
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
267
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831220702"]]
|
268
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
269
|
+
Migrating to CreateUsers (20170831221129)
|
270
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
271
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_user_id" bigint NOT NULL, "sis_id" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "status" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
272
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
273
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831221129"]]
|
274
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
275
|
+
Migrating to CreateEnrollments (20170905192509)
|
276
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
277
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "enrollments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_enrollment_id" bigint NOT NULL, "canvas_course_id" bigint, "course_sis_id" varchar, "canvas_user_id" bigint, "user_sis_id" varchar, "role" varchar, "role_id" integer, "canvas_section_id" bigint, "section_sis_id" varchar, "status" varchar, "base_role_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
278
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
279
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
280
|
+
FROM sqlite_master
|
281
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
282
|
+
UNION ALL
|
283
|
+
SELECT sql
|
284
|
+
FROM sqlite_temp_master
|
285
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
286
|
+
[0m
|
287
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
288
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
289
|
+
FROM sqlite_master
|
290
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
291
|
+
UNION ALL
|
292
|
+
SELECT sql
|
293
|
+
FROM sqlite_temp_master
|
294
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
295
|
+
[0m
|
296
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
297
|
+
FROM sqlite_master
|
298
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
299
|
+
UNION ALL
|
300
|
+
SELECT sql
|
301
|
+
FROM sqlite_temp_master
|
302
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
303
|
+
[0m
|
304
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
305
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170905192509"]]
|
306
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
307
|
+
Migrating to CreateTerms (20170906193506)
|
308
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
309
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_term_id" integer NOT NULL, "name" varchar, "start_at" datetime, "end_at" datetime, "workflow_state" varchar, "grading_period_group_id" integer, "sis_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
310
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
311
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906193506"]]
|
312
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
313
|
+
Migrating to CreateSections (20170906201047)
|
314
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
315
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_section_id" bigint NOT NULL, "sis_id" varchar, "canvas_course_id" bigint, "name" varchar, "status" varchar, "start_date" datetime, "end_Date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
316
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
317
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
318
|
+
FROM sqlite_master
|
319
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
320
|
+
UNION ALL
|
321
|
+
SELECT sql
|
322
|
+
FROM sqlite_temp_master
|
323
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
324
|
+
[0m
|
325
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
326
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906201047"]]
|
327
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
328
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
329
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
330
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", "2017-09-06 20:18:57.252688"], ["updated_at", "2017-09-06 20:18:57.252688"]]
|
331
|
+
[1m[35m (0.5ms)[0m [1m[36mcommit transaction[0m
|
332
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
333
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
334
|
+
FROM sqlite_master
|
335
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
336
|
+
UNION ALL
|
337
|
+
SELECT sql
|
338
|
+
FROM sqlite_temp_master
|
339
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
340
|
+
[0m
|
341
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
342
|
+
FROM sqlite_master
|
343
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
344
|
+
UNION ALL
|
345
|
+
SELECT sql
|
346
|
+
FROM sqlite_temp_master
|
347
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
348
|
+
[0m
|
349
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
350
|
+
FROM sqlite_master
|
351
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
352
|
+
UNION ALL
|
353
|
+
SELECT sql
|
354
|
+
FROM sqlite_temp_master
|
355
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
356
|
+
[0m
|
357
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
358
|
+
FROM sqlite_master
|
359
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
360
|
+
UNION ALL
|
361
|
+
SELECT sql
|
362
|
+
FROM sqlite_temp_master
|
363
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
364
|
+
[0m
|
365
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
366
|
+
FROM sqlite_master
|
367
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
368
|
+
UNION ALL
|
369
|
+
SELECT sql
|
370
|
+
FROM sqlite_temp_master
|
371
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
372
|
+
[0m
|
373
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
374
|
+
FROM sqlite_master
|
375
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
376
|
+
UNION ALL
|
377
|
+
SELECT sql
|
378
|
+
FROM sqlite_temp_master
|
379
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
380
|
+
[0m
|
381
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
382
|
+
FROM sqlite_master
|
383
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
384
|
+
UNION ALL
|
385
|
+
SELECT sql
|
386
|
+
FROM sqlite_temp_master
|
387
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
388
|
+
[0m
|
389
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
390
|
+
FROM sqlite_master
|
391
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
392
|
+
UNION ALL
|
393
|
+
SELECT sql
|
394
|
+
FROM sqlite_temp_master
|
395
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
396
|
+
[0m
|
397
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
398
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
399
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
400
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
401
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
402
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
403
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
404
|
+
[1m[35m (7.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
405
|
+
[1m[35m (1.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
406
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
407
|
+
Migrating to CreateCourses (20170831220702)
|
408
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
409
|
+
[1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "courses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_course_id" bigint NOT NULL, "sis_id" varchar, "short_name" varchar, "long_name" varchar, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" datetime, "end_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
410
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
411
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831220702"]]
|
412
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
413
|
+
Migrating to CreateUsers (20170831221129)
|
414
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
415
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_user_id" bigint NOT NULL, "sis_id" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "status" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
416
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
417
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831221129"]]
|
418
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
419
|
+
Migrating to CreateEnrollments (20170905192509)
|
420
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
421
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "enrollments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_enrollment_id" bigint NOT NULL, "canvas_course_id" bigint, "course_sis_id" varchar, "canvas_user_id" bigint, "user_sis_id" varchar, "role" varchar, "role_id" integer, "canvas_section_id" bigint, "section_sis_id" varchar, "status" varchar, "base_role_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
422
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
423
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
424
|
+
FROM sqlite_master
|
425
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
426
|
+
UNION ALL
|
427
|
+
SELECT sql
|
428
|
+
FROM sqlite_temp_master
|
429
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
430
|
+
[0m
|
431
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
432
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
433
|
+
FROM sqlite_master
|
434
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
435
|
+
UNION ALL
|
436
|
+
SELECT sql
|
437
|
+
FROM sqlite_temp_master
|
438
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
439
|
+
[0m
|
440
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
441
|
+
FROM sqlite_master
|
442
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
443
|
+
UNION ALL
|
444
|
+
SELECT sql
|
445
|
+
FROM sqlite_temp_master
|
446
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
447
|
+
[0m
|
448
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
449
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170905192509"]]
|
450
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
451
|
+
Migrating to CreateTerms (20170906193506)
|
452
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
453
|
+
[1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_term_id" integer NOT NULL, "name" varchar, "start_at" datetime, "end_at" datetime, "workflow_state" varchar, "grading_period_group_id" integer, "sis_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
454
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
455
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906193506"]]
|
456
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
457
|
+
Migrating to CreateSections (20170906203438)
|
458
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
459
|
+
[1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_section_id" bigint NOT NULL, "sis_id" varchar, "canvas_course_id" bigint, "name" varchar, "status" varchar, "start_date" datetime, "end_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
460
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
461
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
462
|
+
FROM sqlite_master
|
463
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
464
|
+
UNION ALL
|
465
|
+
SELECT sql
|
466
|
+
FROM sqlite_temp_master
|
467
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
468
|
+
[0m
|
469
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
470
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906203438"]]
|
471
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
472
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
473
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
474
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", "2017-09-06 20:34:44.383935"], ["updated_at", "2017-09-06 20:34:44.383935"]]
|
475
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
476
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
477
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
478
|
+
FROM sqlite_master
|
479
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
480
|
+
UNION ALL
|
481
|
+
SELECT sql
|
482
|
+
FROM sqlite_temp_master
|
483
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
484
|
+
[0m
|
485
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
486
|
+
FROM sqlite_master
|
487
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
488
|
+
UNION ALL
|
489
|
+
SELECT sql
|
490
|
+
FROM sqlite_temp_master
|
491
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
492
|
+
[0m
|
493
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
494
|
+
FROM sqlite_master
|
495
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
496
|
+
UNION ALL
|
497
|
+
SELECT sql
|
498
|
+
FROM sqlite_temp_master
|
499
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
500
|
+
[0m
|
501
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
502
|
+
FROM sqlite_master
|
503
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
504
|
+
UNION ALL
|
505
|
+
SELECT sql
|
506
|
+
FROM sqlite_temp_master
|
507
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
508
|
+
[0m
|
509
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
510
|
+
FROM sqlite_master
|
511
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
512
|
+
UNION ALL
|
513
|
+
SELECT sql
|
514
|
+
FROM sqlite_temp_master
|
515
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
516
|
+
[0m
|
517
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
518
|
+
FROM sqlite_master
|
519
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
520
|
+
UNION ALL
|
521
|
+
SELECT sql
|
522
|
+
FROM sqlite_temp_master
|
523
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
524
|
+
[0m
|
525
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
526
|
+
FROM sqlite_master
|
527
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
528
|
+
UNION ALL
|
529
|
+
SELECT sql
|
530
|
+
FROM sqlite_temp_master
|
531
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
532
|
+
[0m
|
533
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
534
|
+
FROM sqlite_master
|
535
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
536
|
+
UNION ALL
|
537
|
+
SELECT sql
|
538
|
+
FROM sqlite_temp_master
|
539
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
540
|
+
[0m
|
541
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
542
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
543
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
544
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
545
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
546
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
547
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
548
|
+
[1m[35m (7.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
549
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
550
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
551
|
+
Migrating to CreateCourses (20170831220702)
|
552
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
553
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "courses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_course_id" bigint NOT NULL, "sis_id" varchar, "short_name" varchar, "long_name" varchar, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" datetime, "end_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
554
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
555
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831220702"]]
|
556
|
+
[1m[35m (1.4ms)[0m [1m[36mcommit transaction[0m
|
557
|
+
Migrating to CreateUsers (20170831221129)
|
558
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
559
|
+
[1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_user_id" bigint NOT NULL, "sis_id" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "status" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
560
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
561
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831221129"]]
|
562
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
563
|
+
Migrating to CreateEnrollments (20170905192509)
|
564
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
565
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "enrollments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_enrollment_id" bigint NOT NULL, "canvas_course_id" bigint, "course_sis_id" varchar, "canvas_user_id" bigint, "user_sis_id" varchar, "role" varchar, "role_id" integer, "canvas_section_id" bigint, "section_sis_id" varchar, "status" varchar, "base_role_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
566
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
567
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
568
|
+
FROM sqlite_master
|
569
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
570
|
+
UNION ALL
|
571
|
+
SELECT sql
|
572
|
+
FROM sqlite_temp_master
|
573
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
574
|
+
[0m
|
575
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
576
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
577
|
+
FROM sqlite_master
|
578
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
579
|
+
UNION ALL
|
580
|
+
SELECT sql
|
581
|
+
FROM sqlite_temp_master
|
582
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
583
|
+
[0m
|
584
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
585
|
+
FROM sqlite_master
|
586
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
587
|
+
UNION ALL
|
588
|
+
SELECT sql
|
589
|
+
FROM sqlite_temp_master
|
590
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
591
|
+
[0m
|
592
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
593
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170905192509"]]
|
594
|
+
[1m[35m (1.3ms)[0m [1m[36mcommit transaction[0m
|
595
|
+
Migrating to CreateTerms (20170906193506)
|
596
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
597
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_term_id" integer NOT NULL, "name" varchar, "start_at" datetime, "end_at" datetime, "workflow_state" varchar, "grading_period_group_id" integer, "sis_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
598
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
599
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906193506"]]
|
600
|
+
[1m[35m (1.3ms)[0m [1m[36mcommit transaction[0m
|
601
|
+
Migrating to CreateSections (20170906203438)
|
602
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
603
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_section_id" bigint NOT NULL, "sis_id" varchar, "canvas_course_id" bigint, "name" varchar, "status" varchar, "start_date" datetime, "end_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
604
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
605
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
606
|
+
FROM sqlite_master
|
607
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
608
|
+
UNION ALL
|
609
|
+
SELECT sql
|
610
|
+
FROM sqlite_temp_master
|
611
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
612
|
+
[0m
|
613
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
614
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906203438"]]
|
615
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
616
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
617
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
618
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", "2017-09-07 15:10:06.716782"], ["updated_at", "2017-09-07 15:10:06.716782"]]
|
619
|
+
[1m[35m (1.3ms)[0m [1m[36mcommit transaction[0m
|
620
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
621
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
622
|
+
FROM sqlite_master
|
623
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
624
|
+
UNION ALL
|
625
|
+
SELECT sql
|
626
|
+
FROM sqlite_temp_master
|
627
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
628
|
+
[0m
|
629
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
630
|
+
FROM sqlite_master
|
631
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
632
|
+
UNION ALL
|
633
|
+
SELECT sql
|
634
|
+
FROM sqlite_temp_master
|
635
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
636
|
+
[0m
|
637
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
638
|
+
FROM sqlite_master
|
639
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
640
|
+
UNION ALL
|
641
|
+
SELECT sql
|
642
|
+
FROM sqlite_temp_master
|
643
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
644
|
+
[0m
|
645
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
646
|
+
FROM sqlite_master
|
647
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
648
|
+
UNION ALL
|
649
|
+
SELECT sql
|
650
|
+
FROM sqlite_temp_master
|
651
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
652
|
+
[0m
|
653
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
654
|
+
FROM sqlite_master
|
655
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
656
|
+
UNION ALL
|
657
|
+
SELECT sql
|
658
|
+
FROM sqlite_temp_master
|
659
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
660
|
+
[0m
|
661
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
662
|
+
FROM sqlite_master
|
663
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
664
|
+
UNION ALL
|
665
|
+
SELECT sql
|
666
|
+
FROM sqlite_temp_master
|
667
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
668
|
+
[0m
|
669
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
670
|
+
FROM sqlite_master
|
671
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
672
|
+
UNION ALL
|
673
|
+
SELECT sql
|
674
|
+
FROM sqlite_temp_master
|
675
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
676
|
+
[0m
|
677
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
678
|
+
FROM sqlite_master
|
679
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
680
|
+
UNION ALL
|
681
|
+
SELECT sql
|
682
|
+
FROM sqlite_temp_master
|
683
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
684
|
+
[0m
|
685
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
686
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
687
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
688
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
689
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
690
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
691
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
692
|
+
[1m[35m (6.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
693
|
+
[1m[35m (1.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
694
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
695
|
+
Migrating to CreateCourses (20170831220702)
|
696
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
697
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "courses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_course_id" bigint NOT NULL, "sis_id" varchar, "short_name" varchar, "long_name" varchar, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" datetime, "end_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
698
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
699
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831220702"]]
|
700
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
701
|
+
Migrating to CreateUsers (20170831221129)
|
702
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
703
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_user_id" bigint NOT NULL, "sis_id" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "status" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
704
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
705
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831221129"]]
|
706
|
+
[1m[35m (1.3ms)[0m [1m[36mcommit transaction[0m
|
707
|
+
Migrating to CreateEnrollments (20170905192509)
|
708
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
709
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "enrollments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_enrollment_id" bigint NOT NULL, "canvas_course_id" bigint, "course_sis_id" varchar, "canvas_user_id" bigint, "user_sis_id" varchar, "role" varchar, "role_id" integer, "canvas_section_id" bigint, "section_sis_id" varchar, "status" varchar, "base_role_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
710
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
711
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
712
|
+
FROM sqlite_master
|
713
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
714
|
+
UNION ALL
|
715
|
+
SELECT sql
|
716
|
+
FROM sqlite_temp_master
|
717
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
718
|
+
[0m
|
719
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
720
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
721
|
+
FROM sqlite_master
|
722
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
723
|
+
UNION ALL
|
724
|
+
SELECT sql
|
725
|
+
FROM sqlite_temp_master
|
726
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
727
|
+
[0m
|
728
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
729
|
+
FROM sqlite_master
|
730
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
731
|
+
UNION ALL
|
732
|
+
SELECT sql
|
733
|
+
FROM sqlite_temp_master
|
734
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
735
|
+
[0m
|
736
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
737
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170905192509"]]
|
738
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
739
|
+
Migrating to CreateTerms (20170906193506)
|
740
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
741
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_term_id" integer NOT NULL, "name" varchar, "start_at" datetime, "end_at" datetime, "workflow_state" varchar, "grading_period_group_id" integer, "sis_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
742
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
743
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906193506"]]
|
744
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
745
|
+
Migrating to CreateSections (20170906203438)
|
746
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
747
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_section_id" bigint NOT NULL, "sis_id" varchar, "canvas_course_id" bigint, "name" varchar, "status" varchar, "start_date" datetime, "end_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
748
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
749
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
750
|
+
FROM sqlite_master
|
751
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
752
|
+
UNION ALL
|
753
|
+
SELECT sql
|
754
|
+
FROM sqlite_temp_master
|
755
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
756
|
+
[0m
|
757
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
758
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906203438"]]
|
759
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
760
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
761
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
762
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", "2017-09-07 15:11:25.839131"], ["updated_at", "2017-09-07 15:11:25.839131"]]
|
763
|
+
[1m[35m (1.4ms)[0m [1m[36mcommit transaction[0m
|
764
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
765
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
766
|
+
FROM sqlite_master
|
767
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
768
|
+
UNION ALL
|
769
|
+
SELECT sql
|
770
|
+
FROM sqlite_temp_master
|
771
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
772
|
+
[0m
|
773
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
774
|
+
FROM sqlite_master
|
775
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
776
|
+
UNION ALL
|
777
|
+
SELECT sql
|
778
|
+
FROM sqlite_temp_master
|
779
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
780
|
+
[0m
|
781
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
782
|
+
FROM sqlite_master
|
783
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
784
|
+
UNION ALL
|
785
|
+
SELECT sql
|
786
|
+
FROM sqlite_temp_master
|
787
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
788
|
+
[0m
|
789
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
790
|
+
FROM sqlite_master
|
791
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
792
|
+
UNION ALL
|
793
|
+
SELECT sql
|
794
|
+
FROM sqlite_temp_master
|
795
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
796
|
+
[0m
|
797
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
798
|
+
FROM sqlite_master
|
799
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
800
|
+
UNION ALL
|
801
|
+
SELECT sql
|
802
|
+
FROM sqlite_temp_master
|
803
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
804
|
+
[0m
|
805
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
806
|
+
FROM sqlite_master
|
807
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
808
|
+
UNION ALL
|
809
|
+
SELECT sql
|
810
|
+
FROM sqlite_temp_master
|
811
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
812
|
+
[0m
|
813
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
814
|
+
FROM sqlite_master
|
815
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
816
|
+
UNION ALL
|
817
|
+
SELECT sql
|
818
|
+
FROM sqlite_temp_master
|
819
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
820
|
+
[0m
|
821
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
822
|
+
FROM sqlite_master
|
823
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
824
|
+
UNION ALL
|
825
|
+
SELECT sql
|
826
|
+
FROM sqlite_temp_master
|
827
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
828
|
+
[0m
|