coalescing_panda 4.0.11 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/coalescing_panda/canvas_batch.js.coffee +7 -5
  3. data/app/assets/stylesheets/coalescing_panda/application.css.scss +1 -0
  4. data/app/controllers/coalescing_panda/canvas_batches_controller.rb +0 -10
  5. data/app/controllers/coalescing_panda/lti_controller.rb +2 -2
  6. data/app/controllers/coalescing_panda/oauth2_controller.rb +1 -3
  7. data/app/models/coalescing_panda/assignment.rb +0 -2
  8. data/app/models/coalescing_panda/canvas_batch.rb +0 -4
  9. data/app/models/coalescing_panda/course.rb +0 -2
  10. data/app/models/coalescing_panda/group.rb +2 -3
  11. data/app/models/coalescing_panda/lti_account.rb +0 -1
  12. data/app/models/coalescing_panda/user.rb +0 -1
  13. data/app/models/coalescing_panda/workers/course_miner.rb +58 -141
  14. data/app/models/concerns/single_table_polymorphic.rb +1 -1
  15. data/app/views/coalescing_panda/canvas_batches/_canvas_batch.html.haml +10 -22
  16. data/app/views/coalescing_panda/canvas_batches/_canvas_batch_flash.html.haml +1 -1
  17. data/config/routes.rb +1 -3
  18. data/lib/coalescing_panda/controller_helpers.rb +25 -22
  19. data/lib/coalescing_panda/version.rb +1 -1
  20. data/spec/dummy/db/development.sqlite3 +0 -0
  21. data/spec/dummy/db/schema.rb +82 -120
  22. data/spec/dummy/db/test.sqlite3 +0 -0
  23. data/spec/dummy/log/development.log +229 -589
  24. data/spec/dummy/log/test.log +60790 -39979
  25. data/spec/models/coalescing_panda/assignment_spec.rb +0 -1
  26. data/spec/models/coalescing_panda/course_spec.rb +0 -5
  27. data/spec/models/coalescing_panda/workers/course_miner_spec.rb +10 -57
  28. metadata +57 -80
  29. data/app/assets/javascripts/bootstrap/bootstrap-datepicker.js +0 -1247
  30. data/app/assets/javascripts/bootstrap/bootstrap.js +0 -6
  31. data/app/assets/stylesheets/bootstrap/bootstrap-datepicker.css +0 -449
  32. data/app/assets/stylesheets/bootstrap/bootstrap-overrides.css.scss +0 -61
  33. data/app/assets/stylesheets/bootstrap/bootstrap-responsive.css +0 -9
  34. data/app/assets/stylesheets/bootstrap/bootstrap.css.scss +0 -9
  35. data/app/assets/stylesheets/coalescing_panda/application.css +0 -16
  36. data/app/assets/stylesheets/coalescing_panda/oauth2.css +0 -0
  37. data/app/assets/stylesheets/coalescing_panda/progress.css.scss +0 -97
  38. data/app/models/coalescing_panda/assignment_group.rb +0 -11
  39. data/app/models/coalescing_panda/group_category.rb +0 -11
  40. data/db/migrate/20150506183335_create_coalescing_panda_assignment_groups.rb +0 -18
  41. data/db/migrate/20150506192717_add_assignment_group_id_to_assignments.rb +0 -5
  42. data/db/migrate/20150526144713_add_account_to_canvas_batches.rb +0 -5
  43. data/db/migrate/20150602205257_add_option_to_canvas_batches.rb +0 -5
  44. data/db/migrate/20150708192717_add_group_moderator_to_group_memberships.rb +0 -5
  45. data/db/migrate/20150709192717_add_leader_id_to_groups.rb +0 -6
  46. data/db/migrate/20150714205405_create_coalescing_panda_group_categories.rb +0 -16
  47. data/db/migrate/20160521205405_add_graded_at_to_coalescing_panda_submissions.rb +0 -5
  48. data/lib/coalescing_panda/bearcat_uri.rb +0 -20
  49. data/spec/factories/assignment_groups.rb +0 -14
  50. data/spec/models/coalescing_panda/assignment_group_spec.rb +0 -32
@@ -1,628 +1,268 @@
1
-  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2
-  (0.5ms) select sqlite_version(*)
3
-  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
4
  Migrating to CreateCoalescingPandaCanvasApiAuths (20131114150001)
6
-  (0.1ms) begin transaction
7
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/brandonbr/work/src/coalescing_panda/db/migrate/20131114150001_create_coalescing_panda_canvas_api_auths.rb:7)
8
-  (1.0ms) CREATE TABLE "coalescing_panda_canvas_api_auths" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar, "api_domain" varchar, "api_token" varchar, "created_at" datetime, "updated_at" datetime)
9
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131114150001"]]
10
-  (0.8ms) commit transaction
5
+  (0.0ms) begin transaction
6
+  (0.4ms) CREATE TABLE "coalescing_panda_canvas_api_auths" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar(255), "api_domain" varchar(255), "api_token" varchar(255), "created_at" datetime, "updated_at" datetime) 
7
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131114150001"]]
8
+  (0.7ms) commit transaction
11
9
  Migrating to CreateCoalescingPandaLtiAccounts (20131118211442)
12
-  (0.1ms) begin transaction
13
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/brandonbr/work/src/coalescing_panda/db/migrate/20131118211442_create_coalescing_panda_lti_accounts.rb:12)
14
-  (0.3ms) CREATE TABLE "coalescing_panda_lti_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "key" varchar, "secret" varchar, "oauth2_client_id" varchar, "oauth2_client_key" varchar, "canvas_account_id" varchar, "settings" text, "created_at" datetime, "updated_at" datetime)
15
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131118211442"]]
16
-  (0.6ms) commit transaction
10
+  (0.0ms) begin transaction
11
+  (0.3ms) CREATE TABLE "coalescing_panda_lti_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "key" varchar(255), "secret" varchar(255), "oauth2_client_id" varchar(255), "oauth2_client_key" varchar(255), "created_at" datetime, "updated_at" datetime) 
12
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131118211442"]]
13
+  (0.6ms) commit transaction
17
14
  Migrating to CreateCoalescingPandaLtiNonces (20131119165343)
18
-  (0.0ms) begin transaction
19
-  (0.2ms) CREATE TABLE "coalescing_panda_lti_nonces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "nonce" varchar, "timestamp" datetime)
20
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131119165343"]]
21
-  (0.7ms) commit transaction
15
+  (0.0ms) begin transaction
16
+  (0.3ms) CREATE TABLE "coalescing_panda_lti_nonces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "nonce" varchar(255), "timestamp" datetime) 
17
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131119165343"]]
18
+  (0.5ms) commit transaction
19
+ Migrating to AddSettingsToCoalescingPandaLtiAccount (20140722210735)
20
+  (0.0ms) begin transaction
21
+  (0.3ms) ALTER TABLE "coalescing_panda_lti_accounts" ADD "settings" text
22
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140722210735"]]
23
+  (0.4ms) commit transaction
22
24
  Migrating to CreateCoalescingPandaSessions (20140904223159)
23
-  (0.1ms) begin transaction
24
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/brandonbr/work/src/coalescing_panda/db/migrate/20140904223159_create_coalescing_panda_sessions.rb:7)
25
-  (0.3ms) CREATE TABLE "coalescing_panda_sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar, "data" text, "created_at" datetime, "updated_at" datetime)
26
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140904223159"]]
27
-  (0.8ms) commit transaction
25
+  (0.1ms) begin transaction
26
+  (0.3ms) CREATE TABLE "coalescing_panda_sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "data" text, "created_at" datetime, "updated_at" datetime) 
27
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140904223159"]]
28
+  (0.5ms) commit transaction
28
29
  Migrating to CreateCoalescingPandaTerms (20141119225319)
29
-  (0.1ms) begin transaction
30
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/brandonbr/work/src/coalescing_panda/db/migrate/20141119225319_create_coalescing_panda_terms.rb:13)
31
-  (0.3ms) CREATE TABLE "coalescing_panda_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer NOT NULL, "name" varchar, "code" varchar, "sis_id" varchar, "canvas_term_id" varchar NOT NULL, "start_at" datetime, "end_at" datetime, "workflow_state" varchar, "created_at" datetime, "updated_at" datetime)
32
-  (1.3ms) CREATE UNIQUE INDEX "index_terms_account" ON "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id")
33
-  (0.4ms) SELECT sql
34
- FROM sqlite_master
35
- WHERE name='index_terms_account' AND type='index'
36
- UNION ALL
37
- SELECT sql
38
- FROM sqlite_temp_master
39
- WHERE name='index_terms_account' AND type='index'
40
-
41
-  (0.1ms) CREATE INDEX "index_coalescing_panda_terms_on_sis_id" ON "coalescing_panda_terms" ("sis_id")
30
+  (0.0ms) begin transaction
31
+  (0.3ms) CREATE TABLE "coalescing_panda_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "name" varchar(255), "code" varchar(255), "sis_id" varchar(255), "canvas_term_id" varchar(255), "start_at" datetime, "end_at" datetime, "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime) 
32
+  (0.1ms) CREATE INDEX "index_coalescing_panda_terms_on_canvas_term_id" ON "coalescing_panda_terms" ("canvas_term_id")
33
+  (0.1ms) CREATE INDEX "index_coalescing_panda_terms_on_sis_id" ON "coalescing_panda_terms" ("sis_id")
42
34
  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141119225319"]]
43
-  (0.8ms) commit transaction
35
+  (0.5ms) commit transaction
44
36
  Migrating to CreateCoalescingPandaCourses (20141119225721)
45
37
   (0.0ms) begin transaction
46
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/brandonbr/work/src/coalescing_panda/db/migrate/20141119225721_create_coalescing_panda_courses.rb:14)
47
-  (0.2ms) CREATE TABLE "coalescing_panda_courses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer NOT NULL, "coalescing_panda_term_id" integer, "name" varchar, "canvas_course_id" varchar NOT NULL, "sis_id" varchar, "start_at" datetime, "conclude_at" datetime, "workflow_state" varchar, "course_code" varchar, "created_at" datetime, "updated_at" datetime) 
48
-  (0.6ms) CREATE UNIQUE INDEX "index_courses_account" ON "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "canvas_course_id")
49
-  (0.0ms)  SELECT sql
50
- FROM sqlite_master
51
- WHERE name='index_courses_account' AND type='index'
52
- UNION ALL
53
- SELECT sql
54
- FROM sqlite_temp_master
55
- WHERE name='index_courses_account' AND type='index'
56
- 
57
-  (0.1ms) CREATE UNIQUE INDEX "index_courses_term" ON "coalescing_panda_courses" ("coalescing_panda_term_id", "canvas_course_id")
58
-  (0.0ms)  SELECT sql
59
- FROM sqlite_master
60
- WHERE name='index_courses_term' AND type='index'
61
- UNION ALL
62
- SELECT sql
63
- FROM sqlite_temp_master
64
- WHERE name='index_courses_term' AND type='index'
65
- 
66
-  (0.0ms) SELECT sql
67
- FROM sqlite_master
68
- WHERE name='index_courses_account' AND type='index'
69
- UNION ALL
70
- SELECT sql
71
- FROM sqlite_temp_master
72
- WHERE name='index_courses_account' AND type='index'
73
-
74
-  (0.1ms) CREATE INDEX "index_coalescing_panda_courses_on_sis_id" ON "coalescing_panda_courses" ("sis_id")
38
+  (0.3ms) CREATE TABLE "coalescing_panda_courses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "coalescing_panda_term_id" integer, "name" varchar(255), "canvas_course_id" varchar(255), "sis_id" varchar(255), "start_at" datetime, "conclude_at" datetime, "workflow_state" varchar(255), "course_code" varchar(255), "created_at" datetime, "updated_at" datetime) 
39
+  (0.1ms) CREATE INDEX "index_courses_account" ON "coalescing_panda_courses" ("coalescing_panda_lti_account_id")
40
+  (0.1ms) CREATE INDEX "index_courses_term" ON "coalescing_panda_courses" ("coalescing_panda_term_id")
41
+  (0.1ms) CREATE INDEX "index_coalescing_panda_courses_on_canvas_course_id" ON "coalescing_panda_courses" ("canvas_course_id")
42
+  (0.1ms) CREATE INDEX "index_coalescing_panda_courses_on_sis_id" ON "coalescing_panda_courses" ("sis_id")
75
43
  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141119225721"]]
76
-  (0.8ms) commit transaction
44
+  (0.5ms) commit transaction
77
45
  Migrating to CreateCoalescingPandaSections (20141120151432)
78
-  (0.0ms) begin transaction
79
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/brandonbr/work/src/coalescing_panda/db/migrate/20141120151432_create_coalescing_panda_sections.rb:12)
80
-  (0.3ms) CREATE TABLE "coalescing_panda_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer NOT NULL, "name" varchar, "canvas_section_id" varchar NOT NULL, "sis_id" varchar, "workflow_state" varchar, "start_at" datetime, "end_at" datetime, "created_at" datetime, "updated_at" datetime) 
81
-  (0.5ms) CREATE UNIQUE INDEX "index_sections_course" ON "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id")
82
-  (0.1ms)  SELECT sql
83
- FROM sqlite_master
84
- WHERE name='index_sections_course' AND type='index'
85
- UNION ALL
86
- SELECT sql
87
- FROM sqlite_temp_master
88
- WHERE name='index_sections_course' AND type='index'
89
- 
90
-  (0.1ms) CREATE INDEX "index_coalescing_panda_sections_on_sis_id" ON "coalescing_panda_sections" ("sis_id")
46
+  (0.1ms) begin transaction
47
+  (0.5ms) CREATE TABLE "coalescing_panda_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer, "name" varchar(255), "canvas_section_id" varchar(255), "sis_id" varchar(255), "workflow_state" varchar(255), "start_at" datetime, "end_at" datetime, "created_at" datetime, "updated_at" datetime) 
48
+  (0.2ms) CREATE INDEX "index_coalescing_panda_sections_on_coalescing_panda_course_id" ON "coalescing_panda_sections" ("coalescing_panda_course_id")
49
+  (0.1ms) CREATE INDEX "index_coalescing_panda_sections_on_canvas_section_id" ON "coalescing_panda_sections" ("canvas_section_id")
50
+  (0.1ms) CREATE INDEX "index_coalescing_panda_sections_on_sis_id" ON "coalescing_panda_sections" ("sis_id")
91
51
  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120151432"]]
92
-  (0.9ms) commit transaction
52
+  (0.6ms) commit transaction
93
53
  Migrating to CreateCoalescingPandaAssignments (20141120151940)
94
54
   (0.0ms) begin transaction
95
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/brandonbr/work/src/coalescing_panda/db/migrate/20141120151940_create_coalescing_panda_assignments.rb:14)
96
-  (0.3ms) CREATE TABLE "coalescing_panda_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer NOT NULL, "name" varchar, "description" text, "canvas_assignment_id" varchar NOT NULL, "workflow_state" varchar, "points_possible" float, "due_at" datetime, "unlock_at" datetime, "lock_at" datetime, "created_at" datetime, "updated_at" datetime)
97
-  (0.6ms) CREATE UNIQUE INDEX "index_assignments_course" ON "coalescing_panda_assignments" ("coalescing_panda_course_id", "canvas_assignment_id")
55
+  (0.3ms) CREATE TABLE "coalescing_panda_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer, "name" varchar(255), "description" varchar(255), "canvas_assignment_id" varchar(255), "sis_id" varchar(255), "workflow_state" varchar(255), "points_possible" float, "due_at" datetime, "unlock_at" datetime, "lock_at" datetime, "created_at" datetime, "updated_at" datetime)
56
+  (0.1ms) CREATE INDEX "index_assignments_course" ON "coalescing_panda_assignments" ("coalescing_panda_course_id")
57
+  (0.1ms) CREATE INDEX "index_coalescing_panda_assignments_on_canvas_assignment_id" ON "coalescing_panda_assignments" ("canvas_assignment_id")
58
+  (0.1ms) CREATE INDEX "index_coalescing_panda_assignments_on_sis_id" ON "coalescing_panda_assignments" ("sis_id")
98
59
  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120151940"]]
99
-  (0.9ms) commit transaction
60
+  (0.5ms) commit transaction
100
61
  Migrating to CreateCoalescingPandaUsers (20141120152458)
101
62
   (0.0ms) begin transaction
102
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/brandonbr/work/src/coalescing_panda/db/migrate/20141120152458_create_coalescing_panda_users.rb:12)
103
-  (0.2ms) CREATE TABLE "coalescing_panda_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer NOT NULL, "name" varchar, "email" varchar, "roles" varchar, "workflow_state" varchar, "sis_id" varchar, "canvas_user_id" varchar NOT NULL, "created_at" datetime, "updated_at" datetime) 
104
-  (0.4ms) CREATE UNIQUE INDEX "index_users_account" ON "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id")
105
-  (0.0ms)  SELECT sql
106
- FROM sqlite_master
107
- WHERE name='index_users_account' AND type='index'
108
- UNION ALL
109
- SELECT sql
110
- FROM sqlite_temp_master
111
- WHERE name='index_users_account' AND type='index'
112
- 
113
-  (0.1ms) CREATE INDEX "index_coalescing_panda_users_on_sis_id" ON "coalescing_panda_users" ("sis_id")
63
+  (0.3ms) CREATE TABLE "coalescing_panda_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "name" varchar(255), "email" varchar(255), "roles" varchar(255), "workflow_state" varchar(255), "sis_id" varchar(255), "canvas_user_id" varchar(255), "created_at" datetime, "updated_at" datetime) 
64
+  (0.1ms) CREATE INDEX "index_users_account" ON "coalescing_panda_users" ("coalescing_panda_lti_account_id")
65
+  (0.1ms) CREATE INDEX "index_coalescing_panda_users_on_canvas_user_id" ON "coalescing_panda_users" ("canvas_user_id")
66
+  (0.1ms) CREATE INDEX "index_coalescing_panda_users_on_sis_id" ON "coalescing_panda_users" ("sis_id")
114
67
  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120152458"]]
115
-  (1.0ms) commit transaction
68
+  (0.5ms) commit transaction
116
69
  Migrating to CreateCoalescingPandaSubmissions (20141120152546)
117
70
   (0.0ms) begin transaction
118
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/brandonbr/work/src/coalescing_panda/db/migrate/20141120152546_create_coalescing_panda_submissions.rb:13)
119
-  (0.3ms) CREATE TABLE "coalescing_panda_submissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_user_id" integer NOT NULL, "coalescing_panda_assignment_id" integer NOT NULL, "url" varchar, "grade" varchar, "score" varchar, "submitted_at" datetime, "workflow_state" varchar, "canvas_submission_id" varchar NOT NULL, "created_at" datetime, "updated_at" datetime)
120
-  (0.5ms) CREATE UNIQUE INDEX "index_submissions_user_and_assignment" ON "coalescing_panda_submissions" ("coalescing_panda_user_id", "coalescing_panda_assignment_id", "canvas_submission_id")
121
-  (0.0ms) SELECT sql
122
- FROM sqlite_master
123
- WHERE name='index_submissions_user_and_assignment' AND type='index'
124
- UNION ALL
125
- SELECT sql
126
- FROM sqlite_temp_master
127
- WHERE name='index_submissions_user_and_assignment' AND type='index'
128
-
129
-  (0.1ms) CREATE INDEX "index_coalescing_panda_submissions_on_canvas_submission_id" ON "coalescing_panda_submissions" ("canvas_submission_id")
130
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120152546"]]
131
-  (0.9ms) commit transaction
71
+  (0.3ms) CREATE TABLE "coalescing_panda_submissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_user_id" integer, "coalescing_panda_assignment_id" integer, "url" varchar(255), "grade" varchar(255), "score" varchar(255), "submitted_at" datetime, "workflow_state" varchar(255), "canvas_submission_id" varchar(255), "created_at" datetime, "updated_at" datetime)
72
+  (0.1ms) CREATE INDEX "index_submissions_user_and_assignment" ON "coalescing_panda_submissions" ("coalescing_panda_user_id", "coalescing_panda_assignment_id")
73
+  (0.1ms) CREATE INDEX "index_coalescing_panda_submissions_on_canvas_submission_id" ON "coalescing_panda_submissions" ("canvas_submission_id")
74
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120152546"]]
75
+  (0.6ms) commit transaction
132
76
  Migrating to CreateCoalescingPandaEnrollments (20141120153135)
133
-  (0.0ms) begin transaction
134
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/brandonbr/work/src/coalescing_panda/db/migrate/20141120153135_create_coalescing_panda_enrollments.rb:13)
135
-  (0.2ms) CREATE TABLE "coalescing_panda_enrollments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_user_id" integer NOT NULL, "coalescing_panda_section_id" integer NOT NULL, "workflow_state" varchar, "sis_id" varchar, "canvas_enrollment_id" varchar NOT NULL, "enrollment_type" varchar, "start_at" datetime, "end_at" datetime, "created_at" datetime, "updated_at" datetime) 
136
-  (0.4ms) CREATE UNIQUE INDEX "index_enrollments_user_and_section" ON "coalescing_panda_enrollments" ("coalescing_panda_user_id", "coalescing_panda_section_id", "enrollment_type")
137
-  (0.0ms)  SELECT sql
138
- FROM sqlite_master
139
- WHERE name='index_enrollments_user_and_section' AND type='index'
140
- UNION ALL
141
- SELECT sql
142
- FROM sqlite_temp_master
143
- WHERE name='index_enrollments_user_and_section' AND type='index'
144
- 
145
-  (0.1ms) CREATE INDEX "index_coalescing_panda_enrollments_on_sis_id" ON "coalescing_panda_enrollments" ("sis_id")
146
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120153135"]]
147
-  (0.8ms) commit transaction
148
- Migrating to CreateCoalescingPandaCanvasBatches (20141121174846)
149
77
   (0.0ms) begin transaction
150
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/brandonbr/work/src/coalescing_panda/db/migrate/20141121174846_create_coalescing_panda_canvas_batches.rb:8)
151
-  (0.2ms) CREATE TABLE "coalescing_panda_canvas_batches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "percent_complete" float DEFAULT 0.0, "status" varchar, "message" text, "created_at" datetime, "updated_at" datetime)
152
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141121174846"]]
153
-  (0.7ms) commit transaction
78
+  (0.3ms) CREATE TABLE "coalescing_panda_enrollments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_user_id" integer, "coalescing_panda_section_id" integer, "workflow_state" varchar(255), "sis_id" varchar(255), "canvas_enrollment_id" varchar(255), "start_at" datetime, "end_at" datetime, "created_at" datetime, "updated_at" datetime)
79
+  (0.1ms) CREATE INDEX "index_enrollments_user_and_assignment" ON "coalescing_panda_enrollments" ("coalescing_panda_user_id", "coalescing_panda_section_id")
80
+  (0.1ms) CREATE INDEX "index_coalescing_panda_enrollments_on_canvas_enrollment_id" ON "coalescing_panda_enrollments" ("canvas_enrollment_id")
81
+  (0.1ms) CREATE INDEX "index_coalescing_panda_enrollments_on_sis_id" ON "coalescing_panda_enrollments" ("sis_id")
82
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120153135"]]
83
+  (0.5ms) commit transaction
84
+ Migrating to AddCanvasAccountIdToLtiAccount (20141120205729)
85
+  (0.1ms) begin transaction
86
+  (0.3ms) ALTER TABLE "coalescing_panda_lti_accounts" ADD "canvas_account_id" varchar(255)
87
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120205729"]]
88
+  (0.5ms) commit transaction
89
+ Migrating to CreateCoalescingPandaCanvasBatches (20141121174846)
90
+  (0.0ms) begin transaction
91
+  (0.4ms) CREATE TABLE "coalescing_panda_canvas_batches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "percent_complete" float DEFAULT 0.0, "status" varchar(255), "message" text, "created_at" datetime, "updated_at" datetime) 
92
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141121174846"]]
93
+  (0.5ms) commit transaction
154
94
  Migrating to CreateDelayedJobs (20141124160857)
155
-  (0.0ms) begin transaction
156
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in up at /Users/brandonbr/work/src/coalescing_panda/db/migrate/20141124160857_create_delayed_jobs.rb:13)
157
-  (0.3ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar, "queue" varchar, "created_at" datetime, "updated_at" datetime)
158
-  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")
159
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141124160857"]]
160
-  (0.6ms) commit transaction
161
- Migrating to AddSubmissionTypesToAssignments (20141208221740)
162
95
   (0.0ms) begin transaction
163
-  (1.0ms) ALTER TABLE "coalescing_panda_assignments" ADD "submission_types" text
96
+  (0.3ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "queue" varchar(255), "created_at" datetime, "updated_at" datetime) 
97
+  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")
98
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141124160857"]]
99
+  (0.5ms) commit transaction
100
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
101
+  (1.5ms) DROP TABLE "coalescing_panda_assignments"
102
+  (1.1ms) CREATE TABLE "coalescing_panda_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer, "name" varchar(255), "description" varchar(255), "canvas_assignment_id" varchar(255), "sis_id" varchar(255), "workflow_state" varchar(255), "points_possible" float, "due_at" datetime, "unlock_at" datetime, "lock_at" datetime, "created_at" datetime, "updated_at" datetime)
103
+  (0.9ms) CREATE INDEX "index_coalescing_panda_assignments_on_canvas_assignment_id" ON "coalescing_panda_assignments" ("canvas_assignment_id")
104
+  (1.2ms) CREATE INDEX "index_assignments_course" ON "coalescing_panda_assignments" ("coalescing_panda_course_id")
105
+  (0.9ms) CREATE INDEX "index_coalescing_panda_assignments_on_sis_id" ON "coalescing_panda_assignments" ("sis_id")
106
+  (0.8ms) DROP TABLE "coalescing_panda_canvas_api_auths"
107
+  (1.0ms) CREATE TABLE "coalescing_panda_canvas_api_auths" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar(255), "api_domain" varchar(255), "api_token" varchar(255), "created_at" datetime, "updated_at" datetime) 
108
+  (0.7ms) DROP TABLE "coalescing_panda_canvas_batches"
109
+  (0.9ms) CREATE TABLE "coalescing_panda_canvas_batches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "percent_complete" float DEFAULT 0.0, "status" varchar(255), "message" text, "created_at" datetime, "updated_at" datetime) 
110
+  (0.9ms) DROP TABLE "coalescing_panda_courses"
111
+  (0.8ms) CREATE TABLE "coalescing_panda_courses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "coalescing_panda_term_id" integer, "name" varchar(255), "canvas_course_id" varchar(255), "sis_id" varchar(255), "start_at" datetime, "conclude_at" datetime, "workflow_state" varchar(255), "course_code" varchar(255), "created_at" datetime, "updated_at" datetime) 
112
+  (0.8ms) CREATE INDEX "index_coalescing_panda_courses_on_canvas_course_id" ON "coalescing_panda_courses" ("canvas_course_id")
113
+  (1.0ms) CREATE INDEX "index_courses_account" ON "coalescing_panda_courses" ("coalescing_panda_lti_account_id")
114
+  (0.9ms) CREATE INDEX "index_courses_term" ON "coalescing_panda_courses" ("coalescing_panda_term_id")
115
+  (0.8ms) CREATE INDEX "index_coalescing_panda_courses_on_sis_id" ON "coalescing_panda_courses" ("sis_id")
116
+  (0.8ms) DROP TABLE "coalescing_panda_enrollments"
117
+  (0.7ms) CREATE TABLE "coalescing_panda_enrollments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_user_id" integer, "coalescing_panda_section_id" integer, "workflow_state" varchar(255), "sis_id" varchar(255), "canvas_enrollment_id" varchar(255), "start_at" datetime, "end_at" datetime, "created_at" datetime, "updated_at" datetime) 
118
+  (0.6ms) CREATE INDEX "index_coalescing_panda_enrollments_on_canvas_enrollment_id" ON "coalescing_panda_enrollments" ("canvas_enrollment_id")
119
+  (0.7ms) CREATE INDEX "index_enrollments_user_and_assignment" ON "coalescing_panda_enrollments" ("coalescing_panda_user_id", "coalescing_panda_section_id")
120
+  (0.7ms) CREATE INDEX "index_coalescing_panda_enrollments_on_sis_id" ON "coalescing_panda_enrollments" ("sis_id")
121
+  (0.7ms) DROP TABLE "coalescing_panda_lti_accounts"
122
+  (0.8ms) CREATE TABLE "coalescing_panda_lti_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "key" varchar(255), "secret" varchar(255), "oauth2_client_id" varchar(255), "oauth2_client_key" varchar(255), "created_at" datetime, "updated_at" datetime, "settings" text, "canvas_account_id" varchar(255))
123
+  (0.7ms) DROP TABLE "coalescing_panda_lti_nonces"
124
+  (0.8ms) CREATE TABLE "coalescing_panda_lti_nonces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "nonce" varchar(255), "timestamp" datetime)
125
+  (0.8ms) DROP TABLE "coalescing_panda_sections"
126
+  (0.8ms) CREATE TABLE "coalescing_panda_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer, "name" varchar(255), "canvas_section_id" varchar(255), "sis_id" varchar(255), "workflow_state" varchar(255), "start_at" datetime, "end_at" datetime, "created_at" datetime, "updated_at" datetime)
127
+  (0.7ms) CREATE INDEX "index_coalescing_panda_sections_on_canvas_section_id" ON "coalescing_panda_sections" ("canvas_section_id")
128
+  (0.7ms) CREATE INDEX "index_coalescing_panda_sections_on_coalescing_panda_course_id" ON "coalescing_panda_sections" ("coalescing_panda_course_id")
129
+  (0.7ms) CREATE INDEX "index_coalescing_panda_sections_on_sis_id" ON "coalescing_panda_sections" ("sis_id")
130
+  (0.6ms) DROP TABLE "coalescing_panda_sessions"
131
+  (0.8ms) CREATE TABLE "coalescing_panda_sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "data" text, "created_at" datetime, "updated_at" datetime) 
132
+  (0.7ms) DROP TABLE "coalescing_panda_submissions"
133
+  (0.7ms) CREATE TABLE "coalescing_panda_submissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_user_id" integer, "coalescing_panda_assignment_id" integer, "url" varchar(255), "grade" varchar(255), "score" varchar(255), "submitted_at" datetime, "workflow_state" varchar(255), "canvas_submission_id" varchar(255), "created_at" datetime, "updated_at" datetime) 
134
+  (1.2ms) CREATE INDEX "index_coalescing_panda_submissions_on_canvas_submission_id" ON "coalescing_panda_submissions" ("canvas_submission_id")
135
+  (1.1ms) CREATE INDEX "index_submissions_user_and_assignment" ON "coalescing_panda_submissions" ("coalescing_panda_user_id", "coalescing_panda_assignment_id")
136
+  (1.2ms) DROP TABLE "coalescing_panda_terms"
137
+  (1.1ms) CREATE TABLE "coalescing_panda_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "name" varchar(255), "code" varchar(255), "sis_id" varchar(255), "canvas_term_id" varchar(255), "start_at" datetime, "end_at" datetime, "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime) 
138
+  (0.9ms) CREATE INDEX "index_coalescing_panda_terms_on_canvas_term_id" ON "coalescing_panda_terms" ("canvas_term_id")
139
+  (1.0ms) CREATE INDEX "index_coalescing_panda_terms_on_sis_id" ON "coalescing_panda_terms" ("sis_id")
140
+  (1.2ms) DROP TABLE "coalescing_panda_users"
141
+  (0.8ms) CREATE TABLE "coalescing_panda_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "name" varchar(255), "email" varchar(255), "roles" varchar(255), "workflow_state" varchar(255), "sis_id" varchar(255), "canvas_user_id" varchar(255), "created_at" datetime, "updated_at" datetime) 
142
+  (0.8ms) CREATE INDEX "index_coalescing_panda_users_on_canvas_user_id" ON "coalescing_panda_users" ("canvas_user_id")
143
+  (0.8ms) CREATE INDEX "index_users_account" ON "coalescing_panda_users" ("coalescing_panda_lti_account_id")
144
+  (0.7ms) CREATE INDEX "index_coalescing_panda_users_on_sis_id" ON "coalescing_panda_users" ("sis_id")
145
+  (0.7ms) DROP TABLE "delayed_jobs"
146
+  (0.8ms) CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "queue" varchar(255), "created_at" datetime, "updated_at" datetime)
147
+  (0.7ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")
148
+  (0.1ms) SELECT version FROM "schema_migrations"
149
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
150
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
151
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
152
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
153
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
154
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
155
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
156
+ Migrating to AddSubmissionTypesToAssignments (20141208221740)
157
+  (0.1ms) begin transaction
158
+  (0.4ms) ALTER TABLE "coalescing_panda_assignments" ADD "submission_types" text
164
159
  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141208221740"]]
165
-  (0.7ms) commit transaction
160
+  (0.9ms) commit transaction
166
161
  Migrating to AddGroupCategoryIdToAssignment (20150106175418)
167
162
   (0.0ms) begin transaction
168
163
   (0.4ms) ALTER TABLE "coalescing_panda_assignments" ADD "group_category_id" integer
169
-  (0.1ms) ALTER TABLE "coalescing_panda_assignments" ADD "grade_group_students_individually" boolean
164
+  (0.2ms) ALTER TABLE "coalescing_panda_assignments" ADD "grade_group_students_individually" boolean
170
165
  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150106175418"]]
171
-  (0.7ms) commit transaction
166
+  (0.8ms) commit transaction
172
167
  Migrating to AddPublishedToAssignments (20150106180131)
173
168
   (0.0ms) begin transaction
174
-  (0.3ms) ALTER TABLE "coalescing_panda_assignments" ADD "published" boolean
169
+  (0.4ms) ALTER TABLE "coalescing_panda_assignments" ADD "published" boolean
175
170
  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150106180131"]]
176
-  (0.6ms) commit transaction
171
+  (0.8ms) commit transaction
177
172
  Migrating to CreateCoalescingPandaGroups (20150107205405)
178
-  (0.1ms) begin transaction
179
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/brandonbr/work/src/coalescing_panda/db/migrate/20150107205405_create_coalescing_panda_groups.rb:11)
180
-  (0.3ms) CREATE TABLE "coalescing_panda_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "context_id" integer, "context_type" varchar, "description" varchar, "group_category_id" varchar, "canvas_group_id" varchar, "name" varchar, "members_count" integer, "created_at" datetime, "updated_at" datetime)
181
-  (1.4ms) CREATE UNIQUE INDEX "index_groups_context_and_group_id" ON "coalescing_panda_groups" ("context_id", "canvas_group_id")
182
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150107205405"]]
183
-  (1.1ms) commit transaction
173
+  (0.0ms) begin transaction
174
+  (0.4ms) CREATE TABLE "coalescing_panda_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "context_id" integer, "context_type" varchar(255), "description" varchar(255), "group_category_id" varchar(255), "canvas_group_id" varchar(255), "name" varchar(255), "members_count" integer, "created_at" datetime, "updated_at" datetime)
175
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150107205405"]]
176
+  (0.7ms) commit transaction
184
177
  Migrating to CreateCoalescingPandaGroupMemberships (20150107205413)
185
-  (0.0ms) begin transaction
186
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/brandonbr/work/src/coalescing_panda/db/migrate/20150107205413_create_coalescing_panda_group_memberships.rb:9)
187
-  (0.3ms) CREATE TABLE "coalescing_panda_group_memberships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_group_id" integer, "coalescing_panda_user_id" integer, "canvas_group_membership_id" varchar, "workflow_state" varchar, "created_at" datetime, "updated_at" datetime) 
188
-  (0.6ms) CREATE UNIQUE INDEX "index_group_memberships_user_and_group" ON "coalescing_panda_group_memberships" ("coalescing_panda_group_id", "coalescing_panda_user_id")
178
+  (0.1ms) begin transaction
179
+  (0.4ms) CREATE TABLE "coalescing_panda_group_memberships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_group_id" integer, "coalescing_panda_user_id" integer, "canvas_group_membership_id" varchar(255), "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime)
189
180
  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150107205413"]]
190
181
   (0.9ms) commit transaction
182
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
183
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
191
184
  Migrating to AddContextToCanvasBatch (20150210180516)
192
-  (0.1ms) begin transaction
193
-  (0.3ms) ALTER TABLE "coalescing_panda_canvas_batches" ADD "context_id" integer
194
-  (0.1ms) ALTER TABLE "coalescing_panda_canvas_batches" ADD "context_type" varchar
195
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150210180516"]]
196
-  (0.6ms) commit transaction
197
- Migrating to CreateCoalescingPandaAssignmentGroups (20150506183335)
198
-  (0.0ms) begin transaction
199
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/brandonbr/work/src/coalescing_panda/db/migrate/20150506183335_create_coalescing_panda_assignment_groups.rb:12)
200
-  (0.3ms) CREATE TABLE "coalescing_panda_assignment_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer NOT NULL, "context_id" integer, "context_type" varchar, "canvas_assignment_group_id" varchar, "name" varchar, "position" integer, "group_weight" float, "workflow_state" varchar, "created_at" datetime, "updated_at" datetime) 
201
-  (0.5ms) CREATE UNIQUE INDEX "index_assignment_group_course" ON "coalescing_panda_assignment_groups" ("coalescing_panda_course_id", "canvas_assignment_group_id")
202
-  (0.1ms)  SELECT sql
203
- FROM sqlite_master
204
- WHERE name='index_assignment_group_course' AND type='index'
205
- UNION ALL
206
- SELECT sql
207
- FROM sqlite_temp_master
208
- WHERE name='index_assignment_group_course' AND type='index'
209
- 
210
-  (0.1ms) CREATE UNIQUE INDEX "index_assignment_group_context" ON "coalescing_panda_assignment_groups" ("canvas_assignment_group_id", "context_id", "context_type")
211
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150506183335"]]
185
+  (0.1ms) begin transaction
186
+  (0.6ms) ALTER TABLE "coalescing_panda_canvas_batches" ADD "context_id" varchar(255)
187
+  (0.1ms) ALTER TABLE "coalescing_panda_canvas_batches" ADD "context_type" varchar(255)
188
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150210180516"]]
212
189
   (0.8ms) commit transaction
213
- Migrating to AddAssignmentGroupIdToAssignments (20150506192717)
214
-  (0.0ms) begin transaction
215
-  (0.3ms) ALTER TABLE "coalescing_panda_assignments" ADD "coalescing_panda_assignment_group_id" integer
216
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150506192717"]]
217
-  (0.7ms) commit transaction
218
- Migrating to AddAccountToCanvasBatches (20150526144713)
219
-  (0.0ms) begin transaction
220
-  (0.3ms) ALTER TABLE "coalescing_panda_canvas_batches" ADD "coalescing_panda_lti_account_id" integer
221
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150526144713"]]
222
-  (0.7ms) commit transaction
223
- Migrating to AddOptionToCanvasBatches (20150602205257)
224
-  (0.1ms) begin transaction
225
-  (0.3ms) ALTER TABLE "coalescing_panda_canvas_batches" ADD "options" text
226
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150602205257"]]
227
-  (0.5ms) commit transaction
228
- Migrating to AddGroupModeratorToGroupMemberships (20150708192717)
229
-  (0.0ms) begin transaction
230
-  (0.3ms) ALTER TABLE "coalescing_panda_group_memberships" ADD "moderator" boolean
231
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150708192717"]]
232
-  (0.5ms) commit transaction
233
- Migrating to AddLeaderIdToGroups (20150709192717)
234
-  (0.0ms) begin transaction
235
-  (0.3ms) ALTER TABLE "coalescing_panda_groups" ADD "leader_id" integer
236
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150709192717"]]
237
-  (0.5ms) commit transaction
238
- Migrating to CreateCoalescingPandaGroupCategories (20150714205405)
239
190
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
240
- Migrating to CreateCoalescingPandaGroupCategories (20150714205405)
191
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
192
+ Migrating to AddMissingIndexes (20150218185536)
241
193
   (0.1ms) begin transaction
242
- DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/brandonbr/work/src/coalescing_panda/db/migrate/20150714205405_create_coalescing_panda_group_categories.rb:9)
243
-  (0.5ms) CREATE TABLE "coalescing_panda_group_category" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "context_id" integer, "context_type" varchar, "canvas_group_category_id" integer, "name" varchar, "created_at" datetime, "updated_at" datetime) 
244
-  (0.0ms) select sqlite_version(*)
245
-  (0.1ms) CREATE INDEX "index_group_categories_context_and_context_type" ON "coalescing_panda_group_category" ("context_id", "context_type")
246
-  (0.2ms) ALTER TABLE "coalescing_panda_assignments" ADD "coalescing_panda_group_category_id" integer
247
-  (0.1ms) ALTER TABLE "coalescing_panda_groups" ADD "coalescing_panda_group_category_id" integer
248
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150714205405"]]
249
-  (0.9ms) commit transaction
250
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
251
-  (0.1ms)  SELECT sql
252
- FROM sqlite_master
253
- WHERE name='index_assignment_group_context' AND type='index'
254
- UNION ALL
255
- SELECT sql
256
- FROM sqlite_temp_master
257
- WHERE name='index_assignment_group_context' AND type='index'
258
- 
259
-  (0.1ms) SELECT sql
260
- FROM sqlite_master
261
- WHERE name='index_assignment_group_course' AND type='index'
262
- UNION ALL
263
- SELECT sql
264
- FROM sqlite_temp_master
265
- WHERE name='index_assignment_group_course' AND type='index'
266
-
267
-  (0.1ms)  SELECT sql
268
- FROM sqlite_master
269
- WHERE name='index_assignments_course' AND type='index'
270
- UNION ALL
271
- SELECT sql
272
- FROM sqlite_temp_master
273
- WHERE name='index_assignments_course' AND type='index'
274
- 
275
-  (0.1ms) SELECT sql
276
- FROM sqlite_master
277
- WHERE name='index_coalescing_panda_courses_on_sis_id' AND type='index'
278
- UNION ALL
279
- SELECT sql
280
- FROM sqlite_temp_master
281
- WHERE name='index_coalescing_panda_courses_on_sis_id' AND type='index'
282
-
283
-  (0.1ms)  SELECT sql
284
- FROM sqlite_master
285
- WHERE name='index_courses_term' AND type='index'
286
- UNION ALL
287
- SELECT sql
288
- FROM sqlite_temp_master
289
- WHERE name='index_courses_term' AND type='index'
290
- 
291
-  (0.1ms) SELECT sql
292
- FROM sqlite_master
293
- WHERE name='index_courses_account' AND type='index'
294
- UNION ALL
295
- SELECT sql
296
- FROM sqlite_temp_master
297
- WHERE name='index_courses_account' AND type='index'
298
-
299
-  (0.1ms)  SELECT sql
300
- FROM sqlite_master
301
- WHERE name='index_coalescing_panda_enrollments_on_sis_id' AND type='index'
302
- UNION ALL
303
- SELECT sql
304
- FROM sqlite_temp_master
305
- WHERE name='index_coalescing_panda_enrollments_on_sis_id' AND type='index'
306
- 
307
-  (0.1ms) SELECT sql
308
- FROM sqlite_master
309
- WHERE name='index_enrollments_user_and_section' AND type='index'
310
- UNION ALL
311
- SELECT sql
312
- FROM sqlite_temp_master
313
- WHERE name='index_enrollments_user_and_section' AND type='index'
314
-
315
-  (0.1ms)  SELECT sql
316
- FROM sqlite_master
317
- WHERE name='index_group_categories_context_and_context_type' AND type='index'
318
- UNION ALL
319
- SELECT sql
320
- FROM sqlite_temp_master
321
- WHERE name='index_group_categories_context_and_context_type' AND type='index'
322
- 
323
-  (0.1ms) SELECT sql
324
- FROM sqlite_master
325
- WHERE name='index_group_memberships_user_and_group' AND type='index'
326
- UNION ALL
327
- SELECT sql
328
- FROM sqlite_temp_master
329
- WHERE name='index_group_memberships_user_and_group' AND type='index'
330
-
331
-  (0.1ms)  SELECT sql
332
- FROM sqlite_master
333
- WHERE name='index_groups_context_and_group_id' AND type='index'
334
- UNION ALL
335
- SELECT sql
336
- FROM sqlite_temp_master
337
- WHERE name='index_groups_context_and_group_id' AND type='index'
338
- 
339
-  (0.1ms) SELECT sql
340
- FROM sqlite_master
341
- WHERE name='index_coalescing_panda_sections_on_sis_id' AND type='index'
342
- UNION ALL
343
- SELECT sql
344
- FROM sqlite_temp_master
345
- WHERE name='index_coalescing_panda_sections_on_sis_id' AND type='index'
346
-
347
-  (0.1ms)  SELECT sql
348
- FROM sqlite_master
349
- WHERE name='index_sections_course' AND type='index'
350
- UNION ALL
351
- SELECT sql
352
- FROM sqlite_temp_master
353
- WHERE name='index_sections_course' AND type='index'
354
- 
355
-  (0.1ms) SELECT sql
356
- FROM sqlite_master
357
- WHERE name='index_coalescing_panda_submissions_on_canvas_submission_id' AND type='index'
358
- UNION ALL
359
- SELECT sql
360
- FROM sqlite_temp_master
361
- WHERE name='index_coalescing_panda_submissions_on_canvas_submission_id' AND type='index'
362
-
363
-  (0.1ms)  SELECT sql
364
- FROM sqlite_master
365
- WHERE name='index_submissions_user_and_assignment' AND type='index'
366
- UNION ALL
367
- SELECT sql
368
- FROM sqlite_temp_master
369
- WHERE name='index_submissions_user_and_assignment' AND type='index'
370
- 
371
-  (0.1ms) SELECT sql
372
- FROM sqlite_master
373
- WHERE name='index_coalescing_panda_terms_on_sis_id' AND type='index'
374
- UNION ALL
375
- SELECT sql
376
- FROM sqlite_temp_master
377
- WHERE name='index_coalescing_panda_terms_on_sis_id' AND type='index'
378
-
379
-  (0.1ms)  SELECT sql
380
- FROM sqlite_master
381
- WHERE name='index_terms_account' AND type='index'
382
- UNION ALL
383
- SELECT sql
384
- FROM sqlite_temp_master
385
- WHERE name='index_terms_account' AND type='index'
386
- 
387
-  (0.1ms) SELECT sql
388
- FROM sqlite_master
389
- WHERE name='index_coalescing_panda_users_on_sis_id' AND type='index'
390
- UNION ALL
391
- SELECT sql
392
- FROM sqlite_temp_master
393
- WHERE name='index_coalescing_panda_users_on_sis_id' AND type='index'
394
-
395
-  (0.1ms)  SELECT sql
396
- FROM sqlite_master
397
- WHERE name='index_users_account' AND type='index'
398
- UNION ALL
399
- SELECT sql
400
- FROM sqlite_temp_master
401
- WHERE name='index_users_account' AND type='index'
402
- 
403
-  (0.1ms) SELECT sql
404
- FROM sqlite_master
405
- WHERE name='delayed_jobs_priority' AND type='index'
406
- UNION ALL
407
- SELECT sql
408
- FROM sqlite_temp_master
409
- WHERE name='delayed_jobs_priority' AND type='index'
410
-
411
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
412
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
413
- Migrating to CreateCoalescingPandaGroupCategories (20150714205405)
414
-  (0.1ms) begin transaction
415
-  (1.2ms) CREATE TEMPORARY TABLE "acoalescing_panda_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "context_id" integer, "context_type" varchar, "description" varchar, "group_category_id" varchar, "canvas_group_id" varchar, "name" varchar, "members_count" integer, "created_at" datetime, "updated_at" datetime, "leader_id" integer, "coalescing_panda_group_category_id" integer)
416
-  (0.1ms)  SELECT sql
417
- FROM sqlite_master
418
- WHERE name='index_groups_context_and_group_id' AND type='index'
419
- UNION ALL
420
- SELECT sql
421
- FROM sqlite_temp_master
422
- WHERE name='index_groups_context_and_group_id' AND type='index'
423
- 
424
-  (0.0ms) select sqlite_version(*)
425
-  (0.5ms) CREATE UNIQUE INDEX "tindex_groups_context_and_group_id" ON "acoalescing_panda_groups" ("context_id", "canvas_group_id")
426
-  (0.3ms) SELECT * FROM "coalescing_panda_groups"
427
-  (0.9ms) DROP TABLE "coalescing_panda_groups"
428
-  (0.2ms) CREATE TABLE "coalescing_panda_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "context_id" integer, "context_type" varchar, "description" varchar, "group_category_id" varchar, "canvas_group_id" varchar, "name" varchar, "members_count" integer, "created_at" datetime, "updated_at" datetime, "leader_id" integer)
429
-  (0.1ms)  SELECT sql
430
- FROM sqlite_master
431
- WHERE name='tindex_groups_context_and_group_id' AND type='index'
432
- UNION ALL
433
- SELECT sql
434
- FROM sqlite_temp_master
435
- WHERE name='tindex_groups_context_and_group_id' AND type='index'
436
- 
437
-  (0.5ms) CREATE UNIQUE INDEX "index_groups_context_and_group_id" ON "coalescing_panda_groups" ("context_id", "canvas_group_id")
438
-  (0.1ms) SELECT * FROM "acoalescing_panda_groups"
439
-  (0.1ms) DROP TABLE "acoalescing_panda_groups"
440
-  (0.1ms) CREATE TEMPORARY TABLE "acoalescing_panda_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer NOT NULL, "name" varchar, "description" text, "canvas_assignment_id" varchar NOT NULL, "workflow_state" varchar, "points_possible" float, "due_at" datetime, "unlock_at" datetime, "lock_at" datetime, "created_at" datetime, "updated_at" datetime, "submission_types" text, "group_category_id" integer, "grade_group_students_individually" boolean, "published" boolean, "coalescing_panda_assignment_group_id" integer, "coalescing_panda_group_category_id" integer) 
441
-  (0.0ms) SELECT sql
442
- FROM sqlite_master
443
- WHERE name='index_assignments_course' AND type='index'
444
- UNION ALL
445
- SELECT sql
446
- FROM sqlite_temp_master
447
- WHERE name='index_assignments_course' AND type='index'
448
-
449
-  (0.1ms) CREATE UNIQUE INDEX "tindex_assignments_course" ON "acoalescing_panda_assignments" ("coalescing_panda_course_id", "canvas_assignment_id")
450
-  (0.4ms) SELECT * FROM "coalescing_panda_assignments"
451
-  (0.2ms) DROP TABLE "coalescing_panda_assignments"
452
-  (0.1ms) CREATE TABLE "coalescing_panda_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer NOT NULL, "name" varchar, "description" text, "canvas_assignment_id" varchar NOT NULL, "workflow_state" varchar, "points_possible" float, "due_at" datetime, "unlock_at" datetime, "lock_at" datetime, "created_at" datetime, "updated_at" datetime, "submission_types" text, "group_category_id" integer, "grade_group_students_individually" boolean, "published" boolean, "coalescing_panda_assignment_group_id" integer)
453
-  (0.0ms)  SELECT sql
454
- FROM sqlite_master
455
- WHERE name='tindex_assignments_course' AND type='index'
456
- UNION ALL
457
- SELECT sql
458
- FROM sqlite_temp_master
459
- WHERE name='tindex_assignments_course' AND type='index'
460
- 
461
-  (0.1ms) CREATE UNIQUE INDEX "index_assignments_course" ON "coalescing_panda_assignments" ("coalescing_panda_course_id", "canvas_assignment_id")
462
-  (0.0ms) SELECT * FROM "acoalescing_panda_assignments"
463
-  (0.1ms) DROP TABLE "acoalescing_panda_assignments"
464
-  (0.1ms)  SELECT sql
465
- FROM sqlite_master
466
- WHERE name='index_group_categories_context_and_context_type' AND type='index'
467
- UNION ALL
468
- SELECT sql
469
- FROM sqlite_temp_master
470
- WHERE name='index_group_categories_context_and_context_type' AND type='index'
471
- 
472
-  (0.4ms) DROP INDEX "index_group_categories_context_and_context_type"
473
-  (0.4ms) DROP TABLE "coalescing_panda_group_category"
474
- SQL (0.6ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ? [["version", "20150714205405"]]
475
-  (1.6ms) commit transaction
476
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
477
-  (0.1ms)  SELECT sql
478
- FROM sqlite_master
479
- WHERE name='index_assignment_group_context' AND type='index'
480
- UNION ALL
481
- SELECT sql
482
- FROM sqlite_temp_master
483
- WHERE name='index_assignment_group_context' AND type='index'
484
- 
485
-  (0.1ms) SELECT sql
486
- FROM sqlite_master
487
- WHERE name='index_assignment_group_course' AND type='index'
488
- UNION ALL
489
- SELECT sql
490
- FROM sqlite_temp_master
491
- WHERE name='index_assignment_group_course' AND type='index'
492
-
493
-  (0.1ms)  SELECT sql
494
- FROM sqlite_master
495
- WHERE name='index_assignments_course' AND type='index'
496
- UNION ALL
497
- SELECT sql
498
- FROM sqlite_temp_master
499
- WHERE name='index_assignments_course' AND type='index'
500
- 
501
-  (0.1ms) SELECT sql
502
- FROM sqlite_master
503
- WHERE name='index_coalescing_panda_courses_on_sis_id' AND type='index'
504
- UNION ALL
505
- SELECT sql
506
- FROM sqlite_temp_master
507
- WHERE name='index_coalescing_panda_courses_on_sis_id' AND type='index'
508
-
509
-  (0.1ms)  SELECT sql
510
- FROM sqlite_master
511
- WHERE name='index_courses_term' AND type='index'
512
- UNION ALL
513
- SELECT sql
514
- FROM sqlite_temp_master
515
- WHERE name='index_courses_term' AND type='index'
516
- 
517
-  (0.1ms) SELECT sql
518
- FROM sqlite_master
519
- WHERE name='index_courses_account' AND type='index'
520
- UNION ALL
521
- SELECT sql
522
- FROM sqlite_temp_master
523
- WHERE name='index_courses_account' AND type='index'
524
-
525
-  (0.1ms)  SELECT sql
526
- FROM sqlite_master
527
- WHERE name='index_coalescing_panda_enrollments_on_sis_id' AND type='index'
528
- UNION ALL
529
- SELECT sql
530
- FROM sqlite_temp_master
531
- WHERE name='index_coalescing_panda_enrollments_on_sis_id' AND type='index'
532
- 
533
-  (0.1ms) SELECT sql
534
- FROM sqlite_master
535
- WHERE name='index_enrollments_user_and_section' AND type='index'
536
- UNION ALL
537
- SELECT sql
538
- FROM sqlite_temp_master
539
- WHERE name='index_enrollments_user_and_section' AND type='index'
540
-
541
-  (0.1ms)  SELECT sql
542
- FROM sqlite_master
543
- WHERE name='index_group_memberships_user_and_group' AND type='index'
544
- UNION ALL
545
- SELECT sql
546
- FROM sqlite_temp_master
547
- WHERE name='index_group_memberships_user_and_group' AND type='index'
548
- 
549
-  (0.1ms) SELECT sql
550
- FROM sqlite_master
551
- WHERE name='index_groups_context_and_group_id' AND type='index'
552
- UNION ALL
553
- SELECT sql
554
- FROM sqlite_temp_master
555
- WHERE name='index_groups_context_and_group_id' AND type='index'
556
-
557
-  (0.1ms)  SELECT sql
558
- FROM sqlite_master
559
- WHERE name='index_coalescing_panda_sections_on_sis_id' AND type='index'
560
- UNION ALL
561
- SELECT sql
562
- FROM sqlite_temp_master
563
- WHERE name='index_coalescing_panda_sections_on_sis_id' AND type='index'
564
- 
565
-  (0.1ms) SELECT sql
566
- FROM sqlite_master
567
- WHERE name='index_sections_course' AND type='index'
568
- UNION ALL
569
- SELECT sql
570
- FROM sqlite_temp_master
571
- WHERE name='index_sections_course' AND type='index'
572
-
573
-  (0.1ms)  SELECT sql
574
- FROM sqlite_master
575
- WHERE name='index_coalescing_panda_submissions_on_canvas_submission_id' AND type='index'
576
- UNION ALL
577
- SELECT sql
578
- FROM sqlite_temp_master
579
- WHERE name='index_coalescing_panda_submissions_on_canvas_submission_id' AND type='index'
580
- 
581
-  (0.1ms) SELECT sql
582
- FROM sqlite_master
583
- WHERE name='index_submissions_user_and_assignment' AND type='index'
584
- UNION ALL
585
- SELECT sql
586
- FROM sqlite_temp_master
587
- WHERE name='index_submissions_user_and_assignment' AND type='index'
588
-
589
-  (0.1ms)  SELECT sql
590
- FROM sqlite_master
591
- WHERE name='index_coalescing_panda_terms_on_sis_id' AND type='index'
592
- UNION ALL
593
- SELECT sql
594
- FROM sqlite_temp_master
595
- WHERE name='index_coalescing_panda_terms_on_sis_id' AND type='index'
596
- 
597
-  (0.1ms) SELECT sql
598
- FROM sqlite_master
599
- WHERE name='index_terms_account' AND type='index'
600
- UNION ALL
601
- SELECT sql
602
- FROM sqlite_temp_master
603
- WHERE name='index_terms_account' AND type='index'
604
-
605
-  (0.1ms)  SELECT sql
606
- FROM sqlite_master
607
- WHERE name='index_coalescing_panda_users_on_sis_id' AND type='index'
608
- UNION ALL
609
- SELECT sql
610
- FROM sqlite_temp_master
611
- WHERE name='index_coalescing_panda_users_on_sis_id' AND type='index'
612
- 
613
-  (0.1ms) SELECT sql
614
- FROM sqlite_master
615
- WHERE name='index_users_account' AND type='index'
616
- UNION ALL
617
- SELECT sql
618
- FROM sqlite_temp_master
619
- WHERE name='index_users_account' AND type='index'
620
-
621
-  (0.1ms)  SELECT sql
622
- FROM sqlite_master
623
- WHERE name='delayed_jobs_priority' AND type='index'
624
- UNION ALL
625
- SELECT sql
626
- FROM sqlite_temp_master
627
- WHERE name='delayed_jobs_priority' AND type='index'
628
- 
194
+  (0.0ms) rollback transaction
195
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
196
+ Migrating to AddMissingIndexes (20150218185536)
197
+  (0.1ms) begin transaction
198
+  (0.7ms) CREATE INDEX "index_assignment_course_id" ON "coalescing_panda_assignments" ("coalescing_panda_course_id")
199
+  (0.1ms) CREATE INDEX "index_courses_lti_account_id" ON "coalescing_panda_courses" ("coalescing_panda_lti_account_id")
200
+  (0.2ms) CREATE INDEX "index_courses_term_id" ON "coalescing_panda_courses" ("coalescing_panda_term_id")
201
+  (0.5ms) rollback transaction
202
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
203
+ Migrating to AddMissingIndexes (20150218185536)
204
+  (0.1ms) begin transaction
205
+  (0.3ms) CREATE INDEX "index_assignment_course_id" ON "coalescing_panda_assignments" ("coalescing_panda_course_id")
206
+  (0.1ms) CREATE INDEX "index_courses_lti_account_id" ON "coalescing_panda_courses" ("coalescing_panda_lti_account_id")
207
+  (0.1ms) CREATE INDEX "index_courses_term_id" ON "coalescing_panda_courses" ("coalescing_panda_term_id")
208
+  (0.1ms) CREATE INDEX "index_sections_user_id_course_id" ON "coalescing_panda_sections" ("coalescing_panda_user_id", "coalescing_panda_course_id")
209
+ SQLite3::SQLException: table coalescing_panda_sections has no column named coalescing_panda_user_id: CREATE INDEX "index_sections_user_id_course_id" ON "coalescing_panda_sections" ("coalescing_panda_user_id", "coalescing_panda_course_id")
210
+  (0.9ms) rollback transaction
211
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
212
+ Migrating to AddMissingIndexes (20150218185536)
213
+  (0.1ms) begin transaction
214
+  (0.3ms) CREATE INDEX "index_assignment_course_id" ON "coalescing_panda_assignments" ("coalescing_panda_course_id")
215
+  (0.1ms) CREATE INDEX "index_courses_lti_account_id" ON "coalescing_panda_courses" ("coalescing_panda_lti_account_id")
216
+  (0.1ms) CREATE INDEX "index_courses_term_id" ON "coalescing_panda_courses" ("coalescing_panda_term_id")
217
+  (0.1ms) CREATE INDEX "index_sections_course_id" ON "coalescing_panda_sections" ("coalescing_panda_course_id")
218
+  (0.1ms) CREATE INDEX "index_sections_course_id_section_id" ON "coalescing_panda_sections" ("coalescing_panda_course_id", "section_id")
219
+ SQLite3::SQLException: table coalescing_panda_sections has no column named section_id: CREATE INDEX "index_sections_course_id_section_id" ON "coalescing_panda_sections" ("coalescing_panda_course_id", "section_id")
220
+  (0.4ms) rollback transaction
221
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
222
+ Migrating to AddMissingIndexes (20150218185536)
223
+  (0.1ms) begin transaction
224
+  (0.4ms) CREATE INDEX "index_assignment_course_id" ON "coalescing_panda_assignments" ("coalescing_panda_course_id")
225
+  (0.1ms) CREATE INDEX "index_courses_lti_account_id" ON "coalescing_panda_courses" ("coalescing_panda_lti_account_id")
226
+  (0.1ms) CREATE INDEX "index_courses_term_id" ON "coalescing_panda_courses" ("coalescing_panda_term_id")
227
+  (0.1ms) CREATE INDEX "index_sections_course_id" ON "coalescing_panda_sections" ("coalescing_panda_course_id")
228
+  (0.1ms) CREATE INDEX "index_groups_group_id_membership_id" ON "coalescing_panda_groups" ("group_id", "group_membership_id")
229
+ SQLite3::SQLException: table coalescing_panda_groups has no column named group_id: CREATE INDEX "index_groups_group_id_membership_id" ON "coalescing_panda_groups" ("group_id", "group_membership_id")
230
+  (0.9ms) rollback transaction
231
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
232
+ Migrating to AddMissingIndexes (20150218185536)
233
+  (0.1ms) begin transaction
234
+  (0.3ms) CREATE INDEX "index_assignment_course_id" ON "coalescing_panda_assignments" ("coalescing_panda_course_id")
235
+  (0.1ms) CREATE INDEX "index_courses_lti_account_id" ON "coalescing_panda_courses" ("coalescing_panda_lti_account_id")
236
+  (0.1ms) CREATE INDEX "index_courses_term_id" ON "coalescing_panda_courses" ("coalescing_panda_term_id")
237
+  (0.1ms) CREATE INDEX "index_sections_course_id" ON "coalescing_panda_sections" ("coalescing_panda_course_id")
238
+  (0.1ms) CREATE INDEX "index_groups_group_id_membership_id" ON "coalescing_panda_groups" ("coalescing_panda_group_id", "coalescing_panda_group_membership_id")
239
+ SQLite3::SQLException: table coalescing_panda_groups has no column named coalescing_panda_group_id: CREATE INDEX "index_groups_group_id_membership_id" ON "coalescing_panda_groups" ("coalescing_panda_group_id", "coalescing_panda_group_membership_id")
240
+  (0.8ms) rollback transaction
241
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
242
+ Migrating to AddMissingIndexes (20150218185536)
243
+  (0.1ms) begin transaction
244
+  (0.3ms) CREATE INDEX "index_assignment_course_id" ON "coalescing_panda_assignments" ("coalescing_panda_course_id")
245
+  (0.1ms) CREATE INDEX "index_courses_lti_account_id" ON "coalescing_panda_courses" ("coalescing_panda_lti_account_id")
246
+  (0.1ms) CREATE INDEX "index_courses_term_id" ON "coalescing_panda_courses" ("coalescing_panda_term_id")
247
+  (0.1ms) CREATE INDEX "index_sections_course_id" ON "coalescing_panda_sections" ("coalescing_panda_course_id")
248
+  (0.1ms) CREATE INDEX "index_groups_group_id_membership_id" ON "coalescing_panda_groups" ("coalescing_panda_group_id", "coalescing_panda_group_membership_id")
249
+ SQLite3::SQLException: table coalescing_panda_groups has no column named coalescing_panda_group_id: CREATE INDEX "index_groups_group_id_membership_id" ON "coalescing_panda_groups" ("coalescing_panda_group_id", "coalescing_panda_group_membership_id")
250
+  (0.8ms) rollback transaction
251
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
252
+ Migrating to AddMissingIndexes (20150218185536)
253
+  (0.1ms) begin transaction
254
+  (0.3ms) CREATE INDEX "index_assignment_course_id" ON "coalescing_panda_assignments" ("coalescing_panda_course_id")
255
+  (0.1ms) CREATE INDEX "index_courses_lti_account_id" ON "coalescing_panda_courses" ("coalescing_panda_lti_account_id")
256
+  (0.1ms) CREATE INDEX "index_courses_term_id" ON "coalescing_panda_courses" ("coalescing_panda_term_id")
257
+  (0.1ms) CREATE INDEX "index_sections_course_id" ON "coalescing_panda_sections" ("coalescing_panda_course_id")
258
+  (0.1ms) CREATE INDEX "index_enrollments_user_id" ON "coalescing_panda_enrollments" ("coalescing_panda_user_id")
259
+  (0.1ms) CREATE INDEX "index_enrollments_section_id" ON "coalescing_panda_enrollments" ("coalescing_panda_section_id")
260
+  (0.1ms) CREATE INDEX "index_memberships_user_id" ON "coalescing_panda_group_memberships" ("coalescing_panda_user_id")
261
+  (0.1ms) CREATE INDEX "index_memberships_group_id" ON "coalescing_panda_group_memberships" ("coalescing_panda_group_id")
262
+  (0.1ms) CREATE INDEX "index_submissions_user_id" ON "coalescing_panda_submissions" ("coalescing_panda_user_id")
263
+  (0.1ms) CREATE INDEX "index_submissions_assignment_id" ON "coalescing_panda_submissions" ("coalescing_panda_assignment_id")
264
+  (0.1ms) CREATE INDEX "index_users_lti_account_id" ON "coalescing_panda_users" ("coalescing_panda_lti_account_id")
265
+  (0.1ms) CREATE INDEX "index_terms_lti_account_id" ON "coalescing_panda_terms" ("coalescing_panda_lti_account_id")
266
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150218185536"]]
267
+  (0.7ms) commit transaction
268
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"