coalescing_panda 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/coalescing_panda/canvas_batches.js +2 -0
- data/app/assets/stylesheets/coalescing_panda/canvas_batches.css +4 -0
- data/app/controllers/coalescing_panda/canvas_batches_controller.rb +6 -0
- data/app/helpers/coalescing_panda/canvas_batches_helper.rb +4 -0
- data/app/models/coalescing_panda/canvas_batch.rb +4 -0
- data/db/migrate/20141121174846_create_coalescing_panda_canvas_batches.rb +11 -0
- data/lib/coalescing_panda/version.rb +1 -1
- data/lib/tasks/coalescing_panda_tasks.rake +130 -4
- data/spec/controllers/coalescing_panda/canvas_batches_controller_spec.rb +7 -0
- data/spec/dummy/app/models/account.rb +7 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +550 -0
- data/spec/dummy/log/test.log +1189 -0
- data/spec/factories/coalescing_panda_canvas_batches.rb +7 -0
- data/spec/helpers/coalescing_panda/canvas_batches_helper_spec.rb +17 -0
- data/spec/models/coalescing_panda/canvas_batch_spec.rb +7 -0
- metadata +66 -44
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fdef09de0b5e7f835e5331b27a6f050e7313f4f8
|
4
|
+
data.tar.gz: 482523685f646272d1f18f9ab5222a4f808664ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68b3c2beed1f983ab7ad7238d562a295866597ae31e4a4ae483e06935c0599bd751c3096ef116b0e8e440d52250df551c931052b98347977dc0a8e3beab7500a
|
7
|
+
data.tar.gz: 52c068af16c1557363ea660eeb5cda447c75c05a68e1bd503ce19476ae6a3a6ab83ff12e105c46eb72498926572efd61af6f692e183632258df2630d3497d7c3
|
@@ -1,4 +1,130 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
namespace :coalescing_panda do
|
2
|
+
desc "creates model files with the proper associations"
|
3
|
+
task :create_models => :environment do
|
4
|
+
### Account.rb
|
5
|
+
if File.exist?("#{Rails.root}/app/models/account.rb")
|
6
|
+
puts "Skipping account.rb: File already exists"
|
7
|
+
else
|
8
|
+
file_contents = model_template("Account", "LtiAccount", [
|
9
|
+
{type: 'has_many', name: :terms, foreign_key: :coalescing_panda_lti_account_id , class_name: 'Term'},
|
10
|
+
{type: 'has_many', name: :courses, foreign_key: :coalescing_panda_lti_account_id, class_name: 'Course'},
|
11
|
+
{type: 'has_many', name: :users, foreign_key: :coalescing_panda_lti_account_id, class_name: 'User'}
|
12
|
+
])
|
13
|
+
File.open("#{Rails.root}/app/models/account.rb", 'w') {|f| f.write(file_contents) }
|
14
|
+
end
|
15
|
+
|
16
|
+
### Assignment.rb
|
17
|
+
if File.exist?("#{Rails.root}/app/models/assignment.rb")
|
18
|
+
puts "Skipping assignment.rb: File already exists"
|
19
|
+
else
|
20
|
+
file_contents = model_template("Assignment", "Assignment", [
|
21
|
+
{type: 'belongs_to', name: :course, foreign_key: :coalescing_panda_course_id , class_name: 'Course'},
|
22
|
+
{type: 'has_many', name: :submissions, foreign_key: :coalescing_panda_assignment_id, class_name: 'Submission'},
|
23
|
+
])
|
24
|
+
File.open("#{Rails.root}/app/models/assignment.rb", 'w') {|f| f.write(file_contents) }
|
25
|
+
end
|
26
|
+
|
27
|
+
### Course.rb
|
28
|
+
if File.exist?("#{Rails.root}/app/models/course.rb")
|
29
|
+
puts "Skipping course.rb: File already exists"
|
30
|
+
else
|
31
|
+
file_contents = model_template("Course", "Course", [
|
32
|
+
{type: 'belongs_to', name: :account, foreign_key: :coalescing_panda_lti_account_id , class_name: 'Account'},
|
33
|
+
{type: 'belongs_to', name: :term, foreign_key: :coalescing_panda_term_id , class_name: 'Term'},
|
34
|
+
{type: 'has_many', name: :sections, foreign_key: :coalescing_panda_course_id, class_name: 'Section'},
|
35
|
+
{type: 'has_many', name: :enrollments, through: :sections, class_name: "Enrollment"},
|
36
|
+
{type: 'has_many', name: :assignments, foreign_key: :coalescing_panda_course_id, class_name: 'Assignment'},
|
37
|
+
{type: 'has_many', name: :submissions, through: :assignments, class_name: "Submission"},
|
38
|
+
{type: 'has_many', name: :users, through: :sections, class_name: 'User'},
|
39
|
+
])
|
40
|
+
|
41
|
+
File.open("#{Rails.root}/app/models/course.rb", 'w') {|f| f.write(file_contents) }
|
42
|
+
end
|
43
|
+
|
44
|
+
### Enrollment.rb
|
45
|
+
if File.exist?("#{Rails.root}/app/models/enrollment.rb")
|
46
|
+
puts "Skipping enrollment.rb: File already exists"
|
47
|
+
else
|
48
|
+
file_contents = model_template("Enrollment", "Enrollment", [
|
49
|
+
{type: 'belongs_to', name: :user, foreign_key: :coalescing_panda_user_id , class_name: 'User'},
|
50
|
+
{type: 'belongs_to', name: :section, foreign_key: :coalescing_panda_section_id , class_name: 'Section'},
|
51
|
+
])
|
52
|
+
|
53
|
+
File.open("#{Rails.root}/app/models/enrollment.rb", 'w') {|f| f.write(file_contents) }
|
54
|
+
end
|
55
|
+
|
56
|
+
### Section.rb
|
57
|
+
if File.exist?("#{Rails.root}/app/models/section.rb")
|
58
|
+
puts "Skipping section.rb: File already exists"
|
59
|
+
else
|
60
|
+
file_contents = model_template("Section", "Section", [
|
61
|
+
{type: 'belongs_to', name: :course, foreign_key: :coalescing_panda_course_id , class_name: 'Course'},
|
62
|
+
{type: 'has_many', name: :enrollments, foreign_key: :coalescing_panda_section_id , class_name: 'Enrollment'},
|
63
|
+
{type: 'has_many', name: :users, through: :enrollments, class_name: 'User'},
|
64
|
+
])
|
65
|
+
|
66
|
+
File.open("#{Rails.root}/app/models/section.rb", 'w') {|f| f.write(file_contents) }
|
67
|
+
end
|
68
|
+
|
69
|
+
### Submission.rb
|
70
|
+
if File.exist?("#{Rails.root}/app/models/submission.rb")
|
71
|
+
puts "Skipping submission.rb: File already exists"
|
72
|
+
else
|
73
|
+
file_contents = model_template("Submission", "Submission", [
|
74
|
+
{type: 'belongs_to', name: :user, foreign_key: :coalescing_panda_user_id , class_name: 'User'},
|
75
|
+
{type: 'belongs_to', name: :assignment, foreign_key: :coalescing_panda_assignment_id , class_name: 'Assignment'},
|
76
|
+
])
|
77
|
+
|
78
|
+
File.open("#{Rails.root}/app/models/submission.rb", 'w') {|f| f.write(file_contents) }
|
79
|
+
end
|
80
|
+
|
81
|
+
### Term.rb
|
82
|
+
if File.exist?("#{Rails.root}/app/models/term.rb")
|
83
|
+
puts "Skipping term.rb: File already exists"
|
84
|
+
else
|
85
|
+
file_contents = model_template("Term", "Term", [
|
86
|
+
{type: 'belongs_to', name: :account, foreign_key: :coalescing_panda_lti_account_id , class_name: 'Account'},
|
87
|
+
{type: 'has_many', name: :courses, foreign_key: :coalescing_panda_term_id , class_name: 'Course'},
|
88
|
+
])
|
89
|
+
|
90
|
+
File.open("#{Rails.root}/app/models/term.rb", 'w') {|f| f.write(file_contents) }
|
91
|
+
end
|
92
|
+
|
93
|
+
### User.rb
|
94
|
+
if File.exist?("#{Rails.root}/app/models/user.rb")
|
95
|
+
puts "Skipping user.rb: File already exists"
|
96
|
+
else
|
97
|
+
file_contents = model_template("User", "User", [
|
98
|
+
{type: 'belongs_to', name: :account, foreign_key: :coalescing_panda_lti_account_id , class_name: 'Account'},
|
99
|
+
{type: 'has_many', name: :enrollments, foreign_key: :coalescing_panda_user_id , class_name: 'Enrollment'},
|
100
|
+
{type: 'has_many', name: :submissions, foreign_key: :coalescing_panda_user_id , class_name: 'Submission'},
|
101
|
+
{type: 'has_many', name: :sections, through: :enrollments, class_name: 'Section'},
|
102
|
+
{type: 'has_many', name: :courses, through: :sections, class_name: 'Course'},
|
103
|
+
])
|
104
|
+
|
105
|
+
File.open("#{Rails.root}/app/models/user.rb", 'w') {|f| f.write(file_contents) }
|
106
|
+
end
|
107
|
+
|
108
|
+
end
|
109
|
+
|
110
|
+
def model_template(model_name, coalescing_panda_model_name, associations = [])
|
111
|
+
string = ""
|
112
|
+
string << "class #{model_name} < CoalescingPanda::#{coalescing_panda_model_name}\n"
|
113
|
+
string << associations_string(associations)
|
114
|
+
string << "end"
|
115
|
+
string
|
116
|
+
end
|
117
|
+
|
118
|
+
def associations_string(associations)
|
119
|
+
results = ""
|
120
|
+
associations.each do |association|
|
121
|
+
if association.has_key?(:through)
|
122
|
+
results << "\t#{association[:type]} :#{association[:name]}, through: :#{association[:through]}, class_name: '#{association[:class_name]}'\n"
|
123
|
+
else
|
124
|
+
results << "\t#{association[:type]} :#{association[:name]}, foreign_key: :#{association[:foreign_key]}, class_name: '#{association[:class_name]}'\n"
|
125
|
+
end
|
126
|
+
end
|
127
|
+
results
|
128
|
+
end
|
129
|
+
|
130
|
+
end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
|
2
|
+
class Account < CoalescingPanda::LtiAccount
|
3
|
+
has_many :terms, foreign_key: :coalescing_panda_lti_account_id, class_name: 'Term'
|
4
|
+
has_many :courses, foreign_key: :coalescing_panda_lti_account_id, class_name: 'Course'
|
5
|
+
has_many :users, foreign_key: :coalescing_panda_lti_account_id, class_name: 'User'
|
6
|
+
end
|
7
|
+
|
Binary file
|
Binary file
|
@@ -0,0 +1,550 @@
|
|
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
|
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
|
85
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
86
|
+
[1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'test' LIMIT 1
|
87
|
+
[1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" IS NULL LIMIT 1[0m
|
88
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
89
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
90
|
+
[1m[35mCoalescingPanda::LtiAccount Exists (0.2ms)[0m SELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."name" = 'test' LIMIT 1
|
91
|
+
[1m[36mCoalescingPanda::LtiAccount Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "coalescing_panda_lti_accounts" WHERE "coalescing_panda_lti_accounts"."key" = 'k' LIMIT 1[0m
|
92
|
+
[1m[35mSQL (1.5ms)[0m INSERT INTO "coalescing_panda_lti_accounts" ("created_at", "key", "name", "secret", "settings", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Thu, 20 Nov 2014 17:33:45 UTC +00:00], ["key", "k"], ["name", "test"], ["secret", "s"], ["settings", nil], ["updated_at", Thu, 20 Nov 2014 17:33:45 UTC +00:00]]
|
93
|
+
[1m[36m (7.0ms)[0m [1mcommit transaction[0m
|
94
|
+
[1m[36mCoalescingPanda::LtiAccount Load (0.1ms)[0m [1mSELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" ORDER BY "coalescing_panda_lti_accounts"."id" DESC LIMIT 1[0m
|
95
|
+
[1m[35mCoalescingPanda::Course Load (2.2ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."coalescing_panda_lti_account_id" = ? [["coalescing_panda_lti_account_id", 1]]
|
96
|
+
[1m[36mCoalescingPanda::LtiAccount Load (0.1ms)[0m [1mSELECT "coalescing_panda_lti_accounts".* FROM "coalescing_panda_lti_accounts" ORDER BY "coalescing_panda_lti_accounts"."id" DESC LIMIT 1[0m
|
97
|
+
[1m[35mCoalescingPanda::Course Load (1.6ms)[0m SELECT "coalescing_panda_courses".* FROM "coalescing_panda_courses" WHERE "coalescing_panda_courses"."coalescing_panda_lti_account_id" = ? [["coalescing_panda_lti_account_id", 1]]
|
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]]
|
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
|
143
|
+
Migrating to CreateCoalescingPandaLtiAccounts (20131118211442)
|
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"]]
|
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
|
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"
|