commontator 1.0.6 → 1.1.0
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.
- data/app/controllers/commontator/application_controller.rb +5 -2
- data/app/controllers/commontator/application_controller.rb~ +5 -3
- data/app/controllers/commontator/comments_controller.rb +1 -4
- data/app/controllers/commontator/comments_controller.rb~ +4 -5
- data/app/controllers/commontator/subscriptions_controller.rb +0 -1
- data/app/controllers/commontator/subscriptions_controller.rb~ +1 -1
- data/app/controllers/commontator/threads_controller.rb +2 -2
- data/app/controllers/commontator/threads_controller.rb~ +3 -4
- data/app/mailers/commontator/subscriptions_mailer.rb +9 -13
- data/app/mailers/commontator/subscriptions_mailer.rb~ +9 -13
- data/app/models/commontator/comment_observer.rb +12 -0
- data/app/models/commontator/comment_observer.rb~ +13 -0
- data/app/models/commontator/thread.rb +4 -0
- data/app/models/commontator/thread.rb~ +5 -1
- data/app/views/commontator/subscriptions_mailer/{comment_created_email.html.erb → comment_created.html.erb} +0 -0
- data/config/initializers/commontator.rb +15 -12
- data/config/initializers/commontator.rb~ +15 -12
- data/lib/commontator.rb +3 -2
- data/lib/commontator.rb~ +4 -2
- data/lib/commontator/engine.rb~ +6 -0
- data/lib/commontator/version.rb +1 -1
- data/lib/commontator/version.rb~ +1 -1
- data/spec/app/mailers/commontator/subscriptions_mailer_spec.rb +9 -17
- data/spec/app/mailers/commontator/subscriptions_mailer_spec.rb~ +10 -17
- data/spec/app/models/commontator/comment_observer_spec.rb +27 -0
- data/spec/app/models/commontator/comment_observer_spec.rb~ +27 -0
- data/spec/dummy/config/initializers/commontator.rb +14 -9
- data/spec/dummy/config/initializers/commontator.rb~ +15 -9
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +926 -0
- data/spec/dummy/log/test.log +32956 -0
- metadata +10 -3
data/lib/commontator.rb
CHANGED
@@ -11,10 +11,10 @@ module Commontator
|
|
11
11
|
COMMONTATOR_ATTRIBUTES = [
|
12
12
|
:user_missing_name,
|
13
13
|
:user_name_clickable,
|
14
|
-
:subscription_emails,
|
15
14
|
:user_email_method,
|
16
15
|
:user_name_method,
|
17
|
-
:user_admin_proc
|
16
|
+
:user_admin_proc,
|
17
|
+
:subscription_email_enable_proc
|
18
18
|
]
|
19
19
|
|
20
20
|
# Can be set in initializer or passed as an option to acts_as_commontable
|
@@ -39,6 +39,7 @@ module Commontator
|
|
39
39
|
:can_edit_thread_proc,
|
40
40
|
:can_read_thread_proc,
|
41
41
|
:commontable_url_proc,
|
42
|
+
:subscription_email_from_proc,
|
42
43
|
:subscription_email_subject_proc
|
43
44
|
]
|
44
45
|
|
data/lib/commontator.rb~
CHANGED
@@ -14,7 +14,8 @@ module Commontator
|
|
14
14
|
:subscription_emails,
|
15
15
|
:user_email_method,
|
16
16
|
:user_name_method,
|
17
|
-
:user_admin_proc
|
17
|
+
:user_admin_proc,
|
18
|
+
:subscription_email_enable_proc
|
18
19
|
]
|
19
20
|
|
20
21
|
# Can be set in initializer or passed as an option to acts_as_commontable
|
@@ -31,7 +32,7 @@ module Commontator
|
|
31
32
|
:can_delete_own_comments,
|
32
33
|
:can_delete_old_comments,
|
33
34
|
:can_subscribe_to_thread,
|
34
|
-
:
|
35
|
+
:can_vote_on_comments,
|
35
36
|
:comments_ordered_by_votes,
|
36
37
|
:closed_threads_are_readable,
|
37
38
|
:deleted_comments_are_visible,
|
@@ -39,6 +40,7 @@ module Commontator
|
|
39
40
|
:can_edit_thread_proc,
|
40
41
|
:can_read_thread_proc,
|
41
42
|
:commontable_url_proc,
|
43
|
+
:subscription_email_from_proc,
|
42
44
|
:subscription_email_subject_proc
|
43
45
|
]
|
44
46
|
|
data/lib/commontator/version.rb
CHANGED
data/lib/commontator/version.rb~
CHANGED
@@ -4,35 +4,27 @@ module Commontator
|
|
4
4
|
describe SubscriptionsMailer do
|
5
5
|
before do
|
6
6
|
setup_mailer_spec
|
7
|
+
@user2 = DummyUser.create
|
8
|
+
@thread.subscribe(@user)
|
9
|
+
@thread.subscribe(@user2)
|
7
10
|
@comment = Comment.new
|
8
11
|
@comment.thread = @thread
|
9
12
|
@comment.creator = @user
|
10
13
|
@comment.body = 'Something'
|
11
14
|
@comment.save!
|
12
|
-
@
|
13
|
-
@thread.subscribe(@user)
|
15
|
+
@recipients = @thread.active_subscribers.reject{|s| s == @user}
|
14
16
|
end
|
15
17
|
|
16
|
-
it '
|
17
|
-
mail = SubscriptionsMailer.
|
18
|
-
mail.
|
19
|
-
mail.cc.must_be_nil
|
20
|
-
mail.bcc.must_be_nil
|
21
|
-
mail.subject.must_be_nil
|
22
|
-
mail.body.must_be_empty
|
23
|
-
end
|
24
|
-
|
25
|
-
it 'must send email if subscribers not empty' do
|
26
|
-
user2 = DummyUser.create
|
27
|
-
@thread.subscribe(DummyUser.create)
|
28
|
-
mail = SubscriptionsMailer.comment_created_email(@comment, @commontable_url)
|
18
|
+
it 'must create deliverable mail' do
|
19
|
+
mail = SubscriptionsMailer.comment_created(@comment, @recipients)
|
20
|
+
mail.must_be_instance_of Mail::Message
|
29
21
|
mail.to.must_be_nil
|
30
22
|
mail.cc.must_be_nil
|
31
23
|
mail.bcc.size.must_equal 1
|
32
|
-
mail.bcc.must_include user2.email
|
24
|
+
mail.bcc.must_include @user2.email
|
33
25
|
mail.subject.wont_be_empty
|
34
26
|
mail.body.wont_be_empty
|
27
|
+
mail.deliver.must_equal mail
|
35
28
|
end
|
36
|
-
|
37
29
|
end
|
38
30
|
end
|
@@ -4,34 +4,27 @@ module Commontator
|
|
4
4
|
describe SubscriptionsMailer do
|
5
5
|
before do
|
6
6
|
setup_mailer_spec
|
7
|
+
@user2 = DummyUser.create
|
7
8
|
@comment = Comment.new
|
8
9
|
@comment.thread = @thread
|
9
10
|
@comment.creator = @user
|
10
11
|
@comment.body = 'Something'
|
11
|
-
@comment.save!
|
12
|
-
@commontable_url = 'dummy_model_url'
|
13
12
|
@thread.subscribe(@user)
|
13
|
+
@thread.subscribe(@user2)
|
14
|
+
@comment.save!
|
15
|
+
@recipients = @thread.active_subscribers.reject{|s| s == @user}
|
14
16
|
end
|
15
17
|
|
16
|
-
it '
|
17
|
-
mail = SubscriptionsMailer.
|
18
|
-
mail.
|
19
|
-
mail.cc.must_be_nil
|
20
|
-
mail.bcc.must_be_nil
|
21
|
-
mail.subject.must_be_nil
|
22
|
-
mail.body.must_be_empty
|
23
|
-
end
|
24
|
-
|
25
|
-
it 'must send email if subscribers not empty' do
|
26
|
-
user2 = DummyUser.create
|
27
|
-
@thread.subscribe(DummyUser.create)
|
28
|
-
mail = SubscriptionsMailer.comment_created_email(@comment, @commontable_url)
|
18
|
+
it 'must create deliverable mail' do
|
19
|
+
mail = SubscriptionsMailer.comment_created(@comment, @recipients)
|
20
|
+
mail.must_be_instance_of Mail::Message
|
29
21
|
mail.to.must_be_nil
|
30
22
|
mail.cc.must_be_nil
|
31
|
-
mail.bcc.
|
23
|
+
mail.bcc.size.must_equal 1
|
24
|
+
mail.bcc.must_include @user2.email
|
32
25
|
mail.subject.wont_be_empty
|
33
26
|
mail.body.wont_be_empty
|
27
|
+
mail.deliver.must_equal mail
|
34
28
|
end
|
35
|
-
|
36
29
|
end
|
37
30
|
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
module Commontator
|
4
|
+
describe CommentObserver do
|
5
|
+
before do
|
6
|
+
setup_model_spec
|
7
|
+
@comment_observer = CommentObserver.send :new
|
8
|
+
@thread.subscribe(@user)
|
9
|
+
@comment = Comment.new
|
10
|
+
@comment.thread = @thread
|
11
|
+
@comment.creator = @user
|
12
|
+
@comment.body = 'Something'
|
13
|
+
@comment.save!
|
14
|
+
end
|
15
|
+
|
16
|
+
it 'wont send mail unless recipients not empty' do
|
17
|
+
@comment_observer.after_create(@comment).must_be_nil
|
18
|
+
end
|
19
|
+
|
20
|
+
it 'must send mail if recipients not empty' do
|
21
|
+
@user2 = DummyUser.create
|
22
|
+
@thread.subscribe(@user2)
|
23
|
+
@comment.reload
|
24
|
+
@comment_observer.after_create(@comment).must_be_instance_of Mail::Message
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
module Commontator
|
4
|
+
describe CommentObserver do
|
5
|
+
before do
|
6
|
+
setup_model_spec
|
7
|
+
@comment_observer = CommentObserver.send :new
|
8
|
+
@thread.subscribe(@user)
|
9
|
+
@comment = Comment.new
|
10
|
+
@comment.thread = @thread
|
11
|
+
@comment.creator = @user
|
12
|
+
@comment.body = 'Something'
|
13
|
+
@comment.save!
|
14
|
+
end
|
15
|
+
|
16
|
+
it 'wont send mail unless recipients not empty' do
|
17
|
+
@comment_observer.after_create(@comment).must_be_nil
|
18
|
+
end
|
19
|
+
|
20
|
+
it 'must send mail if recipients not empty' do
|
21
|
+
@user2 = DummyUser.create
|
22
|
+
@thread.subscribe(@user2)
|
23
|
+
pp @thread.active_subscribers
|
24
|
+
@comment_observer.after_create(@comment).must_be_instance_of Mail::Message
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -8,12 +8,12 @@ Commontator.configure do |config|
|
|
8
8
|
# Default: 'current_user'
|
9
9
|
config.current_user_method = 'current_user'
|
10
10
|
|
11
|
-
# Proc that is called after any javascript runs (e.g. to clear flash)
|
11
|
+
# Proc that is called after any javascript runs (e.g. to display/clear flash messages)
|
12
12
|
# It is passed the view_context object (self from the view template), so you should be able to
|
13
13
|
# access anything you normally could in a view template (by using, e.g. view.flash)
|
14
14
|
# Should return a string containing JS to be appended to all Commontator JS responses
|
15
|
-
# Default: lambda { |view| '$("#error_explanation").
|
16
|
-
config.javascript_proc = lambda { |view| '
|
15
|
+
# Default: lambda { |view| '$("#error_explanation").hide();' }
|
16
|
+
config.javascript_proc = lambda { |view| '' }
|
17
17
|
|
18
18
|
|
19
19
|
# User (acts_as_commontator) Configuration
|
@@ -26,11 +26,6 @@ Commontator.configure do |config|
|
|
26
26
|
# If enabled, the link will point to the comment creator's show page
|
27
27
|
# Default: false
|
28
28
|
config.user_name_clickable = false
|
29
|
-
|
30
|
-
# Whether automated emails are sent to the user whenever
|
31
|
-
# a comment is posted on a thread they subscribe to
|
32
|
-
# Default: true
|
33
|
-
config.subscription_emails = true
|
34
29
|
|
35
30
|
# The method that returns the user's email address
|
36
31
|
# Default: 'email'
|
@@ -45,6 +40,11 @@ Commontator.configure do |config|
|
|
45
40
|
# Note: user can be nil
|
46
41
|
# Default: lambda { |user| false } (no admins)
|
47
42
|
config.user_admin_proc = lambda { |user| user.try(:is_admin) }
|
43
|
+
|
44
|
+
# Proc called with user as argument that returns true
|
45
|
+
# if the user should receive subscription emails
|
46
|
+
# Default: lambda { |user| true } (always receive subscription emails)
|
47
|
+
config.subscription_email_enable_proc = lambda { |user| true }
|
48
48
|
|
49
49
|
|
50
50
|
# Commontable (acts_as_commontable) Configuration
|
@@ -145,7 +145,12 @@ Commontator.configure do |config|
|
|
145
145
|
# Default: lambda { |main_app, commontable| main_app.polymorphic_url(commontable) }
|
146
146
|
config.commontable_url_proc = lambda { |main_app, commontable| main_app.polymorphic_url(commontable) }
|
147
147
|
|
148
|
-
# Proc that returns the subscription email
|
148
|
+
# Proc that returns the subscription email 'from' address
|
149
|
+
# Default:
|
150
|
+
# lambda { |params| 'no-reply@example.com' }
|
151
|
+
config.subscription_email_from_proc = lambda { |params| 'no-reply@example.com' }
|
152
|
+
|
153
|
+
# Proc that returns the subscription email 'subject' string
|
149
154
|
# Default:
|
150
155
|
# lambda do |params|
|
151
156
|
# "#{params[:creator_name]} #{params[:config].comment_create_verb_past} a " + \
|
@@ -8,11 +8,11 @@ Commontator.configure do |config|
|
|
8
8
|
# Default: 'current_user'
|
9
9
|
config.current_user_method = 'current_user'
|
10
10
|
|
11
|
-
# Proc that is called after any javascript runs (e.g. to clear flash)
|
11
|
+
# Proc that is called after any javascript runs (e.g. to display/clear flash messages)
|
12
12
|
# It is passed the view_context object (self from the view template), so you should be able to
|
13
13
|
# access anything you normally could in a view template (by using, e.g. view.flash)
|
14
14
|
# Should return a string containing JS to be appended to all Commontator JS responses
|
15
|
-
# Default: lambda { |view| '$("#error_explanation").
|
15
|
+
# Default: lambda { |view| '$("#error_explanation").hide();' }
|
16
16
|
config.javascript_proc = lambda { |view| 'Dummy Javascript' }
|
17
17
|
|
18
18
|
|
@@ -22,14 +22,10 @@ Commontator.configure do |config|
|
|
22
22
|
# Default: 'Anonymous'
|
23
23
|
config.user_missing_name = 'Anonymous'
|
24
24
|
|
25
|
-
# Whether the
|
25
|
+
# Whether the comment creator's name is clickable in the comment view
|
26
|
+
# If enabled, the link will point to the comment creator's show page
|
26
27
|
# Default: false
|
27
28
|
config.user_name_clickable = false
|
28
|
-
|
29
|
-
# Whether automated emails are sent to the user whenever
|
30
|
-
# a comment is posted on a thread they subscribe to
|
31
|
-
# Default: true
|
32
|
-
config.subscription_emails = true
|
33
29
|
|
34
30
|
# The method that returns the user's email address
|
35
31
|
# Default: 'email'
|
@@ -44,6 +40,11 @@ Commontator.configure do |config|
|
|
44
40
|
# Note: user can be nil
|
45
41
|
# Default: lambda { |user| false } (no admins)
|
46
42
|
config.user_admin_proc = lambda { |user| user.try(:is_admin) }
|
43
|
+
|
44
|
+
# Proc called with user as argument that returns true
|
45
|
+
# if the user should receive subscription emails
|
46
|
+
# Default: lambda { |user| true } (always receive subscription emails)
|
47
|
+
config.subscription_email_enable_proc = lambda { |user| true }
|
47
48
|
|
48
49
|
|
49
50
|
# Commontable (acts_as_commontable) Configuration
|
@@ -144,7 +145,12 @@ Commontator.configure do |config|
|
|
144
145
|
# Default: lambda { |main_app, commontable| main_app.polymorphic_url(commontable) }
|
145
146
|
config.commontable_url_proc = lambda { |main_app, commontable| main_app.polymorphic_url(commontable) }
|
146
147
|
|
147
|
-
# Proc that returns the subscription email
|
148
|
+
# Proc that returns the subscription email 'from' address
|
149
|
+
# Default:
|
150
|
+
# lambda { |params| 'no-reply@example.com' }
|
151
|
+
config.subscription_email_from_proc = lambda { |params| 'no-reply@example.com' }
|
152
|
+
|
153
|
+
# Proc that returns the subscription email 'subject' string
|
148
154
|
# Default:
|
149
155
|
# lambda do |params|
|
150
156
|
# "#{params[:creator_name]} #{params[:config].comment_create_verb_past} a " + \
|
Binary file
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -14296,3 +14296,929 @@ Connecting to database specified by database.yml
|
|
14296
14296
|
[1m[36m (0.3ms)[0m [1mPRAGMA index_info('index_votes_on_votable_id_and_votable_type')[0m
|
14297
14297
|
[1m[35m (204.4ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
14298
14298
|
[1m[36m (0.4ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
14299
|
+
Connecting to database specified by database.yml
|
14300
|
+
Connecting to database specified by database.yml
|
14301
|
+
Connecting to database specified by database.yml
|
14302
|
+
Connecting to database specified by database.yml
|
14303
|
+
Connecting to database specified by database.yml
|
14304
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
14305
|
+
[1m[35m (2.8ms)[0m select sqlite_version(*)
|
14306
|
+
[1m[36m (280.5ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
14307
|
+
[1m[35m (197.5ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "creator_id" integer, "creator_type" varchar(255), "deleted_at" datetime, "deleter_id" integer, "deleter_type" varchar(255), "thread_id" integer, "cached_votes_total" integer DEFAULT 0, "cached_votes_up" integer DEFAULT 0, "cached_votes_down" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14308
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14309
|
+
[1m[35m (204.4ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")
|
14310
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14311
|
+
[1m[35m (0.2ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14312
|
+
[1m[36m (287.7ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")[0m
|
14313
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_comments")
|
14314
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_total')[0m
|
14315
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14316
|
+
[1m[36m (199.1ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
14317
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_comments")
|
14318
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
14319
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
14320
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
14321
|
+
[1m[35m (200.3ms)[0m CREATE INDEX "index_c_c_on_c_id_and_c_type_and_t_id" ON "commontator_comments" ("creator_id", "creator_type", "thread_id")
|
14322
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14323
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
|
14324
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
14325
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
14326
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
14327
|
+
[1m[35m (204.5ms)[0m CREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")
|
14328
|
+
[1m[36m (234.9ms)[0m [1mDROP TABLE "commontator_subscriptions"[0m
|
14329
|
+
[1m[35m (203.1ms)[0m CREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_id" integer, "subscriber_type" varchar(255), "thread_id" integer, "unread" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14330
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
14331
|
+
[1m[35m (205.3ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_id_and_s_type_and_t_id" ON "commontator_subscriptions" ("subscriber_id", "subscriber_type", "thread_id")
|
14332
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
14333
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')
|
14334
|
+
[1m[36m (199.0ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
14335
|
+
[1m[35m (195.9ms)[0m DROP TABLE "commontator_threads"
|
14336
|
+
[1m[36m (283.1ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_id" integer, "commontable_type" varchar(255), "closed_at" datetime, "closer_id" integer, "closer_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14337
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_threads")
|
14338
|
+
[1m[36m (206.1ms)[0m [1mCREATE INDEX "index_commontator_threads_on_commontable_id_and_commontable_type" ON "commontator_threads" ("commontable_id", "commontable_type")[0m
|
14339
|
+
[1m[35m (192.3ms)[0m DROP TABLE "dummy_models"
|
14340
|
+
[1m[36m (205.5ms)[0m [1mCREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14341
|
+
[1m[35m (190.2ms)[0m DROP TABLE "dummy_users"
|
14342
|
+
[1m[36m (299.5ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14343
|
+
[1m[35m (190.3ms)[0m DROP TABLE "votes"
|
14344
|
+
[1m[36m (214.2ms)[0m [1mCREATE TABLE "votes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "votable_id" integer, "votable_type" varchar(255), "voter_id" integer, "voter_type" varchar(255), "vote_flag" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14345
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("votes")
|
14346
|
+
[1m[36m (199.0ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")[0m
|
14347
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("votes")
|
14348
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_info('index_votes_on_votable_id_and_votable_type')[0m
|
14349
|
+
[1m[35m (306.2ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
14350
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
14351
|
+
Connecting to database specified by database.yml
|
14352
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
14353
|
+
[1m[35m (0.5ms)[0m select sqlite_version(*)
|
14354
|
+
[1m[36m (341.5ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
14355
|
+
[1m[35m (196.7ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "creator_id" integer, "creator_type" varchar(255), "deleted_at" datetime, "deleter_id" integer, "deleter_type" varchar(255), "thread_id" integer, "cached_votes_total" integer DEFAULT 0, "cached_votes_up" integer DEFAULT 0, "cached_votes_down" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14356
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14357
|
+
[1m[35m (208.0ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")
|
14358
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14359
|
+
[1m[35m (0.2ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14360
|
+
[1m[36m (195.5ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")[0m
|
14361
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("commontator_comments")
|
14362
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_total')[0m
|
14363
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14364
|
+
[1m[36m (207.1ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
14365
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("commontator_comments")
|
14366
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
14367
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
14368
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
14369
|
+
[1m[35m (247.3ms)[0m CREATE INDEX "index_c_c_on_c_id_and_c_type_and_t_id" ON "commontator_comments" ("creator_id", "creator_type", "thread_id")
|
14370
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14371
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
|
14372
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
14373
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
14374
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
14375
|
+
[1m[35m (195.2ms)[0m CREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")
|
14376
|
+
[1m[36m (191.5ms)[0m [1mDROP TABLE "commontator_subscriptions"[0m
|
14377
|
+
[1m[35m (197.8ms)[0m CREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_id" integer, "subscriber_type" varchar(255), "thread_id" integer, "unread" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14378
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
14379
|
+
[1m[35m (307.7ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_id_and_s_type_and_t_id" ON "commontator_subscriptions" ("subscriber_id", "subscriber_type", "thread_id")
|
14380
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
14381
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')
|
14382
|
+
[1m[36m (213.5ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
14383
|
+
[1m[35m (189.1ms)[0m DROP TABLE "commontator_threads"
|
14384
|
+
[1m[36m (197.3ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_id" integer, "commontable_type" varchar(255), "closed_at" datetime, "closer_id" integer, "closer_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14385
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_threads")
|
14386
|
+
[1m[36m (197.7ms)[0m [1mCREATE INDEX "index_commontator_threads_on_commontable_id_and_commontable_type" ON "commontator_threads" ("commontable_id", "commontable_type")[0m
|
14387
|
+
[1m[35m (300.6ms)[0m DROP TABLE "dummy_models"
|
14388
|
+
[1m[36m (196.2ms)[0m [1mCREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14389
|
+
[1m[35m (197.9ms)[0m DROP TABLE "dummy_users"
|
14390
|
+
[1m[36m (190.5ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14391
|
+
[1m[35m (232.6ms)[0m DROP TABLE "votes"
|
14392
|
+
[1m[36m (198.3ms)[0m [1mCREATE TABLE "votes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "votable_id" integer, "votable_type" varchar(255), "voter_id" integer, "voter_type" varchar(255), "vote_flag" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14393
|
+
[1m[35m (0.3ms)[0m PRAGMA index_list("votes")
|
14394
|
+
[1m[36m (199.0ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")[0m
|
14395
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("votes")
|
14396
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_info('index_votes_on_votable_id_and_votable_type')[0m
|
14397
|
+
[1m[35m (196.5ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
14398
|
+
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
14399
|
+
Connecting to database specified by database.yml
|
14400
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
14401
|
+
[1m[35m (0.5ms)[0m select sqlite_version(*)
|
14402
|
+
[1m[36m (256.9ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
14403
|
+
[1m[35m (230.3ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "creator_id" integer, "creator_type" varchar(255), "deleted_at" datetime, "deleter_id" integer, "deleter_type" varchar(255), "thread_id" integer, "cached_votes_total" integer DEFAULT 0, "cached_votes_up" integer DEFAULT 0, "cached_votes_down" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14404
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14405
|
+
[1m[35m (189.9ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")
|
14406
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14407
|
+
[1m[35m (0.2ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14408
|
+
[1m[36m (195.4ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")[0m
|
14409
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_comments")
|
14410
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_total')[0m
|
14411
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14412
|
+
[1m[36m (188.9ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
14413
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_comments")
|
14414
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
14415
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
14416
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
14417
|
+
[1m[35m (248.7ms)[0m CREATE INDEX "index_c_c_on_c_id_and_c_type_and_t_id" ON "commontator_comments" ("creator_id", "creator_type", "thread_id")
|
14418
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14419
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
|
14420
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
14421
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
14422
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
14423
|
+
[1m[35m (190.8ms)[0m CREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")
|
14424
|
+
[1m[36m (197.2ms)[0m [1mDROP TABLE "commontator_subscriptions"[0m
|
14425
|
+
[1m[35m (205.5ms)[0m CREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_id" integer, "subscriber_type" varchar(255), "thread_id" integer, "unread" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14426
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
14427
|
+
[1m[35m (207.2ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_id_and_s_type_and_t_id" ON "commontator_subscriptions" ("subscriber_id", "subscriber_type", "thread_id")
|
14428
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
14429
|
+
[1m[35m (0.2ms)[0m PRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')
|
14430
|
+
[1m[36m (278.4ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
14431
|
+
[1m[35m (200.1ms)[0m DROP TABLE "commontator_threads"
|
14432
|
+
[1m[36m (299.3ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_id" integer, "commontable_type" varchar(255), "closed_at" datetime, "closer_id" integer, "closer_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14433
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_threads")
|
14434
|
+
[1m[36m (330.3ms)[0m [1mCREATE INDEX "index_commontator_threads_on_commontable_id_and_commontable_type" ON "commontator_threads" ("commontable_id", "commontable_type")[0m
|
14435
|
+
[1m[35m (223.2ms)[0m DROP TABLE "dummy_models"
|
14436
|
+
[1m[36m (189.2ms)[0m [1mCREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14437
|
+
[1m[35m (183.1ms)[0m DROP TABLE "dummy_users"
|
14438
|
+
[1m[36m (197.6ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14439
|
+
[1m[35m (182.0ms)[0m DROP TABLE "votes"
|
14440
|
+
[1m[36m (282.0ms)[0m [1mCREATE TABLE "votes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "votable_id" integer, "votable_type" varchar(255), "voter_id" integer, "voter_type" varchar(255), "vote_flag" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14441
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("votes")
|
14442
|
+
[1m[36m (190.0ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")[0m
|
14443
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("votes")
|
14444
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_votes_on_votable_id_and_votable_type')[0m
|
14445
|
+
[1m[35m (198.6ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
14446
|
+
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
14447
|
+
Connecting to database specified by database.yml
|
14448
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
14449
|
+
[1m[35m (0.5ms)[0m select sqlite_version(*)
|
14450
|
+
[1m[36m (285.7ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
14451
|
+
[1m[35m (196.9ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "creator_id" integer, "creator_type" varchar(255), "deleted_at" datetime, "deleter_id" integer, "deleter_type" varchar(255), "thread_id" integer, "cached_votes_total" integer DEFAULT 0, "cached_votes_up" integer DEFAULT 0, "cached_votes_down" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14452
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14453
|
+
[1m[35m (198.2ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")
|
14454
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14455
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14456
|
+
[1m[36m (248.9ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")[0m
|
14457
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_comments")
|
14458
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_total')[0m
|
14459
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14460
|
+
[1m[36m (288.0ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
14461
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_comments")
|
14462
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
14463
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
14464
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
14465
|
+
[1m[35m (217.7ms)[0m CREATE INDEX "index_c_c_on_c_id_and_c_type_and_t_id" ON "commontator_comments" ("creator_id", "creator_type", "thread_id")
|
14466
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14467
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
|
14468
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
14469
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
14470
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
14471
|
+
[1m[35m (212.8ms)[0m CREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")
|
14472
|
+
[1m[36m (197.0ms)[0m [1mDROP TABLE "commontator_subscriptions"[0m
|
14473
|
+
[1m[35m (205.9ms)[0m CREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_id" integer, "subscriber_type" varchar(255), "thread_id" integer, "unread" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14474
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
14475
|
+
[1m[35m (257.9ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_id_and_s_type_and_t_id" ON "commontator_subscriptions" ("subscriber_id", "subscriber_type", "thread_id")
|
14476
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
14477
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')
|
14478
|
+
[1m[36m (214.3ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
14479
|
+
[1m[35m (204.3ms)[0m DROP TABLE "commontator_threads"
|
14480
|
+
[1m[36m (208.2ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_id" integer, "commontable_type" varchar(255), "closed_at" datetime, "closer_id" integer, "closer_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14481
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("commontator_threads")
|
14482
|
+
[1m[36m (301.0ms)[0m [1mCREATE INDEX "index_commontator_threads_on_commontable_id_and_commontable_type" ON "commontator_threads" ("commontable_id", "commontable_type")[0m
|
14483
|
+
[1m[35m (196.1ms)[0m DROP TABLE "dummy_models"
|
14484
|
+
[1m[36m (215.0ms)[0m [1mCREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14485
|
+
[1m[35m (198.7ms)[0m DROP TABLE "dummy_users"
|
14486
|
+
[1m[36m (206.0ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14487
|
+
[1m[35m (243.0ms)[0m DROP TABLE "votes"
|
14488
|
+
[1m[36m (195.3ms)[0m [1mCREATE TABLE "votes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "votable_id" integer, "votable_type" varchar(255), "voter_id" integer, "voter_type" varchar(255), "vote_flag" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14489
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("votes")
|
14490
|
+
[1m[36m (213.4ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")[0m
|
14491
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("votes")
|
14492
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_votes_on_votable_id_and_votable_type')[0m
|
14493
|
+
[1m[35m (209.0ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
14494
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
14495
|
+
Connecting to database specified by database.yml
|
14496
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
14497
|
+
[1m[35m (0.5ms)[0m select sqlite_version(*)
|
14498
|
+
[1m[36m (251.5ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
14499
|
+
[1m[35m (254.9ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "creator_id" integer, "creator_type" varchar(255), "deleted_at" datetime, "deleter_id" integer, "deleter_type" varchar(255), "thread_id" integer, "cached_votes_total" integer DEFAULT 0, "cached_votes_up" integer DEFAULT 0, "cached_votes_down" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14500
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14501
|
+
[1m[35m (186.6ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")
|
14502
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14503
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14504
|
+
[1m[36m (188.0ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")[0m
|
14505
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_comments")
|
14506
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_total')[0m
|
14507
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14508
|
+
[1m[36m (192.0ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
14509
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("commontator_comments")
|
14510
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
14511
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
14512
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
14513
|
+
[1m[35m (230.8ms)[0m CREATE INDEX "index_c_c_on_c_id_and_c_type_and_t_id" ON "commontator_comments" ("creator_id", "creator_type", "thread_id")
|
14514
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14515
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
|
14516
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
14517
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
14518
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
14519
|
+
[1m[35m (187.1ms)[0m CREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")
|
14520
|
+
[1m[36m (188.6ms)[0m [1mDROP TABLE "commontator_subscriptions"[0m
|
14521
|
+
[1m[35m (197.4ms)[0m CREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_id" integer, "subscriber_type" varchar(255), "thread_id" integer, "unread" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14522
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
14523
|
+
[1m[35m (207.5ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_id_and_s_type_and_t_id" ON "commontator_subscriptions" ("subscriber_id", "subscriber_type", "thread_id")
|
14524
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
14525
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')
|
14526
|
+
[1m[36m (278.8ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
14527
|
+
[1m[35m (185.9ms)[0m DROP TABLE "commontator_threads"
|
14528
|
+
[1m[36m (197.2ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_id" integer, "commontable_type" varchar(255), "closed_at" datetime, "closer_id" integer, "closer_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14529
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_threads")
|
14530
|
+
[1m[36m (207.4ms)[0m [1mCREATE INDEX "index_commontator_threads_on_commontable_id_and_commontable_type" ON "commontator_threads" ("commontable_id", "commontable_type")[0m
|
14531
|
+
[1m[35m (189.1ms)[0m DROP TABLE "dummy_models"
|
14532
|
+
[1m[36m (291.2ms)[0m [1mCREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14533
|
+
[1m[35m (181.6ms)[0m DROP TABLE "dummy_users"
|
14534
|
+
[1m[36m (199.7ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14535
|
+
[1m[35m (180.3ms)[0m DROP TABLE "votes"
|
14536
|
+
[1m[36m (191.2ms)[0m [1mCREATE TABLE "votes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "votable_id" integer, "votable_type" varchar(255), "voter_id" integer, "voter_type" varchar(255), "vote_flag" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14537
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("votes")
|
14538
|
+
[1m[36m (239.6ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")[0m
|
14539
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("votes")
|
14540
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_votes_on_votable_id_and_votable_type')[0m
|
14541
|
+
[1m[35m (197.3ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
14542
|
+
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
14543
|
+
Connecting to database specified by database.yml
|
14544
|
+
Connecting to database specified by database.yml
|
14545
|
+
Connecting to database specified by database.yml
|
14546
|
+
Connecting to database specified by database.yml
|
14547
|
+
Connecting to database specified by database.yml
|
14548
|
+
Connecting to database specified by database.yml
|
14549
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
14550
|
+
[1m[35m (0.5ms)[0m select sqlite_version(*)
|
14551
|
+
[1m[36m (266.2ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
14552
|
+
[1m[35m (211.7ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "creator_id" integer, "creator_type" varchar(255), "deleted_at" datetime, "deleter_id" integer, "deleter_type" varchar(255), "thread_id" integer, "cached_votes_total" integer DEFAULT 0, "cached_votes_up" integer DEFAULT 0, "cached_votes_down" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14553
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14554
|
+
[1m[35m (436.1ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")
|
14555
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14556
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14557
|
+
[1m[36m (195.3ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")[0m
|
14558
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("commontator_comments")
|
14559
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_total')[0m
|
14560
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14561
|
+
[1m[36m (204.0ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
14562
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("commontator_comments")
|
14563
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
14564
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
14565
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
14566
|
+
[1m[35m (206.8ms)[0m CREATE INDEX "index_c_c_on_c_id_and_c_type_and_t_id" ON "commontator_comments" ("creator_id", "creator_type", "thread_id")
|
14567
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14568
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
|
14569
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
14570
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
14571
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
14572
|
+
[1m[35m (253.1ms)[0m CREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")
|
14573
|
+
[1m[36m (197.0ms)[0m [1mDROP TABLE "commontator_subscriptions"[0m
|
14574
|
+
[1m[35m (208.3ms)[0m CREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_id" integer, "subscriber_type" varchar(255), "thread_id" integer, "unread" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14575
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
14576
|
+
[1m[35m (206.1ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_id_and_s_type_and_t_id" ON "commontator_subscriptions" ("subscriber_id", "subscriber_type", "thread_id")
|
14577
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
14578
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')
|
14579
|
+
[1m[36m (199.0ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
14580
|
+
[1m[35m (288.4ms)[0m DROP TABLE "commontator_threads"
|
14581
|
+
[1m[36m (191.8ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_id" integer, "commontable_type" varchar(255), "closed_at" datetime, "closer_id" integer, "closer_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14582
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_threads")
|
14583
|
+
[1m[36m (213.2ms)[0m [1mCREATE INDEX "index_commontator_threads_on_commontable_id_and_commontable_type" ON "commontator_threads" ("commontable_id", "commontable_type")[0m
|
14584
|
+
[1m[35m (189.4ms)[0m DROP TABLE "dummy_models"
|
14585
|
+
[1m[36m (206.5ms)[0m [1mCREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14586
|
+
[1m[35m (242.3ms)[0m DROP TABLE "dummy_users"
|
14587
|
+
[1m[36m (190.9ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14588
|
+
[1m[35m (205.1ms)[0m DROP TABLE "votes"
|
14589
|
+
[1m[36m (190.4ms)[0m [1mCREATE TABLE "votes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "votable_id" integer, "votable_type" varchar(255), "voter_id" integer, "voter_type" varchar(255), "vote_flag" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14590
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("votes")
|
14591
|
+
[1m[36m (256.5ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")[0m
|
14592
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("votes")
|
14593
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_votes_on_votable_id_and_votable_type')[0m
|
14594
|
+
[1m[35m (198.4ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
14595
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
14596
|
+
Connecting to database specified by database.yml
|
14597
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
14598
|
+
[1m[35m (0.5ms)[0m select sqlite_version(*)
|
14599
|
+
[1m[36m (279.7ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
14600
|
+
[1m[35m (203.7ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "creator_id" integer, "creator_type" varchar(255), "deleted_at" datetime, "deleter_id" integer, "deleter_type" varchar(255), "thread_id" integer, "cached_votes_total" integer DEFAULT 0, "cached_votes_up" integer DEFAULT 0, "cached_votes_down" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14601
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14602
|
+
[1m[35m (306.9ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")
|
14603
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14604
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14605
|
+
[1m[36m (198.1ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")[0m
|
14606
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("commontator_comments")
|
14607
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_total')[0m
|
14608
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14609
|
+
[1m[36m (198.6ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
14610
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("commontator_comments")
|
14611
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
14612
|
+
[1m[35m (0.2ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
14613
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
14614
|
+
[1m[35m (211.2ms)[0m CREATE INDEX "index_c_c_on_c_id_and_c_type_and_t_id" ON "commontator_comments" ("creator_id", "creator_type", "thread_id")
|
14615
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14616
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
|
14617
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
14618
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
14619
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
14620
|
+
[1m[35m (288.9ms)[0m CREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")
|
14621
|
+
[1m[36m (189.8ms)[0m [1mDROP TABLE "commontator_subscriptions"[0m
|
14622
|
+
[1m[35m (198.0ms)[0m CREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_id" integer, "subscriber_type" varchar(255), "thread_id" integer, "unread" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14623
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
14624
|
+
[1m[35m (289.4ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_id_and_s_type_and_t_id" ON "commontator_subscriptions" ("subscriber_id", "subscriber_type", "thread_id")
|
14625
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
14626
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')
|
14627
|
+
[1m[36m (233.7ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
14628
|
+
[1m[35m (180.7ms)[0m DROP TABLE "commontator_threads"
|
14629
|
+
[1m[36m (205.7ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_id" integer, "commontable_type" varchar(255), "closed_at" datetime, "closer_id" integer, "closer_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14630
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_threads")
|
14631
|
+
[1m[36m (191.4ms)[0m [1mCREATE INDEX "index_commontator_threads_on_commontable_id_and_commontable_type" ON "commontator_threads" ("commontable_id", "commontable_type")[0m
|
14632
|
+
[1m[35m (195.6ms)[0m DROP TABLE "dummy_models"
|
14633
|
+
[1m[36m (235.2ms)[0m [1mCREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14634
|
+
[1m[35m (180.3ms)[0m DROP TABLE "dummy_users"
|
14635
|
+
[1m[36m (197.5ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14636
|
+
[1m[35m (206.2ms)[0m DROP TABLE "votes"
|
14637
|
+
[1m[36m (205.8ms)[0m [1mCREATE TABLE "votes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "votable_id" integer, "votable_type" varchar(255), "voter_id" integer, "voter_type" varchar(255), "vote_flag" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14638
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("votes")
|
14639
|
+
[1m[36m (297.2ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")[0m
|
14640
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("votes")
|
14641
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_votes_on_votable_id_and_votable_type')[0m
|
14642
|
+
[1m[35m (199.7ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
14643
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
14644
|
+
Connecting to database specified by database.yml
|
14645
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
14646
|
+
[1m[35m (0.5ms)[0m select sqlite_version(*)
|
14647
|
+
[1m[36m (236.8ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
14648
|
+
[1m[35m (247.9ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "creator_id" integer, "creator_type" varchar(255), "deleted_at" datetime, "deleter_id" integer, "deleter_type" varchar(255), "thread_id" integer, "cached_votes_total" integer DEFAULT 0, "cached_votes_up" integer DEFAULT 0, "cached_votes_down" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14649
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14650
|
+
[1m[35m (180.7ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")
|
14651
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14652
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14653
|
+
[1m[36m (203.8ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")[0m
|
14654
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("commontator_comments")
|
14655
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_total')[0m
|
14656
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14657
|
+
[1m[36m (207.1ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
14658
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("commontator_comments")
|
14659
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
14660
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
14661
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
14662
|
+
[1m[35m (274.7ms)[0m CREATE INDEX "index_c_c_on_c_id_and_c_type_and_t_id" ON "commontator_comments" ("creator_id", "creator_type", "thread_id")
|
14663
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14664
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
|
14665
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
14666
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
14667
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
14668
|
+
[1m[35m (187.7ms)[0m CREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")
|
14669
|
+
[1m[36m (187.6ms)[0m [1mDROP TABLE "commontator_subscriptions"[0m
|
14670
|
+
[1m[35m (190.6ms)[0m CREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_id" integer, "subscriber_type" varchar(255), "thread_id" integer, "unread" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14671
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
14672
|
+
[1m[35m (197.2ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_id_and_s_type_and_t_id" ON "commontator_subscriptions" ("subscriber_id", "subscriber_type", "thread_id")
|
14673
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
14674
|
+
[1m[35m (0.2ms)[0m PRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')
|
14675
|
+
[1m[36m (279.2ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
14676
|
+
[1m[35m (191.2ms)[0m DROP TABLE "commontator_threads"
|
14677
|
+
[1m[36m (207.6ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_id" integer, "commontable_type" varchar(255), "closed_at" datetime, "closer_id" integer, "closer_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14678
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_threads")
|
14679
|
+
[1m[36m (205.1ms)[0m [1mCREATE INDEX "index_commontator_threads_on_commontable_id_and_commontable_type" ON "commontator_threads" ("commontable_id", "commontable_type")[0m
|
14680
|
+
[1m[35m (245.8ms)[0m DROP TABLE "dummy_models"
|
14681
|
+
[1m[36m (218.3ms)[0m [1mCREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14682
|
+
[1m[35m (197.2ms)[0m DROP TABLE "dummy_users"
|
14683
|
+
[1m[36m (224.6ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14684
|
+
[1m[35m (204.6ms)[0m DROP TABLE "votes"
|
14685
|
+
[1m[36m (290.6ms)[0m [1mCREATE TABLE "votes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "votable_id" integer, "votable_type" varchar(255), "voter_id" integer, "voter_type" varchar(255), "vote_flag" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14686
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("votes")
|
14687
|
+
[1m[36m (198.1ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")[0m
|
14688
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("votes")
|
14689
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_info('index_votes_on_votable_id_and_votable_type')[0m
|
14690
|
+
[1m[35m (231.8ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
14691
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
14692
|
+
Connecting to database specified by database.yml
|
14693
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
14694
|
+
[1m[35m (0.5ms)[0m select sqlite_version(*)
|
14695
|
+
[1m[36m (242.4ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
14696
|
+
[1m[35m (191.2ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "creator_id" integer, "creator_type" varchar(255), "deleted_at" datetime, "deleter_id" integer, "deleter_type" varchar(255), "thread_id" integer, "cached_votes_total" integer DEFAULT 0, "cached_votes_up" integer DEFAULT 0, "cached_votes_down" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14697
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14698
|
+
[1m[35m (240.7ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")
|
14699
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14700
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14701
|
+
[1m[36m (197.4ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")[0m
|
14702
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("commontator_comments")
|
14703
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_total')[0m
|
14704
|
+
[1m[35m (0.2ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14705
|
+
[1m[36m (197.2ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
14706
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("commontator_comments")
|
14707
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
14708
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
14709
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
14710
|
+
[1m[35m (204.7ms)[0m CREATE INDEX "index_c_c_on_c_id_and_c_type_and_t_id" ON "commontator_comments" ("creator_id", "creator_type", "thread_id")
|
14711
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14712
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
|
14713
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
14714
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
14715
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
14716
|
+
[1m[35m (244.6ms)[0m CREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")
|
14717
|
+
[1m[36m (217.0ms)[0m [1mDROP TABLE "commontator_subscriptions"[0m
|
14718
|
+
[1m[35m (198.3ms)[0m CREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_id" integer, "subscriber_type" varchar(255), "thread_id" integer, "unread" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14719
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
14720
|
+
[1m[35m (224.6ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_id_and_s_type_and_t_id" ON "commontator_subscriptions" ("subscriber_id", "subscriber_type", "thread_id")
|
14721
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
14722
|
+
[1m[35m (0.2ms)[0m PRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')
|
14723
|
+
[1m[36m (203.7ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
14724
|
+
[1m[35m (304.4ms)[0m DROP TABLE "commontator_threads"
|
14725
|
+
[1m[36m (208.4ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_id" integer, "commontable_type" varchar(255), "closed_at" datetime, "closer_id" integer, "closer_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14726
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_threads")
|
14727
|
+
[1m[36m (207.8ms)[0m [1mCREATE INDEX "index_commontator_threads_on_commontable_id_and_commontable_type" ON "commontator_threads" ("commontable_id", "commontable_type")[0m
|
14728
|
+
[1m[35m (204.3ms)[0m DROP TABLE "dummy_models"
|
14729
|
+
[1m[36m (290.9ms)[0m [1mCREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14730
|
+
[1m[35m (198.1ms)[0m DROP TABLE "dummy_users"
|
14731
|
+
[1m[36m (191.3ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14732
|
+
[1m[35m (205.5ms)[0m DROP TABLE "votes"
|
14733
|
+
[1m[36m (198.2ms)[0m [1mCREATE TABLE "votes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "votable_id" integer, "votable_type" varchar(255), "voter_id" integer, "voter_type" varchar(255), "vote_flag" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14734
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("votes")
|
14735
|
+
[1m[36m (288.9ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")[0m
|
14736
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("votes")
|
14737
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_votes_on_votable_id_and_votable_type')[0m
|
14738
|
+
[1m[35m (191.5ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
14739
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
14740
|
+
Connecting to database specified by database.yml
|
14741
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
14742
|
+
[1m[35m (0.5ms)[0m select sqlite_version(*)
|
14743
|
+
[1m[36m (565.3ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
14744
|
+
[1m[35m (290.1ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "creator_id" integer, "creator_type" varchar(255), "deleted_at" datetime, "deleter_id" integer, "deleter_type" varchar(255), "thread_id" integer, "cached_votes_total" integer DEFAULT 0, "cached_votes_up" integer DEFAULT 0, "cached_votes_down" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14745
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14746
|
+
[1m[35m (199.7ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")
|
14747
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14748
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14749
|
+
[1m[36m (198.6ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")[0m
|
14750
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("commontator_comments")
|
14751
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_total')[0m
|
14752
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14753
|
+
[1m[36m (196.0ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
14754
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_comments")
|
14755
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
14756
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
14757
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
14758
|
+
[1m[35m (191.4ms)[0m CREATE INDEX "index_c_c_on_c_id_and_c_type_and_t_id" ON "commontator_comments" ("creator_id", "creator_type", "thread_id")
|
14759
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14760
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
|
14761
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
14762
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
14763
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
14764
|
+
[1m[35m (246.7ms)[0m CREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")
|
14765
|
+
[1m[36m (195.9ms)[0m [1mDROP TABLE "commontator_subscriptions"[0m
|
14766
|
+
[1m[35m (199.8ms)[0m CREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_id" integer, "subscriber_type" varchar(255), "thread_id" integer, "unread" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14767
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
14768
|
+
[1m[35m (213.4ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_id_and_s_type_and_t_id" ON "commontator_subscriptions" ("subscriber_id", "subscriber_type", "thread_id")
|
14769
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
14770
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')
|
14771
|
+
[1m[36m (282.0ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
14772
|
+
[1m[35m (189.6ms)[0m DROP TABLE "commontator_threads"
|
14773
|
+
[1m[36m (216.1ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_id" integer, "commontable_type" varchar(255), "closed_at" datetime, "closer_id" integer, "closer_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14774
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_threads")
|
14775
|
+
[1m[36m (205.4ms)[0m [1mCREATE INDEX "index_commontator_threads_on_commontable_id_and_commontable_type" ON "commontator_threads" ("commontable_id", "commontable_type")[0m
|
14776
|
+
[1m[35m (189.5ms)[0m DROP TABLE "dummy_models"
|
14777
|
+
[1m[36m (298.2ms)[0m [1mCREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14778
|
+
[1m[35m (191.0ms)[0m DROP TABLE "dummy_users"
|
14779
|
+
[1m[36m (206.1ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14780
|
+
[1m[35m (181.7ms)[0m DROP TABLE "votes"
|
14781
|
+
[1m[36m (239.6ms)[0m [1mCREATE TABLE "votes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "votable_id" integer, "votable_type" varchar(255), "voter_id" integer, "voter_type" varchar(255), "vote_flag" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14782
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("votes")
|
14783
|
+
[1m[36m (213.8ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")[0m
|
14784
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("votes")
|
14785
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_info('index_votes_on_votable_id_and_votable_type')[0m
|
14786
|
+
[1m[35m (214.9ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
14787
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
14788
|
+
Connecting to database specified by database.yml
|
14789
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
14790
|
+
[1m[35m (0.5ms)[0m select sqlite_version(*)
|
14791
|
+
[1m[36m (261.4ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
14792
|
+
[1m[35m (199.4ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "creator_id" integer, "creator_type" varchar(255), "deleted_at" datetime, "deleter_id" integer, "deleter_type" varchar(255), "thread_id" integer, "cached_votes_total" integer DEFAULT 0, "cached_votes_up" integer DEFAULT 0, "cached_votes_down" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14793
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14794
|
+
[1m[35m (214.6ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")
|
14795
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14796
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14797
|
+
[1m[36m (213.3ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")[0m
|
14798
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("commontator_comments")
|
14799
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_total')[0m
|
14800
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14801
|
+
[1m[36m (254.8ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
14802
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("commontator_comments")
|
14803
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
14804
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
14805
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
14806
|
+
[1m[35m (207.3ms)[0m CREATE INDEX "index_c_c_on_c_id_and_c_type_and_t_id" ON "commontator_comments" ("creator_id", "creator_type", "thread_id")
|
14807
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14808
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
|
14809
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
14810
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
14811
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
14812
|
+
[1m[35m (204.1ms)[0m CREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")
|
14813
|
+
[1m[36m (200.0ms)[0m [1mDROP TABLE "commontator_subscriptions"[0m
|
14814
|
+
[1m[35m (289.0ms)[0m CREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_id" integer, "subscriber_type" varchar(255), "thread_id" integer, "unread" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14815
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
14816
|
+
[1m[35m (215.2ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_id_and_s_type_and_t_id" ON "commontator_subscriptions" ("subscriber_id", "subscriber_type", "thread_id")
|
14817
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
14818
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')
|
14819
|
+
[1m[36m (198.1ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
14820
|
+
[1m[35m (197.6ms)[0m DROP TABLE "commontator_threads"
|
14821
|
+
[1m[36m (205.9ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_id" integer, "commontable_type" varchar(255), "closed_at" datetime, "closer_id" integer, "closer_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14822
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_threads")
|
14823
|
+
[1m[36m (249.5ms)[0m [1mCREATE INDEX "index_commontator_threads_on_commontable_id_and_commontable_type" ON "commontator_threads" ("commontable_id", "commontable_type")[0m
|
14824
|
+
[1m[35m (182.3ms)[0m DROP TABLE "dummy_models"
|
14825
|
+
[1m[36m (205.8ms)[0m [1mCREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14826
|
+
[1m[35m (206.5ms)[0m DROP TABLE "dummy_users"
|
14827
|
+
[1m[36m (249.4ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14828
|
+
[1m[35m (204.6ms)[0m DROP TABLE "votes"
|
14829
|
+
[1m[36m (189.9ms)[0m [1mCREATE TABLE "votes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "votable_id" integer, "votable_type" varchar(255), "voter_id" integer, "voter_type" varchar(255), "vote_flag" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14830
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("votes")
|
14831
|
+
[1m[36m (205.2ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")[0m
|
14832
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("votes")
|
14833
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_votes_on_votable_id_and_votable_type')[0m
|
14834
|
+
[1m[35m (207.6ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
14835
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
14836
|
+
Connecting to database specified by database.yml
|
14837
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
14838
|
+
[1m[35m (0.5ms)[0m select sqlite_version(*)
|
14839
|
+
[1m[36m (291.5ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
14840
|
+
[1m[35m (203.2ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "creator_id" integer, "creator_type" varchar(255), "deleted_at" datetime, "deleter_id" integer, "deleter_type" varchar(255), "thread_id" integer, "cached_votes_total" integer DEFAULT 0, "cached_votes_up" integer DEFAULT 0, "cached_votes_down" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14841
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14842
|
+
[1m[35m (216.0ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")
|
14843
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14844
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14845
|
+
[1m[36m (212.7ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")[0m
|
14846
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("commontator_comments")
|
14847
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_total')[0m
|
14848
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14849
|
+
[1m[36m (198.7ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
14850
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("commontator_comments")
|
14851
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
14852
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
14853
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
14854
|
+
[1m[35m (255.3ms)[0m CREATE INDEX "index_c_c_on_c_id_and_c_type_and_t_id" ON "commontator_comments" ("creator_id", "creator_type", "thread_id")
|
14855
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14856
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
|
14857
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
14858
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
14859
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
14860
|
+
[1m[35m (205.9ms)[0m CREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")
|
14861
|
+
[1m[36m (182.9ms)[0m [1mDROP TABLE "commontator_subscriptions"[0m
|
14862
|
+
[1m[35m (198.6ms)[0m CREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_id" integer, "subscriber_type" varchar(255), "thread_id" integer, "unread" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14863
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
14864
|
+
[1m[35m (249.7ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_id_and_s_type_and_t_id" ON "commontator_subscriptions" ("subscriber_id", "subscriber_type", "thread_id")
|
14865
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
14866
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')
|
14867
|
+
[1m[36m (187.5ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
14868
|
+
[1m[35m (199.6ms)[0m DROP TABLE "commontator_threads"
|
14869
|
+
[1m[36m (199.6ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_id" integer, "commontable_type" varchar(255), "closed_at" datetime, "closer_id" integer, "closer_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14870
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("commontator_threads")
|
14871
|
+
[1m[36m (196.2ms)[0m [1mCREATE INDEX "index_commontator_threads_on_commontable_id_and_commontable_type" ON "commontator_threads" ("commontable_id", "commontable_type")[0m
|
14872
|
+
[1m[35m (265.8ms)[0m DROP TABLE "dummy_models"
|
14873
|
+
[1m[36m (198.0ms)[0m [1mCREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14874
|
+
[1m[35m (192.3ms)[0m DROP TABLE "dummy_users"
|
14875
|
+
[1m[36m (205.8ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14876
|
+
[1m[35m (205.4ms)[0m DROP TABLE "votes"
|
14877
|
+
[1m[36m (260.0ms)[0m [1mCREATE TABLE "votes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "votable_id" integer, "votable_type" varchar(255), "voter_id" integer, "voter_type" varchar(255), "vote_flag" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14878
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("votes")
|
14879
|
+
[1m[36m (179.5ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")[0m
|
14880
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("votes")
|
14881
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_votes_on_votable_id_and_votable_type')[0m
|
14882
|
+
[1m[35m (212.6ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
14883
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
14884
|
+
Connecting to database specified by database.yml
|
14885
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
14886
|
+
[1m[35m (0.5ms)[0m select sqlite_version(*)
|
14887
|
+
[1m[36m (301.2ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
14888
|
+
[1m[35m (215.1ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "creator_id" integer, "creator_type" varchar(255), "deleted_at" datetime, "deleter_id" integer, "deleter_type" varchar(255), "thread_id" integer, "cached_votes_total" integer DEFAULT 0, "cached_votes_up" integer DEFAULT 0, "cached_votes_down" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14889
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14890
|
+
[1m[35m (196.8ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")
|
14891
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14892
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14893
|
+
[1m[36m (206.3ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")[0m
|
14894
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_comments")
|
14895
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_total')[0m
|
14896
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14897
|
+
[1m[36m (255.5ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
14898
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_comments")
|
14899
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
14900
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
14901
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
14902
|
+
[1m[35m (191.8ms)[0m CREATE INDEX "index_c_c_on_c_id_and_c_type_and_t_id" ON "commontator_comments" ("creator_id", "creator_type", "thread_id")
|
14903
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14904
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
|
14905
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
14906
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
14907
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
14908
|
+
[1m[35m (223.1ms)[0m CREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")
|
14909
|
+
[1m[36m (205.1ms)[0m [1mDROP TABLE "commontator_subscriptions"[0m
|
14910
|
+
[1m[35m (198.4ms)[0m CREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_id" integer, "subscriber_type" varchar(255), "thread_id" integer, "unread" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14911
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
14912
|
+
[1m[35m (298.3ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_id_and_s_type_and_t_id" ON "commontator_subscriptions" ("subscriber_id", "subscriber_type", "thread_id")
|
14913
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
14914
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')
|
14915
|
+
[1m[36m (197.9ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
14916
|
+
[1m[35m (206.4ms)[0m DROP TABLE "commontator_threads"
|
14917
|
+
[1m[36m (205.6ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_id" integer, "commontable_type" varchar(255), "closed_at" datetime, "closer_id" integer, "closer_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14918
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_threads")
|
14919
|
+
[1m[36m (189.6ms)[0m [1mCREATE INDEX "index_commontator_threads_on_commontable_id_and_commontable_type" ON "commontator_threads" ("commontable_id", "commontable_type")[0m
|
14920
|
+
[1m[35m (240.6ms)[0m DROP TABLE "dummy_models"
|
14921
|
+
[1m[36m (206.3ms)[0m [1mCREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14922
|
+
[1m[35m (189.4ms)[0m DROP TABLE "dummy_users"
|
14923
|
+
[1m[36m (222.9ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14924
|
+
[1m[35m (280.1ms)[0m DROP TABLE "votes"
|
14925
|
+
[1m[36m (198.4ms)[0m [1mCREATE TABLE "votes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "votable_id" integer, "votable_type" varchar(255), "voter_id" integer, "voter_type" varchar(255), "vote_flag" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14926
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("votes")
|
14927
|
+
[1m[36m (189.3ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")[0m
|
14928
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("votes")
|
14929
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_info('index_votes_on_votable_id_and_votable_type')[0m
|
14930
|
+
[1m[35m (214.3ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
14931
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
14932
|
+
Connecting to database specified by database.yml
|
14933
|
+
Connecting to database specified by database.yml
|
14934
|
+
Connecting to database specified by database.yml
|
14935
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
14936
|
+
[1m[35m (0.5ms)[0m select sqlite_version(*)
|
14937
|
+
[1m[36m (246.6ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
14938
|
+
[1m[35m (196.6ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "creator_id" integer, "creator_type" varchar(255), "deleted_at" datetime, "deleter_id" integer, "deleter_type" varchar(255), "thread_id" integer, "cached_votes_total" integer DEFAULT 0, "cached_votes_up" integer DEFAULT 0, "cached_votes_down" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14939
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14940
|
+
[1m[35m (272.0ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")
|
14941
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14942
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14943
|
+
[1m[36m (184.6ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")[0m
|
14944
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("commontator_comments")
|
14945
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_total')[0m
|
14946
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14947
|
+
[1m[36m (221.0ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
14948
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_comments")
|
14949
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
14950
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
14951
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
14952
|
+
[1m[35m (198.1ms)[0m CREATE INDEX "index_c_c_on_c_id_and_c_type_and_t_id" ON "commontator_comments" ("creator_id", "creator_type", "thread_id")
|
14953
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14954
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
|
14955
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
14956
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
14957
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
14958
|
+
[1m[35m (257.1ms)[0m CREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")
|
14959
|
+
[1m[36m (212.3ms)[0m [1mDROP TABLE "commontator_subscriptions"[0m
|
14960
|
+
[1m[35m (199.3ms)[0m CREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_id" integer, "subscriber_type" varchar(255), "thread_id" integer, "unread" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14961
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
14962
|
+
[1m[35m (224.5ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_id_and_s_type_and_t_id" ON "commontator_subscriptions" ("subscriber_id", "subscriber_type", "thread_id")
|
14963
|
+
[1m[36m (0.3ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
14964
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')
|
14965
|
+
[1m[36m (204.4ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
14966
|
+
[1m[35m (271.7ms)[0m DROP TABLE "commontator_threads"
|
14967
|
+
[1m[36m (206.7ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_id" integer, "commontable_type" varchar(255), "closed_at" datetime, "closer_id" integer, "closer_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14968
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_threads")
|
14969
|
+
[1m[36m (219.2ms)[0m [1mCREATE INDEX "index_commontator_threads_on_commontable_id_and_commontable_type" ON "commontator_threads" ("commontable_id", "commontable_type")[0m
|
14970
|
+
[1m[35m (201.1ms)[0m DROP TABLE "dummy_models"
|
14971
|
+
[1m[36m (234.6ms)[0m [1mCREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14972
|
+
[1m[35m (197.5ms)[0m DROP TABLE "dummy_users"
|
14973
|
+
[1m[36m (190.2ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14974
|
+
[1m[35m (198.2ms)[0m DROP TABLE "votes"
|
14975
|
+
[1m[36m (196.6ms)[0m [1mCREATE TABLE "votes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "votable_id" integer, "votable_type" varchar(255), "voter_id" integer, "voter_type" varchar(255), "vote_flag" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
14976
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("votes")
|
14977
|
+
[1m[36m (314.1ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")[0m
|
14978
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("votes")
|
14979
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_votes_on_votable_id_and_votable_type')[0m
|
14980
|
+
[1m[35m (191.4ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
14981
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
14982
|
+
Connecting to database specified by database.yml
|
14983
|
+
Connecting to database specified by database.yml
|
14984
|
+
Connecting to database specified by database.yml
|
14985
|
+
Connecting to database specified by database.yml
|
14986
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
14987
|
+
[1m[35m (0.5ms)[0m select sqlite_version(*)
|
14988
|
+
[1m[36m (247.3ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
14989
|
+
[1m[35m (234.3ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "creator_id" integer, "creator_type" varchar(255), "deleted_at" datetime, "deleter_id" integer, "deleter_type" varchar(255), "thread_id" integer, "cached_votes_total" integer DEFAULT 0, "cached_votes_up" integer DEFAULT 0, "cached_votes_down" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
14990
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14991
|
+
[1m[35m (192.2ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")
|
14992
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
14993
|
+
[1m[35m (0.2ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14994
|
+
[1m[36m (238.2ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")[0m
|
14995
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_comments")
|
14996
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_total')[0m
|
14997
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
14998
|
+
[1m[36m (180.9ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
14999
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_comments")
|
15000
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
15001
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
15002
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
15003
|
+
[1m[35m (183.2ms)[0m CREATE INDEX "index_c_c_on_c_id_and_c_type_and_t_id" ON "commontator_comments" ("creator_id", "creator_type", "thread_id")
|
15004
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
15005
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
|
15006
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
15007
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
15008
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
15009
|
+
[1m[35m (189.7ms)[0m CREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")
|
15010
|
+
[1m[36m (188.9ms)[0m [1mDROP TABLE "commontator_subscriptions"[0m
|
15011
|
+
[1m[35m (255.0ms)[0m CREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_id" integer, "subscriber_type" varchar(255), "thread_id" integer, "unread" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
15012
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
15013
|
+
[1m[35m (199.6ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_id_and_s_type_and_t_id" ON "commontator_subscriptions" ("subscriber_id", "subscriber_type", "thread_id")
|
15014
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
15015
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')
|
15016
|
+
[1m[36m (200.4ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
15017
|
+
[1m[35m (187.8ms)[0m DROP TABLE "commontator_threads"
|
15018
|
+
[1m[36m (254.1ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_id" integer, "commontable_type" varchar(255), "closed_at" datetime, "closer_id" integer, "closer_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
15019
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_threads")
|
15020
|
+
[1m[36m (184.8ms)[0m [1mCREATE INDEX "index_commontator_threads_on_commontable_id_and_commontable_type" ON "commontator_threads" ("commontable_id", "commontable_type")[0m
|
15021
|
+
[1m[35m (181.7ms)[0m DROP TABLE "dummy_models"
|
15022
|
+
[1m[36m (199.8ms)[0m [1mCREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
15023
|
+
[1m[35m (189.1ms)[0m DROP TABLE "dummy_users"
|
15024
|
+
[1m[36m (230.6ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
15025
|
+
[1m[35m (199.0ms)[0m DROP TABLE "votes"
|
15026
|
+
[1m[36m (198.4ms)[0m [1mCREATE TABLE "votes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "votable_id" integer, "votable_type" varchar(255), "voter_id" integer, "voter_type" varchar(255), "vote_flag" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
15027
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("votes")
|
15028
|
+
[1m[36m (198.6ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")[0m
|
15029
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("votes")
|
15030
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_votes_on_votable_id_and_votable_type')[0m
|
15031
|
+
[1m[35m (189.6ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
15032
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
15033
|
+
Connecting to database specified by database.yml
|
15034
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
15035
|
+
[1m[35m (0.5ms)[0m select sqlite_version(*)
|
15036
|
+
[1m[36m (249.8ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
15037
|
+
[1m[35m (199.7ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "creator_id" integer, "creator_type" varchar(255), "deleted_at" datetime, "deleter_id" integer, "deleter_type" varchar(255), "thread_id" integer, "cached_votes_total" integer DEFAULT 0, "cached_votes_up" integer DEFAULT 0, "cached_votes_down" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
15038
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
15039
|
+
[1m[35m (198.2ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")
|
15040
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
15041
|
+
[1m[35m (0.2ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
15042
|
+
[1m[36m (181.6ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")[0m
|
15043
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("commontator_comments")
|
15044
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_total')[0m
|
15045
|
+
[1m[35m (0.3ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
15046
|
+
[1m[36m (195.3ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
15047
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("commontator_comments")
|
15048
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
15049
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
15050
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
15051
|
+
[1m[35m (264.4ms)[0m CREATE INDEX "index_c_c_on_c_id_and_c_type_and_t_id" ON "commontator_comments" ("creator_id", "creator_type", "thread_id")
|
15052
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
15053
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
|
15054
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
15055
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
15056
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
15057
|
+
[1m[35m (189.8ms)[0m CREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")
|
15058
|
+
[1m[36m (180.6ms)[0m [1mDROP TABLE "commontator_subscriptions"[0m
|
15059
|
+
[1m[35m (196.6ms)[0m CREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_id" integer, "subscriber_type" varchar(255), "thread_id" integer, "unread" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
15060
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
15061
|
+
[1m[35m (200.1ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_id_and_s_type_and_t_id" ON "commontator_subscriptions" ("subscriber_id", "subscriber_type", "thread_id")
|
15062
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
15063
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')
|
15064
|
+
[1m[36m (278.3ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
15065
|
+
[1m[35m (185.8ms)[0m DROP TABLE "commontator_threads"
|
15066
|
+
[1m[36m (198.4ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_id" integer, "commontable_type" varchar(255), "closed_at" datetime, "closer_id" integer, "closer_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
15067
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("commontator_threads")
|
15068
|
+
[1m[36m (198.9ms)[0m [1mCREATE INDEX "index_commontator_threads_on_commontable_id_and_commontable_type" ON "commontator_threads" ("commontable_id", "commontable_type")[0m
|
15069
|
+
[1m[35m (196.2ms)[0m DROP TABLE "dummy_models"
|
15070
|
+
[1m[36m (246.6ms)[0m [1mCREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
15071
|
+
[1m[35m (208.1ms)[0m DROP TABLE "dummy_users"
|
15072
|
+
[1m[36m (190.1ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
15073
|
+
[1m[35m (188.9ms)[0m DROP TABLE "votes"
|
15074
|
+
[1m[36m (189.6ms)[0m [1mCREATE TABLE "votes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "votable_id" integer, "votable_type" varchar(255), "voter_id" integer, "voter_type" varchar(255), "vote_flag" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
15075
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("votes")
|
15076
|
+
[1m[36m (247.8ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")[0m
|
15077
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("votes")
|
15078
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_votes_on_votable_id_and_votable_type')[0m
|
15079
|
+
[1m[35m (184.0ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
15080
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
15081
|
+
Connecting to database specified by database.yml
|
15082
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
15083
|
+
[1m[35m (0.5ms)[0m select sqlite_version(*)
|
15084
|
+
[1m[36m (459.0ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
15085
|
+
[1m[35m (271.2ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "creator_id" integer, "creator_type" varchar(255), "deleted_at" datetime, "deleter_id" integer, "deleter_type" varchar(255), "thread_id" integer, "cached_votes_total" integer DEFAULT 0, "cached_votes_up" integer DEFAULT 0, "cached_votes_down" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
15086
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
15087
|
+
[1m[35m (192.9ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")
|
15088
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
15089
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
15090
|
+
[1m[36m (212.7ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")[0m
|
15091
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("commontator_comments")
|
15092
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_total')[0m
|
15093
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
15094
|
+
[1m[36m (213.6ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
15095
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_comments")
|
15096
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
15097
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
15098
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
15099
|
+
[1m[35m (207.7ms)[0m CREATE INDEX "index_c_c_on_c_id_and_c_type_and_t_id" ON "commontator_comments" ("creator_id", "creator_type", "thread_id")
|
15100
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
15101
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
|
15102
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
15103
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
15104
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
15105
|
+
[1m[35m (297.7ms)[0m CREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")
|
15106
|
+
[1m[36m (189.5ms)[0m [1mDROP TABLE "commontator_subscriptions"[0m
|
15107
|
+
[1m[35m (206.2ms)[0m CREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_id" integer, "subscriber_type" varchar(255), "thread_id" integer, "unread" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
15108
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
15109
|
+
[1m[35m (207.2ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_id_and_s_type_and_t_id" ON "commontator_subscriptions" ("subscriber_id", "subscriber_type", "thread_id")
|
15110
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
15111
|
+
[1m[35m (0.2ms)[0m PRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')
|
15112
|
+
[1m[36m (239.6ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
15113
|
+
[1m[35m (198.5ms)[0m DROP TABLE "commontator_threads"
|
15114
|
+
[1m[36m (230.9ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_id" integer, "commontable_type" varchar(255), "closed_at" datetime, "closer_id" integer, "closer_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
15115
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_threads")
|
15116
|
+
[1m[36m (216.2ms)[0m [1mCREATE INDEX "index_commontator_threads_on_commontable_id_and_commontable_type" ON "commontator_threads" ("commontable_id", "commontable_type")[0m
|
15117
|
+
[1m[35m (213.4ms)[0m DROP TABLE "dummy_models"
|
15118
|
+
[1m[36m (291.1ms)[0m [1mCREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
15119
|
+
[1m[35m (198.1ms)[0m DROP TABLE "dummy_users"
|
15120
|
+
[1m[36m (208.2ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
15121
|
+
[1m[35m (198.2ms)[0m DROP TABLE "votes"
|
15122
|
+
[1m[36m (189.7ms)[0m [1mCREATE TABLE "votes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "votable_id" integer, "votable_type" varchar(255), "voter_id" integer, "voter_type" varchar(255), "vote_flag" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
15123
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("votes")
|
15124
|
+
[1m[36m (273.3ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")[0m
|
15125
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("votes")
|
15126
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_votes_on_votable_id_and_votable_type')[0m
|
15127
|
+
[1m[35m (205.0ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
15128
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
15129
|
+
Connecting to database specified by database.yml
|
15130
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
15131
|
+
[1m[35m (0.5ms)[0m select sqlite_version(*)
|
15132
|
+
[1m[36m (267.0ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
15133
|
+
[1m[35m (262.6ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "creator_id" integer, "creator_type" varchar(255), "deleted_at" datetime, "deleter_id" integer, "deleter_type" varchar(255), "thread_id" integer, "cached_votes_total" integer DEFAULT 0, "cached_votes_up" integer DEFAULT 0, "cached_votes_down" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
15134
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
15135
|
+
[1m[35m (197.5ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")
|
15136
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
15137
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
15138
|
+
[1m[36m (192.1ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")[0m
|
15139
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_comments")
|
15140
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_total')[0m
|
15141
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
15142
|
+
[1m[36m (197.8ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
15143
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("commontator_comments")
|
15144
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
15145
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
15146
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
15147
|
+
[1m[35m (239.5ms)[0m CREATE INDEX "index_c_c_on_c_id_and_c_type_and_t_id" ON "commontator_comments" ("creator_id", "creator_type", "thread_id")
|
15148
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
15149
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
|
15150
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
15151
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
15152
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
15153
|
+
[1m[35m (206.8ms)[0m CREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")
|
15154
|
+
[1m[36m (221.4ms)[0m [1mDROP TABLE "commontator_subscriptions"[0m
|
15155
|
+
[1m[35m (199.1ms)[0m CREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_id" integer, "subscriber_type" varchar(255), "thread_id" integer, "unread" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
15156
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
15157
|
+
[1m[35m (205.0ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_id_and_s_type_and_t_id" ON "commontator_subscriptions" ("subscriber_id", "subscriber_type", "thread_id")
|
15158
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
15159
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')
|
15160
|
+
[1m[36m (273.3ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
15161
|
+
[1m[35m (181.2ms)[0m DROP TABLE "commontator_threads"
|
15162
|
+
[1m[36m (207.6ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_id" integer, "commontable_type" varchar(255), "closed_at" datetime, "closer_id" integer, "closer_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
15163
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_threads")
|
15164
|
+
[1m[36m (197.1ms)[0m [1mCREATE INDEX "index_commontator_threads_on_commontable_id_and_commontable_type" ON "commontator_threads" ("commontable_id", "commontable_type")[0m
|
15165
|
+
[1m[35m (181.0ms)[0m DROP TABLE "dummy_models"
|
15166
|
+
[1m[36m (292.8ms)[0m [1mCREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
15167
|
+
[1m[35m (180.6ms)[0m DROP TABLE "dummy_users"
|
15168
|
+
[1m[36m (197.0ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
15169
|
+
[1m[35m (183.4ms)[0m DROP TABLE "votes"
|
15170
|
+
[1m[36m (248.3ms)[0m [1mCREATE TABLE "votes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "votable_id" integer, "votable_type" varchar(255), "voter_id" integer, "voter_type" varchar(255), "vote_flag" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
15171
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("votes")
|
15172
|
+
[1m[36m (189.9ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")[0m
|
15173
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("votes")
|
15174
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_info('index_votes_on_votable_id_and_votable_type')[0m
|
15175
|
+
[1m[35m (198.1ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
15176
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
15177
|
+
Connecting to database specified by database.yml
|
15178
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
15179
|
+
[1m[35m (0.5ms)[0m select sqlite_version(*)
|
15180
|
+
[1m[36m (295.1ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
15181
|
+
[1m[35m (307.1ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" text, "creator_id" integer, "creator_type" varchar(255), "deleted_at" datetime, "deleter_id" integer, "deleter_type" varchar(255), "thread_id" integer, "cached_votes_total" integer DEFAULT 0, "cached_votes_up" integer DEFAULT 0, "cached_votes_down" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
15182
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
15183
|
+
[1m[35m (199.7ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")
|
15184
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
15185
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
15186
|
+
[1m[36m (214.7ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")[0m
|
15187
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("commontator_comments")
|
15188
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_total')[0m
|
15189
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_down')
|
15190
|
+
[1m[36m (206.2ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
15191
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("commontator_comments")
|
15192
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
15193
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
15194
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
15195
|
+
[1m[35m (236.8ms)[0m CREATE INDEX "index_c_c_on_c_id_and_c_type_and_t_id" ON "commontator_comments" ("creator_id", "creator_type", "thread_id")
|
15196
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_comments")[0m
|
15197
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_c_c_on_c_id_and_c_type_and_t_id')
|
15198
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_up')[0m
|
15199
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_commontator_comments_on_cached_votes_total')
|
15200
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_commontator_comments_on_cached_votes_down')[0m
|
15201
|
+
[1m[35m (184.4ms)[0m CREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")
|
15202
|
+
[1m[36m (181.2ms)[0m [1mDROP TABLE "commontator_subscriptions"[0m
|
15203
|
+
[1m[35m (191.3ms)[0m CREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_id" integer, "subscriber_type" varchar(255), "thread_id" integer, "unread" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
15204
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
15205
|
+
[1m[35m (189.0ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_id_and_s_type_and_t_id" ON "commontator_subscriptions" ("subscriber_id", "subscriber_type", "thread_id")
|
15206
|
+
[1m[36m (0.2ms)[0m [1mPRAGMA index_list("commontator_subscriptions")[0m
|
15207
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_c_s_on_s_id_and_s_type_and_t_id')
|
15208
|
+
[1m[36m (230.6ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
15209
|
+
[1m[35m (182.3ms)[0m DROP TABLE "commontator_threads"
|
15210
|
+
[1m[36m (205.3ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_id" integer, "commontable_type" varchar(255), "closed_at" datetime, "closer_id" integer, "closer_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
15211
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("commontator_threads")
|
15212
|
+
[1m[36m (190.5ms)[0m [1mCREATE INDEX "index_commontator_threads_on_commontable_id_and_commontable_type" ON "commontator_threads" ("commontable_id", "commontable_type")[0m
|
15213
|
+
[1m[35m (204.9ms)[0m DROP TABLE "dummy_models"
|
15214
|
+
[1m[36m (282.8ms)[0m [1mCREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
15215
|
+
[1m[35m (189.6ms)[0m DROP TABLE "dummy_users"
|
15216
|
+
[1m[36m (200.6ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
15217
|
+
[1m[35m (196.7ms)[0m DROP TABLE "votes"
|
15218
|
+
[1m[36m (198.1ms)[0m [1mCREATE TABLE "votes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "votable_id" integer, "votable_type" varchar(255), "voter_id" integer, "voter_type" varchar(255), "vote_flag" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
15219
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("votes")
|
15220
|
+
[1m[36m (274.5ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")[0m
|
15221
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("votes")
|
15222
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_votes_on_votable_id_and_votable_type')[0m
|
15223
|
+
[1m[35m (190.1ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
15224
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|