coalescing_panda 4.2.0 → 4.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/models/coalescing_panda/workers/course_miner.rb +1 -1
- data/app/models/coalescing_panda/workers/provisioning_miner.rb +81 -0
- data/lib/coalescing_panda/version.rb +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +1201 -256
- data/spec/dummy/log/test.log +64123 -39536
- data/spec/helpers/coalescing_panda/canvas_batches_helper_spec.rb +17 -0
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 519501033f3c78d2c49f30a9a523065e251feb57
|
4
|
+
data.tar.gz: 5aec7906435b2e5ada50ff028781ec7db8a6e17a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9424f32281fb6152de9bd0b23a40dd0c9261f8ff78b8d9d0a9777a950a30ee551f42327d4d94a02ce03714985ba841a9e81a68d9490c9fbf4b5b9e91858d909
|
7
|
+
data.tar.gz: 294f06a91e77b402989fda68f71e7350c28e9eca13f519c1b27513bea9de893cac6c5748a5c90a9b66324f1b8229f9cc92f527d21ec933ab38bdf4f903b040d0
|
@@ -270,7 +270,7 @@ class CoalescingPanda::Workers::CourseMiner
|
|
270
270
|
if @options.include?(:soft_delete) && !hard_delete
|
271
271
|
#failsafe in case something was missed
|
272
272
|
begin
|
273
|
-
query.update_all(field.to_sym => 'deleted')
|
273
|
+
query.reorder('').update_all(field.to_sym => 'deleted')
|
274
274
|
rescue => e
|
275
275
|
Rails.logger.error("Error deleting with soft delete, attempting hard")
|
276
276
|
delete_collection(query, true)
|
@@ -0,0 +1,81 @@
|
|
1
|
+
require 'open-uri'
|
2
|
+
require 'open_uri_redirections'
|
3
|
+
require 'zip'
|
4
|
+
|
5
|
+
class CoalescingPanda::Workers::ProvisioningMiner
|
6
|
+
attr_accessor :account, :user_ids, :course_ids, :section_ids, :enrollment_ids
|
7
|
+
|
8
|
+
def initialize(account_id)
|
9
|
+
@account = Account.find(account_id)
|
10
|
+
@user_ids = [];
|
11
|
+
@course_ids = [];
|
12
|
+
@section_ids = [];
|
13
|
+
@enrollment_ids = [];
|
14
|
+
end
|
15
|
+
|
16
|
+
def client
|
17
|
+
Bearcat::Client.new(prefix: account.api_domain, token: account.api_token)
|
18
|
+
end
|
19
|
+
|
20
|
+
def perform
|
21
|
+
Delayed::Worker.logger.debug "Downloading Provisioning Report"
|
22
|
+
params = {
|
23
|
+
'parameters[enrollments]' => true, 'parameters[users]' => true,
|
24
|
+
'parameters[courses]' => true, 'parameters[sections]' => true,
|
25
|
+
'parameters[xlist]' => true, 'parameters[include_deleted]' => true
|
26
|
+
}
|
27
|
+
url = download_report(:provisioning_csv, params)
|
28
|
+
open(url, :allow_redirections => :safe) do |file|
|
29
|
+
begin
|
30
|
+
Delayed::Worker.logger.debug "Processing Provisioning Report"
|
31
|
+
{users: User, courses: Course, sections: Section, enrollments: Enrollment, xlist: Section}.each do |k, v|
|
32
|
+
process_zipped_csv_file(file, "#{k}.csv") do |row|
|
33
|
+
begin
|
34
|
+
id = v.create_from_csv(account, row)
|
35
|
+
self.instance_variable_get("@#{v.to_s.downcase}_ids") << id if id.present?
|
36
|
+
rescue => exception
|
37
|
+
Delayed::Worker.logger.debug exception
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
ensure
|
42
|
+
file.close unless file.nil?
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
def delete_records
|
48
|
+
User.where.not(id: user_ids).destroy_all
|
49
|
+
Course.where.not(id: course_ids).destroy_all
|
50
|
+
Section.where.not(id: section_ids).destroy_all
|
51
|
+
Enrollment.where.not(id: enrollment_ids).destroy_all
|
52
|
+
end
|
53
|
+
|
54
|
+
def process_zipped_csv_file(zip, file)
|
55
|
+
Zip::InputStream.open(zip) do |io|
|
56
|
+
while entry = io.get_next_entry
|
57
|
+
if entry.name == file #io.read
|
58
|
+
process_csv(io.read) { |row| yield(row) }
|
59
|
+
break
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
def process_csv(csv)
|
66
|
+
csv_options = {:headers => true, :return_headers => false, :header_converters => :symbol}
|
67
|
+
CSV.parse(csv, csv_options) { |row| yield(row) }
|
68
|
+
end
|
69
|
+
|
70
|
+
def download_report(report_name, report_params)
|
71
|
+
report = client.start_report(account.canvas_account_id, report_name, report_params)
|
72
|
+
report_id = report['id']
|
73
|
+
loop do
|
74
|
+
sleep 20
|
75
|
+
report = client.report_status(account.canvas_account_id, report_name, report_id)
|
76
|
+
break if report['status'] == 'complete' || report['status'] == 'error'
|
77
|
+
end
|
78
|
+
url = "#{account.api_domain}/files#{report['attachment']['url'].split('files').last}"
|
79
|
+
end
|
80
|
+
|
81
|
+
end
|
Binary file
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -1,252 +1,1043 @@
|
|
1
|
-
[1m[36m (1.
|
2
|
-
[1m[35m (0.
|
3
|
-
[1m[
|
4
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
5
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
|
40
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
41
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
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
|
6
85
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7
|
-
|
8
|
-
[1m[
|
9
|
-
[1m[
|
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]]
|
98
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
99
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "created_at", "updated_at") VALUES (?, ?, ?) [["coalescing_panda_lti_account_id", 1], ["created_at", Thu, 20 Nov 2014 17:36:53 UTC +00:00], ["updated_at", Thu, 20 Nov 2014 17:36:53 UTC +00:00]]
|
100
|
+
[1m[36m (6.6ms)[0m [1mcommit transaction[0m
|
101
|
+
[1m[35m (0.1ms)[0m begin transaction
|
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]]
|
10
121
|
[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
|
11
143
|
Migrating to CreateCoalescingPandaLtiAccounts (20131118211442)
|
12
|
-
[1m[
|
13
|
-
|
14
|
-
[1m[
|
15
|
-
[1m[
|
144
|
+
[1m[35m (0.1ms)[0m begin transaction
|
145
|
+
[1m[36m (0.4ms)[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
|
146
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131118211442"]]
|
147
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
148
|
+
Migrating to CreateCoalescingPandaLtiNonces (20131119165343)
|
149
|
+
[1m[35m (0.1ms)[0m begin transaction
|
150
|
+
[1m[36m (0.4ms)[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
|
151
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131119165343"]]
|
152
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
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
|
158
|
+
Migrating to CreateCoalescingPandaSessions (20140904223159)
|
159
|
+
[1m[35m (0.0ms)[0m begin transaction
|
160
|
+
[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
|
161
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140904223159"]]
|
162
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
163
|
+
Migrating to CreateCoalescingPandaTerms (20141119225319)
|
164
|
+
[1m[35m (0.0ms)[0m begin transaction
|
165
|
+
[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
|
166
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_terms_on_canvas_term_id" ON "coalescing_panda_terms" ("canvas_term_id")
|
167
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_terms_on_sis_id" ON "coalescing_panda_terms" ("sis_id")[0m
|
168
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141119225319"]]
|
169
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
170
|
+
Migrating to CreateCoalescingPandaCourses (20141119225721)
|
171
|
+
[1m[35m (0.0ms)[0m begin transaction
|
172
|
+
[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
|
173
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_courses_on_canvas_course_id" ON "coalescing_panda_courses" ("canvas_course_id")
|
174
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_courses_on_sis_id" ON "coalescing_panda_courses" ("sis_id")[0m
|
175
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141119225721"]]
|
176
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
177
|
+
Migrating to CreateCoalescingPandaSections (20141120151432)
|
178
|
+
[1m[35m (0.1ms)[0m begin transaction
|
179
|
+
[1m[36m (0.6ms)[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
|
180
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_sections_on_canvas_section_id" ON "coalescing_panda_sections" ("canvas_section_id")
|
181
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_sections_on_sis_id" ON "coalescing_panda_sections" ("sis_id")[0m
|
182
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120151432"]]
|
183
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
184
|
+
Migrating to CreateCoalescingPandaAssignments (20141120151940)
|
185
|
+
[1m[35m (0.1ms)[0m begin transaction
|
186
|
+
[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
|
187
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_assignments_on_canvas_assignment_id" ON "coalescing_panda_assignments" ("canvas_assignment_id")
|
188
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_assignments_on_sis_id" ON "coalescing_panda_assignments" ("sis_id")[0m
|
189
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120151940"]]
|
190
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
191
|
+
Migrating to CreateCoalescingPandaUsers (20141120152458)
|
192
|
+
[1m[35m (0.0ms)[0m begin transaction
|
193
|
+
[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
|
194
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_users_on_canvas_user_id" ON "coalescing_panda_users" ("canvas_user_id")
|
195
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_users_on_sis_id" ON "coalescing_panda_users" ("sis_id")[0m
|
196
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120152458"]]
|
197
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
198
|
+
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
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
206
|
+
[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)
|
207
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_enrollments_on_canvas_enrollment_id" ON "coalescing_panda_enrollments" ("canvas_enrollment_id")[0m
|
208
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_enrollments_on_sis_id" ON "coalescing_panda_enrollments" ("sis_id")
|
209
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141120153135"]]
|
16
210
|
[1m[35m (0.6ms)[0m commit transaction
|
211
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
212
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
213
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
214
|
+
[1m[36m (7.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
215
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
216
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
217
|
+
Migrating to CreateCoalescingPandaCanvasApiAuths (20131114150001)
|
218
|
+
[1m[35m (0.1ms)[0m begin transaction
|
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
|
17
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"]]
|
278
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
279
|
+
Migrating to CreateCoalescingPandaSections (20141120151432)
|
280
|
+
[1m[35m (0.0ms)[0m begin transaction
|
281
|
+
[1m[36m (0.3ms)[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
|
282
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_sections_on_coalescing_panda_course_id" ON "coalescing_panda_sections" ("coalescing_panda_course_id")
|
283
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_sections_on_canvas_section_id" ON "coalescing_panda_sections" ("canvas_section_id")[0m
|
284
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_sections_on_sis_id" ON "coalescing_panda_sections" ("sis_id")
|
285
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141120151432"]]
|
286
|
+
[1m[35m (0.8ms)[0m commit transaction
|
287
|
+
Migrating to CreateCoalescingPandaAssignments (20141120151940)
|
288
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
289
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "coalescing_panda_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer, "name" varchar(255), "description" varchar(255), "canvas_assignment_id" varchar(255), "sis_id" varchar(255), "workflow_state" varchar(255), "points_possible" float, "due_at" datetime, "unlock_at" datetime, "lock_at" datetime, "created_at" datetime, "updated_at" datetime)
|
290
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
291
|
+
[1m[36m (6.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
292
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
293
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
294
|
+
Migrating to CreateCoalescingPandaCanvasApiAuths (20131114150001)
|
295
|
+
[1m[35m (0.0ms)[0m begin transaction
|
296
|
+
[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
|
297
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131114150001"]]
|
298
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
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"]]
|
325
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
326
|
+
Migrating to CreateCoalescingPandaCourses (20141119225721)
|
327
|
+
[1m[35m (0.0ms)[0m begin transaction
|
328
|
+
[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
|
329
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_courses_account" ON "coalescing_panda_courses" ("coalescing_panda_lti_account_id")
|
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"]]
|
334
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
335
|
+
Migrating to CreateCoalescingPandaSections (20141120151432)
|
336
|
+
[1m[35m (0.0ms)[0m begin transaction
|
337
|
+
[1m[36m (0.2ms)[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
|
338
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_sections_on_coalescing_panda_course_id" ON "coalescing_panda_sections" ("coalescing_panda_course_id")
|
339
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_sections_on_canvas_section_id" ON "coalescing_panda_sections" ("canvas_section_id")[0m
|
340
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_sections_on_sis_id" ON "coalescing_panda_sections" ("sis_id")
|
341
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141120151432"]]
|
342
|
+
[1m[35m (0.8ms)[0m commit transaction
|
343
|
+
Migrating to CreateCoalescingPandaAssignments (20141120151940)
|
344
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
345
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "coalescing_panda_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer, "name" varchar(255), "description" varchar(255), "canvas_assignment_id" varchar(255), "sis_id" varchar(255), "workflow_state" varchar(255), "points_possible" float, "due_at" datetime, "unlock_at" datetime, "lock_at" datetime, "created_at" datetime, "updated_at" datetime)
|
346
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
347
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
348
|
+
Migrating to CreateCoalescingPandaAssignments (20141120151940)
|
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)
|
370
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
371
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "coalescing_panda_submissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_user_id" integer, "coalescing_panda_assignment_id" integer, "url" varchar(255), "grade" varchar(255), "score" varchar(255), "submitted_at" datetime, "workflow_state" varchar(255), "canvas_submission_id" varchar(255), "created_at" datetime, "updated_at" datetime)
|
372
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
373
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
374
|
+
Migrating to CreateCoalescingPandaSubmissions (20141120152546)
|
375
|
+
[1m[35m (0.1ms)[0m begin transaction
|
376
|
+
[1m[36m (0.4ms)[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
|
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)
|
387
|
+
[1m[35m (0.0ms)[0m begin transaction
|
388
|
+
[1m[36m (0.4ms)[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
|
389
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_enrollments_user_and_assignment" ON "coalescing_panda_enrollments" ("coalescing_panda_user_id", "coalescing_panda_section_id")
|
390
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_enrollments_on_canvas_enrollment_id" ON "coalescing_panda_enrollments" ("canvas_enrollment_id")[0m
|
391
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_enrollments_on_sis_id" ON "coalescing_panda_enrollments" ("sis_id")
|
392
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141120153135"]]
|
393
|
+
[1m[35m (7.1ms)[0m commit transaction
|
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
|
522
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
523
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "coalescing_panda_submissions" SET "coalescing_panda_assignment_id" = ?, "updated_at" = ? WHERE "coalescing_panda_submissions"."id" = 1 [["coalescing_panda_assignment_id", 2], ["updated_at", Thu, 20 Nov 2014 18:32:12 UTC +00:00]]
|
524
|
+
[1m[36m (6.8ms)[0m [1mcommit transaction[0m
|
525
|
+
[1m[35mCoalescingPanda::Submission Load (0.2ms)[0m SELECT "coalescing_panda_submissions".* FROM "coalescing_panda_submissions" WHERE "coalescing_panda_submissions"."id" = ? LIMIT 1 [["id", 1]]
|
526
|
+
[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]]
|
527
|
+
[1m[35mCoalescingPanda::Assignment Load (0.2ms)[0m SELECT "coalescing_panda_assignments".* FROM "coalescing_panda_assignments" WHERE "coalescing_panda_assignments"."id" = ? LIMIT 1 [["id", 2]]
|
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)
|
546
|
+
[1m[35m (0.0ms)[0m begin transaction
|
547
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "coalescing_panda_canvas_batches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "percent_complete" float DEFAULT 0.0, "status" varchar(255), "message" text, "created_at" datetime, "updated_at" datetime) [0m
|
548
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141121174846"]]
|
549
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
550
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
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
|
578
|
+
FROM sqlite_master
|
579
|
+
WHERE name='index_coalescing_panda_assignments_on_sis_id' AND type='index'
|
580
|
+
UNION ALL
|
581
|
+
SELECT sql
|
582
|
+
FROM sqlite_temp_master
|
583
|
+
WHERE name='index_coalescing_panda_assignments_on_sis_id' AND type='index'
|
584
|
+
|
585
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
586
|
+
FROM sqlite_master
|
587
|
+
WHERE name='index_coalescing_panda_assignments_on_canvas_assignment_id' AND type='index'
|
588
|
+
UNION ALL
|
589
|
+
SELECT sql
|
590
|
+
FROM sqlite_temp_master
|
591
|
+
WHERE name='index_coalescing_panda_assignments_on_canvas_assignment_id' AND type='index'
|
592
|
+
[0m
|
593
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
594
|
+
FROM sqlite_master
|
595
|
+
WHERE name='index_assignments_course' AND type='index'
|
596
|
+
UNION ALL
|
597
|
+
SELECT sql
|
598
|
+
FROM sqlite_temp_master
|
599
|
+
WHERE name='index_assignments_course' AND type='index'
|
600
|
+
|
601
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
602
|
+
FROM sqlite_master
|
603
|
+
WHERE name='index_coalescing_panda_courses_on_sis_id' AND type='index'
|
604
|
+
UNION ALL
|
605
|
+
SELECT sql
|
606
|
+
FROM sqlite_temp_master
|
607
|
+
WHERE name='index_coalescing_panda_courses_on_sis_id' AND type='index'
|
608
|
+
[0m
|
609
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
610
|
+
FROM sqlite_master
|
611
|
+
WHERE name='index_coalescing_panda_courses_on_canvas_course_id' AND type='index'
|
612
|
+
UNION ALL
|
613
|
+
SELECT sql
|
614
|
+
FROM sqlite_temp_master
|
615
|
+
WHERE name='index_coalescing_panda_courses_on_canvas_course_id' AND type='index'
|
616
|
+
|
617
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
618
|
+
FROM sqlite_master
|
619
|
+
WHERE name='index_courses_term' AND type='index'
|
620
|
+
UNION ALL
|
621
|
+
SELECT sql
|
622
|
+
FROM sqlite_temp_master
|
623
|
+
WHERE name='index_courses_term' AND type='index'
|
624
|
+
[0m
|
625
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
626
|
+
FROM sqlite_master
|
627
|
+
WHERE name='index_courses_account' AND type='index'
|
628
|
+
UNION ALL
|
629
|
+
SELECT sql
|
630
|
+
FROM sqlite_temp_master
|
631
|
+
WHERE name='index_courses_account' AND type='index'
|
632
|
+
|
633
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
634
|
+
FROM sqlite_master
|
635
|
+
WHERE name='index_coalescing_panda_enrollments_on_sis_id' AND type='index'
|
636
|
+
UNION ALL
|
637
|
+
SELECT sql
|
638
|
+
FROM sqlite_temp_master
|
639
|
+
WHERE name='index_coalescing_panda_enrollments_on_sis_id' AND type='index'
|
640
|
+
[0m
|
641
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
642
|
+
FROM sqlite_master
|
643
|
+
WHERE name='index_coalescing_panda_enrollments_on_canvas_enrollment_id' AND type='index'
|
644
|
+
UNION ALL
|
645
|
+
SELECT sql
|
646
|
+
FROM sqlite_temp_master
|
647
|
+
WHERE name='index_coalescing_panda_enrollments_on_canvas_enrollment_id' AND type='index'
|
648
|
+
|
649
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
650
|
+
FROM sqlite_master
|
651
|
+
WHERE name='index_enrollments_user_and_assignment' AND type='index'
|
652
|
+
UNION ALL
|
653
|
+
SELECT sql
|
654
|
+
FROM sqlite_temp_master
|
655
|
+
WHERE name='index_enrollments_user_and_assignment' AND type='index'
|
656
|
+
[0m
|
657
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
658
|
+
FROM sqlite_master
|
659
|
+
WHERE name='index_coalescing_panda_sections_on_sis_id' AND type='index'
|
660
|
+
UNION ALL
|
661
|
+
SELECT sql
|
662
|
+
FROM sqlite_temp_master
|
663
|
+
WHERE name='index_coalescing_panda_sections_on_sis_id' AND type='index'
|
664
|
+
|
665
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
666
|
+
FROM sqlite_master
|
667
|
+
WHERE name='index_coalescing_panda_sections_on_canvas_section_id' AND type='index'
|
668
|
+
UNION ALL
|
669
|
+
SELECT sql
|
670
|
+
FROM sqlite_temp_master
|
671
|
+
WHERE name='index_coalescing_panda_sections_on_canvas_section_id' AND type='index'
|
672
|
+
[0m
|
673
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
674
|
+
FROM sqlite_master
|
675
|
+
WHERE name='index_coalescing_panda_sections_on_coalescing_panda_course_id' AND type='index'
|
676
|
+
UNION ALL
|
677
|
+
SELECT sql
|
678
|
+
FROM sqlite_temp_master
|
679
|
+
WHERE name='index_coalescing_panda_sections_on_coalescing_panda_course_id' AND type='index'
|
680
|
+
|
681
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
682
|
+
FROM sqlite_master
|
683
|
+
WHERE name='index_coalescing_panda_submissions_on_canvas_submission_id' AND type='index'
|
684
|
+
UNION ALL
|
685
|
+
SELECT sql
|
686
|
+
FROM sqlite_temp_master
|
687
|
+
WHERE name='index_coalescing_panda_submissions_on_canvas_submission_id' AND type='index'
|
688
|
+
[0m
|
689
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
690
|
+
FROM sqlite_master
|
691
|
+
WHERE name='index_submissions_user_and_assignment' AND type='index'
|
692
|
+
UNION ALL
|
693
|
+
SELECT sql
|
694
|
+
FROM sqlite_temp_master
|
695
|
+
WHERE name='index_submissions_user_and_assignment' AND type='index'
|
696
|
+
|
697
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
698
|
+
FROM sqlite_master
|
699
|
+
WHERE name='index_coalescing_panda_terms_on_sis_id' AND type='index'
|
700
|
+
UNION ALL
|
701
|
+
SELECT sql
|
702
|
+
FROM sqlite_temp_master
|
703
|
+
WHERE name='index_coalescing_panda_terms_on_sis_id' AND type='index'
|
704
|
+
[0m
|
705
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
706
|
+
FROM sqlite_master
|
707
|
+
WHERE name='index_coalescing_panda_terms_on_canvas_term_id' AND type='index'
|
708
|
+
UNION ALL
|
709
|
+
SELECT sql
|
710
|
+
FROM sqlite_temp_master
|
711
|
+
WHERE name='index_coalescing_panda_terms_on_canvas_term_id' AND type='index'
|
712
|
+
|
713
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
714
|
+
FROM sqlite_master
|
715
|
+
WHERE name='index_coalescing_panda_users_on_sis_id' AND type='index'
|
716
|
+
UNION ALL
|
717
|
+
SELECT sql
|
718
|
+
FROM sqlite_temp_master
|
719
|
+
WHERE name='index_coalescing_panda_users_on_sis_id' AND type='index'
|
720
|
+
[0m
|
721
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
722
|
+
FROM sqlite_master
|
723
|
+
WHERE name='index_coalescing_panda_users_on_canvas_user_id' AND type='index'
|
724
|
+
UNION ALL
|
725
|
+
SELECT sql
|
726
|
+
FROM sqlite_temp_master
|
727
|
+
WHERE name='index_coalescing_panda_users_on_canvas_user_id' AND type='index'
|
728
|
+
|
729
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
730
|
+
FROM sqlite_master
|
731
|
+
WHERE name='index_users_account' AND type='index'
|
732
|
+
UNION ALL
|
733
|
+
SELECT sql
|
734
|
+
FROM sqlite_temp_master
|
735
|
+
WHERE name='index_users_account' AND type='index'
|
736
|
+
[0m
|
737
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
738
|
+
FROM sqlite_master
|
739
|
+
WHERE name='delayed_jobs_priority' AND type='index'
|
740
|
+
UNION ALL
|
741
|
+
SELECT sql
|
742
|
+
FROM sqlite_temp_master
|
743
|
+
WHERE name='delayed_jobs_priority' AND type='index'
|
744
|
+
|
745
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
746
|
+
Migrating to AddSubmissionTypesToAssignments (20141208221740)
|
747
|
+
[1m[35m (0.1ms)[0m begin transaction
|
748
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "coalescing_panda_assignments" ADD "submission_types" text[0m
|
749
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141208221740"]]
|
750
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
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)
|
18
758
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19
|
-
[1m[35m (0.
|
20
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "
|
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"]]
|
21
761
|
[1m[35m (0.7ms)[0m commit transaction
|
22
|
-
Migrating to
|
23
|
-
[1m[36m (0.
|
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/
|
25
|
-
[1m[35m (0.
|
26
|
-
[1m[
|
27
|
-
[1m[35m (0.
|
28
|
-
|
29
|
-
[1m[
|
30
|
-
|
31
|
-
[1m[
|
32
|
-
|
33
|
-
[1m[35m (0.
|
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
|
34
789
|
FROM sqlite_master
|
35
|
-
WHERE name='
|
790
|
+
WHERE name='index_assignment_group_course' AND type='index'
|
36
791
|
UNION ALL
|
37
792
|
SELECT sql
|
38
793
|
FROM sqlite_temp_master
|
39
|
-
WHERE name='
|
794
|
+
WHERE name='index_assignment_group_course' AND type='index'
|
40
795
|
|
41
|
-
[1m[36m (0.
|
42
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "
|
43
|
-
[1m[36m (
|
44
|
-
Migrating to
|
796
|
+
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_assignment_group_context" ON "coalescing_panda_assignment_groups" ("canvas_assignment_group_id", "context_id", "context_type")[0m
|
797
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150506183335"]]
|
798
|
+
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
799
|
+
Migrating to AddAssignmentGroupIdToAssignments (20150506192717)
|
800
|
+
[1m[35m (0.0ms)[0m begin transaction
|
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)
|
45
805
|
[1m[35m (0.0ms)[0m begin transaction
|
46
|
-
|
47
|
-
[1m[
|
48
|
-
[1m[
|
49
|
-
[1m[
|
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"
|
810
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
50
811
|
FROM sqlite_master
|
51
|
-
WHERE name='
|
812
|
+
WHERE name='index_assignment_group_context' AND type='index'
|
52
813
|
UNION ALL
|
53
814
|
SELECT sql
|
54
815
|
FROM sqlite_temp_master
|
55
|
-
WHERE name='
|
816
|
+
WHERE name='index_assignment_group_context' AND type='index'
|
817
|
+
[0m
|
818
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
819
|
+
FROM sqlite_master
|
820
|
+
WHERE name='index_assignment_group_course' AND type='index'
|
821
|
+
UNION ALL
|
822
|
+
SELECT sql
|
823
|
+
FROM sqlite_temp_master
|
824
|
+
WHERE name='index_assignment_group_course' AND type='index'
|
825
|
+
|
826
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
827
|
+
FROM sqlite_master
|
828
|
+
WHERE name='index_coalescing_panda_assignments_on_sis_id' AND type='index'
|
829
|
+
UNION ALL
|
830
|
+
SELECT sql
|
831
|
+
FROM sqlite_temp_master
|
832
|
+
WHERE name='index_coalescing_panda_assignments_on_sis_id' AND type='index'
|
833
|
+
[0m
|
834
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
835
|
+
FROM sqlite_master
|
836
|
+
WHERE name='index_coalescing_panda_assignments_on_canvas_assignment_id' AND type='index'
|
837
|
+
UNION ALL
|
838
|
+
SELECT sql
|
839
|
+
FROM sqlite_temp_master
|
840
|
+
WHERE name='index_coalescing_panda_assignments_on_canvas_assignment_id' AND type='index'
|
841
|
+
|
842
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
843
|
+
FROM sqlite_master
|
844
|
+
WHERE name='index_assignments_course' AND type='index'
|
845
|
+
UNION ALL
|
846
|
+
SELECT sql
|
847
|
+
FROM sqlite_temp_master
|
848
|
+
WHERE name='index_assignments_course' AND type='index'
|
849
|
+
[0m
|
850
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
851
|
+
FROM sqlite_master
|
852
|
+
WHERE name='index_coalescing_panda_courses_on_sis_id' AND type='index'
|
853
|
+
UNION ALL
|
854
|
+
SELECT sql
|
855
|
+
FROM sqlite_temp_master
|
856
|
+
WHERE name='index_coalescing_panda_courses_on_sis_id' AND type='index'
|
857
|
+
|
858
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
859
|
+
FROM sqlite_master
|
860
|
+
WHERE name='index_coalescing_panda_courses_on_canvas_course_id' AND type='index'
|
861
|
+
UNION ALL
|
862
|
+
SELECT sql
|
863
|
+
FROM sqlite_temp_master
|
864
|
+
WHERE name='index_coalescing_panda_courses_on_canvas_course_id' AND type='index'
|
56
865
|
[0m
|
57
|
-
[1m[35m (0.1ms)[0m
|
58
|
-
[1m[36m (0.0ms)[0m [1m SELECT sql
|
866
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
59
867
|
FROM sqlite_master
|
60
868
|
WHERE name='index_courses_term' AND type='index'
|
61
869
|
UNION ALL
|
62
870
|
SELECT sql
|
63
871
|
FROM sqlite_temp_master
|
64
872
|
WHERE name='index_courses_term' AND type='index'
|
65
|
-
|
66
|
-
[1m[
|
873
|
+
|
874
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
67
875
|
FROM sqlite_master
|
68
876
|
WHERE name='index_courses_account' AND type='index'
|
69
877
|
UNION ALL
|
70
878
|
SELECT sql
|
71
879
|
FROM sqlite_temp_master
|
72
880
|
WHERE name='index_courses_account' AND type='index'
|
881
|
+
[0m
|
882
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
883
|
+
FROM sqlite_master
|
884
|
+
WHERE name='index_coalescing_panda_enrollments_on_sis_id' AND type='index'
|
885
|
+
UNION ALL
|
886
|
+
SELECT sql
|
887
|
+
FROM sqlite_temp_master
|
888
|
+
WHERE name='index_coalescing_panda_enrollments_on_sis_id' AND type='index'
|
73
889
|
|
74
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_coalescing_panda_courses_on_sis_id" ON "coalescing_panda_courses" ("sis_id")[0m
|
75
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141119225721"]]
|
76
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
77
|
-
Migrating to CreateCoalescingPandaSections (20141120151432)
|
78
|
-
[1m[35m (0.0ms)[0m begin transaction
|
79
|
-
DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/brandonbr/work/src/coalescing_panda/db/migrate/20141120151432_create_coalescing_panda_sections.rb:12)
|
80
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "coalescing_panda_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer NOT NULL, "name" varchar, "canvas_section_id" varchar NOT NULL, "sis_id" varchar, "workflow_state" varchar, "start_at" datetime, "end_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
81
|
-
[1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "index_sections_course" ON "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id")
|
82
890
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
83
891
|
FROM sqlite_master
|
84
|
-
WHERE name='
|
892
|
+
WHERE name='index_coalescing_panda_enrollments_on_canvas_enrollment_id' AND type='index'
|
85
893
|
UNION ALL
|
86
894
|
SELECT sql
|
87
895
|
FROM sqlite_temp_master
|
88
|
-
WHERE name='
|
896
|
+
WHERE name='index_coalescing_panda_enrollments_on_canvas_enrollment_id' AND type='index'
|
89
897
|
[0m
|
90
|
-
[1m[35m (0.1ms)[0m
|
91
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141120151432"]]
|
92
|
-
[1m[35m (0.9ms)[0m commit transaction
|
93
|
-
Migrating to CreateCoalescingPandaAssignments (20141120151940)
|
94
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
95
|
-
DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/brandonbr/work/src/coalescing_panda/db/migrate/20141120151940_create_coalescing_panda_assignments.rb:14)
|
96
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "coalescing_panda_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer NOT NULL, "name" varchar, "description" text, "canvas_assignment_id" varchar NOT NULL, "workflow_state" varchar, "points_possible" float, "due_at" datetime, "unlock_at" datetime, "lock_at" datetime, "created_at" datetime, "updated_at" datetime)
|
97
|
-
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_assignments_course" ON "coalescing_panda_assignments" ("coalescing_panda_course_id", "canvas_assignment_id")[0m
|
98
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141120151940"]]
|
99
|
-
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
100
|
-
Migrating to CreateCoalescingPandaUsers (20141120152458)
|
101
|
-
[1m[35m (0.0ms)[0m begin transaction
|
102
|
-
DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/brandonbr/work/src/coalescing_panda/db/migrate/20141120152458_create_coalescing_panda_users.rb:12)
|
103
|
-
[1m[36m (0.2ms)[0m [1mCREATE TABLE "coalescing_panda_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer NOT NULL, "name" varchar, "email" varchar, "roles" varchar, "workflow_state" varchar, "sis_id" varchar, "canvas_user_id" varchar NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
104
|
-
[1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "index_users_account" ON "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id")
|
105
|
-
[1m[36m (0.0ms)[0m [1m SELECT sql
|
898
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
106
899
|
FROM sqlite_master
|
107
|
-
WHERE name='
|
900
|
+
WHERE name='index_enrollments_user_and_assignment' AND type='index'
|
108
901
|
UNION ALL
|
109
902
|
SELECT sql
|
110
903
|
FROM sqlite_temp_master
|
111
|
-
WHERE name='
|
904
|
+
WHERE name='index_enrollments_user_and_assignment' AND type='index'
|
905
|
+
|
906
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
907
|
+
FROM sqlite_master
|
908
|
+
WHERE name='index_group_memberships_user_and_group' AND type='index'
|
909
|
+
UNION ALL
|
910
|
+
SELECT sql
|
911
|
+
FROM sqlite_temp_master
|
912
|
+
WHERE name='index_group_memberships_user_and_group' AND type='index'
|
112
913
|
[0m
|
113
|
-
[1m[35m (0.1ms)[0m
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
[1m[
|
914
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
915
|
+
FROM sqlite_master
|
916
|
+
WHERE name='index_groups_context_and_group_id' AND type='index'
|
917
|
+
UNION ALL
|
918
|
+
SELECT sql
|
919
|
+
FROM sqlite_temp_master
|
920
|
+
WHERE name='index_groups_context_and_group_id' AND type='index'
|
921
|
+
|
922
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
923
|
+
FROM sqlite_master
|
924
|
+
WHERE name='index_coalescing_panda_sections_on_sis_id' AND type='index'
|
925
|
+
UNION ALL
|
926
|
+
SELECT sql
|
927
|
+
FROM sqlite_temp_master
|
928
|
+
WHERE name='index_coalescing_panda_sections_on_sis_id' AND type='index'
|
929
|
+
[0m
|
930
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
931
|
+
FROM sqlite_master
|
932
|
+
WHERE name='index_coalescing_panda_sections_on_canvas_section_id' AND type='index'
|
933
|
+
UNION ALL
|
934
|
+
SELECT sql
|
935
|
+
FROM sqlite_temp_master
|
936
|
+
WHERE name='index_coalescing_panda_sections_on_canvas_section_id' AND type='index'
|
937
|
+
|
938
|
+
[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
|
+
FROM sqlite_master
|
948
|
+
WHERE name='index_coalescing_panda_submissions_on_canvas_submission_id' AND type='index'
|
949
|
+
UNION ALL
|
950
|
+
SELECT sql
|
951
|
+
FROM sqlite_temp_master
|
952
|
+
WHERE name='index_coalescing_panda_submissions_on_canvas_submission_id' AND type='index'
|
953
|
+
|
954
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
122
955
|
FROM sqlite_master
|
123
956
|
WHERE name='index_submissions_user_and_assignment' AND type='index'
|
124
957
|
UNION ALL
|
125
958
|
SELECT sql
|
126
959
|
FROM sqlite_temp_master
|
127
|
-
WHERE name='index_submissions_user_and_assignment' AND type='index'
|
128
|
-
|
129
|
-
[1m[
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
[1m[36m (0.
|
960
|
+
WHERE name='index_submissions_user_and_assignment' AND type='index'
|
961
|
+
[0m
|
962
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
963
|
+
FROM sqlite_master
|
964
|
+
WHERE name='index_coalescing_panda_terms_on_sis_id' AND type='index'
|
965
|
+
UNION ALL
|
966
|
+
SELECT sql
|
967
|
+
FROM sqlite_temp_master
|
968
|
+
WHERE name='index_coalescing_panda_terms_on_sis_id' AND type='index'
|
969
|
+
|
970
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
971
|
+
FROM sqlite_master
|
972
|
+
WHERE name='index_coalescing_panda_terms_on_canvas_term_id' AND type='index'
|
973
|
+
UNION ALL
|
974
|
+
SELECT sql
|
975
|
+
FROM sqlite_temp_master
|
976
|
+
WHERE name='index_coalescing_panda_terms_on_canvas_term_id' AND type='index'
|
977
|
+
[0m
|
978
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
979
|
+
FROM sqlite_master
|
980
|
+
WHERE name='index_coalescing_panda_users_on_sis_id' AND type='index'
|
981
|
+
UNION ALL
|
982
|
+
SELECT sql
|
983
|
+
FROM sqlite_temp_master
|
984
|
+
WHERE name='index_coalescing_panda_users_on_sis_id' AND type='index'
|
985
|
+
|
986
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
987
|
+
FROM sqlite_master
|
988
|
+
WHERE name='index_coalescing_panda_users_on_canvas_user_id' AND type='index'
|
989
|
+
UNION ALL
|
990
|
+
SELECT sql
|
991
|
+
FROM sqlite_temp_master
|
992
|
+
WHERE name='index_coalescing_panda_users_on_canvas_user_id' AND type='index'
|
993
|
+
[0m
|
994
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
138
995
|
FROM sqlite_master
|
139
|
-
WHERE name='
|
996
|
+
WHERE name='index_users_account' AND type='index'
|
140
997
|
UNION ALL
|
141
998
|
SELECT sql
|
142
999
|
FROM sqlite_temp_master
|
143
|
-
WHERE name='
|
144
|
-
|
145
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_coalescing_panda_enrollments_on_sis_id" ON "coalescing_panda_enrollments" ("sis_id")
|
146
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141120153135"]]
|
147
|
-
[1m[35m (0.8ms)[0m commit transaction
|
148
|
-
Migrating to CreateCoalescingPandaCanvasBatches (20141121174846)
|
149
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
150
|
-
DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/brandonbr/work/src/coalescing_panda/db/migrate/20141121174846_create_coalescing_panda_canvas_batches.rb:8)
|
151
|
-
[1m[35m (0.2ms)[0m CREATE TABLE "coalescing_panda_canvas_batches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "percent_complete" float DEFAULT 0.0, "status" varchar, "message" text, "created_at" datetime, "updated_at" datetime)
|
152
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141121174846"]]
|
153
|
-
[1m[35m (0.7ms)[0m commit transaction
|
154
|
-
Migrating to CreateDelayedJobs (20141124160857)
|
155
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
156
|
-
DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in up at /Users/brandonbr/work/src/coalescing_panda/db/migrate/20141124160857_create_delayed_jobs.rb:13)
|
157
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0 NOT NULL, "attempts" integer DEFAULT 0 NOT NULL, "handler" text NOT NULL, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar, "queue" varchar, "created_at" datetime, "updated_at" datetime)
|
158
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")[0m
|
159
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141124160857"]]
|
160
|
-
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
161
|
-
Migrating to AddSubmissionTypesToAssignments (20141208221740)
|
162
|
-
[1m[35m (0.0ms)[0m begin transaction
|
163
|
-
[1m[36m (1.0ms)[0m [1mALTER TABLE "coalescing_panda_assignments" ADD "submission_types" text[0m
|
164
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141208221740"]]
|
165
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
166
|
-
Migrating to AddGroupCategoryIdToAssignment (20150106175418)
|
167
|
-
[1m[35m (0.0ms)[0m begin transaction
|
168
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "coalescing_panda_assignments" ADD "group_category_id" integer[0m
|
169
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "coalescing_panda_assignments" ADD "grade_group_students_individually" boolean
|
170
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150106175418"]]
|
171
|
-
[1m[35m (0.7ms)[0m commit transaction
|
172
|
-
Migrating to AddPublishedToAssignments (20150106180131)
|
173
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
174
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "coalescing_panda_assignments" ADD "published" boolean
|
175
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150106180131"]]
|
176
|
-
[1m[35m (0.6ms)[0m commit transaction
|
177
|
-
Migrating to CreateCoalescingPandaGroups (20150107205405)
|
178
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
179
|
-
DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/brandonbr/work/src/coalescing_panda/db/migrate/20150107205405_create_coalescing_panda_groups.rb:11)
|
180
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "coalescing_panda_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "context_id" integer, "context_type" varchar, "description" varchar, "group_category_id" varchar, "canvas_group_id" varchar, "name" varchar, "members_count" integer, "created_at" datetime, "updated_at" datetime)
|
181
|
-
[1m[36m (1.4ms)[0m [1mCREATE UNIQUE INDEX "index_groups_context_and_group_id" ON "coalescing_panda_groups" ("context_id", "canvas_group_id")[0m
|
182
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150107205405"]]
|
183
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
184
|
-
Migrating to CreateCoalescingPandaGroupMemberships (20150107205413)
|
185
|
-
[1m[35m (0.0ms)[0m begin transaction
|
186
|
-
DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/brandonbr/work/src/coalescing_panda/db/migrate/20150107205413_create_coalescing_panda_group_memberships.rb:9)
|
187
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "coalescing_panda_group_memberships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_group_id" integer, "coalescing_panda_user_id" integer, "canvas_group_membership_id" varchar, "workflow_state" varchar, "created_at" datetime, "updated_at" datetime) [0m
|
188
|
-
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "index_group_memberships_user_and_group" ON "coalescing_panda_group_memberships" ("coalescing_panda_group_id", "coalescing_panda_user_id")
|
189
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150107205413"]]
|
190
|
-
[1m[35m (0.9ms)[0m commit transaction
|
191
|
-
Migrating to AddContextToCanvasBatch (20150210180516)
|
192
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
193
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "coalescing_panda_canvas_batches" ADD "context_id" integer
|
194
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "coalescing_panda_canvas_batches" ADD "context_type" varchar[0m
|
195
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150210180516"]]
|
196
|
-
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
197
|
-
Migrating to CreateCoalescingPandaAssignmentGroups (20150506183335)
|
198
|
-
[1m[35m (0.0ms)[0m begin transaction
|
199
|
-
DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/brandonbr/work/src/coalescing_panda/db/migrate/20150506183335_create_coalescing_panda_assignment_groups.rb:12)
|
200
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "coalescing_panda_assignment_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer NOT NULL, "context_id" integer, "context_type" varchar, "canvas_assignment_group_id" varchar, "name" varchar, "position" integer, "group_weight" float, "workflow_state" varchar, "created_at" datetime, "updated_at" datetime) [0m
|
201
|
-
[1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "index_assignment_group_course" ON "coalescing_panda_assignment_groups" ("coalescing_panda_course_id", "canvas_assignment_group_id")
|
1000
|
+
WHERE name='index_users_account' AND type='index'
|
1001
|
+
|
202
1002
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
203
1003
|
FROM sqlite_master
|
204
|
-
WHERE name='
|
1004
|
+
WHERE name='delayed_jobs_priority' AND type='index'
|
205
1005
|
UNION ALL
|
206
1006
|
SELECT sql
|
207
1007
|
FROM sqlite_temp_master
|
208
|
-
WHERE name='
|
1008
|
+
WHERE name='delayed_jobs_priority' AND type='index'
|
209
1009
|
[0m
|
210
|
-
[1m[
|
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
|
1010
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
223
1011
|
Migrating to AddOptionToCanvasBatches (20150602205257)
|
224
|
-
[1m[
|
225
|
-
[1m[
|
226
|
-
[1m[
|
227
|
-
[1m[
|
1012
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1013
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "coalescing_panda_canvas_batches" ADD "options" text[0m
|
1014
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150602205257"]]
|
1015
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
228
1016
|
Migrating to AddGroupModeratorToGroupMemberships (20150708192717)
|
229
|
-
[1m[
|
230
|
-
[1m[
|
231
|
-
[1m[
|
232
|
-
[1m[
|
1017
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1018
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "coalescing_panda_group_memberships" ADD "moderator" boolean[0m
|
1019
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150708192717"]]
|
1020
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
233
1021
|
Migrating to AddLeaderIdToGroups (20150709192717)
|
234
|
-
[1m[
|
235
|
-
[1m[
|
236
|
-
[1m[
|
237
|
-
[1m[
|
238
|
-
Migrating to CreateCoalescingPandaGroupCategories (20150714205405)
|
239
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1022
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1023
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "coalescing_panda_groups" ADD "leader_id" integer[0m
|
1024
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150709192717"]]
|
1025
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
240
1026
|
Migrating to CreateCoalescingPandaGroupCategories (20150714205405)
|
241
1027
|
[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/
|
243
|
-
[1m[36m (0.
|
1028
|
+
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/20150714205405_create_coalescing_panda_group_categories.rb:9)
|
1029
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "coalescing_panda_group_categories" ("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
1030
|
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
245
|
-
[1m[36m (0.
|
1031
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_group_categories_context_and_context_type" ON "coalescing_panda_group_categories" ("context_id", "context_type")[0m
|
246
1032
|
[1m[35m (0.2ms)[0m ALTER TABLE "coalescing_panda_assignments" ADD "coalescing_panda_group_category_id" integer
|
247
|
-
[1m[36m (0.
|
248
|
-
[1m[35mSQL (0.
|
1033
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "coalescing_panda_groups" ADD "coalescing_panda_group_category_id" integer[0m
|
1034
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150714205405"]]
|
249
1035
|
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
1036
|
+
Migrating to AddFieldsToUsers (20150811140030)
|
1037
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1038
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "coalescing_panda_users" ADD "login_id" varchar[0m
|
1039
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150811140030"]]
|
1040
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
250
1041
|
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
251
1042
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
252
1043
|
FROM sqlite_master
|
@@ -264,6 +1055,22 @@ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `n
|
|
264
1055
|
FROM sqlite_temp_master
|
265
1056
|
WHERE name='index_assignment_group_course' AND type='index'
|
266
1057
|
|
1058
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1059
|
+
FROM sqlite_master
|
1060
|
+
WHERE name='index_coalescing_panda_assignments_on_sis_id' AND type='index'
|
1061
|
+
UNION ALL
|
1062
|
+
SELECT sql
|
1063
|
+
FROM sqlite_temp_master
|
1064
|
+
WHERE name='index_coalescing_panda_assignments_on_sis_id' AND type='index'
|
1065
|
+
[0m
|
1066
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1067
|
+
FROM sqlite_master
|
1068
|
+
WHERE name='index_coalescing_panda_assignments_on_canvas_assignment_id' AND type='index'
|
1069
|
+
UNION ALL
|
1070
|
+
SELECT sql
|
1071
|
+
FROM sqlite_temp_master
|
1072
|
+
WHERE name='index_coalescing_panda_assignments_on_canvas_assignment_id' AND type='index'
|
1073
|
+
|
267
1074
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
268
1075
|
FROM sqlite_master
|
269
1076
|
WHERE name='index_assignments_course' AND type='index'
|
@@ -282,35 +1089,51 @@ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `n
|
|
282
1089
|
|
283
1090
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
284
1091
|
FROM sqlite_master
|
285
|
-
WHERE name='
|
1092
|
+
WHERE name='index_coalescing_panda_courses_on_canvas_course_id' AND type='index'
|
286
1093
|
UNION ALL
|
287
1094
|
SELECT sql
|
288
1095
|
FROM sqlite_temp_master
|
289
|
-
WHERE name='
|
1096
|
+
WHERE name='index_coalescing_panda_courses_on_canvas_course_id' AND type='index'
|
290
1097
|
[0m
|
291
1098
|
[1m[35m (0.1ms)[0m SELECT sql
|
292
1099
|
FROM sqlite_master
|
293
|
-
WHERE name='
|
1100
|
+
WHERE name='index_courses_term' AND type='index'
|
294
1101
|
UNION ALL
|
295
1102
|
SELECT sql
|
296
1103
|
FROM sqlite_temp_master
|
297
|
-
WHERE name='
|
1104
|
+
WHERE name='index_courses_term' AND type='index'
|
298
1105
|
|
299
1106
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1107
|
+
FROM sqlite_master
|
1108
|
+
WHERE name='index_courses_account' AND type='index'
|
1109
|
+
UNION ALL
|
1110
|
+
SELECT sql
|
1111
|
+
FROM sqlite_temp_master
|
1112
|
+
WHERE name='index_courses_account' AND type='index'
|
1113
|
+
[0m
|
1114
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
300
1115
|
FROM sqlite_master
|
301
1116
|
WHERE name='index_coalescing_panda_enrollments_on_sis_id' AND type='index'
|
302
1117
|
UNION ALL
|
303
1118
|
SELECT sql
|
304
1119
|
FROM sqlite_temp_master
|
305
1120
|
WHERE name='index_coalescing_panda_enrollments_on_sis_id' AND type='index'
|
1121
|
+
|
1122
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1123
|
+
FROM sqlite_master
|
1124
|
+
WHERE name='index_coalescing_panda_enrollments_on_canvas_enrollment_id' AND type='index'
|
1125
|
+
UNION ALL
|
1126
|
+
SELECT sql
|
1127
|
+
FROM sqlite_temp_master
|
1128
|
+
WHERE name='index_coalescing_panda_enrollments_on_canvas_enrollment_id' AND type='index'
|
306
1129
|
[0m
|
307
1130
|
[1m[35m (0.1ms)[0m SELECT sql
|
308
1131
|
FROM sqlite_master
|
309
|
-
WHERE name='
|
1132
|
+
WHERE name='index_enrollments_user_and_assignment' AND type='index'
|
310
1133
|
UNION ALL
|
311
1134
|
SELECT sql
|
312
1135
|
FROM sqlite_temp_master
|
313
|
-
WHERE name='
|
1136
|
+
WHERE name='index_enrollments_user_and_assignment' AND type='index'
|
314
1137
|
|
315
1138
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
316
1139
|
FROM sqlite_master
|
@@ -346,51 +1169,67 @@ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `n
|
|
346
1169
|
|
347
1170
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
348
1171
|
FROM sqlite_master
|
349
|
-
WHERE name='
|
1172
|
+
WHERE name='index_coalescing_panda_sections_on_canvas_section_id' AND type='index'
|
350
1173
|
UNION ALL
|
351
1174
|
SELECT sql
|
352
1175
|
FROM sqlite_temp_master
|
353
|
-
WHERE name='
|
1176
|
+
WHERE name='index_coalescing_panda_sections_on_canvas_section_id' AND type='index'
|
354
1177
|
[0m
|
355
1178
|
[1m[35m (0.1ms)[0m SELECT sql
|
356
1179
|
FROM sqlite_master
|
357
|
-
WHERE name='
|
1180
|
+
WHERE name='index_coalescing_panda_sections_on_coalescing_panda_course_id' AND type='index'
|
358
1181
|
UNION ALL
|
359
1182
|
SELECT sql
|
360
1183
|
FROM sqlite_temp_master
|
361
|
-
WHERE name='
|
1184
|
+
WHERE name='index_coalescing_panda_sections_on_coalescing_panda_course_id' AND type='index'
|
362
1185
|
|
363
1186
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
364
1187
|
FROM sqlite_master
|
365
|
-
WHERE name='
|
1188
|
+
WHERE name='index_coalescing_panda_submissions_on_canvas_submission_id' AND type='index'
|
366
1189
|
UNION ALL
|
367
1190
|
SELECT sql
|
368
1191
|
FROM sqlite_temp_master
|
369
|
-
WHERE name='
|
1192
|
+
WHERE name='index_coalescing_panda_submissions_on_canvas_submission_id' AND type='index'
|
370
1193
|
[0m
|
371
1194
|
[1m[35m (0.1ms)[0m SELECT sql
|
372
1195
|
FROM sqlite_master
|
373
|
-
WHERE name='
|
1196
|
+
WHERE name='index_submissions_user_and_assignment' AND type='index'
|
374
1197
|
UNION ALL
|
375
1198
|
SELECT sql
|
376
1199
|
FROM sqlite_temp_master
|
377
|
-
WHERE name='
|
1200
|
+
WHERE name='index_submissions_user_and_assignment' AND type='index'
|
378
1201
|
|
379
1202
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
380
1203
|
FROM sqlite_master
|
381
|
-
WHERE name='
|
1204
|
+
WHERE name='index_coalescing_panda_terms_on_sis_id' AND type='index'
|
382
1205
|
UNION ALL
|
383
1206
|
SELECT sql
|
384
1207
|
FROM sqlite_temp_master
|
385
|
-
WHERE name='
|
1208
|
+
WHERE name='index_coalescing_panda_terms_on_sis_id' AND type='index'
|
386
1209
|
[0m
|
387
1210
|
[1m[35m (0.1ms)[0m SELECT sql
|
1211
|
+
FROM sqlite_master
|
1212
|
+
WHERE name='index_coalescing_panda_terms_on_canvas_term_id' AND type='index'
|
1213
|
+
UNION ALL
|
1214
|
+
SELECT sql
|
1215
|
+
FROM sqlite_temp_master
|
1216
|
+
WHERE name='index_coalescing_panda_terms_on_canvas_term_id' AND type='index'
|
1217
|
+
|
1218
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
388
1219
|
FROM sqlite_master
|
389
1220
|
WHERE name='index_coalescing_panda_users_on_sis_id' AND type='index'
|
390
1221
|
UNION ALL
|
391
1222
|
SELECT sql
|
392
1223
|
FROM sqlite_temp_master
|
393
1224
|
WHERE name='index_coalescing_panda_users_on_sis_id' AND type='index'
|
1225
|
+
[0m
|
1226
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1227
|
+
FROM sqlite_master
|
1228
|
+
WHERE name='index_coalescing_panda_users_on_canvas_user_id' AND type='index'
|
1229
|
+
UNION ALL
|
1230
|
+
SELECT sql
|
1231
|
+
FROM sqlite_temp_master
|
1232
|
+
WHERE name='index_coalescing_panda_users_on_canvas_user_id' AND type='index'
|
394
1233
|
|
395
1234
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
396
1235
|
FROM sqlite_master
|
@@ -408,71 +1247,121 @@ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `n
|
|
408
1247
|
FROM sqlite_temp_master
|
409
1248
|
WHERE name='delayed_jobs_priority' AND type='index'
|
410
1249
|
|
411
|
-
[1m[
|
412
|
-
[1m[
|
413
|
-
|
414
|
-
[1m[
|
415
|
-
|
1250
|
+
[1m[36m (1.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
|
1251
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1252
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "index_assignment_group_context" ON "coalescing_panda_assignment_groups" ("canvas_assignment_group_id", "context_id", "context_type")[0m
|
1253
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
1254
|
+
FROM sqlite_master
|
1255
|
+
WHERE name='index_assignment_group_context' AND type='index'
|
1256
|
+
UNION ALL
|
1257
|
+
SELECT sql
|
1258
|
+
FROM sqlite_temp_master
|
1259
|
+
WHERE name='index_assignment_group_context' AND type='index'
|
1260
|
+
|
1261
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_assignment_group_course" ON "coalescing_panda_assignment_groups" ("coalescing_panda_course_id", "canvas_assignment_group_id")[0m
|
1262
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "coalescing_panda_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer NOT NULL, "name" varchar(255), "description" varchar(255), "canvas_assignment_id" varchar(255) NOT NULL, "workflow_state" varchar(255), "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)
|
1263
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_assignments_course" ON "coalescing_panda_assignments" ("coalescing_panda_course_id", "canvas_assignment_id")[0m
|
1264
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "coalescing_panda_canvas_api_auths" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" varchar(255), "api_domain" varchar(255), "api_token" varchar(255), "created_at" datetime, "updated_at" datetime)
|
1265
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "coalescing_panda_canvas_batches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "percent_complete" float DEFAULT 0.0, "status" varchar(255), "message" text, "created_at" datetime, "updated_at" datetime, "context_id" integer, "context_type" varchar, "coalescing_panda_lti_account_id" integer, "options" text) [0m
|
1266
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "coalescing_panda_courses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer NOT NULL, "coalescing_panda_term_id" integer, "name" varchar(255), "canvas_course_id" varchar(255) NOT NULL, "sis_id" varchar(255), "start_at" datetime, "conclude_at" datetime, "workflow_state" varchar(255), "course_code" varchar(255), "created_at" datetime, "updated_at" datetime)
|
1267
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_courses_account" ON "coalescing_panda_courses" ("coalescing_panda_lti_account_id", "canvas_course_id")[0m
|
1268
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1269
|
+
FROM sqlite_master
|
1270
|
+
WHERE name='index_courses_account' AND type='index'
|
1271
|
+
UNION ALL
|
1272
|
+
SELECT sql
|
1273
|
+
FROM sqlite_temp_master
|
1274
|
+
WHERE name='index_courses_account' AND type='index'
|
1275
|
+
|
1276
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_courses_term" ON "coalescing_panda_courses" ("coalescing_panda_term_id", "canvas_course_id")[0m
|
1277
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1278
|
+
FROM sqlite_master
|
1279
|
+
WHERE name='index_courses_term' AND type='index'
|
1280
|
+
UNION ALL
|
1281
|
+
SELECT sql
|
1282
|
+
FROM sqlite_temp_master
|
1283
|
+
WHERE name='index_courses_term' AND type='index'
|
1284
|
+
|
416
1285
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
417
1286
|
FROM sqlite_master
|
418
|
-
WHERE name='
|
1287
|
+
WHERE name='index_courses_account' AND type='index'
|
419
1288
|
UNION ALL
|
420
1289
|
SELECT sql
|
421
1290
|
FROM sqlite_temp_master
|
422
|
-
WHERE name='
|
1291
|
+
WHERE name='index_courses_account' AND type='index'
|
423
1292
|
[0m
|
424
|
-
[1m[35m (0.
|
425
|
-
[1m[36m (
|
426
|
-
[1m[35m (0.
|
427
|
-
[1m[36m (0.
|
428
|
-
|
1293
|
+
[1m[35m (0.8ms)[0m CREATE INDEX "index_coalescing_panda_courses_on_sis_id" ON "coalescing_panda_courses" ("sis_id")
|
1294
|
+
[1m[36m (1.0ms)[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(255), "sis_id" varchar(255), "canvas_enrollment_id" varchar(255) NOT NULL, "enrollment_type" varchar(255), "start_at" datetime, "end_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
1295
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_enrollments_user_and_assignment" ON "coalescing_panda_enrollments" ("coalescing_panda_user_id", "coalescing_panda_section_id", "enrollment_type")
|
1296
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1297
|
+
FROM sqlite_master
|
1298
|
+
WHERE name='index_enrollments_user_and_assignment' AND type='index'
|
1299
|
+
UNION ALL
|
1300
|
+
SELECT sql
|
1301
|
+
FROM sqlite_temp_master
|
1302
|
+
WHERE name='index_enrollments_user_and_assignment' AND type='index'
|
1303
|
+
[0m
|
1304
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_coalescing_panda_enrollments_on_sis_id" ON "coalescing_panda_enrollments" ("sis_id")
|
1305
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "coalescing_panda_group_categories" ("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
|
1306
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_group_categories_context_and_context_type" ON "coalescing_panda_group_categories" ("context_id", "context_type")
|
1307
|
+
[1m[36m (0.7ms)[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, "moderator" boolean) [0m
|
1308
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_group_memberships_user_and_group" ON "coalescing_panda_group_memberships" ("coalescing_panda_group_id", "coalescing_panda_user_id")
|
1309
|
+
[1m[36m (0.9ms)[0m [1mCREATE 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, "coalescing_panda_group_category_id" integer) [0m
|
1310
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_groups_context_and_group_id" ON "coalescing_panda_groups" ("context_id", "canvas_group_id")
|
1311
|
+
[1m[36m (0.9ms)[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), "canvas_account_id" varchar(255), "settings" text, "created_at" datetime, "updated_at" datetime) [0m
|
1312
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "coalescing_panda_lti_nonces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer, "nonce" varchar(255), "timestamp" datetime)
|
1313
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "coalescing_panda_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_course_id" integer NOT NULL, "name" varchar(255), "canvas_section_id" varchar(255) NOT NULL, "sis_id" varchar(255), "workflow_state" varchar(255), "start_at" datetime, "end_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
1314
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_sections_course" ON "coalescing_panda_sections" ("coalescing_panda_course_id", "canvas_section_id")
|
429
1315
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
430
1316
|
FROM sqlite_master
|
431
|
-
WHERE name='
|
1317
|
+
WHERE name='index_sections_course' AND type='index'
|
432
1318
|
UNION ALL
|
433
1319
|
SELECT sql
|
434
1320
|
FROM sqlite_temp_master
|
435
|
-
WHERE name='
|
1321
|
+
WHERE name='index_sections_course' AND type='index'
|
436
1322
|
[0m
|
437
|
-
[1m[35m (0.
|
438
|
-
[1m[36m (0.
|
439
|
-
[1m[35m (0.
|
440
|
-
[1m[36m (0.
|
441
|
-
[1m[35m (0.
|
1323
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_coalescing_panda_sections_on_sis_id" ON "coalescing_panda_sections" ("sis_id")
|
1324
|
+
[1m[36m (0.9ms)[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
|
1325
|
+
[1m[35m (0.8ms)[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(255), "grade" varchar(255), "score" varchar(255), "submitted_at" datetime, "workflow_state" varchar(255), "canvas_submission_id" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)
|
1326
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_coalescing_panda_submissions_on_canvas_submission_id" ON "coalescing_panda_submissions" ("canvas_submission_id")[0m
|
1327
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
442
1328
|
FROM sqlite_master
|
443
|
-
WHERE name='
|
1329
|
+
WHERE name='index_coalescing_panda_submissions_on_canvas_submission_id' AND type='index'
|
444
1330
|
UNION ALL
|
445
1331
|
SELECT sql
|
446
1332
|
FROM sqlite_temp_master
|
447
|
-
WHERE name='
|
1333
|
+
WHERE name='index_coalescing_panda_submissions_on_canvas_submission_id' AND type='index'
|
448
1334
|
|
449
|
-
[1m[36m (0.
|
450
|
-
[1m[35m (0.
|
451
|
-
[1m[36m (0.
|
452
|
-
[1m[35m (0.1ms)[0m
|
453
|
-
[1m[36m (0.0ms)[0m [1m SELECT sql
|
1335
|
+
[1m[36m (0.7ms)[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
|
1336
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "coalescing_panda_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer NOT NULL, "name" varchar(255), "code" varchar(255), "sis_id" varchar(255), "canvas_term_id" varchar(255) NOT NULL, "start_at" datetime, "end_at" datetime, "workflow_state" varchar(255), "created_at" datetime, "updated_at" datetime)
|
1337
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_terms_account" ON "coalescing_panda_terms" ("canvas_term_id", "coalescing_panda_lti_account_id")[0m
|
1338
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
454
1339
|
FROM sqlite_master
|
455
|
-
WHERE name='
|
1340
|
+
WHERE name='index_terms_account' AND type='index'
|
456
1341
|
UNION ALL
|
457
1342
|
SELECT sql
|
458
1343
|
FROM sqlite_temp_master
|
459
|
-
WHERE name='
|
460
|
-
|
461
|
-
[1m[
|
462
|
-
[1m[
|
463
|
-
[1m[
|
464
|
-
[1m[
|
1344
|
+
WHERE name='index_terms_account' AND type='index'
|
1345
|
+
|
1346
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_coalescing_panda_terms_on_sis_id" ON "coalescing_panda_terms" ("sis_id")[0m
|
1347
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "coalescing_panda_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "coalescing_panda_lti_account_id" integer NOT NULL, "name" varchar(255), "email" varchar(255), "roles" varchar(255), "workflow_state" varchar(255), "sis_id" varchar(255), "canvas_user_id" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime, "login_id" varchar)
|
1348
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_users_account" ON "coalescing_panda_users" ("coalescing_panda_lti_account_id", "canvas_user_id")[0m
|
1349
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
465
1350
|
FROM sqlite_master
|
466
|
-
WHERE name='
|
1351
|
+
WHERE name='index_users_account' AND type='index'
|
467
1352
|
UNION ALL
|
468
1353
|
SELECT sql
|
469
1354
|
FROM sqlite_temp_master
|
470
|
-
WHERE name='
|
471
|
-
|
472
|
-
[1m[
|
473
|
-
[1m[
|
474
|
-
[1m[
|
475
|
-
[1m[
|
1355
|
+
WHERE name='index_users_account' AND type='index'
|
1356
|
+
|
1357
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_coalescing_panda_users_on_sis_id" ON "coalescing_panda_users" ("sis_id")[0m
|
1358
|
+
[1m[35m (0.9ms)[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(255), "queue" varchar(255), "created_at" datetime, "updated_at" datetime)
|
1359
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")[0m
|
1360
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
1361
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1362
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
1363
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150811140030')[0m
|
1364
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
476
1365
|
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
477
1366
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
478
1367
|
FROM sqlite_master
|
@@ -490,6 +1379,22 @@ Migrating to CreateCoalescingPandaGroupCategories (20150714205405)
|
|
490
1379
|
FROM sqlite_temp_master
|
491
1380
|
WHERE name='index_assignment_group_course' AND type='index'
|
492
1381
|
|
1382
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1383
|
+
FROM sqlite_master
|
1384
|
+
WHERE name='index_coalescing_panda_assignments_on_sis_id' AND type='index'
|
1385
|
+
UNION ALL
|
1386
|
+
SELECT sql
|
1387
|
+
FROM sqlite_temp_master
|
1388
|
+
WHERE name='index_coalescing_panda_assignments_on_sis_id' AND type='index'
|
1389
|
+
[0m
|
1390
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1391
|
+
FROM sqlite_master
|
1392
|
+
WHERE name='index_coalescing_panda_assignments_on_canvas_assignment_id' AND type='index'
|
1393
|
+
UNION ALL
|
1394
|
+
SELECT sql
|
1395
|
+
FROM sqlite_temp_master
|
1396
|
+
WHERE name='index_coalescing_panda_assignments_on_canvas_assignment_id' AND type='index'
|
1397
|
+
|
493
1398
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
494
1399
|
FROM sqlite_master
|
495
1400
|
WHERE name='index_assignments_course' AND type='index'
|
@@ -508,67 +1413,99 @@ Migrating to CreateCoalescingPandaGroupCategories (20150714205405)
|
|
508
1413
|
|
509
1414
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
510
1415
|
FROM sqlite_master
|
511
|
-
WHERE name='
|
1416
|
+
WHERE name='index_coalescing_panda_courses_on_canvas_course_id' AND type='index'
|
512
1417
|
UNION ALL
|
513
1418
|
SELECT sql
|
514
1419
|
FROM sqlite_temp_master
|
515
|
-
WHERE name='
|
1420
|
+
WHERE name='index_coalescing_panda_courses_on_canvas_course_id' AND type='index'
|
516
1421
|
[0m
|
517
1422
|
[1m[35m (0.1ms)[0m SELECT sql
|
518
1423
|
FROM sqlite_master
|
519
|
-
WHERE name='
|
1424
|
+
WHERE name='index_courses_term' AND type='index'
|
520
1425
|
UNION ALL
|
521
1426
|
SELECT sql
|
522
1427
|
FROM sqlite_temp_master
|
523
|
-
WHERE name='
|
1428
|
+
WHERE name='index_courses_term' AND type='index'
|
524
1429
|
|
525
1430
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1431
|
+
FROM sqlite_master
|
1432
|
+
WHERE name='index_courses_account' AND type='index'
|
1433
|
+
UNION ALL
|
1434
|
+
SELECT sql
|
1435
|
+
FROM sqlite_temp_master
|
1436
|
+
WHERE name='index_courses_account' AND type='index'
|
1437
|
+
[0m
|
1438
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
526
1439
|
FROM sqlite_master
|
527
1440
|
WHERE name='index_coalescing_panda_enrollments_on_sis_id' AND type='index'
|
528
1441
|
UNION ALL
|
529
1442
|
SELECT sql
|
530
1443
|
FROM sqlite_temp_master
|
531
1444
|
WHERE name='index_coalescing_panda_enrollments_on_sis_id' AND type='index'
|
1445
|
+
|
1446
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1447
|
+
FROM sqlite_master
|
1448
|
+
WHERE name='index_coalescing_panda_enrollments_on_canvas_enrollment_id' AND type='index'
|
1449
|
+
UNION ALL
|
1450
|
+
SELECT sql
|
1451
|
+
FROM sqlite_temp_master
|
1452
|
+
WHERE name='index_coalescing_panda_enrollments_on_canvas_enrollment_id' AND type='index'
|
532
1453
|
[0m
|
533
1454
|
[1m[35m (0.1ms)[0m SELECT sql
|
534
1455
|
FROM sqlite_master
|
535
|
-
WHERE name='
|
1456
|
+
WHERE name='index_enrollments_user_and_assignment' AND type='index'
|
536
1457
|
UNION ALL
|
537
1458
|
SELECT sql
|
538
1459
|
FROM sqlite_temp_master
|
539
|
-
WHERE name='
|
1460
|
+
WHERE name='index_enrollments_user_and_assignment' AND type='index'
|
540
1461
|
|
541
1462
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
542
1463
|
FROM sqlite_master
|
543
|
-
WHERE name='
|
1464
|
+
WHERE name='index_group_categories_context_and_context_type' AND type='index'
|
544
1465
|
UNION ALL
|
545
1466
|
SELECT sql
|
546
1467
|
FROM sqlite_temp_master
|
547
|
-
WHERE name='
|
1468
|
+
WHERE name='index_group_categories_context_and_context_type' AND type='index'
|
548
1469
|
[0m
|
549
1470
|
[1m[35m (0.1ms)[0m SELECT sql
|
550
1471
|
FROM sqlite_master
|
551
|
-
WHERE name='
|
1472
|
+
WHERE name='index_group_memberships_user_and_group' AND type='index'
|
552
1473
|
UNION ALL
|
553
1474
|
SELECT sql
|
554
1475
|
FROM sqlite_temp_master
|
555
|
-
WHERE name='
|
1476
|
+
WHERE name='index_group_memberships_user_and_group' AND type='index'
|
556
1477
|
|
557
1478
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1479
|
+
FROM sqlite_master
|
1480
|
+
WHERE name='index_groups_context_and_group_id' AND type='index'
|
1481
|
+
UNION ALL
|
1482
|
+
SELECT sql
|
1483
|
+
FROM sqlite_temp_master
|
1484
|
+
WHERE name='index_groups_context_and_group_id' AND type='index'
|
1485
|
+
[0m
|
1486
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
558
1487
|
FROM sqlite_master
|
559
1488
|
WHERE name='index_coalescing_panda_sections_on_sis_id' AND type='index'
|
560
1489
|
UNION ALL
|
561
1490
|
SELECT sql
|
562
1491
|
FROM sqlite_temp_master
|
563
1492
|
WHERE name='index_coalescing_panda_sections_on_sis_id' AND type='index'
|
1493
|
+
|
1494
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1495
|
+
FROM sqlite_master
|
1496
|
+
WHERE name='index_coalescing_panda_sections_on_canvas_section_id' AND type='index'
|
1497
|
+
UNION ALL
|
1498
|
+
SELECT sql
|
1499
|
+
FROM sqlite_temp_master
|
1500
|
+
WHERE name='index_coalescing_panda_sections_on_canvas_section_id' AND type='index'
|
564
1501
|
[0m
|
565
1502
|
[1m[35m (0.1ms)[0m SELECT sql
|
566
1503
|
FROM sqlite_master
|
567
|
-
WHERE name='
|
1504
|
+
WHERE name='index_coalescing_panda_sections_on_coalescing_panda_course_id' AND type='index'
|
568
1505
|
UNION ALL
|
569
1506
|
SELECT sql
|
570
1507
|
FROM sqlite_temp_master
|
571
|
-
WHERE name='
|
1508
|
+
WHERE name='index_coalescing_panda_sections_on_coalescing_panda_course_id' AND type='index'
|
572
1509
|
|
573
1510
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
574
1511
|
FROM sqlite_master
|
@@ -596,11 +1533,11 @@ Migrating to CreateCoalescingPandaGroupCategories (20150714205405)
|
|
596
1533
|
[0m
|
597
1534
|
[1m[35m (0.1ms)[0m SELECT sql
|
598
1535
|
FROM sqlite_master
|
599
|
-
WHERE name='
|
1536
|
+
WHERE name='index_coalescing_panda_terms_on_canvas_term_id' AND type='index'
|
600
1537
|
UNION ALL
|
601
1538
|
SELECT sql
|
602
1539
|
FROM sqlite_temp_master
|
603
|
-
WHERE name='
|
1540
|
+
WHERE name='index_coalescing_panda_terms_on_canvas_term_id' AND type='index'
|
604
1541
|
|
605
1542
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
606
1543
|
FROM sqlite_master
|
@@ -612,17 +1549,25 @@ Migrating to CreateCoalescingPandaGroupCategories (20150714205405)
|
|
612
1549
|
[0m
|
613
1550
|
[1m[35m (0.1ms)[0m SELECT sql
|
614
1551
|
FROM sqlite_master
|
615
|
-
WHERE name='
|
1552
|
+
WHERE name='index_coalescing_panda_users_on_canvas_user_id' AND type='index'
|
616
1553
|
UNION ALL
|
617
1554
|
SELECT sql
|
618
1555
|
FROM sqlite_temp_master
|
619
|
-
WHERE name='
|
1556
|
+
WHERE name='index_coalescing_panda_users_on_canvas_user_id' AND type='index'
|
620
1557
|
|
621
1558
|
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1559
|
+
FROM sqlite_master
|
1560
|
+
WHERE name='index_users_account' AND type='index'
|
1561
|
+
UNION ALL
|
1562
|
+
SELECT sql
|
1563
|
+
FROM sqlite_temp_master
|
1564
|
+
WHERE name='index_users_account' AND type='index'
|
1565
|
+
[0m
|
1566
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
622
1567
|
FROM sqlite_master
|
623
1568
|
WHERE name='delayed_jobs_priority' AND type='index'
|
624
1569
|
UNION ALL
|
625
1570
|
SELECT sql
|
626
1571
|
FROM sqlite_temp_master
|
627
1572
|
WHERE name='delayed_jobs_priority' AND type='index'
|
628
|
-
|
1573
|
+
|