coalescing_panda 4.0.4 → 4.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/javascripts/coalescing_panda/canvas_batch.js.coffee +5 -7
- data/app/assets/stylesheets/coalescing_panda/progress.css.scss +97 -0
- data/app/controllers/coalescing_panda/canvas_batches_controller.rb +10 -0
- data/app/controllers/coalescing_panda/lti_controller.rb +2 -2
- data/app/controllers/coalescing_panda/oauth2_controller.rb +3 -1
- data/app/models/coalescing_panda/assignment.rb +2 -0
- data/app/models/coalescing_panda/assignment_group.rb +11 -0
- data/app/models/coalescing_panda/canvas_batch.rb +4 -0
- data/app/models/coalescing_panda/course.rb +2 -0
- data/app/models/coalescing_panda/group.rb +3 -2
- data/app/models/coalescing_panda/group_category.rb +11 -0
- data/app/models/coalescing_panda/lti_account.rb +1 -0
- data/app/models/coalescing_panda/user.rb +1 -0
- data/app/models/coalescing_panda/workers/course_miner.rb +132 -56
- data/app/models/concerns/single_table_polymorphic.rb +1 -1
- data/app/views/coalescing_panda/canvas_batches/_canvas_batch.html.haml +22 -10
- data/app/views/coalescing_panda/canvas_batches/_canvas_batch_flash.html.haml +1 -1
- data/config/routes.rb +3 -1
- data/db/migrate/20150506183335_create_coalescing_panda_assignment_groups.rb +18 -0
- data/db/migrate/20150506192717_add_assignment_group_id_to_assignments.rb +5 -0
- data/db/migrate/20150526144713_add_account_to_canvas_batches.rb +5 -0
- data/db/migrate/20150602205257_add_option_to_canvas_batches.rb +5 -0
- data/db/migrate/20150708192717_add_group_moderator_to_group_memberships.rb +5 -0
- data/db/migrate/20150709192717_add_leader_id_to_groups.rb +6 -0
- data/db/migrate/20150714205405_create_coalescing_panda_group_categories.rb +16 -0
- data/lib/coalescing_panda/bearcat_uri.rb +20 -0
- data/lib/coalescing_panda/controller_helpers.rb +22 -25
- data/lib/coalescing_panda/version.rb +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +120 -82
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +628 -0
- data/spec/dummy/log/test.log +42958 -0
- data/spec/factories/assignment_groups.rb +14 -0
- data/spec/models/coalescing_panda/assignment_group_spec.rb +32 -0
- data/spec/models/coalescing_panda/assignment_spec.rb +1 -0
- data/spec/models/coalescing_panda/course_spec.rb +5 -0
- data/spec/models/coalescing_panda/workers/course_miner_spec.rb +57 -10
- metadata +25 -6
@@ -0,0 +1,628 @@
|
|
1
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
2
|
+
[1m[35m (0.5ms)[0m select sqlite_version(*)
|
3
|
+
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
5
|
+
Migrating to CreateCoalescingPandaCanvasApiAuths (20131114150001)
|
6
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (1.0ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20131114150001"]]
|
10
|
+
[1m[35m (0.8ms)[0m commit transaction
|
11
|
+
Migrating to CreateCoalescingPandaLtiAccounts (20131118211442)
|
12
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20131118211442"]]
|
16
|
+
[1m[35m (0.6ms)[0m commit transaction
|
17
|
+
Migrating to CreateCoalescingPandaLtiNonces (20131119165343)
|
18
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "coalescing_panda_lti_nonces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "nonce" varchar, "timestamp" datetime)
|
20
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20131119165343"]]
|
21
|
+
[1m[35m (0.7ms)[0m commit transaction
|
22
|
+
Migrating to CreateCoalescingPandaSessions (20140904223159)
|
23
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "coalescing_panda_sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar, "data" text, "created_at" datetime, "updated_at" datetime)
|
26
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140904223159"]]
|
27
|
+
[1m[35m (0.8ms)[0m commit transaction
|
28
|
+
Migrating to CreateCoalescingPandaTerms (20141119225319)
|
29
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (1.3ms)[0m [1mCREATE UNIQUE INDEX "index_terms_account" ON "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id")[0m
|
33
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_terms_on_sis_id" ON "coalescing_panda_terms" ("sis_id")[0m
|
42
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141119225319"]]
|
43
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
44
|
+
Migrating to CreateCoalescingPandaCourses (20141119225721)
|
45
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCREATE 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) [0m
|
48
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "index_courses_account" ON "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "canvas_course_id")
|
49
|
+
[1m[36m (0.0ms)[0m [1m 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
|
+
[0m
|
57
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "index_courses_term" ON "coalescing_panda_courses" ("coalescing_panda_term_id", "canvas_course_id")
|
58
|
+
[1m[36m (0.0ms)[0m [1m 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
|
+
[0m
|
66
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_courses_on_sis_id" ON "coalescing_panda_courses" ("sis_id")[0m
|
75
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141119225721"]]
|
76
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
77
|
+
Migrating to CreateCoalescingPandaSections (20141120151432)
|
78
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
81
|
+
[1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "index_sections_course" ON "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id")
|
82
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
90
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_sections_on_sis_id" ON "coalescing_panda_sections" ("sis_id")
|
91
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141120151432"]]
|
92
|
+
[1m[35m (0.9ms)[0m commit transaction
|
93
|
+
Migrating to CreateCoalescingPandaAssignments (20141120151940)
|
94
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_assignments_course" ON "coalescing_panda_assignments" ("coalescing_panda_course_id", "canvas_assignment_id")[0m
|
98
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120151940"]]
|
99
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
100
|
+
Migrating to CreateCoalescingPandaUsers (20141120152458)
|
101
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCREATE 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) [0m
|
104
|
+
[1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "index_users_account" ON "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id")
|
105
|
+
[1m[36m (0.0ms)[0m [1m 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
|
+
[0m
|
113
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_users_on_sis_id" ON "coalescing_panda_users" ("sis_id")
|
114
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141120152458"]]
|
115
|
+
[1m[35m (1.0ms)[0m commit transaction
|
116
|
+
Migrating to CreateCoalescingPandaSubmissions (20141120152546)
|
117
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_submissions_user_and_assignment" ON "coalescing_panda_submissions" ("coalescing_panda_user_id", "coalescing_panda_assignment_id", "canvas_submission_id")[0m
|
121
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_submissions_on_canvas_submission_id" ON "coalescing_panda_submissions" ("canvas_submission_id")[0m
|
130
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120152546"]]
|
131
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
132
|
+
Migrating to CreateCoalescingPandaEnrollments (20141120153135)
|
133
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCREATE 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) [0m
|
136
|
+
[1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "index_enrollments_user_and_section" ON "coalescing_panda_enrollments" ("coalescing_panda_user_id", "coalescing_panda_section_id", "enrollment_type")
|
137
|
+
[1m[36m (0.0ms)[0m [1m 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
|
+
[0m
|
145
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_enrollments_on_sis_id" ON "coalescing_panda_enrollments" ("sis_id")
|
146
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141120153135"]]
|
147
|
+
[1m[35m (0.8ms)[0m commit transaction
|
148
|
+
Migrating to CreateCoalescingPandaCanvasBatches (20141121174846)
|
149
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141121174846"]]
|
153
|
+
[1m[35m (0.7ms)[0m commit transaction
|
154
|
+
Migrating to CreateDelayedJobs (20141124160857)
|
155
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")[0m
|
159
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141124160857"]]
|
160
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
161
|
+
Migrating to AddSubmissionTypesToAssignments (20141208221740)
|
162
|
+
[1m[35m (0.0ms)[0m begin transaction
|
163
|
+
[1m[36m (1.0ms)[0m [1mALTER TABLE "coalescing_panda_assignments" ADD "submission_types" text[0m
|
164
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141208221740"]]
|
165
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
166
|
+
Migrating to AddGroupCategoryIdToAssignment (20150106175418)
|
167
|
+
[1m[35m (0.0ms)[0m begin transaction
|
168
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "coalescing_panda_assignments" ADD "group_category_id" integer[0m
|
169
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "coalescing_panda_assignments" ADD "grade_group_students_individually" boolean
|
170
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150106175418"]]
|
171
|
+
[1m[35m (0.7ms)[0m commit transaction
|
172
|
+
Migrating to AddPublishedToAssignments (20150106180131)
|
173
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
174
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "coalescing_panda_assignments" ADD "published" boolean
|
175
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150106180131"]]
|
176
|
+
[1m[35m (0.6ms)[0m commit transaction
|
177
|
+
Migrating to CreateCoalescingPandaGroups (20150107205405)
|
178
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (1.4ms)[0m [1mCREATE UNIQUE INDEX "index_groups_context_and_group_id" ON "coalescing_panda_groups" ("context_id", "canvas_group_id")[0m
|
182
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150107205405"]]
|
183
|
+
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
184
|
+
Migrating to CreateCoalescingPandaGroupMemberships (20150107205413)
|
185
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
188
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "index_group_memberships_user_and_group" ON "coalescing_panda_group_memberships" ("coalescing_panda_group_id", "coalescing_panda_user_id")
|
189
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150107205413"]]
|
190
|
+
[1m[35m (0.9ms)[0m commit transaction
|
191
|
+
Migrating to AddContextToCanvasBatch (20150210180516)
|
192
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
193
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "coalescing_panda_canvas_batches" ADD "context_id" integer
|
194
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "coalescing_panda_canvas_batches" ADD "context_type" varchar[0m
|
195
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150210180516"]]
|
196
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
197
|
+
Migrating to CreateCoalescingPandaAssignmentGroups (20150506183335)
|
198
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
201
|
+
[1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "index_assignment_group_course" ON "coalescing_panda_assignment_groups" ("coalescing_panda_course_id", "canvas_assignment_group_id")
|
202
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
210
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "index_assignment_group_context" ON "coalescing_panda_assignment_groups" ("canvas_assignment_group_id", "context_id", "context_type")
|
211
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150506183335"]]
|
212
|
+
[1m[35m (0.8ms)[0m commit transaction
|
213
|
+
Migrating to AddAssignmentGroupIdToAssignments (20150506192717)
|
214
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
215
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "coalescing_panda_assignments" ADD "coalescing_panda_assignment_group_id" integer
|
216
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150506192717"]]
|
217
|
+
[1m[35m (0.7ms)[0m commit transaction
|
218
|
+
Migrating to AddAccountToCanvasBatches (20150526144713)
|
219
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
220
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "coalescing_panda_canvas_batches" ADD "coalescing_panda_lti_account_id" integer
|
221
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150526144713"]]
|
222
|
+
[1m[35m (0.7ms)[0m commit transaction
|
223
|
+
Migrating to AddOptionToCanvasBatches (20150602205257)
|
224
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
225
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "coalescing_panda_canvas_batches" ADD "options" text
|
226
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150602205257"]]
|
227
|
+
[1m[35m (0.5ms)[0m commit transaction
|
228
|
+
Migrating to AddGroupModeratorToGroupMemberships (20150708192717)
|
229
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
230
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "coalescing_panda_group_memberships" ADD "moderator" boolean
|
231
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150708192717"]]
|
232
|
+
[1m[35m (0.5ms)[0m commit transaction
|
233
|
+
Migrating to AddLeaderIdToGroups (20150709192717)
|
234
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
235
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "coalescing_panda_groups" ADD "leader_id" integer
|
236
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150709192717"]]
|
237
|
+
[1m[35m (0.5ms)[0m commit transaction
|
238
|
+
Migrating to CreateCoalescingPandaGroupCategories (20150714205405)
|
239
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
240
|
+
Migrating to CreateCoalescingPandaGroupCategories (20150714205405)
|
241
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
244
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
245
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_group_categories_context_and_context_type" ON "coalescing_panda_group_category" ("context_id", "context_type")[0m
|
246
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "coalescing_panda_assignments" ADD "coalescing_panda_group_category_id" integer
|
247
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "coalescing_panda_groups" ADD "coalescing_panda_group_category_id" integer[0m
|
248
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150714205405"]]
|
249
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
250
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
251
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
259
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
275
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
291
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
307
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
323
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
339
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
355
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
371
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
387
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
403
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
412
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
413
|
+
Migrating to CreateCoalescingPandaGroupCategories (20150714205405)
|
414
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
415
|
+
[1m[35m (1.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
424
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
425
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "tindex_groups_context_and_group_id" ON "acoalescing_panda_groups" ("context_id", "canvas_group_id")[0m
|
426
|
+
[1m[35m (0.3ms)[0m SELECT * FROM "coalescing_panda_groups"
|
427
|
+
[1m[36m (0.9ms)[0m [1mDROP TABLE "coalescing_panda_groups"[0m
|
428
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
437
|
+
[1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "index_groups_context_and_group_id" ON "coalescing_panda_groups" ("context_id", "canvas_group_id")
|
438
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "acoalescing_panda_groups"[0m
|
439
|
+
[1m[35m (0.1ms)[0m DROP TABLE "acoalescing_panda_groups"
|
440
|
+
[1m[36m (0.1ms)[0m [1mCREATE 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) [0m
|
441
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "tindex_assignments_course" ON "acoalescing_panda_assignments" ("coalescing_panda_course_id", "canvas_assignment_id")[0m
|
450
|
+
[1m[35m (0.4ms)[0m SELECT * FROM "coalescing_panda_assignments"
|
451
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "coalescing_panda_assignments"[0m
|
452
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1m 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
|
+
[0m
|
461
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "index_assignments_course" ON "coalescing_panda_assignments" ("coalescing_panda_course_id", "canvas_assignment_id")
|
462
|
+
[1m[36m (0.0ms)[0m [1mSELECT * FROM "acoalescing_panda_assignments"[0m
|
463
|
+
[1m[35m (0.1ms)[0m DROP TABLE "acoalescing_panda_assignments"
|
464
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
472
|
+
[1m[35m (0.4ms)[0m DROP INDEX "index_group_categories_context_and_context_type"
|
473
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "coalescing_panda_group_category"[0m
|
474
|
+
[1m[35mSQL (0.6ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ? [["version", "20150714205405"]]
|
475
|
+
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
476
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
477
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
485
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
501
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
517
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
533
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
549
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
565
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
581
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
597
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
613
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|