canvas_sync 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/lib/canvas_sync/generators/templates/create_courses.rb +1 -0
- data/lib/canvas_sync/processors/provisioning_report_processor.rb +2 -1
- data/lib/canvas_sync/version.rb +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/{20170831220702_create_courses.rb → 20170914181345_create_courses.rb} +1 -0
- data/spec/dummy/db/schema.rb +2 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +2674 -0
- data/spec/dummy/log/test.log +0 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 792fd9d830f8f82a41f33582487638b3bbb2dbf5
|
4
|
+
data.tar.gz: dda6faccb4e9c3377a74d182ac9538ae7bc5ed27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d48237b5c4de288a01cd4c4645c097b35175255c492de9e9729efde69d9adad1884e12f5a9c2b0a47c059c54885f940dff451299130562f8215722f0b682ee5
|
7
|
+
data.tar.gz: 0eaafea6e753ed585495fb0f2b049e8c0f4c9c67824c3e9ee84a61c7b6e119d1fa36f990f32f3fe94b78629fdf714be5ea960a3e491ec7f190bac1b8b8d5a7a4
|
data/README.md
CHANGED
@@ -164,7 +164,9 @@ The provisioning report uses the `CanvasSync::Importers::BulkImporter` class to
|
|
164
164
|
|
165
165
|
Re-running the generator when there's been a gem change will give you several choices if it detects conflicts between your local files and the updated generators. You can either view a diff or allow the generator to overwrite your local file. In most cases you may just want to add the code from the diff yourself so as not to break any of your customizations.
|
166
166
|
|
167
|
-
|
167
|
+
Additionally, if there have been schema changes to an existing model you may have to run your own migration to bring it up to speed.
|
168
|
+
|
169
|
+
If you make updates to the gem please add any upgrade instructions here.
|
168
170
|
|
169
171
|
## Integrating with existing applications
|
170
172
|
|
data/lib/canvas_sync/version.rb
CHANGED
Binary file
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -10,13 +10,14 @@
|
|
10
10
|
#
|
11
11
|
# It's strongly recommended that you check this file into your version control system.
|
12
12
|
|
13
|
-
ActiveRecord::Schema.define(version:
|
13
|
+
ActiveRecord::Schema.define(version: 20170914181345) do
|
14
14
|
|
15
15
|
create_table "courses", force: :cascade do |t|
|
16
16
|
t.bigint "canvas_course_id", null: false
|
17
17
|
t.string "sis_id"
|
18
18
|
t.string "short_name"
|
19
19
|
t.string "long_name"
|
20
|
+
t.string "status"
|
20
21
|
t.integer "canvas_account_id"
|
21
22
|
t.integer "canvas_term_id"
|
22
23
|
t.integer "term_sis_id"
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -825,4 +825,2678 @@ Migrating to CreateSections (20170906203438)
|
|
825
825
|
SELECT sql
|
826
826
|
FROM sqlite_temp_master
|
827
827
|
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
828
|
+
[0m
|
829
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
830
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
831
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
832
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
833
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
834
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
835
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
836
|
+
[1m[35m (6.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
837
|
+
[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
|
838
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
839
|
+
Migrating to CreateCourses (20170831220702)
|
840
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
841
|
+
[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
|
842
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
843
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831220702"]]
|
844
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
845
|
+
Migrating to CreateUsers (20170831221129)
|
846
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
847
|
+
[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
|
848
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
849
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831221129"]]
|
850
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
851
|
+
Migrating to CreateEnrollments (20170905192509)
|
852
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
853
|
+
[1m[35m (0.5ms)[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
|
854
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
855
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
856
|
+
FROM sqlite_master
|
857
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
858
|
+
UNION ALL
|
859
|
+
SELECT sql
|
860
|
+
FROM sqlite_temp_master
|
861
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
862
|
+
[0m
|
863
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
864
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
865
|
+
FROM sqlite_master
|
866
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
867
|
+
UNION ALL
|
868
|
+
SELECT sql
|
869
|
+
FROM sqlite_temp_master
|
870
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
871
|
+
[0m
|
872
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
873
|
+
FROM sqlite_master
|
874
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
875
|
+
UNION ALL
|
876
|
+
SELECT sql
|
877
|
+
FROM sqlite_temp_master
|
878
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
879
|
+
[0m
|
880
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
881
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170905192509"]]
|
882
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
883
|
+
Migrating to CreateTerms (20170906193506)
|
884
|
+
[1m[35m (0.6ms)[0m [1m[36mbegin transaction[0m
|
885
|
+
[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
|
886
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
887
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906193506"]]
|
888
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
889
|
+
Migrating to CreateSections (20170906203438)
|
890
|
+
[1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
|
891
|
+
[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
|
892
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
893
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
894
|
+
FROM sqlite_master
|
895
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
896
|
+
UNION ALL
|
897
|
+
SELECT sql
|
898
|
+
FROM sqlite_temp_master
|
899
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
900
|
+
[0m
|
901
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
902
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906203438"]]
|
903
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
904
|
+
[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]]
|
905
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
906
|
+
[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-13 18:20:31.608205"], ["updated_at", "2017-09-13 18:20:31.608205"]]
|
907
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
908
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
909
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
910
|
+
FROM sqlite_master
|
911
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
912
|
+
UNION ALL
|
913
|
+
SELECT sql
|
914
|
+
FROM sqlite_temp_master
|
915
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
916
|
+
[0m
|
917
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
918
|
+
FROM sqlite_master
|
919
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
920
|
+
UNION ALL
|
921
|
+
SELECT sql
|
922
|
+
FROM sqlite_temp_master
|
923
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
924
|
+
[0m
|
925
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
926
|
+
FROM sqlite_master
|
927
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
928
|
+
UNION ALL
|
929
|
+
SELECT sql
|
930
|
+
FROM sqlite_temp_master
|
931
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
932
|
+
[0m
|
933
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
934
|
+
FROM sqlite_master
|
935
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
936
|
+
UNION ALL
|
937
|
+
SELECT sql
|
938
|
+
FROM sqlite_temp_master
|
939
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
940
|
+
[0m
|
941
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
942
|
+
FROM sqlite_master
|
943
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
944
|
+
UNION ALL
|
945
|
+
SELECT sql
|
946
|
+
FROM sqlite_temp_master
|
947
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
948
|
+
[0m
|
949
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
950
|
+
FROM sqlite_master
|
951
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
952
|
+
UNION ALL
|
953
|
+
SELECT sql
|
954
|
+
FROM sqlite_temp_master
|
955
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
956
|
+
[0m
|
957
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
958
|
+
FROM sqlite_master
|
959
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
960
|
+
UNION ALL
|
961
|
+
SELECT sql
|
962
|
+
FROM sqlite_temp_master
|
963
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
964
|
+
[0m
|
965
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
966
|
+
FROM sqlite_master
|
967
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
968
|
+
UNION ALL
|
969
|
+
SELECT sql
|
970
|
+
FROM sqlite_temp_master
|
971
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
972
|
+
[0m
|
973
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
974
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
975
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
976
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
977
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
978
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
979
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
980
|
+
[1m[35m (7.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
981
|
+
[1m[35m (1.7ms)[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
|
982
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
983
|
+
Migrating to CreateCourses (20170831220702)
|
984
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
985
|
+
[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
|
986
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
987
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831220702"]]
|
988
|
+
[1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
|
989
|
+
Migrating to CreateUsers (20170831221129)
|
990
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
991
|
+
[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
|
992
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
993
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831221129"]]
|
994
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
995
|
+
Migrating to CreateEnrollments (20170905192509)
|
996
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
997
|
+
[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
|
998
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
999
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1000
|
+
FROM sqlite_master
|
1001
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1002
|
+
UNION ALL
|
1003
|
+
SELECT sql
|
1004
|
+
FROM sqlite_temp_master
|
1005
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1006
|
+
[0m
|
1007
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
1008
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1009
|
+
FROM sqlite_master
|
1010
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
1011
|
+
UNION ALL
|
1012
|
+
SELECT sql
|
1013
|
+
FROM sqlite_temp_master
|
1014
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
1015
|
+
[0m
|
1016
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1017
|
+
FROM sqlite_master
|
1018
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1019
|
+
UNION ALL
|
1020
|
+
SELECT sql
|
1021
|
+
FROM sqlite_temp_master
|
1022
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1023
|
+
[0m
|
1024
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
1025
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170905192509"]]
|
1026
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
1027
|
+
Migrating to CreateTerms (20170906193506)
|
1028
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1029
|
+
[1m[35m (0.4ms)[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
|
1030
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
1031
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906193506"]]
|
1032
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
1033
|
+
Migrating to CreateSections (20170906203438)
|
1034
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1035
|
+
[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
|
1036
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
1037
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1038
|
+
FROM sqlite_master
|
1039
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
1040
|
+
UNION ALL
|
1041
|
+
SELECT sql
|
1042
|
+
FROM sqlite_temp_master
|
1043
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
1044
|
+
[0m
|
1045
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
1046
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906203438"]]
|
1047
|
+
[1m[35m (1.4ms)[0m [1m[36mcommit transaction[0m
|
1048
|
+
[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]]
|
1049
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1050
|
+
[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-13 18:22:08.317678"], ["updated_at", "2017-09-13 18:22:08.317678"]]
|
1051
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
1052
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1053
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1054
|
+
FROM sqlite_master
|
1055
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
1056
|
+
UNION ALL
|
1057
|
+
SELECT sql
|
1058
|
+
FROM sqlite_temp_master
|
1059
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
1060
|
+
[0m
|
1061
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1062
|
+
FROM sqlite_master
|
1063
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
1064
|
+
UNION ALL
|
1065
|
+
SELECT sql
|
1066
|
+
FROM sqlite_temp_master
|
1067
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
1068
|
+
[0m
|
1069
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1070
|
+
FROM sqlite_master
|
1071
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
1072
|
+
UNION ALL
|
1073
|
+
SELECT sql
|
1074
|
+
FROM sqlite_temp_master
|
1075
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
1076
|
+
[0m
|
1077
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1078
|
+
FROM sqlite_master
|
1079
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1080
|
+
UNION ALL
|
1081
|
+
SELECT sql
|
1082
|
+
FROM sqlite_temp_master
|
1083
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1084
|
+
[0m
|
1085
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1086
|
+
FROM sqlite_master
|
1087
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
1088
|
+
UNION ALL
|
1089
|
+
SELECT sql
|
1090
|
+
FROM sqlite_temp_master
|
1091
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
1092
|
+
[0m
|
1093
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1094
|
+
FROM sqlite_master
|
1095
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
1096
|
+
UNION ALL
|
1097
|
+
SELECT sql
|
1098
|
+
FROM sqlite_temp_master
|
1099
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
1100
|
+
[0m
|
1101
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1102
|
+
FROM sqlite_master
|
1103
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
1104
|
+
UNION ALL
|
1105
|
+
SELECT sql
|
1106
|
+
FROM sqlite_temp_master
|
1107
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
1108
|
+
[0m
|
1109
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1110
|
+
FROM sqlite_master
|
1111
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
1112
|
+
UNION ALL
|
1113
|
+
SELECT sql
|
1114
|
+
FROM sqlite_temp_master
|
1115
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
1116
|
+
[0m
|
1117
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1118
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1119
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1120
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1121
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1122
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1123
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1124
|
+
[1m[35m (7.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1125
|
+
[1m[35m (1.4ms)[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
|
1126
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1127
|
+
Migrating to CreateCourses (20170831220702)
|
1128
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1129
|
+
[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
|
1130
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
1131
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831220702"]]
|
1132
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
1133
|
+
Migrating to CreateUsers (20170831221129)
|
1134
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1135
|
+
[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
|
1136
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
1137
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831221129"]]
|
1138
|
+
[1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
|
1139
|
+
Migrating to CreateEnrollments (20170905192509)
|
1140
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1141
|
+
[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
|
1142
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
1143
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1144
|
+
FROM sqlite_master
|
1145
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1146
|
+
UNION ALL
|
1147
|
+
SELECT sql
|
1148
|
+
FROM sqlite_temp_master
|
1149
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1150
|
+
[0m
|
1151
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
1152
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1153
|
+
FROM sqlite_master
|
1154
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
1155
|
+
UNION ALL
|
1156
|
+
SELECT sql
|
1157
|
+
FROM sqlite_temp_master
|
1158
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
1159
|
+
[0m
|
1160
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1161
|
+
FROM sqlite_master
|
1162
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1163
|
+
UNION ALL
|
1164
|
+
SELECT sql
|
1165
|
+
FROM sqlite_temp_master
|
1166
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1167
|
+
[0m
|
1168
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
1169
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170905192509"]]
|
1170
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
1171
|
+
Migrating to CreateTerms (20170906193506)
|
1172
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1173
|
+
[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
|
1174
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
1175
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906193506"]]
|
1176
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
1177
|
+
Migrating to CreateSections (20170906203438)
|
1178
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1179
|
+
[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
|
1180
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
1181
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1182
|
+
FROM sqlite_master
|
1183
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
1184
|
+
UNION ALL
|
1185
|
+
SELECT sql
|
1186
|
+
FROM sqlite_temp_master
|
1187
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
1188
|
+
[0m
|
1189
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
1190
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906203438"]]
|
1191
|
+
[1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
|
1192
|
+
[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]]
|
1193
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1194
|
+
[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-13 18:31:53.114033"], ["updated_at", "2017-09-13 18:31:53.114033"]]
|
1195
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
1196
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1197
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1198
|
+
FROM sqlite_master
|
1199
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
1200
|
+
UNION ALL
|
1201
|
+
SELECT sql
|
1202
|
+
FROM sqlite_temp_master
|
1203
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
1204
|
+
[0m
|
1205
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1206
|
+
FROM sqlite_master
|
1207
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
1208
|
+
UNION ALL
|
1209
|
+
SELECT sql
|
1210
|
+
FROM sqlite_temp_master
|
1211
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
1212
|
+
[0m
|
1213
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1214
|
+
FROM sqlite_master
|
1215
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
1216
|
+
UNION ALL
|
1217
|
+
SELECT sql
|
1218
|
+
FROM sqlite_temp_master
|
1219
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
1220
|
+
[0m
|
1221
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1222
|
+
FROM sqlite_master
|
1223
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1224
|
+
UNION ALL
|
1225
|
+
SELECT sql
|
1226
|
+
FROM sqlite_temp_master
|
1227
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1228
|
+
[0m
|
1229
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1230
|
+
FROM sqlite_master
|
1231
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
1232
|
+
UNION ALL
|
1233
|
+
SELECT sql
|
1234
|
+
FROM sqlite_temp_master
|
1235
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
1236
|
+
[0m
|
1237
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1238
|
+
FROM sqlite_master
|
1239
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
1240
|
+
UNION ALL
|
1241
|
+
SELECT sql
|
1242
|
+
FROM sqlite_temp_master
|
1243
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
1244
|
+
[0m
|
1245
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1246
|
+
FROM sqlite_master
|
1247
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
1248
|
+
UNION ALL
|
1249
|
+
SELECT sql
|
1250
|
+
FROM sqlite_temp_master
|
1251
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
1252
|
+
[0m
|
1253
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1254
|
+
FROM sqlite_master
|
1255
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
1256
|
+
UNION ALL
|
1257
|
+
SELECT sql
|
1258
|
+
FROM sqlite_temp_master
|
1259
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
1260
|
+
[0m
|
1261
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1262
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1263
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1264
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1265
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1266
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1267
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1268
|
+
[1m[35m (6.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1269
|
+
[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
|
1270
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1271
|
+
Migrating to CreateCourses (20170831220702)
|
1272
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1273
|
+
[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
|
1274
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
1275
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831220702"]]
|
1276
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
1277
|
+
Migrating to CreateUsers (20170831221129)
|
1278
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1279
|
+
[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
|
1280
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
1281
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831221129"]]
|
1282
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
1283
|
+
Migrating to CreateEnrollments (20170905192509)
|
1284
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1285
|
+
[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
|
1286
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
1287
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1288
|
+
FROM sqlite_master
|
1289
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1290
|
+
UNION ALL
|
1291
|
+
SELECT sql
|
1292
|
+
FROM sqlite_temp_master
|
1293
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1294
|
+
[0m
|
1295
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
1296
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1297
|
+
FROM sqlite_master
|
1298
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
1299
|
+
UNION ALL
|
1300
|
+
SELECT sql
|
1301
|
+
FROM sqlite_temp_master
|
1302
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
1303
|
+
[0m
|
1304
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1305
|
+
FROM sqlite_master
|
1306
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1307
|
+
UNION ALL
|
1308
|
+
SELECT sql
|
1309
|
+
FROM sqlite_temp_master
|
1310
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1311
|
+
[0m
|
1312
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
1313
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170905192509"]]
|
1314
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
1315
|
+
Migrating to CreateTerms (20170906193506)
|
1316
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1317
|
+
[1m[35m (0.4ms)[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
|
1318
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
1319
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906193506"]]
|
1320
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
1321
|
+
Migrating to CreateSections (20170906203438)
|
1322
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1323
|
+
[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
|
1324
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
1325
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1326
|
+
FROM sqlite_master
|
1327
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
1328
|
+
UNION ALL
|
1329
|
+
SELECT sql
|
1330
|
+
FROM sqlite_temp_master
|
1331
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
1332
|
+
[0m
|
1333
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
1334
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906203438"]]
|
1335
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
1336
|
+
Migrating to CreateTasks (20170913183322)
|
1337
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1338
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1339
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1340
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1341
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1342
|
+
Migrating to CreateTasks (20170913183322)
|
1343
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1344
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1345
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1346
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1347
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1348
|
+
Migrating to CreateTasks (20170913183456)
|
1349
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1350
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1351
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "started_at" datetime, "ended_at" datetime, "full_job_chain" text, "current_job_chain" text, "status" varchar, "exception" varchar, "backtrace" text, "metadata" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1352
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170913183456"]]
|
1353
|
+
[1m[35m (2.2ms)[0m [1m[36mcommit transaction[0m
|
1354
|
+
[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]]
|
1355
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1356
|
+
[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-13 18:35:01.384963"], ["updated_at", "2017-09-13 18:35:01.384963"]]
|
1357
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
1358
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1359
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1360
|
+
FROM sqlite_master
|
1361
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
1362
|
+
UNION ALL
|
1363
|
+
SELECT sql
|
1364
|
+
FROM sqlite_temp_master
|
1365
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
1366
|
+
[0m
|
1367
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1368
|
+
FROM sqlite_master
|
1369
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
1370
|
+
UNION ALL
|
1371
|
+
SELECT sql
|
1372
|
+
FROM sqlite_temp_master
|
1373
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
1374
|
+
[0m
|
1375
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1376
|
+
FROM sqlite_master
|
1377
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
1378
|
+
UNION ALL
|
1379
|
+
SELECT sql
|
1380
|
+
FROM sqlite_temp_master
|
1381
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
1382
|
+
[0m
|
1383
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1384
|
+
FROM sqlite_master
|
1385
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1386
|
+
UNION ALL
|
1387
|
+
SELECT sql
|
1388
|
+
FROM sqlite_temp_master
|
1389
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1390
|
+
[0m
|
1391
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1392
|
+
FROM sqlite_master
|
1393
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
1394
|
+
UNION ALL
|
1395
|
+
SELECT sql
|
1396
|
+
FROM sqlite_temp_master
|
1397
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
1398
|
+
[0m
|
1399
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1400
|
+
FROM sqlite_master
|
1401
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
1402
|
+
UNION ALL
|
1403
|
+
SELECT sql
|
1404
|
+
FROM sqlite_temp_master
|
1405
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
1406
|
+
[0m
|
1407
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1408
|
+
FROM sqlite_master
|
1409
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
1410
|
+
UNION ALL
|
1411
|
+
SELECT sql
|
1412
|
+
FROM sqlite_temp_master
|
1413
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
1414
|
+
[0m
|
1415
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1416
|
+
FROM sqlite_master
|
1417
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
1418
|
+
UNION ALL
|
1419
|
+
SELECT sql
|
1420
|
+
FROM sqlite_temp_master
|
1421
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
1422
|
+
[0m
|
1423
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1424
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1425
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1426
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1427
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1428
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1429
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1430
|
+
[1m[35m (6.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1431
|
+
[1m[35m (1.4ms)[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
|
1432
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1433
|
+
Migrating to CreateCourses (20170831220702)
|
1434
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1435
|
+
[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
|
1436
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
1437
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831220702"]]
|
1438
|
+
[1m[35m (1.3ms)[0m [1m[36mcommit transaction[0m
|
1439
|
+
Migrating to CreateUsers (20170831221129)
|
1440
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1441
|
+
[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
|
1442
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
1443
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831221129"]]
|
1444
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
1445
|
+
Migrating to CreateEnrollments (20170905192509)
|
1446
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1447
|
+
[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
|
1448
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
1449
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1450
|
+
FROM sqlite_master
|
1451
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1452
|
+
UNION ALL
|
1453
|
+
SELECT sql
|
1454
|
+
FROM sqlite_temp_master
|
1455
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1456
|
+
[0m
|
1457
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
1458
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1459
|
+
FROM sqlite_master
|
1460
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
1461
|
+
UNION ALL
|
1462
|
+
SELECT sql
|
1463
|
+
FROM sqlite_temp_master
|
1464
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
1465
|
+
[0m
|
1466
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1467
|
+
FROM sqlite_master
|
1468
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1469
|
+
UNION ALL
|
1470
|
+
SELECT sql
|
1471
|
+
FROM sqlite_temp_master
|
1472
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1473
|
+
[0m
|
1474
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
1475
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170905192509"]]
|
1476
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
1477
|
+
Migrating to CreateTerms (20170906193506)
|
1478
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1479
|
+
[1m[35m (0.4ms)[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
|
1480
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
1481
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906193506"]]
|
1482
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
1483
|
+
Migrating to CreateSections (20170906203438)
|
1484
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1485
|
+
[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
|
1486
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
1487
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1488
|
+
FROM sqlite_master
|
1489
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
1490
|
+
UNION ALL
|
1491
|
+
SELECT sql
|
1492
|
+
FROM sqlite_temp_master
|
1493
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
1494
|
+
[0m
|
1495
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
1496
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906203438"]]
|
1497
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
1498
|
+
Migrating to CreateTasks (20170913183456)
|
1499
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1500
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "started_at" datetime, "ended_at" datetime, "full_job_chain" text, "current_job_chain" text, "status" varchar, "exception" varchar, "backtrace" text, "metadata" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1501
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170913183456"]]
|
1502
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
1503
|
+
Migrating to CreateJobsWrappers (20170913183717)
|
1504
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1505
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1506
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1507
|
+
Migrating to CreateJobsWrappers (20170913183717)
|
1508
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1509
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1510
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1511
|
+
Migrating to CreateJobsWrappers (20170913183823)
|
1512
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1513
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1514
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "jobs_wrappers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "started_at" datetime, "ended_at" datetime, "full_job_chain" text, "current_job_chain" text, "status" varchar, "exception" varchar, "backtrace" text, "metadata" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1515
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170913183823"]]
|
1516
|
+
[1m[35m (7.1ms)[0m [1m[36mcommit transaction[0m
|
1517
|
+
[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]]
|
1518
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1519
|
+
[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-13 18:38:28.752865"], ["updated_at", "2017-09-13 18:38:28.752865"]]
|
1520
|
+
[1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
|
1521
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1522
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1523
|
+
FROM sqlite_master
|
1524
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
1525
|
+
UNION ALL
|
1526
|
+
SELECT sql
|
1527
|
+
FROM sqlite_temp_master
|
1528
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
1529
|
+
[0m
|
1530
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1531
|
+
FROM sqlite_master
|
1532
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
1533
|
+
UNION ALL
|
1534
|
+
SELECT sql
|
1535
|
+
FROM sqlite_temp_master
|
1536
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
1537
|
+
[0m
|
1538
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1539
|
+
FROM sqlite_master
|
1540
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
1541
|
+
UNION ALL
|
1542
|
+
SELECT sql
|
1543
|
+
FROM sqlite_temp_master
|
1544
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
1545
|
+
[0m
|
1546
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1547
|
+
FROM sqlite_master
|
1548
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1549
|
+
UNION ALL
|
1550
|
+
SELECT sql
|
1551
|
+
FROM sqlite_temp_master
|
1552
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1553
|
+
[0m
|
1554
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1555
|
+
FROM sqlite_master
|
1556
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
1557
|
+
UNION ALL
|
1558
|
+
SELECT sql
|
1559
|
+
FROM sqlite_temp_master
|
1560
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
1561
|
+
[0m
|
1562
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1563
|
+
FROM sqlite_master
|
1564
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
1565
|
+
UNION ALL
|
1566
|
+
SELECT sql
|
1567
|
+
FROM sqlite_temp_master
|
1568
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
1569
|
+
[0m
|
1570
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1571
|
+
FROM sqlite_master
|
1572
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
1573
|
+
UNION ALL
|
1574
|
+
SELECT sql
|
1575
|
+
FROM sqlite_temp_master
|
1576
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
1577
|
+
[0m
|
1578
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1579
|
+
FROM sqlite_master
|
1580
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
1581
|
+
UNION ALL
|
1582
|
+
SELECT sql
|
1583
|
+
FROM sqlite_temp_master
|
1584
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
1585
|
+
[0m
|
1586
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1587
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1588
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1589
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1590
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1591
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1592
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1593
|
+
[1m[35m (6.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1594
|
+
[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
|
1595
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1596
|
+
Migrating to CreateCourses (20170831220702)
|
1597
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1598
|
+
[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
|
1599
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
1600
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831220702"]]
|
1601
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
1602
|
+
Migrating to CreateUsers (20170831221129)
|
1603
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1604
|
+
[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
|
1605
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
1606
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831221129"]]
|
1607
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
1608
|
+
Migrating to CreateEnrollments (20170905192509)
|
1609
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1610
|
+
[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
|
1611
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
1612
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1613
|
+
FROM sqlite_master
|
1614
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1615
|
+
UNION ALL
|
1616
|
+
SELECT sql
|
1617
|
+
FROM sqlite_temp_master
|
1618
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1619
|
+
[0m
|
1620
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
1621
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1622
|
+
FROM sqlite_master
|
1623
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
1624
|
+
UNION ALL
|
1625
|
+
SELECT sql
|
1626
|
+
FROM sqlite_temp_master
|
1627
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
1628
|
+
[0m
|
1629
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1630
|
+
FROM sqlite_master
|
1631
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1632
|
+
UNION ALL
|
1633
|
+
SELECT sql
|
1634
|
+
FROM sqlite_temp_master
|
1635
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1636
|
+
[0m
|
1637
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
1638
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170905192509"]]
|
1639
|
+
[1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
|
1640
|
+
Migrating to CreateTerms (20170906193506)
|
1641
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1642
|
+
[1m[35m (0.4ms)[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
|
1643
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
1644
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906193506"]]
|
1645
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
1646
|
+
Migrating to CreateSections (20170906203438)
|
1647
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1648
|
+
[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
|
1649
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
1650
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1651
|
+
FROM sqlite_master
|
1652
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
1653
|
+
UNION ALL
|
1654
|
+
SELECT sql
|
1655
|
+
FROM sqlite_temp_master
|
1656
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
1657
|
+
[0m
|
1658
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
1659
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906203438"]]
|
1660
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
1661
|
+
Migrating to CreateJobsWrappers (20170913183823)
|
1662
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1663
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "jobs_wrappers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "started_at" datetime, "ended_at" datetime, "full_job_chain" text, "current_job_chain" text, "status" varchar, "exception" varchar, "backtrace" text, "metadata" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1664
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170913183823"]]
|
1665
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
1666
|
+
[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]]
|
1667
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1668
|
+
[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-13 18:42:22.239000"], ["updated_at", "2017-09-13 18:42:22.239000"]]
|
1669
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
1670
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1671
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1672
|
+
FROM sqlite_master
|
1673
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
1674
|
+
UNION ALL
|
1675
|
+
SELECT sql
|
1676
|
+
FROM sqlite_temp_master
|
1677
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
1678
|
+
[0m
|
1679
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1680
|
+
FROM sqlite_master
|
1681
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
1682
|
+
UNION ALL
|
1683
|
+
SELECT sql
|
1684
|
+
FROM sqlite_temp_master
|
1685
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
1686
|
+
[0m
|
1687
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1688
|
+
FROM sqlite_master
|
1689
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
1690
|
+
UNION ALL
|
1691
|
+
SELECT sql
|
1692
|
+
FROM sqlite_temp_master
|
1693
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
1694
|
+
[0m
|
1695
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1696
|
+
FROM sqlite_master
|
1697
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1698
|
+
UNION ALL
|
1699
|
+
SELECT sql
|
1700
|
+
FROM sqlite_temp_master
|
1701
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1702
|
+
[0m
|
1703
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1704
|
+
FROM sqlite_master
|
1705
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
1706
|
+
UNION ALL
|
1707
|
+
SELECT sql
|
1708
|
+
FROM sqlite_temp_master
|
1709
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
1710
|
+
[0m
|
1711
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1712
|
+
FROM sqlite_master
|
1713
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
1714
|
+
UNION ALL
|
1715
|
+
SELECT sql
|
1716
|
+
FROM sqlite_temp_master
|
1717
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
1718
|
+
[0m
|
1719
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1720
|
+
FROM sqlite_master
|
1721
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
1722
|
+
UNION ALL
|
1723
|
+
SELECT sql
|
1724
|
+
FROM sqlite_temp_master
|
1725
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
1726
|
+
[0m
|
1727
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1728
|
+
FROM sqlite_master
|
1729
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
1730
|
+
UNION ALL
|
1731
|
+
SELECT sql
|
1732
|
+
FROM sqlite_temp_master
|
1733
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
1734
|
+
[0m
|
1735
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1736
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1737
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1738
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1739
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1740
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1741
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1742
|
+
[1m[35m (7.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1743
|
+
[1m[35m (1.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
|
1744
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1745
|
+
Migrating to CreateCourses (20170831220702)
|
1746
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1747
|
+
[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
|
1748
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
1749
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831220702"]]
|
1750
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
1751
|
+
Migrating to CreateUsers (20170831221129)
|
1752
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1753
|
+
[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
|
1754
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
1755
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831221129"]]
|
1756
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
1757
|
+
Migrating to CreateEnrollments (20170905192509)
|
1758
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1759
|
+
[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
|
1760
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
1761
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1762
|
+
FROM sqlite_master
|
1763
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1764
|
+
UNION ALL
|
1765
|
+
SELECT sql
|
1766
|
+
FROM sqlite_temp_master
|
1767
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1768
|
+
[0m
|
1769
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
1770
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1771
|
+
FROM sqlite_master
|
1772
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
1773
|
+
UNION ALL
|
1774
|
+
SELECT sql
|
1775
|
+
FROM sqlite_temp_master
|
1776
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
1777
|
+
[0m
|
1778
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1779
|
+
FROM sqlite_master
|
1780
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1781
|
+
UNION ALL
|
1782
|
+
SELECT sql
|
1783
|
+
FROM sqlite_temp_master
|
1784
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1785
|
+
[0m
|
1786
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
1787
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170905192509"]]
|
1788
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
1789
|
+
Migrating to CreateTerms (20170906193506)
|
1790
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1791
|
+
[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
|
1792
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
1793
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906193506"]]
|
1794
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
1795
|
+
Migrating to CreateSections (20170906203438)
|
1796
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1797
|
+
[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
|
1798
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
1799
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1800
|
+
FROM sqlite_master
|
1801
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
1802
|
+
UNION ALL
|
1803
|
+
SELECT sql
|
1804
|
+
FROM sqlite_temp_master
|
1805
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
1806
|
+
[0m
|
1807
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
1808
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906203438"]]
|
1809
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
1810
|
+
Migrating to CreateJobsWrappers (20170913183823)
|
1811
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1812
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "jobs_wrappers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "started_at" datetime, "ended_at" datetime, "full_job_chain" text, "current_job_chain" text, "status" varchar, "exception" varchar, "backtrace" text, "metadata" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1813
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170913183823"]]
|
1814
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
1815
|
+
[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]]
|
1816
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1817
|
+
[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-13 18:55:54.899243"], ["updated_at", "2017-09-13 18:55:54.899243"]]
|
1818
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
1819
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1820
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1821
|
+
FROM sqlite_master
|
1822
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
1823
|
+
UNION ALL
|
1824
|
+
SELECT sql
|
1825
|
+
FROM sqlite_temp_master
|
1826
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
1827
|
+
[0m
|
1828
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1829
|
+
FROM sqlite_master
|
1830
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
1831
|
+
UNION ALL
|
1832
|
+
SELECT sql
|
1833
|
+
FROM sqlite_temp_master
|
1834
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
1835
|
+
[0m
|
1836
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1837
|
+
FROM sqlite_master
|
1838
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
1839
|
+
UNION ALL
|
1840
|
+
SELECT sql
|
1841
|
+
FROM sqlite_temp_master
|
1842
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
1843
|
+
[0m
|
1844
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1845
|
+
FROM sqlite_master
|
1846
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1847
|
+
UNION ALL
|
1848
|
+
SELECT sql
|
1849
|
+
FROM sqlite_temp_master
|
1850
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1851
|
+
[0m
|
1852
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1853
|
+
FROM sqlite_master
|
1854
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
1855
|
+
UNION ALL
|
1856
|
+
SELECT sql
|
1857
|
+
FROM sqlite_temp_master
|
1858
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
1859
|
+
[0m
|
1860
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1861
|
+
FROM sqlite_master
|
1862
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
1863
|
+
UNION ALL
|
1864
|
+
SELECT sql
|
1865
|
+
FROM sqlite_temp_master
|
1866
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
1867
|
+
[0m
|
1868
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1869
|
+
FROM sqlite_master
|
1870
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
1871
|
+
UNION ALL
|
1872
|
+
SELECT sql
|
1873
|
+
FROM sqlite_temp_master
|
1874
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
1875
|
+
[0m
|
1876
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1877
|
+
FROM sqlite_master
|
1878
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
1879
|
+
UNION ALL
|
1880
|
+
SELECT sql
|
1881
|
+
FROM sqlite_temp_master
|
1882
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
1883
|
+
[0m
|
1884
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1885
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1886
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1887
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1888
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1889
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
1890
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1891
|
+
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1892
|
+
[1m[35m (1.2ms)[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
|
1893
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1894
|
+
Migrating to CreateCourses (20170831220702)
|
1895
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1896
|
+
[1m[35m (0.3ms)[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
|
1897
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
1898
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831220702"]]
|
1899
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
1900
|
+
Migrating to CreateUsers (20170831221129)
|
1901
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1902
|
+
[1m[35m (0.2ms)[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
|
1903
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
1904
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831221129"]]
|
1905
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
1906
|
+
Migrating to CreateEnrollments (20170905192509)
|
1907
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1908
|
+
[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
|
1909
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
1910
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1911
|
+
FROM sqlite_master
|
1912
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1913
|
+
UNION ALL
|
1914
|
+
SELECT sql
|
1915
|
+
FROM sqlite_temp_master
|
1916
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1917
|
+
[0m
|
1918
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
1919
|
+
[1m[35m (0.0ms)[0m [1m[34m SELECT sql
|
1920
|
+
FROM sqlite_master
|
1921
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
1922
|
+
UNION ALL
|
1923
|
+
SELECT sql
|
1924
|
+
FROM sqlite_temp_master
|
1925
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
1926
|
+
[0m
|
1927
|
+
[1m[35m (0.0ms)[0m [1m[34m SELECT sql
|
1928
|
+
FROM sqlite_master
|
1929
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1930
|
+
UNION ALL
|
1931
|
+
SELECT sql
|
1932
|
+
FROM sqlite_temp_master
|
1933
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1934
|
+
[0m
|
1935
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
1936
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170905192509"]]
|
1937
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
1938
|
+
Migrating to CreateTerms (20170906193506)
|
1939
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1940
|
+
[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
|
1941
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
1942
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906193506"]]
|
1943
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
1944
|
+
Migrating to CreateSections (20170906203438)
|
1945
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1946
|
+
[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
|
1947
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
1948
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1949
|
+
FROM sqlite_master
|
1950
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
1951
|
+
UNION ALL
|
1952
|
+
SELECT sql
|
1953
|
+
FROM sqlite_temp_master
|
1954
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
1955
|
+
[0m
|
1956
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
1957
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906203438"]]
|
1958
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
1959
|
+
Migrating to CreateJobsWrappers (20170913183823)
|
1960
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1961
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "jobs_wrappers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "started_at" datetime, "ended_at" datetime, "full_job_chain" text, "current_job_chain" text, "status" varchar, "exception" varchar, "backtrace" text, "metadata" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1962
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170913183823"]]
|
1963
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
1964
|
+
[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]]
|
1965
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1966
|
+
[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-13 18:59:27.018220"], ["updated_at", "2017-09-13 18:59:27.018220"]]
|
1967
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
1968
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1969
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1970
|
+
FROM sqlite_master
|
1971
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
1972
|
+
UNION ALL
|
1973
|
+
SELECT sql
|
1974
|
+
FROM sqlite_temp_master
|
1975
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
1976
|
+
[0m
|
1977
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1978
|
+
FROM sqlite_master
|
1979
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
1980
|
+
UNION ALL
|
1981
|
+
SELECT sql
|
1982
|
+
FROM sqlite_temp_master
|
1983
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
1984
|
+
[0m
|
1985
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1986
|
+
FROM sqlite_master
|
1987
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
1988
|
+
UNION ALL
|
1989
|
+
SELECT sql
|
1990
|
+
FROM sqlite_temp_master
|
1991
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
1992
|
+
[0m
|
1993
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
1994
|
+
FROM sqlite_master
|
1995
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
1996
|
+
UNION ALL
|
1997
|
+
SELECT sql
|
1998
|
+
FROM sqlite_temp_master
|
1999
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2000
|
+
[0m
|
2001
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2002
|
+
FROM sqlite_master
|
2003
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
2004
|
+
UNION ALL
|
2005
|
+
SELECT sql
|
2006
|
+
FROM sqlite_temp_master
|
2007
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
2008
|
+
[0m
|
2009
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2010
|
+
FROM sqlite_master
|
2011
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
2012
|
+
UNION ALL
|
2013
|
+
SELECT sql
|
2014
|
+
FROM sqlite_temp_master
|
2015
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
2016
|
+
[0m
|
2017
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2018
|
+
FROM sqlite_master
|
2019
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
2020
|
+
UNION ALL
|
2021
|
+
SELECT sql
|
2022
|
+
FROM sqlite_temp_master
|
2023
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
2024
|
+
[0m
|
2025
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2026
|
+
FROM sqlite_master
|
2027
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
2028
|
+
UNION ALL
|
2029
|
+
SELECT sql
|
2030
|
+
FROM sqlite_temp_master
|
2031
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
2032
|
+
[0m
|
2033
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2034
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
2035
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2036
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
2037
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2038
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
2039
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
2040
|
+
[1m[35m (6.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
2041
|
+
[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
|
2042
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2043
|
+
Migrating to CreateCourses (20170831220702)
|
2044
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2045
|
+
[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
|
2046
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
2047
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831220702"]]
|
2048
|
+
[1m[35m (1.6ms)[0m [1m[36mcommit transaction[0m
|
2049
|
+
Migrating to CreateUsers (20170831221129)
|
2050
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2051
|
+
[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
|
2052
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
2053
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831221129"]]
|
2054
|
+
[1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
|
2055
|
+
Migrating to CreateEnrollments (20170905192509)
|
2056
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2057
|
+
[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
|
2058
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
2059
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2060
|
+
FROM sqlite_master
|
2061
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2062
|
+
UNION ALL
|
2063
|
+
SELECT sql
|
2064
|
+
FROM sqlite_temp_master
|
2065
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2066
|
+
[0m
|
2067
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
2068
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2069
|
+
FROM sqlite_master
|
2070
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
2071
|
+
UNION ALL
|
2072
|
+
SELECT sql
|
2073
|
+
FROM sqlite_temp_master
|
2074
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
2075
|
+
[0m
|
2076
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2077
|
+
FROM sqlite_master
|
2078
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2079
|
+
UNION ALL
|
2080
|
+
SELECT sql
|
2081
|
+
FROM sqlite_temp_master
|
2082
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2083
|
+
[0m
|
2084
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
2085
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170905192509"]]
|
2086
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
2087
|
+
Migrating to CreateTerms (20170906193506)
|
2088
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2089
|
+
[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
|
2090
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
2091
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906193506"]]
|
2092
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
2093
|
+
Migrating to CreateSections (20170906203438)
|
2094
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2095
|
+
[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
|
2096
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
2097
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2098
|
+
FROM sqlite_master
|
2099
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
2100
|
+
UNION ALL
|
2101
|
+
SELECT sql
|
2102
|
+
FROM sqlite_temp_master
|
2103
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
2104
|
+
[0m
|
2105
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
2106
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906203438"]]
|
2107
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
2108
|
+
Migrating to CreateJobsWrappers (20170913183823)
|
2109
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2110
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "jobs_wrappers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "started_at" datetime, "ended_at" datetime, "full_job_chain" text, "current_job_chain" text, "status" varchar, "exception" varchar, "backtrace" text, "metadata" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
2111
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170913183823"]]
|
2112
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
2113
|
+
[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]]
|
2114
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2115
|
+
[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-13 19:20:43.856258"], ["updated_at", "2017-09-13 19:20:43.856258"]]
|
2116
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
2117
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2118
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2119
|
+
FROM sqlite_master
|
2120
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
2121
|
+
UNION ALL
|
2122
|
+
SELECT sql
|
2123
|
+
FROM sqlite_temp_master
|
2124
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
2125
|
+
[0m
|
2126
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2127
|
+
FROM sqlite_master
|
2128
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
2129
|
+
UNION ALL
|
2130
|
+
SELECT sql
|
2131
|
+
FROM sqlite_temp_master
|
2132
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
2133
|
+
[0m
|
2134
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2135
|
+
FROM sqlite_master
|
2136
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
2137
|
+
UNION ALL
|
2138
|
+
SELECT sql
|
2139
|
+
FROM sqlite_temp_master
|
2140
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
2141
|
+
[0m
|
2142
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2143
|
+
FROM sqlite_master
|
2144
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2145
|
+
UNION ALL
|
2146
|
+
SELECT sql
|
2147
|
+
FROM sqlite_temp_master
|
2148
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2149
|
+
[0m
|
2150
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2151
|
+
FROM sqlite_master
|
2152
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
2153
|
+
UNION ALL
|
2154
|
+
SELECT sql
|
2155
|
+
FROM sqlite_temp_master
|
2156
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
2157
|
+
[0m
|
2158
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2159
|
+
FROM sqlite_master
|
2160
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
2161
|
+
UNION ALL
|
2162
|
+
SELECT sql
|
2163
|
+
FROM sqlite_temp_master
|
2164
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
2165
|
+
[0m
|
2166
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2167
|
+
FROM sqlite_master
|
2168
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
2169
|
+
UNION ALL
|
2170
|
+
SELECT sql
|
2171
|
+
FROM sqlite_temp_master
|
2172
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
2173
|
+
[0m
|
2174
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2175
|
+
FROM sqlite_master
|
2176
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
2177
|
+
UNION ALL
|
2178
|
+
SELECT sql
|
2179
|
+
FROM sqlite_temp_master
|
2180
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
2181
|
+
[0m
|
2182
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2183
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
2184
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2185
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
2186
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2187
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
2188
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
2189
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
2190
|
+
[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
|
2191
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2192
|
+
Migrating to CreateCourses (20170831220702)
|
2193
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2194
|
+
[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
|
2195
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
2196
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831220702"]]
|
2197
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
2198
|
+
Migrating to CreateUsers (20170831221129)
|
2199
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2200
|
+
[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
|
2201
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
2202
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831221129"]]
|
2203
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
2204
|
+
Migrating to CreateEnrollments (20170905192509)
|
2205
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2206
|
+
[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
|
2207
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
2208
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2209
|
+
FROM sqlite_master
|
2210
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2211
|
+
UNION ALL
|
2212
|
+
SELECT sql
|
2213
|
+
FROM sqlite_temp_master
|
2214
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2215
|
+
[0m
|
2216
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
2217
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2218
|
+
FROM sqlite_master
|
2219
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
2220
|
+
UNION ALL
|
2221
|
+
SELECT sql
|
2222
|
+
FROM sqlite_temp_master
|
2223
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
2224
|
+
[0m
|
2225
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2226
|
+
FROM sqlite_master
|
2227
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2228
|
+
UNION ALL
|
2229
|
+
SELECT sql
|
2230
|
+
FROM sqlite_temp_master
|
2231
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2232
|
+
[0m
|
2233
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
2234
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170905192509"]]
|
2235
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
2236
|
+
Migrating to CreateTerms (20170906193506)
|
2237
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2238
|
+
[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
|
2239
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
2240
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906193506"]]
|
2241
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
2242
|
+
Migrating to CreateSections (20170906203438)
|
2243
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2244
|
+
[1m[35m (0.4ms)[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
|
2245
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
2246
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2247
|
+
FROM sqlite_master
|
2248
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
2249
|
+
UNION ALL
|
2250
|
+
SELECT sql
|
2251
|
+
FROM sqlite_temp_master
|
2252
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
2253
|
+
[0m
|
2254
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
2255
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906203438"]]
|
2256
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
2257
|
+
Migrating to CreateJobsWrappers (20170913183823)
|
2258
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2259
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "jobs_wrappers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "started_at" datetime, "ended_at" datetime, "full_job_chain" text, "current_job_chain" text, "status" varchar, "exception" varchar, "backtrace" text, "metadata" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
2260
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170913183823"]]
|
2261
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
2262
|
+
[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]]
|
2263
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2264
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", "2017-09-13 19:56:09.929767"], ["updated_at", "2017-09-13 19:56:09.929767"]]
|
2265
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
2266
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2267
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2268
|
+
FROM sqlite_master
|
2269
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
2270
|
+
UNION ALL
|
2271
|
+
SELECT sql
|
2272
|
+
FROM sqlite_temp_master
|
2273
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
2274
|
+
[0m
|
2275
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2276
|
+
FROM sqlite_master
|
2277
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
2278
|
+
UNION ALL
|
2279
|
+
SELECT sql
|
2280
|
+
FROM sqlite_temp_master
|
2281
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
2282
|
+
[0m
|
2283
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
2284
|
+
FROM sqlite_master
|
2285
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
2286
|
+
UNION ALL
|
2287
|
+
SELECT sql
|
2288
|
+
FROM sqlite_temp_master
|
2289
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
2290
|
+
[0m
|
2291
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2292
|
+
FROM sqlite_master
|
2293
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2294
|
+
UNION ALL
|
2295
|
+
SELECT sql
|
2296
|
+
FROM sqlite_temp_master
|
2297
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2298
|
+
[0m
|
2299
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2300
|
+
FROM sqlite_master
|
2301
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
2302
|
+
UNION ALL
|
2303
|
+
SELECT sql
|
2304
|
+
FROM sqlite_temp_master
|
2305
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
2306
|
+
[0m
|
2307
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2308
|
+
FROM sqlite_master
|
2309
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
2310
|
+
UNION ALL
|
2311
|
+
SELECT sql
|
2312
|
+
FROM sqlite_temp_master
|
2313
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
2314
|
+
[0m
|
2315
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2316
|
+
FROM sqlite_master
|
2317
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
2318
|
+
UNION ALL
|
2319
|
+
SELECT sql
|
2320
|
+
FROM sqlite_temp_master
|
2321
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
2322
|
+
[0m
|
2323
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2324
|
+
FROM sqlite_master
|
2325
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
2326
|
+
UNION ALL
|
2327
|
+
SELECT sql
|
2328
|
+
FROM sqlite_temp_master
|
2329
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
2330
|
+
[0m
|
2331
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2332
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
2333
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2334
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
2335
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2336
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
2337
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
2338
|
+
[1m[35m (7.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
2339
|
+
[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
|
2340
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2341
|
+
Migrating to CreateCourses (20170831220702)
|
2342
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2343
|
+
[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
|
2344
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
2345
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831220702"]]
|
2346
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
2347
|
+
Migrating to CreateUsers (20170831221129)
|
2348
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2349
|
+
[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
|
2350
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
2351
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831221129"]]
|
2352
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
2353
|
+
Migrating to CreateEnrollments (20170905192509)
|
2354
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2355
|
+
[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
|
2356
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
2357
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2358
|
+
FROM sqlite_master
|
2359
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2360
|
+
UNION ALL
|
2361
|
+
SELECT sql
|
2362
|
+
FROM sqlite_temp_master
|
2363
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2364
|
+
[0m
|
2365
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
2366
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2367
|
+
FROM sqlite_master
|
2368
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
2369
|
+
UNION ALL
|
2370
|
+
SELECT sql
|
2371
|
+
FROM sqlite_temp_master
|
2372
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
2373
|
+
[0m
|
2374
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2375
|
+
FROM sqlite_master
|
2376
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2377
|
+
UNION ALL
|
2378
|
+
SELECT sql
|
2379
|
+
FROM sqlite_temp_master
|
2380
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2381
|
+
[0m
|
2382
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
2383
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170905192509"]]
|
2384
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
2385
|
+
Migrating to CreateTerms (20170906193506)
|
2386
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2387
|
+
[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
|
2388
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
2389
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906193506"]]
|
2390
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
2391
|
+
Migrating to CreateSections (20170906203438)
|
2392
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2393
|
+
[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
|
2394
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
2395
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2396
|
+
FROM sqlite_master
|
2397
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
2398
|
+
UNION ALL
|
2399
|
+
SELECT sql
|
2400
|
+
FROM sqlite_temp_master
|
2401
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
2402
|
+
[0m
|
2403
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
2404
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906203438"]]
|
2405
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
2406
|
+
Migrating to CreateJobsWrappers (20170913183823)
|
2407
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2408
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "jobs_wrappers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "started_at" datetime, "ended_at" datetime, "full_job_chain" text, "current_job_chain" text, "status" varchar, "exception" varchar, "backtrace" text, "metadata" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
2409
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170913183823"]]
|
2410
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
2411
|
+
[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]]
|
2412
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2413
|
+
[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-13 19:59:10.949619"], ["updated_at", "2017-09-13 19:59:10.949619"]]
|
2414
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
2415
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2416
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2417
|
+
FROM sqlite_master
|
2418
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
2419
|
+
UNION ALL
|
2420
|
+
SELECT sql
|
2421
|
+
FROM sqlite_temp_master
|
2422
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
2423
|
+
[0m
|
2424
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2425
|
+
FROM sqlite_master
|
2426
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
2427
|
+
UNION ALL
|
2428
|
+
SELECT sql
|
2429
|
+
FROM sqlite_temp_master
|
2430
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
2431
|
+
[0m
|
2432
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2433
|
+
FROM sqlite_master
|
2434
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
2435
|
+
UNION ALL
|
2436
|
+
SELECT sql
|
2437
|
+
FROM sqlite_temp_master
|
2438
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
2439
|
+
[0m
|
2440
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2441
|
+
FROM sqlite_master
|
2442
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2443
|
+
UNION ALL
|
2444
|
+
SELECT sql
|
2445
|
+
FROM sqlite_temp_master
|
2446
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2447
|
+
[0m
|
2448
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2449
|
+
FROM sqlite_master
|
2450
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
2451
|
+
UNION ALL
|
2452
|
+
SELECT sql
|
2453
|
+
FROM sqlite_temp_master
|
2454
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
2455
|
+
[0m
|
2456
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2457
|
+
FROM sqlite_master
|
2458
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
2459
|
+
UNION ALL
|
2460
|
+
SELECT sql
|
2461
|
+
FROM sqlite_temp_master
|
2462
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
2463
|
+
[0m
|
2464
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2465
|
+
FROM sqlite_master
|
2466
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
2467
|
+
UNION ALL
|
2468
|
+
SELECT sql
|
2469
|
+
FROM sqlite_temp_master
|
2470
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
2471
|
+
[0m
|
2472
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2473
|
+
FROM sqlite_master
|
2474
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
2475
|
+
UNION ALL
|
2476
|
+
SELECT sql
|
2477
|
+
FROM sqlite_temp_master
|
2478
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
2479
|
+
[0m
|
2480
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2481
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
2482
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2483
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
2484
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2485
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
2486
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
2487
|
+
[1m[35m (6.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
2488
|
+
[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
|
2489
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2490
|
+
Migrating to CreateCourses (20170831220702)
|
2491
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2492
|
+
[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
|
2493
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
2494
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831220702"]]
|
2495
|
+
[1m[35m (1.3ms)[0m [1m[36mcommit transaction[0m
|
2496
|
+
Migrating to CreateUsers (20170831221129)
|
2497
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2498
|
+
[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
|
2499
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
2500
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831221129"]]
|
2501
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
2502
|
+
Migrating to CreateEnrollments (20170905192509)
|
2503
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2504
|
+
[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
|
2505
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
2506
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2507
|
+
FROM sqlite_master
|
2508
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2509
|
+
UNION ALL
|
2510
|
+
SELECT sql
|
2511
|
+
FROM sqlite_temp_master
|
2512
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2513
|
+
[0m
|
2514
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
2515
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2516
|
+
FROM sqlite_master
|
2517
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
2518
|
+
UNION ALL
|
2519
|
+
SELECT sql
|
2520
|
+
FROM sqlite_temp_master
|
2521
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
2522
|
+
[0m
|
2523
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2524
|
+
FROM sqlite_master
|
2525
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2526
|
+
UNION ALL
|
2527
|
+
SELECT sql
|
2528
|
+
FROM sqlite_temp_master
|
2529
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2530
|
+
[0m
|
2531
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
2532
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170905192509"]]
|
2533
|
+
[1m[35m (1.4ms)[0m [1m[36mcommit transaction[0m
|
2534
|
+
Migrating to CreateTerms (20170906193506)
|
2535
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2536
|
+
[1m[35m (0.4ms)[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
|
2537
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
2538
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906193506"]]
|
2539
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
2540
|
+
Migrating to CreateSections (20170906203438)
|
2541
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2542
|
+
[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
|
2543
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
2544
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2545
|
+
FROM sqlite_master
|
2546
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
2547
|
+
UNION ALL
|
2548
|
+
SELECT sql
|
2549
|
+
FROM sqlite_temp_master
|
2550
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
2551
|
+
[0m
|
2552
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
2553
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906203438"]]
|
2554
|
+
[1m[35m (1.6ms)[0m [1m[36mcommit transaction[0m
|
2555
|
+
Migrating to CreateJobsWrappers (20170913183823)
|
2556
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2557
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "jobs_wrappers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "started_at" datetime, "ended_at" datetime, "full_job_chain" text, "current_job_chain" text, "status" varchar, "exception" varchar, "backtrace" text, "metadata" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
2558
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170913183823"]]
|
2559
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
2560
|
+
[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]]
|
2561
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2562
|
+
[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-13 20:00:11.360591"], ["updated_at", "2017-09-13 20:00:11.360591"]]
|
2563
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
2564
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2565
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2566
|
+
FROM sqlite_master
|
2567
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
2568
|
+
UNION ALL
|
2569
|
+
SELECT sql
|
2570
|
+
FROM sqlite_temp_master
|
2571
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
2572
|
+
[0m
|
2573
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2574
|
+
FROM sqlite_master
|
2575
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
2576
|
+
UNION ALL
|
2577
|
+
SELECT sql
|
2578
|
+
FROM sqlite_temp_master
|
2579
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
2580
|
+
[0m
|
2581
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2582
|
+
FROM sqlite_master
|
2583
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
2584
|
+
UNION ALL
|
2585
|
+
SELECT sql
|
2586
|
+
FROM sqlite_temp_master
|
2587
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
2588
|
+
[0m
|
2589
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2590
|
+
FROM sqlite_master
|
2591
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2592
|
+
UNION ALL
|
2593
|
+
SELECT sql
|
2594
|
+
FROM sqlite_temp_master
|
2595
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2596
|
+
[0m
|
2597
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2598
|
+
FROM sqlite_master
|
2599
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
2600
|
+
UNION ALL
|
2601
|
+
SELECT sql
|
2602
|
+
FROM sqlite_temp_master
|
2603
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
2604
|
+
[0m
|
2605
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2606
|
+
FROM sqlite_master
|
2607
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
2608
|
+
UNION ALL
|
2609
|
+
SELECT sql
|
2610
|
+
FROM sqlite_temp_master
|
2611
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
2612
|
+
[0m
|
2613
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2614
|
+
FROM sqlite_master
|
2615
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
2616
|
+
UNION ALL
|
2617
|
+
SELECT sql
|
2618
|
+
FROM sqlite_temp_master
|
2619
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
2620
|
+
[0m
|
2621
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2622
|
+
FROM sqlite_master
|
2623
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
2624
|
+
UNION ALL
|
2625
|
+
SELECT sql
|
2626
|
+
FROM sqlite_temp_master
|
2627
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
2628
|
+
[0m
|
2629
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2630
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
2631
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2632
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
2633
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2634
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
2635
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
2636
|
+
[1m[35m (1.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
2637
|
+
[1m[35m (1.2ms)[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
|
2638
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2639
|
+
Migrating to CreateCourses (20170831220702)
|
2640
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2641
|
+
[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
|
2642
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
2643
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831220702"]]
|
2644
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
2645
|
+
Migrating to CreateUsers (20170831221129)
|
2646
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2647
|
+
[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
|
2648
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
2649
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831221129"]]
|
2650
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
2651
|
+
Migrating to CreateEnrollments (20170905192509)
|
2652
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2653
|
+
[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
|
2654
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
2655
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2656
|
+
FROM sqlite_master
|
2657
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2658
|
+
UNION ALL
|
2659
|
+
SELECT sql
|
2660
|
+
FROM sqlite_temp_master
|
2661
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2662
|
+
[0m
|
2663
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
2664
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2665
|
+
FROM sqlite_master
|
2666
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
2667
|
+
UNION ALL
|
2668
|
+
SELECT sql
|
2669
|
+
FROM sqlite_temp_master
|
2670
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
2671
|
+
[0m
|
2672
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2673
|
+
FROM sqlite_master
|
2674
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2675
|
+
UNION ALL
|
2676
|
+
SELECT sql
|
2677
|
+
FROM sqlite_temp_master
|
2678
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2679
|
+
[0m
|
2680
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
2681
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170905192509"]]
|
2682
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
2683
|
+
Migrating to CreateTerms (20170906193506)
|
2684
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2685
|
+
[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
|
2686
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
2687
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906193506"]]
|
2688
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
2689
|
+
Migrating to CreateSections (20170906203438)
|
2690
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2691
|
+
[1m[35m (0.6ms)[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
|
2692
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
2693
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2694
|
+
FROM sqlite_master
|
2695
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
2696
|
+
UNION ALL
|
2697
|
+
SELECT sql
|
2698
|
+
FROM sqlite_temp_master
|
2699
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
2700
|
+
[0m
|
2701
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
2702
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906203438"]]
|
2703
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
2704
|
+
Migrating to CreateJobsWrappers (20170913183823)
|
2705
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2706
|
+
[1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "jobs_wrappers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "started_at" datetime, "ended_at" datetime, "full_job_chain" text, "current_job_chain" text, "status" varchar, "exception" varchar, "backtrace" text, "metadata" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
2707
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170913183823"]]
|
2708
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
2709
|
+
[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]]
|
2710
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2711
|
+
[1m[35mSQL (5.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", "2017-09-13 20:22:36.757684"], ["updated_at", "2017-09-13 20:22:36.757684"]]
|
2712
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
2713
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2714
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2715
|
+
FROM sqlite_master
|
2716
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
2717
|
+
UNION ALL
|
2718
|
+
SELECT sql
|
2719
|
+
FROM sqlite_temp_master
|
2720
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
2721
|
+
[0m
|
2722
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2723
|
+
FROM sqlite_master
|
2724
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
2725
|
+
UNION ALL
|
2726
|
+
SELECT sql
|
2727
|
+
FROM sqlite_temp_master
|
2728
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
2729
|
+
[0m
|
2730
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2731
|
+
FROM sqlite_master
|
2732
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
2733
|
+
UNION ALL
|
2734
|
+
SELECT sql
|
2735
|
+
FROM sqlite_temp_master
|
2736
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
2737
|
+
[0m
|
2738
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2739
|
+
FROM sqlite_master
|
2740
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2741
|
+
UNION ALL
|
2742
|
+
SELECT sql
|
2743
|
+
FROM sqlite_temp_master
|
2744
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2745
|
+
[0m
|
2746
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2747
|
+
FROM sqlite_master
|
2748
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
2749
|
+
UNION ALL
|
2750
|
+
SELECT sql
|
2751
|
+
FROM sqlite_temp_master
|
2752
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
2753
|
+
[0m
|
2754
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2755
|
+
FROM sqlite_master
|
2756
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
2757
|
+
UNION ALL
|
2758
|
+
SELECT sql
|
2759
|
+
FROM sqlite_temp_master
|
2760
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
2761
|
+
[0m
|
2762
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2763
|
+
FROM sqlite_master
|
2764
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
2765
|
+
UNION ALL
|
2766
|
+
SELECT sql
|
2767
|
+
FROM sqlite_temp_master
|
2768
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
2769
|
+
[0m
|
2770
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
2771
|
+
FROM sqlite_master
|
2772
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
2773
|
+
UNION ALL
|
2774
|
+
SELECT sql
|
2775
|
+
FROM sqlite_temp_master
|
2776
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
2777
|
+
[0m
|
2778
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2779
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
2780
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2781
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
2782
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2783
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
2784
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
2785
|
+
[1m[35m (6.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
2786
|
+
[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
|
2787
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2788
|
+
Migrating to CreateCourses (20170831220702)
|
2789
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2790
|
+
[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
|
2791
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
2792
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831220702"]]
|
2793
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
2794
|
+
Migrating to CreateUsers (20170831221129)
|
2795
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2796
|
+
[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
|
2797
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
2798
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831221129"]]
|
2799
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
2800
|
+
Migrating to CreateEnrollments (20170905192509)
|
2801
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2802
|
+
[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
|
2803
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
2804
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2805
|
+
FROM sqlite_master
|
2806
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2807
|
+
UNION ALL
|
2808
|
+
SELECT sql
|
2809
|
+
FROM sqlite_temp_master
|
2810
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2811
|
+
[0m
|
2812
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
2813
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2814
|
+
FROM sqlite_master
|
2815
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
2816
|
+
UNION ALL
|
2817
|
+
SELECT sql
|
2818
|
+
FROM sqlite_temp_master
|
2819
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
2820
|
+
[0m
|
2821
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2822
|
+
FROM sqlite_master
|
2823
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2824
|
+
UNION ALL
|
2825
|
+
SELECT sql
|
2826
|
+
FROM sqlite_temp_master
|
2827
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2828
|
+
[0m
|
2829
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
2830
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170905192509"]]
|
2831
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
2832
|
+
Migrating to CreateTerms (20170906193506)
|
2833
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2834
|
+
[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
|
2835
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
2836
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906193506"]]
|
2837
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
2838
|
+
Migrating to CreateSections (20170906203438)
|
2839
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2840
|
+
[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
|
2841
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
2842
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2843
|
+
FROM sqlite_master
|
2844
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
2845
|
+
UNION ALL
|
2846
|
+
SELECT sql
|
2847
|
+
FROM sqlite_temp_master
|
2848
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
2849
|
+
[0m
|
2850
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
2851
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906203438"]]
|
2852
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
2853
|
+
[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]]
|
2854
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2855
|
+
[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-13 21:02:28.553380"], ["updated_at", "2017-09-13 21:02:28.553380"]]
|
2856
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
2857
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2858
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2859
|
+
FROM sqlite_master
|
2860
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
2861
|
+
UNION ALL
|
2862
|
+
SELECT sql
|
2863
|
+
FROM sqlite_temp_master
|
2864
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
2865
|
+
[0m
|
2866
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2867
|
+
FROM sqlite_master
|
2868
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
2869
|
+
UNION ALL
|
2870
|
+
SELECT sql
|
2871
|
+
FROM sqlite_temp_master
|
2872
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
2873
|
+
[0m
|
2874
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2875
|
+
FROM sqlite_master
|
2876
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
2877
|
+
UNION ALL
|
2878
|
+
SELECT sql
|
2879
|
+
FROM sqlite_temp_master
|
2880
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
2881
|
+
[0m
|
2882
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2883
|
+
FROM sqlite_master
|
2884
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2885
|
+
UNION ALL
|
2886
|
+
SELECT sql
|
2887
|
+
FROM sqlite_temp_master
|
2888
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2889
|
+
[0m
|
2890
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2891
|
+
FROM sqlite_master
|
2892
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
2893
|
+
UNION ALL
|
2894
|
+
SELECT sql
|
2895
|
+
FROM sqlite_temp_master
|
2896
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
2897
|
+
[0m
|
2898
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2899
|
+
FROM sqlite_master
|
2900
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
2901
|
+
UNION ALL
|
2902
|
+
SELECT sql
|
2903
|
+
FROM sqlite_temp_master
|
2904
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
2905
|
+
[0m
|
2906
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2907
|
+
FROM sqlite_master
|
2908
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
2909
|
+
UNION ALL
|
2910
|
+
SELECT sql
|
2911
|
+
FROM sqlite_temp_master
|
2912
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
2913
|
+
[0m
|
2914
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2915
|
+
FROM sqlite_master
|
2916
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
2917
|
+
UNION ALL
|
2918
|
+
SELECT sql
|
2919
|
+
FROM sqlite_temp_master
|
2920
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
2921
|
+
[0m
|
2922
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2923
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
2924
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2925
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
2926
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2927
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
2928
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
2929
|
+
[1m[35m (7.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
2930
|
+
[1m[35m (1.4ms)[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
|
2931
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2932
|
+
Migrating to CreateCourses (20170831220702)
|
2933
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2934
|
+
[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
|
2935
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
2936
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831220702"]]
|
2937
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
2938
|
+
Migrating to CreateUsers (20170831221129)
|
2939
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2940
|
+
[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
|
2941
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
2942
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831221129"]]
|
2943
|
+
[1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
|
2944
|
+
Migrating to CreateEnrollments (20170905192509)
|
2945
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2946
|
+
[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
|
2947
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
2948
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2949
|
+
FROM sqlite_master
|
2950
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2951
|
+
UNION ALL
|
2952
|
+
SELECT sql
|
2953
|
+
FROM sqlite_temp_master
|
2954
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2955
|
+
[0m
|
2956
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
2957
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2958
|
+
FROM sqlite_master
|
2959
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
2960
|
+
UNION ALL
|
2961
|
+
SELECT sql
|
2962
|
+
FROM sqlite_temp_master
|
2963
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
2964
|
+
[0m
|
2965
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2966
|
+
FROM sqlite_master
|
2967
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2968
|
+
UNION ALL
|
2969
|
+
SELECT sql
|
2970
|
+
FROM sqlite_temp_master
|
2971
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
2972
|
+
[0m
|
2973
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
2974
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170905192509"]]
|
2975
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
2976
|
+
Migrating to CreateTerms (20170906193506)
|
2977
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2978
|
+
[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
|
2979
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
2980
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906193506"]]
|
2981
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
2982
|
+
Migrating to CreateSections (20170906203438)
|
2983
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2984
|
+
[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
|
2985
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
2986
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
2987
|
+
FROM sqlite_master
|
2988
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
2989
|
+
UNION ALL
|
2990
|
+
SELECT sql
|
2991
|
+
FROM sqlite_temp_master
|
2992
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
2993
|
+
[0m
|
2994
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
2995
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906203438"]]
|
2996
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
2997
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
2998
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2999
|
+
[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-13 21:03:32.061881"], ["updated_at", "2017-09-13 21:03:32.061881"]]
|
3000
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
3001
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3002
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3003
|
+
FROM sqlite_master
|
3004
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
3005
|
+
UNION ALL
|
3006
|
+
SELECT sql
|
3007
|
+
FROM sqlite_temp_master
|
3008
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
3009
|
+
[0m
|
3010
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3011
|
+
FROM sqlite_master
|
3012
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
3013
|
+
UNION ALL
|
3014
|
+
SELECT sql
|
3015
|
+
FROM sqlite_temp_master
|
3016
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
3017
|
+
[0m
|
3018
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3019
|
+
FROM sqlite_master
|
3020
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
3021
|
+
UNION ALL
|
3022
|
+
SELECT sql
|
3023
|
+
FROM sqlite_temp_master
|
3024
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
3025
|
+
[0m
|
3026
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3027
|
+
FROM sqlite_master
|
3028
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
3029
|
+
UNION ALL
|
3030
|
+
SELECT sql
|
3031
|
+
FROM sqlite_temp_master
|
3032
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
3033
|
+
[0m
|
3034
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3035
|
+
FROM sqlite_master
|
3036
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
3037
|
+
UNION ALL
|
3038
|
+
SELECT sql
|
3039
|
+
FROM sqlite_temp_master
|
3040
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
3041
|
+
[0m
|
3042
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3043
|
+
FROM sqlite_master
|
3044
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
3045
|
+
UNION ALL
|
3046
|
+
SELECT sql
|
3047
|
+
FROM sqlite_temp_master
|
3048
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
3049
|
+
[0m
|
3050
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3051
|
+
FROM sqlite_master
|
3052
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
3053
|
+
UNION ALL
|
3054
|
+
SELECT sql
|
3055
|
+
FROM sqlite_temp_master
|
3056
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
3057
|
+
[0m
|
3058
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3059
|
+
FROM sqlite_master
|
3060
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
3061
|
+
UNION ALL
|
3062
|
+
SELECT sql
|
3063
|
+
FROM sqlite_temp_master
|
3064
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
3065
|
+
[0m
|
3066
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3067
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
3068
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3069
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
3070
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3071
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
3072
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
3073
|
+
[1m[35m (2.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
3074
|
+
[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
|
3075
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3076
|
+
Migrating to CreateCourses (20170831220702)
|
3077
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3078
|
+
[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
|
3079
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
3080
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831220702"]]
|
3081
|
+
[1m[35m (1.4ms)[0m [1m[36mcommit transaction[0m
|
3082
|
+
Migrating to CreateUsers (20170831221129)
|
3083
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3084
|
+
[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
|
3085
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
3086
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831221129"]]
|
3087
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
3088
|
+
Migrating to CreateEnrollments (20170905192509)
|
3089
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3090
|
+
[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
|
3091
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
3092
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3093
|
+
FROM sqlite_master
|
3094
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
3095
|
+
UNION ALL
|
3096
|
+
SELECT sql
|
3097
|
+
FROM sqlite_temp_master
|
3098
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
3099
|
+
[0m
|
3100
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
3101
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3102
|
+
FROM sqlite_master
|
3103
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
3104
|
+
UNION ALL
|
3105
|
+
SELECT sql
|
3106
|
+
FROM sqlite_temp_master
|
3107
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
3108
|
+
[0m
|
3109
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3110
|
+
FROM sqlite_master
|
3111
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
3112
|
+
UNION ALL
|
3113
|
+
SELECT sql
|
3114
|
+
FROM sqlite_temp_master
|
3115
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
3116
|
+
[0m
|
3117
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
3118
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170905192509"]]
|
3119
|
+
[1m[35m (1.4ms)[0m [1m[36mcommit transaction[0m
|
3120
|
+
Migrating to CreateTerms (20170906193506)
|
3121
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3122
|
+
[1m[35m (0.4ms)[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
|
3123
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
3124
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906193506"]]
|
3125
|
+
[1m[35m (1.5ms)[0m [1m[36mcommit transaction[0m
|
3126
|
+
Migrating to CreateSections (20170906203438)
|
3127
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3128
|
+
[1m[35m (0.4ms)[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
|
3129
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
3130
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3131
|
+
FROM sqlite_master
|
3132
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
3133
|
+
UNION ALL
|
3134
|
+
SELECT sql
|
3135
|
+
FROM sqlite_temp_master
|
3136
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
3137
|
+
[0m
|
3138
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
3139
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906203438"]]
|
3140
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
3141
|
+
[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]]
|
3142
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3143
|
+
[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-13 21:05:48.420882"], ["updated_at", "2017-09-13 21:05:48.420882"]]
|
3144
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
3145
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3146
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3147
|
+
FROM sqlite_master
|
3148
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
3149
|
+
UNION ALL
|
3150
|
+
SELECT sql
|
3151
|
+
FROM sqlite_temp_master
|
3152
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
3153
|
+
[0m
|
3154
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3155
|
+
FROM sqlite_master
|
3156
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
3157
|
+
UNION ALL
|
3158
|
+
SELECT sql
|
3159
|
+
FROM sqlite_temp_master
|
3160
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
3161
|
+
[0m
|
3162
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3163
|
+
FROM sqlite_master
|
3164
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
3165
|
+
UNION ALL
|
3166
|
+
SELECT sql
|
3167
|
+
FROM sqlite_temp_master
|
3168
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
3169
|
+
[0m
|
3170
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3171
|
+
FROM sqlite_master
|
3172
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
3173
|
+
UNION ALL
|
3174
|
+
SELECT sql
|
3175
|
+
FROM sqlite_temp_master
|
3176
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
3177
|
+
[0m
|
3178
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3179
|
+
FROM sqlite_master
|
3180
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
3181
|
+
UNION ALL
|
3182
|
+
SELECT sql
|
3183
|
+
FROM sqlite_temp_master
|
3184
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
3185
|
+
[0m
|
3186
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3187
|
+
FROM sqlite_master
|
3188
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
3189
|
+
UNION ALL
|
3190
|
+
SELECT sql
|
3191
|
+
FROM sqlite_temp_master
|
3192
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
3193
|
+
[0m
|
3194
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3195
|
+
FROM sqlite_master
|
3196
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
3197
|
+
UNION ALL
|
3198
|
+
SELECT sql
|
3199
|
+
FROM sqlite_temp_master
|
3200
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
3201
|
+
[0m
|
3202
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3203
|
+
FROM sqlite_master
|
3204
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
3205
|
+
UNION ALL
|
3206
|
+
SELECT sql
|
3207
|
+
FROM sqlite_temp_master
|
3208
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
3209
|
+
[0m
|
3210
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3211
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
3212
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3213
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
3214
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3215
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
3216
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
3217
|
+
[1m[35m (6.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
3218
|
+
[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
|
3219
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3220
|
+
Migrating to CreateCourses (20170831220702)
|
3221
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3222
|
+
[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
|
3223
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
3224
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831220702"]]
|
3225
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
3226
|
+
Migrating to CreateUsers (20170831221129)
|
3227
|
+
[1m[35m (0.7ms)[0m [1m[36mbegin transaction[0m
|
3228
|
+
[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
|
3229
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
3230
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831221129"]]
|
3231
|
+
[1m[35m (1.4ms)[0m [1m[36mcommit transaction[0m
|
3232
|
+
Migrating to CreateEnrollments (20170905192509)
|
3233
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3234
|
+
[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
|
3235
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
3236
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3237
|
+
FROM sqlite_master
|
3238
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
3239
|
+
UNION ALL
|
3240
|
+
SELECT sql
|
3241
|
+
FROM sqlite_temp_master
|
3242
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
3243
|
+
[0m
|
3244
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
3245
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3246
|
+
FROM sqlite_master
|
3247
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
3248
|
+
UNION ALL
|
3249
|
+
SELECT sql
|
3250
|
+
FROM sqlite_temp_master
|
3251
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
3252
|
+
[0m
|
3253
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3254
|
+
FROM sqlite_master
|
3255
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
3256
|
+
UNION ALL
|
3257
|
+
SELECT sql
|
3258
|
+
FROM sqlite_temp_master
|
3259
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
3260
|
+
[0m
|
3261
|
+
[1m[35m (0.6ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
3262
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170905192509"]]
|
3263
|
+
[1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
|
3264
|
+
Migrating to CreateTerms (20170906193506)
|
3265
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3266
|
+
[1m[35m (0.4ms)[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
|
3267
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
3268
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906193506"]]
|
3269
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
3270
|
+
Migrating to CreateSections (20170906203438)
|
3271
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3272
|
+
[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
|
3273
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
3274
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3275
|
+
FROM sqlite_master
|
3276
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
3277
|
+
UNION ALL
|
3278
|
+
SELECT sql
|
3279
|
+
FROM sqlite_temp_master
|
3280
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
3281
|
+
[0m
|
3282
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
3283
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906203438"]]
|
3284
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
3285
|
+
Migrating to CreateCanvasSyncJobsWrappers (20170913183823)
|
3286
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3287
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "canvas_sync_jobs_wrappers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "started_at" datetime, "ended_at" datetime, "full_job_chain" text, "current_job_chain" text, "status" varchar, "exception" varchar, "backtrace" text, "metadata" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
3288
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170913183823"]]
|
3289
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
3290
|
+
[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]]
|
3291
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3292
|
+
[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-13 21:09:31.266381"], ["updated_at", "2017-09-13 21:09:31.266381"]]
|
3293
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
3294
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3295
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
3296
|
+
FROM sqlite_master
|
3297
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
3298
|
+
UNION ALL
|
3299
|
+
SELECT sql
|
3300
|
+
FROM sqlite_temp_master
|
3301
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
3302
|
+
[0m
|
3303
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3304
|
+
FROM sqlite_master
|
3305
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
3306
|
+
UNION ALL
|
3307
|
+
SELECT sql
|
3308
|
+
FROM sqlite_temp_master
|
3309
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
3310
|
+
[0m
|
3311
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3312
|
+
FROM sqlite_master
|
3313
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
3314
|
+
UNION ALL
|
3315
|
+
SELECT sql
|
3316
|
+
FROM sqlite_temp_master
|
3317
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
3318
|
+
[0m
|
3319
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
3320
|
+
FROM sqlite_master
|
3321
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
3322
|
+
UNION ALL
|
3323
|
+
SELECT sql
|
3324
|
+
FROM sqlite_temp_master
|
3325
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
3326
|
+
[0m
|
3327
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3328
|
+
FROM sqlite_master
|
3329
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
3330
|
+
UNION ALL
|
3331
|
+
SELECT sql
|
3332
|
+
FROM sqlite_temp_master
|
3333
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
3334
|
+
[0m
|
3335
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3336
|
+
FROM sqlite_master
|
3337
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
3338
|
+
UNION ALL
|
3339
|
+
SELECT sql
|
3340
|
+
FROM sqlite_temp_master
|
3341
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
3342
|
+
[0m
|
3343
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3344
|
+
FROM sqlite_master
|
3345
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
3346
|
+
UNION ALL
|
3347
|
+
SELECT sql
|
3348
|
+
FROM sqlite_temp_master
|
3349
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
3350
|
+
[0m
|
3351
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3352
|
+
FROM sqlite_master
|
3353
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
3354
|
+
UNION ALL
|
3355
|
+
SELECT sql
|
3356
|
+
FROM sqlite_temp_master
|
3357
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
3358
|
+
[0m
|
3359
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3360
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
3361
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3362
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
3363
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3364
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
3365
|
+
[1m[35m (5.7ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
3366
|
+
[1m[35m (1.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
3367
|
+
[1m[35m (0.7ms)[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
|
3368
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3369
|
+
Migrating to CreateUsers (20170831221129)
|
3370
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3371
|
+
[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
|
3372
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
3373
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170831221129"]]
|
3374
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
3375
|
+
Migrating to CreateEnrollments (20170905192509)
|
3376
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3377
|
+
[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
|
3378
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
3379
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3380
|
+
FROM sqlite_master
|
3381
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
3382
|
+
UNION ALL
|
3383
|
+
SELECT sql
|
3384
|
+
FROM sqlite_temp_master
|
3385
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
3386
|
+
[0m
|
3387
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
3388
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3389
|
+
FROM sqlite_master
|
3390
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
3391
|
+
UNION ALL
|
3392
|
+
SELECT sql
|
3393
|
+
FROM sqlite_temp_master
|
3394
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
3395
|
+
[0m
|
3396
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3397
|
+
FROM sqlite_master
|
3398
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
3399
|
+
UNION ALL
|
3400
|
+
SELECT sql
|
3401
|
+
FROM sqlite_temp_master
|
3402
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
3403
|
+
[0m
|
3404
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
3405
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170905192509"]]
|
3406
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
3407
|
+
Migrating to CreateTerms (20170906193506)
|
3408
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3409
|
+
[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
|
3410
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
3411
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906193506"]]
|
3412
|
+
[1m[35m (1.3ms)[0m [1m[36mcommit transaction[0m
|
3413
|
+
Migrating to CreateSections (20170906203438)
|
3414
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3415
|
+
[1m[35m (0.4ms)[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
|
3416
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
3417
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3418
|
+
FROM sqlite_master
|
3419
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
3420
|
+
UNION ALL
|
3421
|
+
SELECT sql
|
3422
|
+
FROM sqlite_temp_master
|
3423
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
3424
|
+
[0m
|
3425
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
3426
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170906203438"]]
|
3427
|
+
[1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
|
3428
|
+
Migrating to CreateCourses (20170914181345)
|
3429
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
3430
|
+
[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, "status" 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
|
3431
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
3432
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170914181345"]]
|
3433
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
3434
|
+
[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]]
|
3435
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
3436
|
+
[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-14 18:13:50.287279"], ["updated_at", "2017-09-14 18:13:50.287279"]]
|
3437
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
3438
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3439
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3440
|
+
FROM sqlite_master
|
3441
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
3442
|
+
UNION ALL
|
3443
|
+
SELECT sql
|
3444
|
+
FROM sqlite_temp_master
|
3445
|
+
WHERE name='index_courses_on_canvas_course_id' AND type='index'
|
3446
|
+
[0m
|
3447
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
3448
|
+
FROM sqlite_master
|
3449
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
3450
|
+
UNION ALL
|
3451
|
+
SELECT sql
|
3452
|
+
FROM sqlite_temp_master
|
3453
|
+
WHERE name='index_enrollments_on_canvas_user_id' AND type='index'
|
3454
|
+
[0m
|
3455
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3456
|
+
FROM sqlite_master
|
3457
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
3458
|
+
UNION ALL
|
3459
|
+
SELECT sql
|
3460
|
+
FROM sqlite_temp_master
|
3461
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
3462
|
+
[0m
|
3463
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3464
|
+
FROM sqlite_master
|
3465
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
3466
|
+
UNION ALL
|
3467
|
+
SELECT sql
|
3468
|
+
FROM sqlite_temp_master
|
3469
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
3470
|
+
[0m
|
3471
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3472
|
+
FROM sqlite_master
|
3473
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
3474
|
+
UNION ALL
|
3475
|
+
SELECT sql
|
3476
|
+
FROM sqlite_temp_master
|
3477
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
3478
|
+
[0m
|
3479
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3480
|
+
FROM sqlite_master
|
3481
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
3482
|
+
UNION ALL
|
3483
|
+
SELECT sql
|
3484
|
+
FROM sqlite_temp_master
|
3485
|
+
WHERE name='index_sections_on_canvas_section_id' AND type='index'
|
3486
|
+
[0m
|
3487
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3488
|
+
FROM sqlite_master
|
3489
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
3490
|
+
UNION ALL
|
3491
|
+
SELECT sql
|
3492
|
+
FROM sqlite_temp_master
|
3493
|
+
WHERE name='index_terms_on_canvas_term_id' AND type='index'
|
3494
|
+
[0m
|
3495
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
3496
|
+
FROM sqlite_master
|
3497
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
3498
|
+
UNION ALL
|
3499
|
+
SELECT sql
|
3500
|
+
FROM sqlite_temp_master
|
3501
|
+
WHERE name='index_users_on_canvas_user_id' AND type='index'
|
828
3502
|
[0m
|