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