coalescing_panda 4.1.13 → 4.1.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/coalescing_panda/assignment.rb +1 -0
- data/app/models/coalescing_panda/course.rb +1 -0
- data/app/models/coalescing_panda/group.rb +2 -1
- data/app/models/coalescing_panda/group_category.rb +11 -0
- data/app/models/coalescing_panda/user.rb +1 -0
- data/app/models/coalescing_panda/workers/course_miner.rb +28 -2
- data/app/models/concerns/single_table_polymorphic.rb +1 -1
- 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/version.rb +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +30 -9
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +312 -693
- data/spec/dummy/log/test.log +30618 -54529
- data/spec/models/coalescing_panda/workers/course_miner_spec.rb +30 -8
- metadata +11 -12
- data/spec/dummy/app/models/account.rb +0 -7
- data/spec/helpers/coalescing_panda/canvas_batches_helper_spec.rb +0 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a33daefd15e7a6f5736f48eb54171976a4399de
|
4
|
+
data.tar.gz: da90e4b0b9fa73fdef40d51b343fe5762f74e03d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ffba7de0c26605b9a86af31076e09d581b75ad7de30b263e07a11484cb1a56cff6d7d3f3d0f59ed158d15df4878116ae03d66ed5bae2e7aa8754fdf72b8fb3e
|
7
|
+
data.tar.gz: 7b6c62f00bf5bc7173cb2543c8fcaae811a4d196a1a0ef8ba0a596a6863ed1fa4f5bc78cd7af3219282b25b4b11989f769553a79ef0c6b9aa318e03620995cfd
|
@@ -2,6 +2,7 @@ module CoalescingPanda
|
|
2
2
|
class Assignment < ActiveRecord::Base
|
3
3
|
belongs_to :course, foreign_key: :coalescing_panda_course_id, class_name: 'CoalescingPanda::Course'
|
4
4
|
belongs_to :assignment_group, foreign_key: :coalescing_panda_assignment_group_id, class_name: 'CoalescingPanda::AssignmentGroup'
|
5
|
+
belongs_to :group_category, foreign_key: :coalescing_panda_group_category_id, class_name: 'CoalescingPanda::GroupCategory'
|
5
6
|
has_many :submissions, foreign_key: :coalescing_panda_assignment_id, class_name: 'CoalescingPanda::Submission', dependent: :destroy
|
6
7
|
|
7
8
|
delegate :account, to: :course
|
@@ -8,6 +8,7 @@ module CoalescingPanda
|
|
8
8
|
has_many :submissions, through: :assignments, dependent: :destroy
|
9
9
|
has_many :users, through: :sections, source: :users, class_name: 'CoalescingPanda::User'
|
10
10
|
has_many :groups, :as => :context, class_name: 'CoalescingPanda::Group', dependent: :destroy
|
11
|
+
has_many :group_categories, :as => :context, class_name: 'CoalescingPanda::GroupCategory', dependent: :destroy
|
11
12
|
has_many :group_memberships, through: :groups, source: :group_memberships, class_name: 'CoalescingPanda::GroupMembership', dependent: :destroy
|
12
13
|
has_many :canvas_batches, as: :context, dependent: :destroy
|
13
14
|
has_many :assignment_groups, foreign_key: :coalescing_panda_course_id, class_name: 'CoalescingPanda::AssignmentGroup', dependent: :destroy
|
@@ -3,9 +3,10 @@ module CoalescingPanda
|
|
3
3
|
belongs_to :context, :polymorphic => true
|
4
4
|
include SingleTablePolymorphic
|
5
5
|
|
6
|
+
belongs_to :leader, foreign_key: :leader_id, class_name: 'CoalescingPanda::User'
|
7
|
+
belongs_to :group_category, foreign_key: :coalescing_panda_group_category_id, class_name: 'CoalescingPanda::GroupCategory'
|
6
8
|
has_many :group_memberships, foreign_key: :coalescing_panda_group_id, class_name: 'CoalescingPanda::GroupMembership', dependent: :destroy
|
7
9
|
validates :group_category_id, presence: true
|
8
10
|
validates :canvas_group_id, presence: true
|
9
|
-
validates :coalescing_panda_user_id, presence: true
|
10
11
|
end
|
11
12
|
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
module CoalescingPanda
|
2
|
+
class GroupCategory < ActiveRecord::Base
|
3
|
+
belongs_to :context, :polymorphic => true
|
4
|
+
include SingleTablePolymorphic
|
5
|
+
|
6
|
+
belongs_to :leader, foreign_key: :leader_id, class_name: 'CoalescingPanda::User'
|
7
|
+
has_many :groups, foreign_key: :coalescing_panda_group_category_id, class_name: 'CoalescingPanda::Group'
|
8
|
+
has_many :assignments, foreign_key: :coalescing_panda_group_category_id, class_name: 'CoalescingPanda::Assignment'
|
9
|
+
validates :canvas_group_category_id, presence: true
|
10
|
+
end
|
11
|
+
end
|
@@ -3,6 +3,7 @@ module CoalescingPanda
|
|
3
3
|
belongs_to :account, foreign_key: :coalescing_panda_lti_account_id, class_name: 'CoalescingPanda::LtiAccount'
|
4
4
|
has_many :enrollments, foreign_key: :coalescing_panda_user_id, class_name: 'CoalescingPanda::Enrollment', dependent: :destroy
|
5
5
|
has_many :submissions, foreign_key: :coalescing_panda_user_id, class_name: 'CoalescingPanda::Submission', dependent: :destroy
|
6
|
+
has_many :leader_groups, foreign_key: :leader_id, class_name: 'CoalescingPanda::Group'
|
6
7
|
has_many :sections, through: :enrollments
|
7
8
|
has_many :courses, through: :sections
|
8
9
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
class CoalescingPanda::Workers::CourseMiner
|
2
|
-
SUPPORTED_MODELS = [:sections, :users, :enrollments, :assignment_groups, :assignments, :submissions, :groups, :group_memberships] #ORDER MATTERS!!
|
2
|
+
SUPPORTED_MODELS = [:sections, :users, :enrollments, :assignment_groups, :group_categories, :assignments, :submissions, :groups, :group_memberships] #ORDER MATTERS!!
|
3
3
|
COMPLETED_STATUSES = ['Completed', 'Error']
|
4
4
|
RUNNING_STATUSES = ['Queued', 'Started']
|
5
5
|
|
@@ -92,6 +92,9 @@ class CoalescingPanda::Workers::CourseMiner
|
|
92
92
|
when :groups
|
93
93
|
collection = api_client.course_groups(course.canvas_course_id).all_pages!
|
94
94
|
sync_groups(collection)
|
95
|
+
when :group_categories
|
96
|
+
collection = api_client.list_group_categories('courses', course.canvas_course_id).all_pages!
|
97
|
+
sync_group_categories(collection)
|
95
98
|
when :group_memberships
|
96
99
|
collection = []
|
97
100
|
course.groups.each do |group|
|
@@ -190,7 +193,9 @@ class CoalescingPanda::Workers::CourseMiner
|
|
190
193
|
values['canvas_assignment_id'] = values['id'].to_s
|
191
194
|
assignment = course.assignments.where(canvas_assignment_id: values['canvas_assignment_id']).first_or_initialize
|
192
195
|
assignment_group = course.assignment_groups.find_by(canvas_assignment_group_id: values['assignment_group_id'])
|
196
|
+
group_category = course.group_categories.find_by(canvas_group_category_id: values['group_category_id'])
|
193
197
|
assignment.coalescing_panda_assignment_group_id = assignment_group.id if assignment_group
|
198
|
+
assignment.coalescing_panda_group_category_id = group_category.id if group_category
|
194
199
|
assignment.assign_attributes(standard_attributes(assignment, values))
|
195
200
|
assignment.save(validate: false)
|
196
201
|
assignment_ids << assignment.id
|
@@ -219,11 +224,32 @@ class CoalescingPanda::Workers::CourseMiner
|
|
219
224
|
end
|
220
225
|
end
|
221
226
|
|
227
|
+
def sync_group_categories(collection)
|
228
|
+
collection.each do |values|
|
229
|
+
begin
|
230
|
+
values['canvas_group_category_id'] = values['id'].to_s
|
231
|
+
values.delete('context_type') #assume only course for now
|
232
|
+
category = course.group_categories.where(canvas_group_category_id: values['canvas_group_category_id']).first_or_initialize
|
233
|
+
category.assign_attributes(standard_attributes(category, values))
|
234
|
+
category.save(validate: false)
|
235
|
+
rescue => e
|
236
|
+
Rails.logger.error "Error syncing group categories: #{values} Error: #{e.message} - #{e.backtrace}"
|
237
|
+
end
|
238
|
+
end
|
239
|
+
end
|
240
|
+
|
222
241
|
def sync_groups(collection)
|
223
242
|
collection.each do |values|
|
224
243
|
begin
|
225
244
|
values['canvas_group_id'] = values['id'].to_s
|
226
245
|
group = course.groups.where(canvas_group_id: values['canvas_group_id']).first_or_initialize
|
246
|
+
group_category = course.group_categories.find_by(canvas_group_category_id: values['group_category_id'])
|
247
|
+
if values['leader']
|
248
|
+
group.leader = course.users.find_by(canvas_user_id: values['leader']['id'].to_s)
|
249
|
+
else
|
250
|
+
group.leader = nil
|
251
|
+
end
|
252
|
+
group.coalescing_panda_group_category_id = group_category.id if group_category
|
227
253
|
group.assign_attributes(standard_attributes(group, values))
|
228
254
|
group.save(validate: false)
|
229
255
|
group_ids << group.id
|
@@ -254,4 +280,4 @@ class CoalescingPanda::Workers::CourseMiner
|
|
254
280
|
new_attributes.delete('id')
|
255
281
|
new_attributes.delete_if { |key, value| !record.attributes.include?(key) }
|
256
282
|
end
|
257
|
-
end
|
283
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
class CreateCoalescingPandaGroupCategories < ActiveRecord::Migration
|
2
|
+
def change
|
3
|
+
create_table :coalescing_panda_group_categories do |t|
|
4
|
+
t.belongs_to :context, polymorphic: true
|
5
|
+
t.string :context_type
|
6
|
+
t.integer :canvas_group_category_id
|
7
|
+
t.string :name
|
8
|
+
|
9
|
+
t.timestamps
|
10
|
+
end
|
11
|
+
add_index :coalescing_panda_group_categories, [:context_id, :context_type], name: :index_group_categories_context_and_context_type
|
12
|
+
|
13
|
+
add_column :coalescing_panda_assignments, :coalescing_panda_group_category_id, :integer
|
14
|
+
add_column :coalescing_panda_groups, :coalescing_panda_group_category_id, :integer
|
15
|
+
end
|
16
|
+
end
|
Binary file
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended that you check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
14
|
+
ActiveRecord::Schema.define(version: 20150714205405) do
|
15
15
|
|
16
16
|
create_table "coalescing_panda_assignment_groups", force: :cascade do |t|
|
17
17
|
t.integer "coalescing_panda_course_id", null: false
|
@@ -46,6 +46,7 @@ ActiveRecord::Schema.define(version: 20150506192717) do
|
|
46
46
|
t.boolean "grade_group_students_individually"
|
47
47
|
t.boolean "published"
|
48
48
|
t.integer "coalescing_panda_assignment_group_id"
|
49
|
+
t.integer "coalescing_panda_group_category_id"
|
49
50
|
end
|
50
51
|
|
51
52
|
add_index "coalescing_panda_assignments", ["coalescing_panda_course_id", "canvas_assignment_id"], name: "index_assignments_course", unique: true
|
@@ -59,13 +60,15 @@ ActiveRecord::Schema.define(version: 20150506192717) do
|
|
59
60
|
end
|
60
61
|
|
61
62
|
create_table "coalescing_panda_canvas_batches", force: :cascade do |t|
|
62
|
-
t.float "percent_complete",
|
63
|
-
t.string "status",
|
63
|
+
t.float "percent_complete", default: 0.0
|
64
|
+
t.string "status", limit: 255
|
64
65
|
t.text "message"
|
65
66
|
t.datetime "created_at"
|
66
67
|
t.datetime "updated_at"
|
67
68
|
t.integer "context_id"
|
68
|
-
t.string "context_type",
|
69
|
+
t.string "context_type", limit: 255
|
70
|
+
t.integer "coalescing_panda_lti_account_id"
|
71
|
+
t.text "options"
|
69
72
|
end
|
70
73
|
|
71
74
|
create_table "coalescing_panda_courses", force: :cascade do |t|
|
@@ -102,6 +105,17 @@ ActiveRecord::Schema.define(version: 20150506192717) do
|
|
102
105
|
add_index "coalescing_panda_enrollments", ["coalescing_panda_user_id", "coalescing_panda_section_id", "enrollment_type"], name: "index_enrollments_user_and_section", unique: true
|
103
106
|
add_index "coalescing_panda_enrollments", ["sis_id"], name: "index_coalescing_panda_enrollments_on_sis_id"
|
104
107
|
|
108
|
+
create_table "coalescing_panda_group_categories", force: :cascade do |t|
|
109
|
+
t.integer "context_id"
|
110
|
+
t.string "context_type"
|
111
|
+
t.integer "canvas_group_category_id"
|
112
|
+
t.string "name"
|
113
|
+
t.datetime "created_at"
|
114
|
+
t.datetime "updated_at"
|
115
|
+
end
|
116
|
+
|
117
|
+
add_index "coalescing_panda_group_categories", ["context_id", "context_type"], name: "index_group_categories_context_and_context_type"
|
118
|
+
|
105
119
|
create_table "coalescing_panda_group_memberships", force: :cascade do |t|
|
106
120
|
t.integer "coalescing_panda_group_id"
|
107
121
|
t.integer "coalescing_panda_user_id"
|
@@ -109,20 +123,27 @@ ActiveRecord::Schema.define(version: 20150506192717) do
|
|
109
123
|
t.string "workflow_state", limit: 255
|
110
124
|
t.datetime "created_at"
|
111
125
|
t.datetime "updated_at"
|
126
|
+
t.boolean "moderator"
|
112
127
|
end
|
113
128
|
|
129
|
+
add_index "coalescing_panda_group_memberships", ["coalescing_panda_group_id", "coalescing_panda_user_id"], name: "index_group_memberships_user_and_group", unique: true
|
130
|
+
|
114
131
|
create_table "coalescing_panda_groups", force: :cascade do |t|
|
115
132
|
t.integer "context_id"
|
116
|
-
t.string "context_type",
|
117
|
-
t.string "description",
|
118
|
-
t.string "group_category_id",
|
119
|
-
t.string "canvas_group_id",
|
120
|
-
t.string "name",
|
133
|
+
t.string "context_type", limit: 255
|
134
|
+
t.string "description", limit: 255
|
135
|
+
t.string "group_category_id", limit: 255
|
136
|
+
t.string "canvas_group_id", limit: 255
|
137
|
+
t.string "name", limit: 255
|
121
138
|
t.integer "members_count"
|
122
139
|
t.datetime "created_at"
|
123
140
|
t.datetime "updated_at"
|
141
|
+
t.integer "leader_id"
|
142
|
+
t.integer "coalescing_panda_group_category_id"
|
124
143
|
end
|
125
144
|
|
145
|
+
add_index "coalescing_panda_groups", ["context_id", "canvas_group_id"], name: "index_groups_context_and_group_id", unique: true
|
146
|
+
|
126
147
|
create_table "coalescing_panda_lti_accounts", force: :cascade do |t|
|
127
148
|
t.string "name", limit: 255
|
128
149
|
t.string "key", limit: 255
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -1,618 +1,284 @@
|
|
1
|
-
[1m[36m (1.
|
2
|
-
[1m[35m (0.
|
3
|
-
[1m[
|
4
|
-
Migrating to CreateCoalescingPandaCanvasApiAuths (20131114150001)
|
5
|
-
[1m[35m (0.1ms)[0m begin transaction
|
6
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
7
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131114150001"]]
|
8
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
9
|
-
Migrating to CreateCoalescingPandaLtiAccounts (20131118211442)
|
10
|
-
[1m[35m (0.1ms)[0m begin transaction
|
11
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
12
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131118211442"]]
|
13
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
14
|
-
Migrating to CreateCoalescingPandaLtiNonces (20131119165343)
|
15
|
-
[1m[35m (0.1ms)[0m begin transaction
|
16
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "coalescing_panda_lti_nonces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "nonce" varchar(255), "timestamp" datetime) [0m
|
17
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131119165343"]]
|
18
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
19
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
20
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
21
|
-
Migrating to AddSettingsToCoalescingPandaLtiAccount (20140722210735)
|
22
|
-
[1m[35m (0.1ms)[0m begin transaction
|
23
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "coalescing_panda_lti_accounts" ADD "settings" text[0m
|
24
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140722210735"]]
|
25
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
26
|
-
Migrating to CreateCoalescingPandaSessions (20140904223159)
|
27
|
-
[1m[35m (0.0ms)[0m begin transaction
|
28
|
-
[1m[36m (0.2ms)[0m [1mCREATE TABLE "coalescing_panda_sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "data" text, "created_at" datetime, "updated_at" datetime) [0m
|
29
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140904223159"]]
|
30
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
31
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
32
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
33
|
-
Migrating to CreateCoalescingPandaTerms (20141119225319)
|
34
|
-
[1m[35m (0.1ms)[0m begin transaction
|
35
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
36
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_terms_on_canvas_term_id" ON "coalescing_panda_terms" ("canvas_term_id")
|
37
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_terms_on_sis_id" ON "coalescing_panda_terms" ("sis_id")[0m
|
38
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141119225319"]]
|
39
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
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
|
40
4
|
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
41
|
-
|
42
|
-
Migrating to CreateCoalescingPandaCourses (20141119225721)
|
43
|
-
[1m[35m (0.0ms)[0m begin transaction
|
44
|
-
[1m[36m (0.4ms)[0m [1mCREATE 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), "start_at" datetime, "conclude_at" datetime, "workflow_state" varchar(255), "course_code" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
45
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_coalescing_panda_courses_on_canvas_course_id" ON "coalescing_panda_courses" ("canvas_course_id")
|
46
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141119225721"]]
|
47
|
-
[1m[35m (0.9ms)[0m commit transaction
|
48
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
49
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
50
|
-
Migrating to CreateCoalescingPandaSections (20141120151432)
|
51
|
-
[1m[35m (0.1ms)[0m begin transaction
|
52
|
-
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
53
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_coalescing_panda_sections_on_canvas_section_id" ON "coalescing_panda_sections" ("canvas_section_id")
|
54
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_sections_on_sis_id" ON "coalescing_panda_sections" ("sis_id")[0m
|
55
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120151432"]]
|
56
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
57
|
-
Migrating to CreateCoalescingPandaAssignments (20141120151940)
|
58
|
-
[1m[35m (0.0ms)[0m begin transaction
|
59
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
60
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_assignments_on_canvas_assignment_id" ON "coalescing_panda_assignments" ("canvas_assignment_id")
|
61
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_assignments_on_sis_id" ON "coalescing_panda_assignments" ("sis_id")[0m
|
62
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120151940"]]
|
63
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
64
|
-
Migrating to CreateCoalescingPandaUsers (20141120152458)
|
65
|
-
[1m[35m (0.0ms)[0m begin transaction
|
66
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "coalescing_panda_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "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) [0m
|
67
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_users_on_canvas_user_id" ON "coalescing_panda_users" ("canvas_user_id")
|
68
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_users_on_sis_id" ON "coalescing_panda_users" ("sis_id")[0m
|
69
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120152458"]]
|
70
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
71
|
-
Migrating to CreateCoalescingPandaSubmissions (20141120152546)
|
72
|
-
[1m[35m (0.0ms)[0m begin transaction
|
73
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
74
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_submissions_on_canvas_submission_id" ON "coalescing_panda_submissions" ("canvas_submission_id")
|
75
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141120152546"]]
|
76
|
-
[1m[35m (0.7ms)[0m commit transaction
|
77
|
-
Migrating to CreateCoalescingPandaEnrollments (20141120153135)
|
78
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
79
|
-
[1m[35m (0.3ms)[0m 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)
|
80
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_enrollments_on_canvas_enrollment_id" ON "coalescing_panda_enrollments" ("canvas_enrollment_id")[0m
|
81
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_enrollments_on_sis_id" ON "coalescing_panda_enrollments" ("sis_id")
|
82
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141120153135"]]
|
83
|
-
[1m[35m (0.8ms)[0m commit transaction
|
84
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
85
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
86
|
-
[1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'test' LIMIT 1
|
87
|
-
[1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" IS NULL LIMIT 1[0m
|
88
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
89
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
90
|
-
[1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'test' LIMIT 1
|
91
|
-
[1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'k' LIMIT 1[0m
|
92
|
-
[1m[35mSQL (1.5ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 20 Nov 2014 17:33:45 UTC +00:00], ["key", "k"], ["name", "test"], ["secret", "s"], ["settings", nil], ["updated_at", Thu, 20 Nov 2014 17:33:45 UTC +00:00]]
|
93
|
-
[1m[36m (7.0ms)[0m [1mcommit transaction[0m
|
94
|
-
[1m[36mCoalescingPanda::LtiAccount Load (0.1ms)[0m [1mSELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" ORDER BY "coalescing_panda_lti_accounts"."id" DESC LIMIT 1[0m
|
95
|
-
[1m[35mCoalescingPanda::Course Load (2.2ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."coalescing_panda_lti_account_id" = ? [["coalescing_panda_lti_account_id", 1]]
|
96
|
-
[1m[36mCoalescingPanda::LtiAccount Load (0.1ms)[0m [1mSELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" ORDER BY "coalescing_panda_lti_accounts"."id" DESC LIMIT 1[0m
|
97
|
-
[1m[35mCoalescingPanda::Course Load (1.6ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."coalescing_panda_lti_account_id" = ? [["coalescing_panda_lti_account_id", 1]]
|
5
|
+
Migrating to CreateCoalescingPandaCanvasApiAuths (20131114150001)
|
98
6
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
99
|
-
|
100
|
-
[1m[
|
101
|
-
[1m[
|
102
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 20 Nov 2014 17:37:06 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 17:37:06 UTC +00:00]]
|
103
|
-
[1m[35m (7.0ms)[0m commit transaction
|
104
|
-
[1m[36mCoalescingPanda::Term Load (0.3ms)[0m [1mSELECT "coalescing_panda_terms".* FROM "coalescing_panda_terms" WHERE "coalescing_panda_terms"."coalescing_panda_lti_account_id" = ?[0m [["coalescing_panda_lti_account_id", 1]]
|
105
|
-
[1m[36mCoalescingPanda::LtiAccount Load (0.1ms)[0m [1mSELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" ORDER BY "coalescing_panda_lti_accounts"."id" DESC LIMIT 1[0m
|
106
|
-
[1m[35mCoalescingPanda::Course Load (1.5ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."coalescing_panda_lti_account_id" = ? [["coalescing_panda_lti_account_id", 1]]
|
107
|
-
[1m[36mCoalescingPanda::Term Load (0.2ms)[0m [1mSELECT "coalescing_panda_terms".* FROM "coalescing_panda_terms" WHERE "coalescing_panda_terms"."coalescing_panda_lti_account_id" = ? ORDER BY "coalescing_panda_terms"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]]
|
108
|
-
[1m[35mCoalescingPanda::Term Load (0.2ms)[0m SELECT "coalescing_panda_terms".* FROM "coalescing_panda_terms" WHERE "coalescing_panda_terms"."coalescing_panda_lti_account_id" = ? ORDER BY "coalescing_panda_terms"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
|
109
|
-
[1m[36mCoalescingPanda::Term Load (0.2ms)[0m [1mSELECT "coalescing_panda_terms".* FROM "coalescing_panda_terms" WHERE "coalescing_panda_terms"."coalescing_panda_lti_account_id" = ? ORDER BY "coalescing_panda_terms"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]]
|
110
|
-
[1m[35mCoalescingPanda::Course Load (0.2ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."coalescing_panda_lti_term_id" = ? [[nil, 1]]
|
111
|
-
SQLite3::SQLException: no such column: coalescing_panda_courses.coalescing_panda_lti_term_id: SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."coalescing_panda_lti_term_id" = ?
|
112
|
-
[1m[36mCoalescingPanda::LtiAccount Load (0.1ms)[0m [1mSELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" ORDER BY "coalescing_panda_lti_accounts"."id" DESC LIMIT 1[0m
|
113
|
-
[1m[35mCoalescingPanda::Term Load (1.6ms)[0m SELECT "coalescing_panda_terms".* FROM "coalescing_panda_terms" WHERE "coalescing_panda_terms"."coalescing_panda_lti_account_id" = ? ORDER BY "coalescing_panda_terms"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
|
114
|
-
[1m[36mCoalescingPanda::Term Load (0.2ms)[0m [1mSELECT "coalescing_panda_terms".* FROM "coalescing_panda_terms" WHERE "coalescing_panda_terms"."coalescing_panda_lti_account_id" = ? ORDER BY "coalescing_panda_terms"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]]
|
115
|
-
[1m[35mCoalescingPanda::Course Load (0.2ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."coalescing_panda_term_id" = ? [["coalescing_panda_term_id", 1]]
|
116
|
-
[1m[36mCoalescingPanda::Term Load (0.2ms)[0m [1mSELECT "coalescing_panda_terms".* FROM "coalescing_panda_terms" WHERE "coalescing_panda_terms"."coalescing_panda_lti_account_id" = ? ORDER BY "coalescing_panda_terms"."id" ASC LIMIT 1[0m [["coalescing_panda_lti_account_id", 1]]
|
117
|
-
[1m[35mCoalescingPanda::Term Load (0.2ms)[0m SELECT "coalescing_panda_terms".* FROM "coalescing_panda_terms" WHERE "coalescing_panda_terms"."coalescing_panda_lti_account_id" = ? ORDER BY "coalescing_panda_terms"."id" ASC LIMIT 1 [["coalescing_panda_lti_account_id", 1]]
|
118
|
-
[1m[36mCoalescingPanda::Course Load (0.1ms)[0m [1mSELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" ORDER BY "coalescing_panda_courses"."id" DESC LIMIT 1[0m
|
119
|
-
[1m[35m (0.1ms)[0m begin transaction
|
120
|
-
[1m[36mSQL (1.2ms)[0m [1mUPDATE "coalescing_panda_courses" SET "coalescing_panda_term_id" = ?, "updated_at" = ? WHERE "coalescing_panda_courses"."id" = 1[0m [["coalescing_panda_term_id", 1], ["updated_at", Thu, 20 Nov 2014 17:41:41 UTC +00:00]]
|
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"]]
|
121
10
|
[1m[35m (0.8ms)[0m commit transaction
|
122
|
-
[1m[36mCoalescingPanda::Course Load (0.1ms)[0m [1mSELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."coalescing_panda_term_id" = ?[0m [["coalescing_panda_term_id", 1]]
|
123
|
-
[1m[35mCoalescingPanda::Course Load (0.2ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" ORDER BY "coalescing_panda_courses"."id" DESC LIMIT 1
|
124
|
-
[1m[36mCoalescingPanda::Term Load (0.2ms)[0m [1mSELECT "coalescing_panda_terms".* FROM "coalescing_panda_terms" ORDER BY "coalescing_panda_terms"."id" DESC LIMIT 1[0m
|
125
|
-
[1m[35mCoalescingPanda::LtiAccount Load (0.2ms)[0m SELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."id" = ? LIMIT 1 [["id", 1]]
|
126
|
-
[1m[36mCoalescingPanda::Course Load (0.1ms)[0m [1mSELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" ORDER BY "coalescing_panda_courses"."id" DESC LIMIT 1[0m
|
127
|
-
[1m[35mCoalescingPanda::Term Load (1.6ms)[0m SELECT "coalescing_panda_terms".* FROM "coalescing_panda_terms" WHERE "coalescing_panda_terms"."id" = ? LIMIT 1 [["id", 1]]
|
128
|
-
[1m[36mCoalescingPanda::LtiAccount Load (0.2ms)[0m [1mSELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."id" = ? LIMIT 1[0m [["id", 1]]
|
129
|
-
[1m[36mCoalescingPanda::Course Load (0.1ms)[0m [1mSELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" ORDER BY "coalescing_panda_courses"."id" DESC LIMIT 1[0m
|
130
|
-
[1m[35mCoalescingPanda::Enrollment Load (0.2ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_course_id" = ? [[nil, 1]]
|
131
|
-
SQLite3::SQLException: no such column: coalescing_panda_enrollments.coalescing_panda_course_id: SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_course_id" = ?
|
132
|
-
[1m[36m (7.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
133
|
-
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
134
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
135
|
-
[1m[36mCoalescingPanda::LtiAccount Load (0.3ms)[0m [1mSELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts"[0m
|
136
|
-
SQLite3::SQLException: no such table: coalescing_panda_lti_accounts: SELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts"
|
137
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
138
|
-
Migrating to CreateCoalescingPandaCanvasApiAuths (20131114150001)
|
139
|
-
[1m[35m (0.0ms)[0m begin transaction
|
140
|
-
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
141
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131114150001"]]
|
142
|
-
[1m[36m (6.9ms)[0m [1mcommit transaction[0m
|
143
11
|
Migrating to CreateCoalescingPandaLtiAccounts (20131118211442)
|
144
|
-
[1m[
|
145
|
-
|
146
|
-
[1m[
|
147
|
-
[1m[
|
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
|
148
17
|
Migrating to CreateCoalescingPandaLtiNonces (20131119165343)
|
149
|
-
[1m[
|
150
|
-
[1m[
|
151
|
-
[1m[
|
152
|
-
[1m[
|
153
|
-
Migrating to AddSettingsToCoalescingPandaLtiAccount (20140722210735)
|
154
|
-
[1m[35m (0.0ms)[0m begin transaction
|
155
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "coalescing_panda_lti_accounts" ADD "settings" text[0m
|
156
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140722210735"]]
|
157
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
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
|
158
22
|
Migrating to CreateCoalescingPandaSessions (20140904223159)
|
159
|
-
[1m[
|
160
|
-
|
161
|
-
[1m[
|
162
|
-
[1m[
|
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
|
163
28
|
Migrating to CreateCoalescingPandaTerms (20141119225319)
|
164
|
-
[1m[
|
165
|
-
|
166
|
-
[1m[35m (0.
|
167
|
-
[1m[36m (
|
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
|
168
42
|
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141119225319"]]
|
169
43
|
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
170
44
|
Migrating to CreateCoalescingPandaCourses (20141119225721)
|
171
45
|
[1m[35m (0.0ms)[0m begin transaction
|
172
|
-
|
173
|
-
[1m[
|
174
|
-
[1m[
|
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
|
175
75
|
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141119225721"]]
|
176
76
|
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
177
77
|
Migrating to CreateCoalescingPandaSections (20141120151432)
|
178
|
-
[1m[35m (0.
|
179
|
-
|
180
|
-
[1m[
|
181
|
-
[1m[
|
182
|
-
[1m[
|
183
|
-
|
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
|
184
93
|
Migrating to CreateCoalescingPandaAssignments (20141120151940)
|
185
|
-
[1m[
|
186
|
-
|
187
|
-
[1m[35m (0.
|
188
|
-
[1m[36m (0.
|
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
|
189
98
|
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120151940"]]
|
190
|
-
[1m[36m (0.
|
99
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
191
100
|
Migrating to CreateCoalescingPandaUsers (20141120152458)
|
192
101
|
[1m[35m (0.0ms)[0m begin transaction
|
193
|
-
|
194
|
-
[1m[
|
195
|
-
[1m[
|
196
|
-
[1m[
|
197
|
-
|
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
|
198
116
|
Migrating to CreateCoalescingPandaSubmissions (20141120152546)
|
199
|
-
[1m[35m (0.1ms)[0m begin transaction
|
200
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
201
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_submissions_on_canvas_submission_id" ON "coalescing_panda_submissions" ("canvas_submission_id")
|
202
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141120152546"]]
|
203
|
-
[1m[35m (0.7ms)[0m commit transaction
|
204
|
-
Migrating to CreateCoalescingPandaEnrollments (20141120153135)
|
205
117
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
206
|
-
|
207
|
-
[1m[
|
208
|
-
[1m[
|
209
|
-
[1m[
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
[1m[
|
219
|
-
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
220
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131114150001"]]
|
221
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
222
|
-
Migrating to CreateCoalescingPandaLtiAccounts (20131118211442)
|
223
|
-
[1m[35m (0.0ms)[0m begin transaction
|
224
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
225
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131118211442"]]
|
226
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
227
|
-
Migrating to CreateCoalescingPandaLtiNonces (20131119165343)
|
228
|
-
[1m[35m (0.0ms)[0m begin transaction
|
229
|
-
[1m[36m (0.2ms)[0m [1mCREATE TABLE "coalescing_panda_lti_nonces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "nonce" varchar(255), "timestamp" datetime) [0m
|
230
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131119165343"]]
|
231
|
-
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
232
|
-
Migrating to AddSettingsToCoalescingPandaLtiAccount (20140722210735)
|
233
|
-
[1m[35m (0.0ms)[0m begin transaction
|
234
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "coalescing_panda_lti_accounts" ADD "settings" text[0m
|
235
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140722210735"]]
|
236
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
237
|
-
Migrating to CreateCoalescingPandaSessions (20140904223159)
|
238
|
-
[1m[35m (0.1ms)[0m begin transaction
|
239
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "coalescing_panda_sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "data" text, "created_at" datetime, "updated_at" datetime) [0m
|
240
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140904223159"]]
|
241
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
242
|
-
Migrating to CreateCoalescingPandaTerms (20141119225319)
|
243
|
-
[1m[35m (0.0ms)[0m begin transaction
|
244
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
245
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_terms_on_canvas_term_id" ON "coalescing_panda_terms" ("canvas_term_id")
|
246
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_terms_on_sis_id" ON "coalescing_panda_terms" ("sis_id")[0m
|
247
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141119225319"]]
|
248
|
-
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
249
|
-
Migrating to CreateCoalescingPandaCourses (20141119225721)
|
250
|
-
[1m[35m (0.0ms)[0m begin transaction
|
251
|
-
[1m[36m (0.2ms)[0m [1mCREATE 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) [0m
|
252
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
253
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
254
|
-
Migrating to CreateCoalescingPandaCourses (20141119225721)
|
255
|
-
[1m[35m (0.0ms)[0m begin transaction
|
256
|
-
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
257
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_panda_courses_on_panda_lti_account_id" ON "coalescing_panda_courses" ("coalescing_panda_lti_account_id")
|
258
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_assignments_on_coalescing_panda_term_id" ON "coalescing_panda_assignments" ("coalescing_panda_term_id")[0m
|
259
|
-
SQLite3::SQLException: no such table: main.coalescing_panda_assignments: CREATE INDEX "index_coalescing_panda_assignments_on_coalescing_panda_term_id" ON "coalescing_panda_assignments" ("coalescing_panda_term_id")
|
260
|
-
[1m[35m (6.4ms)[0m rollback transaction
|
261
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
262
|
-
Migrating to CreateCoalescingPandaCourses (20141119225721)
|
263
|
-
[1m[35m (0.1ms)[0m begin transaction
|
264
|
-
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
265
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_panda_courses_on_panda_lti_account_id" ON "coalescing_panda_courses" ("coalescing_panda_lti_account_id")
|
266
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_panda_assignments_on_panda_term_id" ON "coalescing_panda_assignments" ("coalescing_panda_term_id")[0m
|
267
|
-
SQLite3::SQLException: no such table: main.coalescing_panda_assignments: CREATE INDEX "index_panda_assignments_on_panda_term_id" ON "coalescing_panda_assignments" ("coalescing_panda_term_id")
|
268
|
-
[1m[35m (6.3ms)[0m rollback transaction
|
269
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
270
|
-
Migrating to CreateCoalescingPandaCourses (20141119225721)
|
271
|
-
[1m[35m (0.1ms)[0m begin transaction
|
272
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
273
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_courses_account" ON "coalescing_panda_courses" ("coalescing_panda_lti_account_id")
|
274
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_courses_term" ON "coalescing_panda_courses" ("coalescing_panda_term_id")[0m
|
275
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_courses_on_canvas_course_id" ON "coalescing_panda_courses" ("canvas_course_id")
|
276
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_courses_on_sis_id" ON "coalescing_panda_courses" ("sis_id")[0m
|
277
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141119225721"]]
|
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"]]
|
278
131
|
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
279
|
-
Migrating to
|
132
|
+
Migrating to CreateCoalescingPandaEnrollments (20141120153135)
|
280
133
|
[1m[35m (0.0ms)[0m begin transaction
|
281
|
-
|
282
|
-
[1m[
|
283
|
-
[1m[
|
284
|
-
[1m[
|
285
|
-
|
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"]]
|
286
147
|
[1m[35m (0.8ms)[0m commit transaction
|
287
|
-
Migrating to
|
288
|
-
[1m[36m (0.
|
289
|
-
|
290
|
-
[1m[
|
291
|
-
[1m[
|
292
|
-
[1m[35m (0.
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
[1m[
|
297
|
-
[1m[
|
298
|
-
[1m[
|
299
|
-
Migrating to CreateCoalescingPandaLtiAccounts (20131118211442)
|
300
|
-
[1m[35m (0.0ms)[0m begin transaction
|
301
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
302
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131118211442"]]
|
303
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
304
|
-
Migrating to CreateCoalescingPandaLtiNonces (20131119165343)
|
305
|
-
[1m[35m (0.0ms)[0m begin transaction
|
306
|
-
[1m[36m (0.2ms)[0m [1mCREATE TABLE "coalescing_panda_lti_nonces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "nonce" varchar(255), "timestamp" datetime) [0m
|
307
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131119165343"]]
|
308
|
-
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
309
|
-
Migrating to AddSettingsToCoalescingPandaLtiAccount (20140722210735)
|
310
|
-
[1m[35m (0.0ms)[0m begin transaction
|
311
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "coalescing_panda_lti_accounts" ADD "settings" text[0m
|
312
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140722210735"]]
|
313
|
-
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
314
|
-
Migrating to CreateCoalescingPandaSessions (20140904223159)
|
315
|
-
[1m[35m (0.0ms)[0m begin transaction
|
316
|
-
[1m[36m (0.2ms)[0m [1mCREATE TABLE "coalescing_panda_sessions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "data" text, "created_at" datetime, "updated_at" datetime) [0m
|
317
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140904223159"]]
|
318
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
319
|
-
Migrating to CreateCoalescingPandaTerms (20141119225319)
|
320
|
-
[1m[35m (0.0ms)[0m begin transaction
|
321
|
-
[1m[36m (0.2ms)[0m [1mCREATE 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) [0m
|
322
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_terms_on_canvas_term_id" ON "coalescing_panda_terms" ("canvas_term_id")
|
323
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_terms_on_sis_id" ON "coalescing_panda_terms" ("sis_id")[0m
|
324
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141119225319"]]
|
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"]]
|
325
160
|
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
326
|
-
Migrating to
|
161
|
+
Migrating to AddSubmissionTypesToAssignments (20141208221740)
|
327
162
|
[1m[35m (0.0ms)[0m begin transaction
|
328
|
-
[1m[36m (
|
329
|
-
[1m[
|
330
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_courses_term" ON "coalescing_panda_courses" ("coalescing_panda_term_id")[0m
|
331
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_courses_on_canvas_course_id" ON "coalescing_panda_courses" ("canvas_course_id")
|
332
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_courses_on_sis_id" ON "coalescing_panda_courses" ("sis_id")[0m
|
333
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141119225721"]]
|
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"]]
|
334
165
|
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
335
|
-
Migrating to
|
166
|
+
Migrating to AddGroupCategoryIdToAssignment (20150106175418)
|
336
167
|
[1m[35m (0.0ms)[0m begin transaction
|
337
|
-
[1m[36m (0.
|
338
|
-
[1m[35m (0.1ms)[0m
|
339
|
-
[1m[
|
340
|
-
[1m[35m (0.
|
341
|
-
|
342
|
-
[1m[35m (0.8ms)[0m commit transaction
|
343
|
-
Migrating to CreateCoalescingPandaAssignments (20141120151940)
|
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)
|
344
173
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
345
|
-
[1m[35m (0.3ms)[0m
|
346
|
-
[1m[
|
347
|
-
[1m[
|
348
|
-
Migrating to
|
349
|
-
[1m[35m (0.1ms)[0m begin transaction
|
350
|
-
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
351
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_assignments_course" ON "coalescing_panda_assignments" ("coalescing_panda_course_id")
|
352
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_assignments_on_canvas_assignment_id" ON "coalescing_panda_assignments" ("canvas_assignment_id")[0m
|
353
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_assignments_on_sis_id" ON "coalescing_panda_assignments" ("sis_id")
|
354
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141120151940"]]
|
355
|
-
[1m[35m (6.7ms)[0m commit transaction
|
356
|
-
Migrating to CreateCoalescingPandaUsers (20141120152458)
|
357
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
358
|
-
[1m[35m (0.3ms)[0m 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)
|
359
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
360
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
361
|
-
Migrating to CreateCoalescingPandaUsers (20141120152458)
|
362
|
-
[1m[35m (0.0ms)[0m begin transaction
|
363
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
364
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_users_account" ON "coalescing_panda_users" ("coalescing_panda_lti_account_id")
|
365
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_users_on_canvas_user_id" ON "coalescing_panda_users" ("canvas_user_id")[0m
|
366
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_users_on_sis_id" ON "coalescing_panda_users" ("sis_id")
|
367
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141120152458"]]
|
368
|
-
[1m[35m (7.2ms)[0m commit transaction
|
369
|
-
Migrating to CreateCoalescingPandaSubmissions (20141120152546)
|
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)
|
370
178
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
371
|
-
|
372
|
-
[1m[
|
373
|
-
[1m[
|
374
|
-
|
375
|
-
[1m[
|
376
|
-
|
377
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_submissions_user_and_assignment" ON "coalescing_panda_submissions" ("coalescing_panda_user_id", "coalescing_panda_assignment_id")
|
378
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_submissions_on_canvas_submission_id" ON "coalescing_panda_submissions" ("canvas_submission_id")[0m
|
379
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120152546"]]
|
380
|
-
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
381
|
-
Migrating to CreateCoalescingPandaEnrollments (20141120153135)
|
382
|
-
[1m[35m (0.0ms)[0m begin transaction
|
383
|
-
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
384
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
385
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
386
|
-
Migrating to CreateCoalescingPandaEnrollments (20141120153135)
|
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)
|
387
185
|
[1m[35m (0.0ms)[0m begin transaction
|
388
|
-
|
389
|
-
[1m[
|
390
|
-
[1m[
|
391
|
-
[1m[
|
392
|
-
[1m[
|
393
|
-
|
394
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
395
|
-
[1m[36mCoalescingPanda::LtiAccount Load (0.2ms)[0m [1mSELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" ORDER BY "coalescing_panda_lti_accounts"."id" ASC LIMIT 1[0m
|
396
|
-
[1m[35m (0.1ms)[0m begin transaction
|
397
|
-
[1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" IS NULL LIMIT 1[0m
|
398
|
-
[1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'a
|
399
|
-
' LIMIT 1
|
400
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
401
|
-
[1m[35m (0.1ms)[0m begin transaction
|
402
|
-
[1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'test:
|
403
|
-
a' LIMIT 1[0m
|
404
|
-
[1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'a
|
405
|
-
' LIMIT 1
|
406
|
-
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 20 Nov 2014 18:04:55 UTC +00:00], ["key", "a\n"], ["name", "test:\na"], ["secret", "a"], ["settings", nil], ["updated_at", Thu, 20 Nov 2014 18:04:55 UTC +00:00]]
|
407
|
-
[1m[35m (6.7ms)[0m commit transaction
|
408
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
409
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_terms" ("coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 20 Nov 2014 18:05:05 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 18:05:05 UTC +00:00]]
|
410
|
-
[1m[36m (6.9ms)[0m [1mcommit transaction[0m
|
411
|
-
[1m[35m (0.1ms)[0m begin transaction
|
412
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 20 Nov 2014 18:05:14 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 18:05:14 UTC +00:00]]
|
413
|
-
[1m[35m (6.8ms)[0m commit transaction
|
414
|
-
[1m[36mCoalescingPanda::Section Load (0.2ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ?[0m [["coalescing_panda_course_id", 1]]
|
415
|
-
[1m[35mCoalescingPanda::Assignment Load (0.2ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]
|
416
|
-
[1m[36mCoalescingPanda::Enrollment Load (0.2ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_course_id" = ?[0m [[nil, 1]]
|
417
|
-
SQLite3::SQLException: no such column: coalescing_panda_enrollments.coalescing_panda_course_id: SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_course_id" = ?
|
418
|
-
[1m[36mCoalescingPanda::Course Load (0.1ms)[0m [1mSELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" ORDER BY "coalescing_panda_courses"."id" DESC LIMIT 1[0m
|
419
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
420
|
-
[1m[35mSQL (3.3ms)[0m INSERT INTO "coalescing_panda_sections" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 20 Nov 2014 18:11:52 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 18:11:52 UTC +00:00]]
|
421
|
-
[1m[36m (7.1ms)[0m [1mcommit transaction[0m
|
422
|
-
[1m[35mCoalescingPanda::Enrollment Load (0.2ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_lti_section_id" = ? [[nil, 1]]
|
423
|
-
SQLite3::SQLException: no such column: coalescing_panda_enrollments.coalescing_panda_lti_section_id: SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_lti_section_id" = ?
|
424
|
-
[1m[36mCoalescingPanda::Course Load (0.2ms)[0m [1mSELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses"[0m
|
425
|
-
[1m[35mCoalescingPanda::Course Load (0.2ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" ORDER BY "coalescing_panda_courses"."id" DESC LIMIT 1
|
426
|
-
[1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" ORDER BY "coalescing_panda_sections"."id" DESC LIMIT 1[0m
|
427
|
-
[1m[35mCoalescingPanda::Course Load (0.1ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" ORDER BY "coalescing_panda_courses"."id" DESC LIMIT 1
|
428
|
-
[1m[36mCoalescingPanda::Section Load (0.1ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" ORDER BY "coalescing_panda_sections"."id" DESC LIMIT 1[0m
|
429
|
-
[1m[35mCoalescingPanda::Course Load (0.1ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" ORDER BY "coalescing_panda_courses"."id" DESC LIMIT 1
|
430
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
431
|
-
[1m[35mSQL (3.1ms)[0m UPDATE "coalescing_panda_sections" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_sections"."id" = 1 [["coalescing_panda_course_id", 1], ["updated_at", Thu, 20 Nov 2014 18:15:23 UTC +00:00]]
|
432
|
-
[1m[36m (6.8ms)[0m [1mcommit transaction[0m
|
433
|
-
[1m[35mCoalescingPanda::Enrollment Load (0.1ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_section_id" = ? [["coalescing_panda_section_id", 1]]
|
434
|
-
[1m[36mCoalescingPanda::Enrollment Load (0.2ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments"[0m
|
435
|
-
[1m[35m (0.1ms)[0m begin transaction
|
436
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_enrollments" ("coalescing_panda_section_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["coalescing_panda_section_id", 1], ["created_at", Thu, 20 Nov 2014 18:15:59 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 18:15:59 UTC +00:00]]
|
437
|
-
[1m[35m (6.8ms)[0m commit transaction
|
438
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
439
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 20 Nov 2014 18:17:01 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 18:17:01 UTC +00:00]]
|
440
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
441
|
-
[1m[35m (0.1ms)[0m begin transaction
|
442
|
-
[1m[36mSQL (0.5ms)[0m [1mUPDATE "coalescing_panda_enrollments" SET "coalescing_panda_user_id" = ?, "updated_at" = ? WHERE "coalescing_panda_enrollments"."id" = 1[0m [["coalescing_panda_user_id", 1], ["updated_at", Thu, 20 Nov 2014 18:17:15 UTC +00:00]]
|
443
|
-
[1m[35m (0.8ms)[0m commit transaction
|
444
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
445
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_terms" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 20 Nov 2014 18:17:54 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 18:17:54 UTC +00:00]]
|
446
|
-
[1m[36m (6.8ms)[0m [1mcommit transaction[0m
|
447
|
-
[1m[35m (0.1ms)[0m begin transaction
|
448
|
-
[1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" IS NULL LIMIT 1[0m
|
449
|
-
[1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" IS NULL LIMIT 1
|
450
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
451
|
-
[1m[35m (0.1ms)[0m begin transaction
|
452
|
-
[1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" IS NULL LIMIT 1[0m
|
453
|
-
[1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" IS NULL LIMIT 1
|
454
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
455
|
-
[1m[35m (0.1ms)[0m begin transaction
|
456
|
-
[1m[36mCoalescingPanda::LtiAccount Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'akdsgh' LIMIT 1[0m
|
457
|
-
[1m[35mCoalescingPanda::LtiAccount Exists (0.1ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'ate' LIMIT 1
|
458
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 20 Nov 2014 18:18:47 UTC +00:00], ["key", "ate"], ["name", "akdsgh"], ["secret", "alskjdg"], ["settings", nil], ["updated_at", Thu, 20 Nov 2014 18:18:47 UTC +00:00]]
|
459
|
-
[1m[35m (6.8ms)[0m commit transaction
|
460
|
-
[1m[36mCoalescingPanda::Course Load (0.3ms)[0m [1mSELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."coalescing_panda_lti_account_id" = ?[0m [["coalescing_panda_lti_account_id", 2]]
|
461
|
-
[1m[35mCoalescingPanda::Course Load (0.2ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" ORDER BY "coalescing_panda_courses"."id" DESC LIMIT 1
|
462
|
-
[1m[36mCoalescingPanda::LtiAccount Load (0.2ms)[0m [1mSELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."id" = ? LIMIT 1[0m [["id", 1]]
|
463
|
-
[1m[35m (0.1ms)[0m begin transaction
|
464
|
-
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."id" = ?[0m [["id", 1]]
|
465
|
-
[1m[35m (6.8ms)[0m commit transaction
|
466
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
467
|
-
[1m[35mSQL (0.5ms)[0m UPDATE "coalescing_panda_courses" SET "coalescing_panda_lti_account_id" = ?, "updated_at" = ? WHERE "coalescing_panda_courses"."id" = 1 [["coalescing_panda_lti_account_id", 2], ["updated_at", Thu, 20 Nov 2014 18:19:34 UTC +00:00]]
|
468
|
-
[1m[36m (6.8ms)[0m [1mcommit transaction[0m
|
469
|
-
[1m[35mCoalescingPanda::LtiAccount Load (0.2ms)[0m SELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."id" = ? LIMIT 1 [["id", 2]]
|
470
|
-
[1m[36mCoalescingPanda::Course Load (0.2ms)[0m [1mSELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."coalescing_panda_lti_account_id" = ?[0m [["coalescing_panda_lti_account_id", 2]]
|
471
|
-
[1m[35m (0.1ms)[0m begin transaction
|
472
|
-
[1m[36mSQL (0.5ms)[0m [1mUPDATE "coalescing_panda_users" SET "coalescing_panda_lti_account_id" = ?, "updated_at" = ? WHERE "coalescing_panda_users"."id" = 1[0m [["coalescing_panda_lti_account_id", 2], ["updated_at", Thu, 20 Nov 2014 18:20:37 UTC +00:00]]
|
473
|
-
[1m[35m (6.8ms)[0m commit transaction
|
474
|
-
[1m[36mCoalescingPanda::LtiAccount Load (0.1ms)[0m [1mSELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" ORDER BY "coalescing_panda_lti_accounts"."id" DESC LIMIT 1[0m
|
475
|
-
[1m[35mCoalescingPanda::Term Load (1.6ms)[0m SELECT "coalescing_panda_terms".* FROM "coalescing_panda_terms" WHERE "coalescing_panda_terms"."coalescing_panda_lti_account_id" = ? [["coalescing_panda_lti_account_id", 2]]
|
476
|
-
[1m[36mCoalescingPanda::Term Load (0.1ms)[0m [1mSELECT "coalescing_panda_terms".* FROM "coalescing_panda_terms" ORDER BY "coalescing_panda_terms"."id" DESC LIMIT 1[0m
|
477
|
-
[1m[35m (0.1ms)[0m begin transaction
|
478
|
-
[1m[36mSQL (1.3ms)[0m [1mUPDATE "coalescing_panda_terms" SET "coalescing_panda_lti_account_id" = ?, "updated_at" = ? WHERE "coalescing_panda_terms"."id" = 2[0m [["coalescing_panda_lti_account_id", 2], ["updated_at", Thu, 20 Nov 2014 18:24:53 UTC +00:00]]
|
479
|
-
[1m[35m (6.7ms)[0m commit transaction
|
480
|
-
[1m[36mCoalescingPanda::LtiAccount Load (0.3ms)[0m [1mSELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
481
|
-
[1m[35mCoalescingPanda::Term Load (0.2ms)[0m SELECT "coalescing_panda_terms".* FROM "coalescing_panda_terms" WHERE "coalescing_panda_terms"."coalescing_panda_lti_account_id" = ? [["coalescing_panda_lti_account_id", 2]]
|
482
|
-
[1m[36mCoalescingPanda::Course Load (0.2ms)[0m [1mSELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."coalescing_panda_lti_account_id" = ?[0m [["coalescing_panda_lti_account_id", 2]]
|
483
|
-
[1m[35mCoalescingPanda::LtiAccount Load (0.2ms)[0m SELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."id" = ? LIMIT 1 [["id", 2]]
|
484
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
485
|
-
[1m[35mSQL (0.5ms)[0m UPDATE "coalescing_panda_courses" SET "coalescing_panda_term_id" = ?, "updated_at" = ? WHERE "coalescing_panda_courses"."id" = 1 [["coalescing_panda_term_id", 2], ["updated_at", Thu, 20 Nov 2014 18:25:59 UTC +00:00]]
|
486
|
-
[1m[36m (6.8ms)[0m [1mcommit transaction[0m
|
487
|
-
[1m[35mCoalescingPanda::Course Load (0.3ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 1]]
|
488
|
-
[1m[36mCoalescingPanda::Term Load (0.3ms)[0m [1mSELECT "coalescing_panda_terms".* FROM "coalescing_panda_terms" WHERE "coalescing_panda_terms"."id" = ? LIMIT 1[0m [["id", 2]]
|
489
|
-
[1m[35mCoalescingPanda::Section Load (0.2ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]
|
490
|
-
[1m[36mCoalescingPanda::Assignment Load (0.2ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ?[0m [["coalescing_panda_course_id", 1]]
|
491
|
-
[1m[35m (0.1ms)[0m begin transaction
|
492
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "coalescing_panda_assignments" ("coalescing_panda_course_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["coalescing_panda_course_id", 1], ["created_at", Thu, 20 Nov 2014 18:26:23 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 18:26:23 UTC +00:00]]
|
493
|
-
[1m[35m (6.8ms)[0m commit transaction
|
494
|
-
[1m[36mCoalescingPanda::Course Load (0.2ms)[0m [1mSELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1[0m [["id", 1]]
|
495
|
-
[1m[35mCoalescingPanda::Assignment Load (0.2ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]
|
496
|
-
[1m[36mCoalescingPanda::Course Load (0.1ms)[0m [1mSELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" ORDER BY "coalescing_panda_courses"."id" DESC LIMIT 1[0m
|
497
|
-
[1m[35mCoalescingPanda::User Load (2.2ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]
|
498
|
-
[1m[36mCoalescingPanda::Section Load (0.3ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? ORDER BY "coalescing_panda_sections"."id" ASC LIMIT 1[0m [["coalescing_panda_course_id", 1]]
|
499
|
-
[1m[35mCoalescingPanda::Course Load (0.2ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 1]]
|
500
|
-
[1m[36mCoalescingPanda::Enrollment Load (0.2ms)[0m [1mSELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_section_id" = ?[0m [["coalescing_panda_section_id", 1]]
|
501
|
-
[1m[35mCoalescingPanda::User Load (0.3ms)[0m SELECT "coalescing_panda_users".* FROM "coalescing_panda_users" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_users"."id" = "coalescing_panda_enrollments"."coalescing_panda_user_id" WHERE "coalescing_panda_enrollments"."coalescing_panda_section_id" = ? [["coalescing_panda_section_id", 1]]
|
502
|
-
[1m[36mCoalescingPanda::User Load (0.2ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
503
|
-
[1m[35mCoalescingPanda::Section Load (0.3ms)[0m SELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" WHERE "coalescing_panda_sections"."id" = ? LIMIT 1 [["id", 1]]
|
504
|
-
[1m[36mCoalescingPanda::LtiAccount Load (0.2ms)[0m [1mSELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
505
|
-
[1m[35mCoalescingPanda::Enrollment Load (0.3ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" WHERE "coalescing_panda_enrollments"."coalescing_panda_user_id" = ? [["coalescing_panda_user_id", 1]]
|
506
|
-
[1m[36mCoalescingPanda::Submission Load (0.2ms)[0m [1mSELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" WHERE "coalescing_panda_submissions"."coalescing_panda_user_id" = ?[0m [["coalescing_panda_user_id", 1]]
|
507
|
-
[1m[35m (0.1ms)[0m begin transaction
|
508
|
-
[1m[36mSQL (1.5ms)[0m [1mINSERT INTO "coalescing_panda_submissions" ("coalescing_panda_user_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["coalescing_panda_user_id", 1], ["created_at", Thu, 20 Nov 2014 18:29:38 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 18:29:38 UTC +00:00]]
|
509
|
-
[1m[35m (7.0ms)[0m commit transaction
|
510
|
-
[1m[36mCoalescingPanda::User Load (0.2ms)[0m [1mSELECT "coalescing_panda_users".* FROM "coalescing_panda_users" WHERE "coalescing_panda_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
511
|
-
[1m[35mCoalescingPanda::Submission Load (0.2ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" WHERE "coalescing_panda_submissions"."coalescing_panda_user_id" = ? [["coalescing_panda_user_id", 1]]
|
512
|
-
[1m[36mCoalescingPanda::Section Load (0.3ms)[0m [1mSELECT "coalescing_panda_sections".* FROM "coalescing_panda_sections" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_sections"."id" = "coalescing_panda_enrollments"."coalescing_panda_section_id" WHERE "coalescing_panda_enrollments"."coalescing_panda_user_id" = ?[0m [["coalescing_panda_user_id", 1]]
|
513
|
-
[1m[35mCoalescingPanda::Course Load (0.3ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_courses"."id" = "coalescing_panda_sections"."coalescing_panda_course_id" INNER JOIN "coalescing_panda_enrollments" ON "coalescing_panda_sections"."id" = "coalescing_panda_enrollments"."coalescing_panda_section_id" WHERE "coalescing_panda_enrollments"."coalescing_panda_user_id" = ? [["coalescing_panda_user_id", 1]]
|
514
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
515
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "coalescing_panda_assignments" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 20 Nov 2014 18:31:07 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 18:31:07 UTC +00:00]]
|
516
|
-
[1m[36m (6.9ms)[0m [1mcommit transaction[0m
|
517
|
-
[1m[35mCoalescingPanda::Submission Load (0.3ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" WHERE "coalescing_panda_submissions"."id" = ? LIMIT 1 [["id", 1]]
|
518
|
-
[1m[36mCoalescingPanda::Assignment Load (0.3ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" ORDER BY "coalescing_panda_assignments"."id" DESC LIMIT 1[0m
|
519
|
-
[1m[35m (0.1ms)[0m begin transaction
|
520
|
-
[1m[36mSQL (0.5ms)[0m [1mUPDATE "coalescing_panda_assignments" SET "coalescing_panda_course_id" = ?, "updated_at" = ? WHERE "coalescing_panda_assignments"."id" = 2[0m [["coalescing_panda_course_id", 1], ["updated_at", Thu, 20 Nov 2014 18:31:57 UTC +00:00]]
|
521
|
-
[1m[35m (6.8ms)[0m commit 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)
|
522
192
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
523
|
-
[1m[
|
524
|
-
[1m[36m (
|
525
|
-
[1m[
|
526
|
-
[1m[
|
527
|
-
|
528
|
-
[1m[36mCoalescingPanda::Course Load (0.2ms)[0m [1mSELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1[0m [["id", 1]]
|
529
|
-
[1m[35mCoalescingPanda::Submission Load (0.2ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" WHERE "coalescing_panda_submissions"."coalescing_panda_assignment_id" = ? [["coalescing_panda_assignment_id", 2]]
|
530
|
-
[1m[36mCoalescingPanda::Course Load (0.1ms)[0m [1mSELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" ORDER BY "coalescing_panda_courses"."id" DESC LIMIT 1[0m
|
531
|
-
[1m[35mCoalescingPanda::Enrollment Load (1.7ms)[0m SELECT "coalescing_panda_enrollments".* FROM "coalescing_panda_enrollments" INNER JOIN "coalescing_panda_sections" ON "coalescing_panda_enrollments"."coalescing_panda_section_id" = "coalescing_panda_sections"."id" WHERE "coalescing_panda_sections"."coalescing_panda_course_id" = ? [["coalescing_panda_course_id", 1]]
|
532
|
-
[1m[36mCoalescingPanda::Assignment Load (0.1ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" ORDER BY "coalescing_panda_assignments"."id" DESC LIMIT 1[0m
|
533
|
-
[1m[35mCoalescingPanda::Course Load (1.5ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 1]]
|
534
|
-
[1m[36mCoalescingPanda::LtiAccount Load (0.1ms)[0m [1mSELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
535
|
-
[1m[35mCoalescingPanda::Submission Load (0.1ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" ORDER BY "coalescing_panda_submissions"."id" DESC LIMIT 1
|
536
|
-
[1m[36mCoalescingPanda::Assignment Load (0.3ms)[0m [1mSELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."id" = ? LIMIT 1[0m [["id", 2]]
|
537
|
-
[1m[35mCoalescingPanda::Course Load (0.1ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."id" = ? LIMIT 1 [["id", 1]]
|
538
|
-
[1m[36mCoalescingPanda::LtiAccount Load (0.1ms)[0m [1mSELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."id" = ? LIMIT 1[0m [["id", 2]]
|
539
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
540
|
-
Migrating to AddCanvasAccountIdToLtiAccount (20141120205729)
|
541
|
-
[1m[35m (0.0ms)[0m begin transaction
|
542
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "coalescing_panda_lti_accounts" ADD "canvas_account_id" varchar(255)[0m
|
543
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120205729"]]
|
544
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
545
|
-
Migrating to CreateCoalescingPandaCanvasBatches (20141121174846)
|
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)
|
546
198
|
[1m[35m (0.0ms)[0m begin transaction
|
547
|
-
|
548
|
-
[1m[
|
549
|
-
[1m[
|
550
|
-
[1m[
|
551
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
552
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
553
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
554
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
555
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
556
|
-
Migrating to CreateDelayedJobs (20141124160857)
|
557
|
-
[1m[35m (0.1ms)[0m begin transaction
|
558
|
-
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
559
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")
|
560
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141124160857"]]
|
561
|
-
[1m[35m (0.9ms)[0m commit transaction
|
562
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
563
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
564
|
-
Migrating to AddTypeToEnrollments (20141125185516)
|
565
|
-
[1m[35m (0.1ms)[0m begin transaction
|
566
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "enrollments" ADD "type" varchar(255)[0m
|
567
|
-
SQLite3::SQLException: no such table: enrollments: ALTER TABLE "enrollments" ADD "type" varchar(255)
|
568
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
569
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
570
|
-
Migrating to AddTypeToEnrollments (20141125185516)
|
571
|
-
[1m[35m (0.1ms)[0m begin transaction
|
572
|
-
[1m[36m (0.5ms)[0m [1mALTER TABLE "coalescing_panda_enrollments" ADD "type" varchar(255)[0m
|
573
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141125185516"]]
|
574
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
575
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
576
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
577
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
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
|
578
203
|
FROM sqlite_master
|
579
|
-
WHERE name='
|
204
|
+
WHERE name='index_assignment_group_course' AND type='index'
|
580
205
|
UNION ALL
|
581
206
|
SELECT sql
|
582
207
|
FROM sqlite_temp_master
|
583
|
-
WHERE name='
|
584
|
-
|
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"
|
585
251
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
586
252
|
FROM sqlite_master
|
587
|
-
WHERE name='
|
253
|
+
WHERE name='index_assignment_group_context' AND type='index'
|
588
254
|
UNION ALL
|
589
255
|
SELECT sql
|
590
256
|
FROM sqlite_temp_master
|
591
|
-
WHERE name='
|
257
|
+
WHERE name='index_assignment_group_context' AND type='index'
|
592
258
|
[0m
|
593
259
|
[1m[35m (0.1ms)[0m SELECT sql
|
594
260
|
FROM sqlite_master
|
595
|
-
WHERE name='
|
261
|
+
WHERE name='index_assignment_group_course' AND type='index'
|
596
262
|
UNION ALL
|
597
263
|
SELECT sql
|
598
264
|
FROM sqlite_temp_master
|
599
|
-
WHERE name='
|
265
|
+
WHERE name='index_assignment_group_course' AND type='index'
|
600
266
|
|
601
267
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
602
268
|
FROM sqlite_master
|
603
|
-
WHERE name='
|
269
|
+
WHERE name='index_assignments_course' AND type='index'
|
604
270
|
UNION ALL
|
605
271
|
SELECT sql
|
606
272
|
FROM sqlite_temp_master
|
607
|
-
WHERE name='
|
273
|
+
WHERE name='index_assignments_course' AND type='index'
|
608
274
|
[0m
|
609
275
|
[1m[35m (0.1ms)[0m SELECT sql
|
610
276
|
FROM sqlite_master
|
611
|
-
WHERE name='
|
277
|
+
WHERE name='index_coalescing_panda_courses_on_sis_id' AND type='index'
|
612
278
|
UNION ALL
|
613
279
|
SELECT sql
|
614
280
|
FROM sqlite_temp_master
|
615
|
-
WHERE name='
|
281
|
+
WHERE name='index_coalescing_panda_courses_on_sis_id' AND type='index'
|
616
282
|
|
617
283
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
618
284
|
FROM sqlite_master
|
@@ -640,91 +306,91 @@ Migrating to AddTypeToEnrollments (20141125185516)
|
|
640
306
|
[0m
|
641
307
|
[1m[35m (0.1ms)[0m SELECT sql
|
642
308
|
FROM sqlite_master
|
643
|
-
WHERE name='
|
309
|
+
WHERE name='index_enrollments_user_and_section' AND type='index'
|
644
310
|
UNION ALL
|
645
311
|
SELECT sql
|
646
312
|
FROM sqlite_temp_master
|
647
|
-
WHERE name='
|
313
|
+
WHERE name='index_enrollments_user_and_section' AND type='index'
|
648
314
|
|
649
315
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
650
316
|
FROM sqlite_master
|
651
|
-
WHERE name='
|
317
|
+
WHERE name='index_group_categories_context_and_context_type' AND type='index'
|
652
318
|
UNION ALL
|
653
319
|
SELECT sql
|
654
320
|
FROM sqlite_temp_master
|
655
|
-
WHERE name='
|
321
|
+
WHERE name='index_group_categories_context_and_context_type' AND type='index'
|
656
322
|
[0m
|
657
323
|
[1m[35m (0.1ms)[0m SELECT sql
|
658
324
|
FROM sqlite_master
|
659
|
-
WHERE name='
|
325
|
+
WHERE name='index_group_memberships_user_and_group' AND type='index'
|
660
326
|
UNION ALL
|
661
327
|
SELECT sql
|
662
328
|
FROM sqlite_temp_master
|
663
|
-
WHERE name='
|
329
|
+
WHERE name='index_group_memberships_user_and_group' AND type='index'
|
664
330
|
|
665
331
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
666
332
|
FROM sqlite_master
|
667
|
-
WHERE name='
|
333
|
+
WHERE name='index_groups_context_and_group_id' AND type='index'
|
668
334
|
UNION ALL
|
669
335
|
SELECT sql
|
670
336
|
FROM sqlite_temp_master
|
671
|
-
WHERE name='
|
337
|
+
WHERE name='index_groups_context_and_group_id' AND type='index'
|
672
338
|
[0m
|
673
339
|
[1m[35m (0.1ms)[0m SELECT sql
|
674
340
|
FROM sqlite_master
|
675
|
-
WHERE name='
|
341
|
+
WHERE name='index_coalescing_panda_sections_on_sis_id' AND type='index'
|
676
342
|
UNION ALL
|
677
343
|
SELECT sql
|
678
344
|
FROM sqlite_temp_master
|
679
|
-
WHERE name='
|
345
|
+
WHERE name='index_coalescing_panda_sections_on_sis_id' AND type='index'
|
680
346
|
|
681
347
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
682
348
|
FROM sqlite_master
|
683
|
-
WHERE name='
|
349
|
+
WHERE name='index_sections_course' AND type='index'
|
684
350
|
UNION ALL
|
685
351
|
SELECT sql
|
686
352
|
FROM sqlite_temp_master
|
687
|
-
WHERE name='
|
353
|
+
WHERE name='index_sections_course' AND type='index'
|
688
354
|
[0m
|
689
355
|
[1m[35m (0.1ms)[0m SELECT sql
|
690
356
|
FROM sqlite_master
|
691
|
-
WHERE name='
|
357
|
+
WHERE name='index_coalescing_panda_submissions_on_canvas_submission_id' AND type='index'
|
692
358
|
UNION ALL
|
693
359
|
SELECT sql
|
694
360
|
FROM sqlite_temp_master
|
695
|
-
WHERE name='
|
361
|
+
WHERE name='index_coalescing_panda_submissions_on_canvas_submission_id' AND type='index'
|
696
362
|
|
697
363
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
698
364
|
FROM sqlite_master
|
699
|
-
WHERE name='
|
365
|
+
WHERE name='index_submissions_user_and_assignment' AND type='index'
|
700
366
|
UNION ALL
|
701
367
|
SELECT sql
|
702
368
|
FROM sqlite_temp_master
|
703
|
-
WHERE name='
|
369
|
+
WHERE name='index_submissions_user_and_assignment' AND type='index'
|
704
370
|
[0m
|
705
371
|
[1m[35m (0.1ms)[0m SELECT sql
|
706
372
|
FROM sqlite_master
|
707
|
-
WHERE name='
|
373
|
+
WHERE name='index_coalescing_panda_terms_on_sis_id' AND type='index'
|
708
374
|
UNION ALL
|
709
375
|
SELECT sql
|
710
376
|
FROM sqlite_temp_master
|
711
|
-
WHERE name='
|
377
|
+
WHERE name='index_coalescing_panda_terms_on_sis_id' AND type='index'
|
712
378
|
|
713
379
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
714
380
|
FROM sqlite_master
|
715
|
-
WHERE name='
|
381
|
+
WHERE name='index_terms_account' AND type='index'
|
716
382
|
UNION ALL
|
717
383
|
SELECT sql
|
718
384
|
FROM sqlite_temp_master
|
719
|
-
WHERE name='
|
385
|
+
WHERE name='index_terms_account' AND type='index'
|
720
386
|
[0m
|
721
387
|
[1m[35m (0.1ms)[0m SELECT sql
|
722
388
|
FROM sqlite_master
|
723
|
-
WHERE name='
|
389
|
+
WHERE name='index_coalescing_panda_users_on_sis_id' AND type='index'
|
724
390
|
UNION ALL
|
725
391
|
SELECT sql
|
726
392
|
FROM sqlite_temp_master
|
727
|
-
WHERE name='
|
393
|
+
WHERE name='index_coalescing_panda_users_on_sis_id' AND type='index'
|
728
394
|
|
729
395
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
730
396
|
FROM sqlite_master
|
@@ -742,166 +408,135 @@ Migrating to AddTypeToEnrollments (20141125185516)
|
|
742
408
|
FROM sqlite_temp_master
|
743
409
|
WHERE name='delayed_jobs_priority' AND type='index'
|
744
410
|
|
745
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.
|
746
|
-
|
747
|
-
|
748
|
-
[1m[36m (0.
|
749
|
-
[1m[
|
750
|
-
[1m[36m (0.
|
751
|
-
Migrating to AddGroupCategoryIdToAssignment (20150106175418)
|
752
|
-
[1m[35m (0.1ms)[0m begin transaction
|
753
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "coalescing_panda_assignments" ADD "group_category_id" integer[0m
|
754
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "coalescing_panda_assignments" ADD "grade_group_students_individually" boolean
|
755
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150106175418"]]
|
756
|
-
[1m[35m (0.7ms)[0m commit transaction
|
757
|
-
Migrating to AddPublishedToAssignments (20150106180131)
|
758
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
759
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "coalescing_panda_assignments" ADD "published" boolean
|
760
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150106180131"]]
|
761
|
-
[1m[35m (0.7ms)[0m commit transaction
|
762
|
-
Migrating to CreateCoalescingPandaGroups (20150107205405)
|
763
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
764
|
-
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/ctanner/code/coalescing_panda/db/migrate/20150107205405_create_coalescing_panda_groups.rb:11)
|
765
|
-
[1m[35m (0.4ms)[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)
|
766
|
-
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
767
|
-
[1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "index_groups_context_and_group_id" ON "coalescing_panda_groups" ("context_id", "canvas_group_id")
|
768
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150107205405"]]
|
769
|
-
[1m[35m (0.9ms)[0m commit transaction
|
770
|
-
Migrating to CreateCoalescingPandaGroupMemberships (20150107205413)
|
771
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
772
|
-
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/ctanner/code/coalescing_panda/db/migrate/20150107205413_create_coalescing_panda_group_memberships.rb:9)
|
773
|
-
[1m[35m (0.3ms)[0m 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)
|
774
|
-
[1m[36m (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_group_memberships_user_and_group" ON "coalescing_panda_group_memberships" ("coalescing_panda_group_id", "coalescing_panda_user_id")[0m
|
775
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150107205413"]]
|
776
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
777
|
-
Migrating to AddContextToCanvasBatch (20150210180516)
|
778
|
-
[1m[35m (0.1ms)[0m begin transaction
|
779
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "coalescing_panda_canvas_batches" ADD "context_id" integer[0m
|
780
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "coalescing_panda_canvas_batches" ADD "context_type" varchar
|
781
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150210180516"]]
|
782
|
-
[1m[35m (0.7ms)[0m commit transaction
|
783
|
-
Migrating to CreateCoalescingPandaAssignmentGroups (20150506183335)
|
784
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
785
|
-
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/ctanner/code/coalescing_panda/db/migrate/20150506183335_create_coalescing_panda_assignment_groups.rb:12)
|
786
|
-
[1m[35m (0.3ms)[0m 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)
|
787
|
-
[1m[36m (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_assignment_group_course" ON "coalescing_panda_assignment_groups" ("coalescing_panda_course_id", "canvas_assignment_group_id")[0m
|
788
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
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
|
789
417
|
FROM sqlite_master
|
790
|
-
WHERE name='
|
418
|
+
WHERE name='index_groups_context_and_group_id' AND type='index'
|
791
419
|
UNION ALL
|
792
420
|
SELECT sql
|
793
421
|
FROM sqlite_temp_master
|
794
|
-
WHERE name='
|
795
|
-
|
796
|
-
[1m[
|
797
|
-
[1m[
|
798
|
-
[1m[
|
799
|
-
|
800
|
-
[1m[35m (0.
|
801
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "coalescing_panda_assignments" ADD "coalescing_panda_assignment_group_id" integer[0m
|
802
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150506192717"]]
|
803
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
804
|
-
Migrating to AddAccountToCanvasBatches (20150526144713)
|
805
|
-
[1m[35m (0.0ms)[0m begin transaction
|
806
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "coalescing_panda_canvas_batches" ADD "coalescing_panda_lti_account_id" integer[0m
|
807
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150526144713"]]
|
808
|
-
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
809
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
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)
|
810
429
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
811
430
|
FROM sqlite_master
|
812
|
-
WHERE name='
|
431
|
+
WHERE name='tindex_groups_context_and_group_id' AND type='index'
|
813
432
|
UNION ALL
|
814
433
|
SELECT sql
|
815
434
|
FROM sqlite_temp_master
|
816
|
-
WHERE name='
|
435
|
+
WHERE name='tindex_groups_context_and_group_id' AND type='index'
|
817
436
|
[0m
|
818
|
-
[1m[35m (0.
|
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
|
819
442
|
FROM sqlite_master
|
820
|
-
WHERE name='
|
443
|
+
WHERE name='index_assignments_course' AND type='index'
|
821
444
|
UNION ALL
|
822
445
|
SELECT sql
|
823
446
|
FROM sqlite_temp_master
|
824
|
-
WHERE name='
|
447
|
+
WHERE name='index_assignments_course' AND type='index'
|
825
448
|
|
826
|
-
[1m[36m (0.1ms)[0m [
|
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
|
827
454
|
FROM sqlite_master
|
828
|
-
WHERE name='
|
455
|
+
WHERE name='tindex_assignments_course' AND type='index'
|
829
456
|
UNION ALL
|
830
457
|
SELECT sql
|
831
458
|
FROM sqlite_temp_master
|
832
|
-
WHERE name='
|
459
|
+
WHERE name='tindex_assignments_course' AND type='index'
|
833
460
|
[0m
|
834
|
-
[1m[35m (0.1ms)[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
|
835
465
|
FROM sqlite_master
|
836
|
-
WHERE name='
|
466
|
+
WHERE name='index_group_categories_context_and_context_type' AND type='index'
|
837
467
|
UNION ALL
|
838
468
|
SELECT sql
|
839
469
|
FROM sqlite_temp_master
|
840
|
-
WHERE name='
|
841
|
-
|
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"
|
842
477
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
843
478
|
FROM sqlite_master
|
844
|
-
WHERE name='
|
479
|
+
WHERE name='index_assignment_group_context' AND type='index'
|
845
480
|
UNION ALL
|
846
481
|
SELECT sql
|
847
482
|
FROM sqlite_temp_master
|
848
|
-
WHERE name='
|
483
|
+
WHERE name='index_assignment_group_context' AND type='index'
|
849
484
|
[0m
|
850
485
|
[1m[35m (0.1ms)[0m SELECT sql
|
851
486
|
FROM sqlite_master
|
852
|
-
WHERE name='
|
487
|
+
WHERE name='index_assignment_group_course' AND type='index'
|
853
488
|
UNION ALL
|
854
489
|
SELECT sql
|
855
490
|
FROM sqlite_temp_master
|
856
|
-
WHERE name='
|
491
|
+
WHERE name='index_assignment_group_course' AND type='index'
|
857
492
|
|
858
493
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
859
494
|
FROM sqlite_master
|
860
|
-
WHERE name='
|
495
|
+
WHERE name='index_assignments_course' AND type='index'
|
861
496
|
UNION ALL
|
862
497
|
SELECT sql
|
863
498
|
FROM sqlite_temp_master
|
864
|
-
WHERE name='
|
499
|
+
WHERE name='index_assignments_course' AND type='index'
|
865
500
|
[0m
|
866
501
|
[1m[35m (0.1ms)[0m SELECT sql
|
867
502
|
FROM sqlite_master
|
868
|
-
WHERE name='
|
503
|
+
WHERE name='index_coalescing_panda_courses_on_sis_id' AND type='index'
|
869
504
|
UNION ALL
|
870
505
|
SELECT sql
|
871
506
|
FROM sqlite_temp_master
|
872
|
-
WHERE name='
|
507
|
+
WHERE name='index_coalescing_panda_courses_on_sis_id' AND type='index'
|
873
508
|
|
874
509
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
875
510
|
FROM sqlite_master
|
876
|
-
WHERE name='
|
511
|
+
WHERE name='index_courses_term' AND type='index'
|
877
512
|
UNION ALL
|
878
513
|
SELECT sql
|
879
514
|
FROM sqlite_temp_master
|
880
|
-
WHERE name='
|
515
|
+
WHERE name='index_courses_term' AND type='index'
|
881
516
|
[0m
|
882
517
|
[1m[35m (0.1ms)[0m SELECT sql
|
883
518
|
FROM sqlite_master
|
884
|
-
WHERE name='
|
519
|
+
WHERE name='index_courses_account' AND type='index'
|
885
520
|
UNION ALL
|
886
521
|
SELECT sql
|
887
522
|
FROM sqlite_temp_master
|
888
|
-
WHERE name='
|
523
|
+
WHERE name='index_courses_account' AND type='index'
|
889
524
|
|
890
525
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
891
526
|
FROM sqlite_master
|
892
|
-
WHERE name='
|
527
|
+
WHERE name='index_coalescing_panda_enrollments_on_sis_id' AND type='index'
|
893
528
|
UNION ALL
|
894
529
|
SELECT sql
|
895
530
|
FROM sqlite_temp_master
|
896
|
-
WHERE name='
|
531
|
+
WHERE name='index_coalescing_panda_enrollments_on_sis_id' AND type='index'
|
897
532
|
[0m
|
898
533
|
[1m[35m (0.1ms)[0m SELECT sql
|
899
534
|
FROM sqlite_master
|
900
|
-
WHERE name='
|
535
|
+
WHERE name='index_enrollments_user_and_section' AND type='index'
|
901
536
|
UNION ALL
|
902
537
|
SELECT sql
|
903
538
|
FROM sqlite_temp_master
|
904
|
-
WHERE name='
|
539
|
+
WHERE name='index_enrollments_user_and_section' AND type='index'
|
905
540
|
|
906
541
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
907
542
|
FROM sqlite_master
|
@@ -929,67 +564,51 @@ Migrating to AddAccountToCanvasBatches (20150526144713)
|
|
929
564
|
[0m
|
930
565
|
[1m[35m (0.1ms)[0m SELECT sql
|
931
566
|
FROM sqlite_master
|
932
|
-
WHERE name='
|
567
|
+
WHERE name='index_sections_course' AND type='index'
|
933
568
|
UNION ALL
|
934
569
|
SELECT sql
|
935
570
|
FROM sqlite_temp_master
|
936
|
-
WHERE name='
|
571
|
+
WHERE name='index_sections_course' AND type='index'
|
937
572
|
|
938
573
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
939
|
-
FROM sqlite_master
|
940
|
-
WHERE name='index_coalescing_panda_sections_on_coalescing_panda_course_id' AND type='index'
|
941
|
-
UNION ALL
|
942
|
-
SELECT sql
|
943
|
-
FROM sqlite_temp_master
|
944
|
-
WHERE name='index_coalescing_panda_sections_on_coalescing_panda_course_id' AND type='index'
|
945
|
-
[0m
|
946
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
947
574
|
FROM sqlite_master
|
948
575
|
WHERE name='index_coalescing_panda_submissions_on_canvas_submission_id' AND type='index'
|
949
576
|
UNION ALL
|
950
577
|
SELECT sql
|
951
578
|
FROM sqlite_temp_master
|
952
579
|
WHERE name='index_coalescing_panda_submissions_on_canvas_submission_id' AND type='index'
|
953
|
-
|
954
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
955
|
-
FROM sqlite_master
|
956
|
-
WHERE name='index_submissions_user_and_assignment' AND type='index'
|
957
|
-
UNION ALL
|
958
|
-
SELECT sql
|
959
|
-
FROM sqlite_temp_master
|
960
|
-
WHERE name='index_submissions_user_and_assignment' AND type='index'
|
961
580
|
[0m
|
962
581
|
[1m[35m (0.1ms)[0m SELECT sql
|
963
582
|
FROM sqlite_master
|
964
|
-
WHERE name='
|
583
|
+
WHERE name='index_submissions_user_and_assignment' AND type='index'
|
965
584
|
UNION ALL
|
966
585
|
SELECT sql
|
967
586
|
FROM sqlite_temp_master
|
968
|
-
WHERE name='
|
587
|
+
WHERE name='index_submissions_user_and_assignment' AND type='index'
|
969
588
|
|
970
589
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
971
590
|
FROM sqlite_master
|
972
|
-
WHERE name='
|
591
|
+
WHERE name='index_coalescing_panda_terms_on_sis_id' AND type='index'
|
973
592
|
UNION ALL
|
974
593
|
SELECT sql
|
975
594
|
FROM sqlite_temp_master
|
976
|
-
WHERE name='
|
595
|
+
WHERE name='index_coalescing_panda_terms_on_sis_id' AND type='index'
|
977
596
|
[0m
|
978
597
|
[1m[35m (0.1ms)[0m SELECT sql
|
979
598
|
FROM sqlite_master
|
980
|
-
WHERE name='
|
599
|
+
WHERE name='index_terms_account' AND type='index'
|
981
600
|
UNION ALL
|
982
601
|
SELECT sql
|
983
602
|
FROM sqlite_temp_master
|
984
|
-
WHERE name='
|
603
|
+
WHERE name='index_terms_account' AND type='index'
|
985
604
|
|
986
605
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
987
606
|
FROM sqlite_master
|
988
|
-
WHERE name='
|
607
|
+
WHERE name='index_coalescing_panda_users_on_sis_id' AND type='index'
|
989
608
|
UNION ALL
|
990
609
|
SELECT sql
|
991
610
|
FROM sqlite_temp_master
|
992
|
-
WHERE name='
|
611
|
+
WHERE name='index_coalescing_panda_users_on_sis_id' AND type='index'
|
993
612
|
[0m
|
994
613
|
[1m[35m (0.1ms)[0m SELECT sql
|
995
614
|
FROM sqlite_master
|