commontator 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +1 -1
- data/app/controllers/commontator/application_controller.rb~ +27 -0
- data/app/controllers/commontator/comments_controller.rb~ +20 -12
- data/app/controllers/commontator/subscriptions_controller.rb~ +32 -0
- data/app/controllers/commontator/threads_controller.rb~ +42 -0
- data/app/mailers/commontator/subscriptions_mailer.rb~ +50 -0
- data/app/models/commontator/comment.rb~ +2 -6
- data/app/models/commontator/subscription.rb~ +2 -5
- data/app/models/commontator/thread.rb~ +5 -7
- data/app/views/commontator/comments/_actions.html.erb~ +30 -0
- data/app/views/commontator/comments/_votes.html.erb~ +1 -1
- data/app/views/commontator/shared/_thread.html.erb~ +20 -0
- data/app/views/commontator/subscriptions/_link.html.erb~ +16 -0
- data/app/views/commontator/threads/_show.html.erb~ +62 -0
- data/config/initializers/commontator.rb~ +1 -1
- data/config/routes.rb~ +22 -0
- data/db/migrate/0_install.rb~ +1 -1
- data/db/migrate/{0_install.rb → 0_install_commontator.rb} +1 -1
- data/lib/commontator/controller_includes.rb~ +22 -0
- data/lib/commontator/shared_helper.rb~ +42 -0
- data/lib/commontator/version.rb +1 -1
- data/lib/commontator/version.rb~ +1 -1
- data/spec/app/controllers/commontator/comments_controller_spec.rb~ +55 -2
- data/spec/app/controllers/commontator/subscriptions_controller_spec.rb~ +16 -16
- data/spec/app/controllers/commontator/threads_controller_spec.rb~ +1 -1
- data/spec/app/helpers/commontator/application_helper_spec.rb~ +2 -0
- data/spec/app/helpers/commontator/threads_helper_spec.rb~ +1 -1
- data/spec/app/mailers/commontator/subscriptions_mailer_spec.rb~ +1 -1
- data/spec/app/models/commontator/comment_spec.rb~ +1 -1
- data/spec/app/models/commontator/subscription_spec.rb~ +1 -1
- data/spec/app/models/commontator/thread_spec.rb~ +1 -1
- data/spec/dummy/Rakefile~ +1 -1
- data/spec/dummy/config.ru~ +4 -0
- data/spec/dummy/config/application.rb~ +23 -0
- data/spec/dummy/config/environment.rb~ +5 -0
- data/spec/dummy/config/environments/development.rb~ +31 -0
- data/spec/dummy/config/environments/production.rb~ +67 -0
- data/spec/dummy/config/environments/test.rb~ +31 -0
- data/spec/dummy/config/initializers/secret_token.rb~ +12 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +1250 -0
- data/spec/dummy/log/test.log +170101 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/02d4b791eb831cf2057bf4703a1218d1 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/0f196a1a50363b0a076ec6e1ee5417f6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a3fb9025f90ff05a6fd4afc7ded2692c +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a41c8be5379abec3c0d0d98e2f0d5609 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c69ee3cc5796188d873574179290a6ef +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e1f674c11941d62aac1764ef3a7134e4 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e85565206c3e5fdf9dfeb367c85557b1 +0 -0
- data/spec/lib/commontator/acts_as_commontable_spec.rb~ +2 -2
- data/spec/lib/commontator/acts_as_commontator_spec.rb~ +1 -1
- data/spec/lib/commontator/commontable_config_spec.rb~ +1 -1
- data/spec/lib/commontator/commontator_config_spec.rb~ +1 -1
- data/spec/lib/commontator/controller_includes_spec.rb~ +3 -3
- data/spec/lib/commontator/shared_helper_spec.rb~ +7 -3
- data/spec/lib/commontator_spec.rb~ +1 -1
- data/spec/test_helper.rb~ +37 -0
- metadata +61 -31
@@ -0,0 +1,23 @@
|
|
1
|
+
require File.expand_path('../boot', __FILE__)
|
2
|
+
|
3
|
+
require 'rails/all'
|
4
|
+
|
5
|
+
Bundler.require(*Rails.groups)
|
6
|
+
require "commontator"
|
7
|
+
|
8
|
+
module Dummy
|
9
|
+
class Application < Rails::Application
|
10
|
+
# Settings in config/environments/* take precedence over those specified here.
|
11
|
+
# Application configuration should go into files in config/initializers
|
12
|
+
# -- all .rb files in that directory are automatically loaded.
|
13
|
+
|
14
|
+
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
15
|
+
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
16
|
+
# config.time_zone = 'Central Time (US & Canada)'
|
17
|
+
|
18
|
+
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
19
|
+
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
20
|
+
# config.i18n.default_locale = :de
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
@@ -0,0 +1,31 @@
|
|
1
|
+
Dummy::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb
|
3
|
+
|
4
|
+
# In the development environment your application's code is reloaded on
|
5
|
+
# every request. This slows down response time but is perfect for development
|
6
|
+
# since you don't have to restart the web server when you make code changes.
|
7
|
+
config.cache_classes = false
|
8
|
+
|
9
|
+
# Show full error reports and disable caching
|
10
|
+
config.consider_all_requests_local = true
|
11
|
+
config.action_controller.perform_caching = false
|
12
|
+
|
13
|
+
# Don't care if the mailer can't send
|
14
|
+
config.action_mailer.raise_delivery_errors = false
|
15
|
+
|
16
|
+
# Print deprecation notices to the Rails logger
|
17
|
+
config.active_support.deprecation = :log
|
18
|
+
|
19
|
+
# Only use best-standards-support built into browsers
|
20
|
+
config.action_dispatch.best_standards_support = :builtin
|
21
|
+
|
22
|
+
# Log the query plan for queries taking more than this (works
|
23
|
+
# with SQLite, MySQL, and PostgreSQL)
|
24
|
+
config.active_record.auto_explain_threshold_in_seconds = 0.5
|
25
|
+
|
26
|
+
# Do not compress assets
|
27
|
+
config.assets.compress = false
|
28
|
+
|
29
|
+
# Expands the lines which load the assets
|
30
|
+
config.assets.debug = true
|
31
|
+
end
|
@@ -0,0 +1,67 @@
|
|
1
|
+
Dummy::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb
|
3
|
+
|
4
|
+
# Code is not reloaded between requests
|
5
|
+
config.cache_classes = true
|
6
|
+
|
7
|
+
# Full error reports are disabled and caching is turned on
|
8
|
+
config.consider_all_requests_local = false
|
9
|
+
config.action_controller.perform_caching = true
|
10
|
+
|
11
|
+
# Disable Rails's static asset server (Apache or nginx will already do this)
|
12
|
+
config.serve_static_assets = false
|
13
|
+
|
14
|
+
# Compress JavaScripts and CSS
|
15
|
+
config.assets.compress = true
|
16
|
+
|
17
|
+
# Don't fallback to assets pipeline if a precompiled asset is missed
|
18
|
+
config.assets.compile = false
|
19
|
+
|
20
|
+
# Generate digests for assets URLs
|
21
|
+
config.assets.digest = true
|
22
|
+
|
23
|
+
# Defaults to nil and saved in location specified by config.assets.prefix
|
24
|
+
# config.assets.manifest = YOUR_PATH
|
25
|
+
|
26
|
+
# Specifies the header that your server uses for sending files
|
27
|
+
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
|
28
|
+
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
|
29
|
+
|
30
|
+
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
31
|
+
# config.force_ssl = true
|
32
|
+
|
33
|
+
# See everything in the log (default is :info)
|
34
|
+
# config.log_level = :debug
|
35
|
+
|
36
|
+
# Prepend all log lines with the following tags
|
37
|
+
# config.log_tags = [ :subdomain, :uuid ]
|
38
|
+
|
39
|
+
# Use a different logger for distributed setups
|
40
|
+
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
|
41
|
+
|
42
|
+
# Use a different cache store in production
|
43
|
+
# config.cache_store = :mem_cache_store
|
44
|
+
|
45
|
+
# Enable serving of images, stylesheets, and JavaScripts from an asset server
|
46
|
+
# config.action_controller.asset_host = "http://assets.example.com"
|
47
|
+
|
48
|
+
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
|
49
|
+
# config.assets.precompile += %w( search.js )
|
50
|
+
|
51
|
+
# Disable delivery errors, bad email addresses will be ignored
|
52
|
+
# config.action_mailer.raise_delivery_errors = false
|
53
|
+
|
54
|
+
# Enable threaded mode
|
55
|
+
# config.threadsafe!
|
56
|
+
|
57
|
+
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
58
|
+
# the I18n.default_locale when a translation can not be found)
|
59
|
+
config.i18n.fallbacks = true
|
60
|
+
|
61
|
+
# Send deprecation notices to registered listeners
|
62
|
+
config.active_support.deprecation = :notify
|
63
|
+
|
64
|
+
# Log the query plan for queries taking more than this (works
|
65
|
+
# with SQLite, MySQL, and PostgreSQL)
|
66
|
+
# config.active_record.auto_explain_threshold_in_seconds = 0.5
|
67
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
Dummy::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb
|
3
|
+
|
4
|
+
# The test environment is used exclusively to run your application's
|
5
|
+
# test suite. You never need to work with it otherwise. Remember that
|
6
|
+
# your test database is "scratch space" for the test suite and is wiped
|
7
|
+
# and recreated between test runs. Don't rely on the data there!
|
8
|
+
config.cache_classes = true
|
9
|
+
|
10
|
+
# Configure static asset server for tests with Cache-Control for performance
|
11
|
+
config.serve_static_assets = true
|
12
|
+
config.static_cache_control = "public, max-age=3600"
|
13
|
+
|
14
|
+
# Show full error reports and disable caching
|
15
|
+
config.consider_all_requests_local = true
|
16
|
+
config.action_controller.perform_caching = false
|
17
|
+
|
18
|
+
# Raise exceptions instead of rendering exception templates
|
19
|
+
config.action_dispatch.show_exceptions = false
|
20
|
+
|
21
|
+
# Disable request forgery protection in test environment
|
22
|
+
config.action_controller.allow_forgery_protection = false
|
23
|
+
|
24
|
+
# Tell Action Mailer not to deliver emails to the real world.
|
25
|
+
# The :test delivery method accumulates sent emails in the
|
26
|
+
# ActionMailer::Base.deliveries array.
|
27
|
+
config.action_mailer.delivery_method = :test
|
28
|
+
|
29
|
+
# Print deprecation notices to the stderr
|
30
|
+
config.active_support.deprecation = :stderr
|
31
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key is used for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
|
6
|
+
# Make sure the secret is at least 30 characters and all random,
|
7
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
8
|
+
# You can use `rake secret` to generate a secure secret key.
|
9
|
+
|
10
|
+
# Make sure your secret_key_base is kept private
|
11
|
+
# if you're sharing your code publicly.
|
12
|
+
Dummy::Application.config.secret_key_base = '7b77635ba357b3b7bb0c9930e8b0a856155193df3d0f1d1f5144b724c7d89524139756411fd104feff7b7a05494c63ff45d1f0014c6fbc74f3f49fc67ac0ec3e'
|
Binary file
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -1287,3 +1287,1253 @@ Connecting to database specified by database.yml
|
|
1287
1287
|
[1m[36m (4.7ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
1288
1288
|
[1m[35m (3.8ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
1289
1289
|
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1290
|
+
Connecting to database specified by database.yml
|
1291
|
+
Connecting to database specified by database.yml
|
1292
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1293
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1294
|
+
[1m[36m (16.4ms)[0m [1mCREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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) [0m
|
1295
|
+
[1m[35m (5.4ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")
|
1296
|
+
[1m[36m (4.8ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")[0m
|
1297
|
+
[1m[35m (5.4ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")
|
1298
|
+
[1m[36m (4.7ms)[0m [1mCREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")[0m
|
1299
|
+
[1m[35m (5.0ms)[0m CREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")
|
1300
|
+
[1m[36m (6.0ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1301
|
+
[1m[35m (6.1ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
1302
|
+
[1m[36m (5.4ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
1303
|
+
[1m[35m (5.2ms)[0m CREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1304
|
+
[1m[36m (5.5ms)[0m [1mCREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")[0m
|
1305
|
+
[1m[35m (5.9ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1306
|
+
[1m[36m (6.1ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1307
|
+
[1m[35m (5.4ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1308
|
+
[1m[36m (5.9ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
1309
|
+
[1m[35m (6.2ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
1310
|
+
[1m[36m (5.4ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
1311
|
+
[1m[35m (5.4ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
1312
|
+
[1m[36m (5.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
1313
|
+
[1m[35m (5.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1314
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1315
|
+
[1m[35m (4.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('3')
|
1316
|
+
[1m[36m (4.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('2')[0m
|
1317
|
+
[1m[35m (4.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('1')
|
1318
|
+
Connecting to database specified by database.yml
|
1319
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1320
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
1321
|
+
[1m[36m (15.0ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
1322
|
+
[1m[35m (5.7ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
1323
|
+
[1m[36m (5.1ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
1324
|
+
[1m[35m (4.5ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
1325
|
+
[1m[36m (5.6ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
1326
|
+
[1m[35m (4.4ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
1327
|
+
[1m[36m (5.2ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
1328
|
+
[1m[35m (5.2ms)[0m DROP TABLE "commontator_subscriptions"
|
1329
|
+
[1m[36m (5.2ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1330
|
+
[1m[35m (5.0ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
1331
|
+
[1m[36m (5.4ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
1332
|
+
[1m[35m (5.1ms)[0m DROP TABLE "commontator_threads"
|
1333
|
+
[1m[36m (4.7ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1334
|
+
[1m[35m (4.9ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
1335
|
+
[1m[36m (7.1ms)[0m [1mDROP TABLE "dummy_models"[0m
|
1336
|
+
[1m[35m (5.1ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1337
|
+
[1m[36m (4.9ms)[0m [1mDROP TABLE "dummy_users"[0m
|
1338
|
+
[1m[35m (4.4ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1339
|
+
[1m[36m (5.8ms)[0m [1mDROP TABLE "votes"[0m
|
1340
|
+
[1m[35m (4.6ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1341
|
+
[1m[36m (5.2ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
1342
|
+
[1m[35m (4.7ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
1343
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
1344
|
+
[1m[35m (4.1ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
1345
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1346
|
+
[1m[35m (4.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
1347
|
+
Connecting to database specified by database.yml
|
1348
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1349
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
1350
|
+
[1m[36m (13.6ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
1351
|
+
[1m[35m (5.3ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
1352
|
+
[1m[36m (5.0ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
1353
|
+
[1m[35m (4.8ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
1354
|
+
[1m[36m (5.0ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
1355
|
+
[1m[35m (4.4ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
1356
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
1357
|
+
[1m[35m (5.4ms)[0m DROP TABLE "commontator_subscriptions"
|
1358
|
+
[1m[36m (4.9ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1359
|
+
[1m[35m (4.7ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
1360
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
1361
|
+
[1m[35m (4.8ms)[0m DROP TABLE "commontator_threads"
|
1362
|
+
[1m[36m (4.7ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1363
|
+
[1m[35m (4.9ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
1364
|
+
[1m[36m (4.5ms)[0m [1mDROP TABLE "dummy_models"[0m
|
1365
|
+
[1m[35m (4.8ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1366
|
+
[1m[36m (5.1ms)[0m [1mDROP TABLE "dummy_users"[0m
|
1367
|
+
[1m[35m (4.2ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1368
|
+
[1m[36m (5.5ms)[0m [1mDROP TABLE "votes"[0m
|
1369
|
+
[1m[35m (4.8ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1370
|
+
[1m[36m (4.9ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
1371
|
+
[1m[35m (4.8ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
1372
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
1373
|
+
[1m[35m (4.3ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
1374
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1375
|
+
Connecting to database specified by database.yml
|
1376
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1377
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
1378
|
+
[1m[36m (14.5ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
1379
|
+
[1m[35m (5.5ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
1380
|
+
[1m[36m (5.0ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
1381
|
+
[1m[35m (4.7ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
1382
|
+
[1m[36m (5.2ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
1383
|
+
[1m[35m (4.7ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
1384
|
+
[1m[36m (4.7ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
1385
|
+
[1m[35m (5.5ms)[0m DROP TABLE "commontator_subscriptions"
|
1386
|
+
[1m[36m (5.0ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1387
|
+
[1m[35m (5.2ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
1388
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
1389
|
+
[1m[35m (5.4ms)[0m DROP TABLE "commontator_threads"
|
1390
|
+
[1m[36m (4.8ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1391
|
+
[1m[35m (4.9ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
1392
|
+
[1m[36m (5.0ms)[0m [1mDROP TABLE "dummy_models"[0m
|
1393
|
+
[1m[35m (5.1ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1394
|
+
[1m[36m (5.1ms)[0m [1mDROP TABLE "dummy_users"[0m
|
1395
|
+
[1m[35m (4.5ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1396
|
+
[1m[36m (5.6ms)[0m [1mDROP TABLE "votes"[0m
|
1397
|
+
[1m[35m (4.6ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1398
|
+
[1m[36m (4.9ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
1399
|
+
[1m[35m (5.2ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
1400
|
+
[1m[36m (4.7ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
1401
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
1402
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1403
|
+
Connecting to database specified by database.yml
|
1404
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1405
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
1406
|
+
[1m[36m (13.1ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
1407
|
+
[1m[35m (5.0ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
1408
|
+
[1m[36m (4.1ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
1409
|
+
[1m[35m (4.1ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
1410
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
1411
|
+
[1m[35m (4.1ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
1412
|
+
[1m[36m (3.8ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
1413
|
+
[1m[35m (4.5ms)[0m DROP TABLE "commontator_subscriptions"
|
1414
|
+
[1m[36m (4.2ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1415
|
+
[1m[35m (4.4ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
1416
|
+
[1m[36m (3.7ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
1417
|
+
[1m[35m (4.6ms)[0m DROP TABLE "commontator_threads"
|
1418
|
+
[1m[36m (3.9ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1419
|
+
[1m[35m (3.9ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
1420
|
+
[1m[36m (4.3ms)[0m [1mDROP TABLE "dummy_models"[0m
|
1421
|
+
[1m[35m (4.4ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1422
|
+
[1m[36m (4.3ms)[0m [1mDROP TABLE "dummy_users"[0m
|
1423
|
+
[1m[35m (3.7ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1424
|
+
[1m[36m (5.1ms)[0m [1mDROP TABLE "votes"[0m
|
1425
|
+
[1m[35m (3.8ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1426
|
+
[1m[36m (4.4ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
1427
|
+
[1m[35m (4.3ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
1428
|
+
[1m[36m (3.8ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
1429
|
+
[1m[35m (3.8ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
1430
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1431
|
+
Connecting to database specified by database.yml
|
1432
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1433
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
1434
|
+
[1m[36m (14.9ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
1435
|
+
[1m[35m (5.6ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
1436
|
+
[1m[36m (4.7ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
1437
|
+
[1m[35m (5.0ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
1438
|
+
[1m[36m (5.2ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
1439
|
+
[1m[35m (4.8ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
1440
|
+
[1m[36m (4.8ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
1441
|
+
[1m[35m (5.7ms)[0m DROP TABLE "commontator_subscriptions"
|
1442
|
+
[1m[36m (5.1ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1443
|
+
[1m[35m (5.0ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
1444
|
+
[1m[36m (4.8ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
1445
|
+
[1m[35m (5.3ms)[0m DROP TABLE "commontator_threads"
|
1446
|
+
[1m[36m (4.9ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1447
|
+
[1m[35m (5.1ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
1448
|
+
[1m[36m (5.2ms)[0m [1mDROP TABLE "dummy_models"[0m
|
1449
|
+
[1m[35m (5.1ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1450
|
+
[1m[36m (6.0ms)[0m [1mDROP TABLE "dummy_users"[0m
|
1451
|
+
[1m[35m (4.4ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1452
|
+
[1m[36m (5.6ms)[0m [1mDROP TABLE "votes"[0m
|
1453
|
+
[1m[35m (4.6ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1454
|
+
[1m[36m (4.9ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
1455
|
+
[1m[35m (4.9ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
1456
|
+
[1m[36m (4.7ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
1457
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
1458
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1459
|
+
Connecting to database specified by database.yml
|
1460
|
+
Connecting to database specified by database.yml
|
1461
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1462
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
1463
|
+
[1m[36m (14.2ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
1464
|
+
[1m[35m (5.2ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
1465
|
+
[1m[36m (4.9ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
1466
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
1467
|
+
[1m[36m (4.8ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
1468
|
+
[1m[35m (4.9ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
1469
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
1470
|
+
[1m[35m (5.3ms)[0m DROP TABLE "commontator_subscriptions"
|
1471
|
+
[1m[36m (5.0ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1472
|
+
[1m[35m (4.9ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
1473
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
1474
|
+
[1m[35m (5.3ms)[0m DROP TABLE "commontator_threads"
|
1475
|
+
[1m[36m (4.7ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1476
|
+
[1m[35m (4.8ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
1477
|
+
[1m[36m (5.0ms)[0m [1mDROP TABLE "dummy_models"[0m
|
1478
|
+
[1m[35m (5.1ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1479
|
+
[1m[36m (5.0ms)[0m [1mDROP TABLE "dummy_users"[0m
|
1480
|
+
[1m[35m (4.4ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1481
|
+
[1m[36m (5.7ms)[0m [1mDROP TABLE "votes"[0m
|
1482
|
+
[1m[35m (4.6ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1483
|
+
[1m[36m (5.2ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
1484
|
+
[1m[35m (4.9ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
1485
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
1486
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
1487
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1488
|
+
Connecting to database specified by database.yml
|
1489
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1490
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
1491
|
+
[1m[36m (14.6ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
1492
|
+
[1m[35m (5.4ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
1493
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
1494
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
1495
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
1496
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
1497
|
+
[1m[36m (4.1ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
1498
|
+
[1m[35m (5.1ms)[0m DROP TABLE "commontator_subscriptions"
|
1499
|
+
[1m[36m (4.7ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1500
|
+
[1m[35m (4.8ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
1501
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
1502
|
+
[1m[35m (4.9ms)[0m DROP TABLE "commontator_threads"
|
1503
|
+
[1m[36m (5.7ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1504
|
+
[1m[35m (4.3ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
1505
|
+
[1m[36m (4.5ms)[0m [1mDROP TABLE "dummy_models"[0m
|
1506
|
+
[1m[35m (4.7ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1507
|
+
[1m[36m (5.5ms)[0m [1mDROP TABLE "dummy_users"[0m
|
1508
|
+
[1m[35m (4.1ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1509
|
+
[1m[36m (5.0ms)[0m [1mDROP TABLE "votes"[0m
|
1510
|
+
[1m[35m (4.6ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1511
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
1512
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
1513
|
+
[1m[36m (4.2ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
1514
|
+
[1m[35m (4.2ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
1515
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1516
|
+
Connecting to database specified by database.yml
|
1517
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1518
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
1519
|
+
[1m[36m (15.4ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
1520
|
+
[1m[35m (5.4ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
1521
|
+
[1m[36m (4.4ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
1522
|
+
[1m[35m (4.4ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
1523
|
+
[1m[36m (5.1ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
1524
|
+
[1m[35m (4.9ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
1525
|
+
[1m[36m (4.9ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
1526
|
+
[1m[35m (5.5ms)[0m DROP TABLE "commontator_subscriptions"
|
1527
|
+
[1m[36m (4.9ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1528
|
+
[1m[35m (4.9ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
1529
|
+
[1m[36m (4.4ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
1530
|
+
[1m[35m (5.3ms)[0m DROP TABLE "commontator_threads"
|
1531
|
+
[1m[36m (4.6ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1532
|
+
[1m[35m (4.7ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
1533
|
+
[1m[36m (5.1ms)[0m [1mDROP TABLE "dummy_models"[0m
|
1534
|
+
[1m[35m (5.1ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1535
|
+
[1m[36m (6.0ms)[0m [1mDROP TABLE "dummy_users"[0m
|
1536
|
+
[1m[35m (4.4ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1537
|
+
[1m[36m (5.7ms)[0m [1mDROP TABLE "votes"[0m
|
1538
|
+
[1m[35m (4.7ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1539
|
+
[1m[36m (4.8ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
1540
|
+
[1m[35m (4.8ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
1541
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
1542
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
1543
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1544
|
+
Connecting to database specified by database.yml
|
1545
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1546
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
1547
|
+
[1m[36m (18.8ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
1548
|
+
[1m[35m (5.2ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
1549
|
+
[1m[36m (4.4ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
1550
|
+
[1m[35m (4.8ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
1551
|
+
[1m[36m (4.9ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
1552
|
+
[1m[35m (4.9ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
1553
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
1554
|
+
[1m[35m (4.5ms)[0m DROP TABLE "commontator_subscriptions"
|
1555
|
+
[1m[36m (4.0ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1556
|
+
[1m[35m (4.2ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
1557
|
+
[1m[36m (4.4ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
1558
|
+
[1m[35m (4.1ms)[0m DROP TABLE "commontator_threads"
|
1559
|
+
[1m[36m (3.6ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1560
|
+
[1m[35m (3.8ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
1561
|
+
[1m[36m (3.6ms)[0m [1mDROP TABLE "dummy_models"[0m
|
1562
|
+
[1m[35m (3.8ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1563
|
+
[1m[36m (4.4ms)[0m [1mDROP TABLE "dummy_users"[0m
|
1564
|
+
[1m[35m (3.8ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1565
|
+
[1m[36m (3.9ms)[0m [1mDROP TABLE "votes"[0m
|
1566
|
+
[1m[35m (3.4ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1567
|
+
[1m[36m (3.5ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
1568
|
+
[1m[35m (4.2ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
1569
|
+
[1m[36m (4.0ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
1570
|
+
[1m[35m (3.8ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
1571
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1572
|
+
Connecting to database specified by database.yml
|
1573
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1574
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
1575
|
+
[1m[36m (15.6ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
1576
|
+
[1m[35m (5.4ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
1577
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
1578
|
+
[1m[35m (4.3ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
1579
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
1580
|
+
[1m[35m (4.8ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
1581
|
+
[1m[36m (4.1ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
1582
|
+
[1m[35m (5.0ms)[0m DROP TABLE "commontator_subscriptions"
|
1583
|
+
[1m[36m (4.7ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1584
|
+
[1m[35m (4.6ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
1585
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
1586
|
+
[1m[35m (5.3ms)[0m DROP TABLE "commontator_threads"
|
1587
|
+
[1m[36m (4.4ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1588
|
+
[1m[35m (4.4ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
1589
|
+
[1m[36m (4.6ms)[0m [1mDROP TABLE "dummy_models"[0m
|
1590
|
+
[1m[35m (4.6ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1591
|
+
[1m[36m (5.7ms)[0m [1mDROP TABLE "dummy_users"[0m
|
1592
|
+
[1m[35m (4.0ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1593
|
+
[1m[36m (5.4ms)[0m [1mDROP TABLE "votes"[0m
|
1594
|
+
[1m[35m (4.1ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1595
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
1596
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
1597
|
+
[1m[36m (4.4ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
1598
|
+
[1m[35m (4.2ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
1599
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1600
|
+
Connecting to database specified by database.yml
|
1601
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1602
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
1603
|
+
[1m[36m (14.7ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
1604
|
+
[1m[35m (5.0ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
1605
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
1606
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
1607
|
+
[1m[36m (5.1ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
1608
|
+
[1m[35m (4.5ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
1609
|
+
[1m[36m (4.4ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
1610
|
+
[1m[35m (5.2ms)[0m DROP TABLE "commontator_subscriptions"
|
1611
|
+
[1m[36m (4.9ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1612
|
+
[1m[35m (4.9ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
1613
|
+
[1m[36m (4.4ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
1614
|
+
[1m[35m (5.4ms)[0m DROP TABLE "commontator_threads"
|
1615
|
+
[1m[36m (4.6ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1616
|
+
[1m[35m (4.7ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
1617
|
+
[1m[36m (4.9ms)[0m [1mDROP TABLE "dummy_models"[0m
|
1618
|
+
[1m[35m (5.0ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1619
|
+
[1m[36m (5.9ms)[0m [1mDROP TABLE "dummy_users"[0m
|
1620
|
+
[1m[35m (4.2ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1621
|
+
[1m[36m (5.4ms)[0m [1mDROP TABLE "votes"[0m
|
1622
|
+
[1m[35m (4.2ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1623
|
+
[1m[36m (4.8ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
1624
|
+
[1m[35m (4.9ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
1625
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
1626
|
+
[1m[35m (4.8ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
1627
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1628
|
+
Connecting to database specified by database.yml
|
1629
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1630
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
1631
|
+
[1m[36m (14.1ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
1632
|
+
[1m[35m (5.0ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
1633
|
+
[1m[36m (4.8ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
1634
|
+
[1m[35m (4.5ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
1635
|
+
[1m[36m (5.0ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
1636
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
1637
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
1638
|
+
[1m[35m (4.8ms)[0m DROP TABLE "commontator_subscriptions"
|
1639
|
+
[1m[36m (5.1ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1640
|
+
[1m[35m (4.8ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
1641
|
+
[1m[36m (4.7ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
1642
|
+
[1m[35m (5.0ms)[0m DROP TABLE "commontator_threads"
|
1643
|
+
[1m[36m (3.7ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1644
|
+
[1m[35m (4.4ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
1645
|
+
[1m[36m (4.8ms)[0m [1mDROP TABLE "dummy_models"[0m
|
1646
|
+
[1m[35m (4.5ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1647
|
+
[1m[36m (5.8ms)[0m [1mDROP TABLE "dummy_users"[0m
|
1648
|
+
[1m[35m (4.1ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1649
|
+
[1m[36m (5.1ms)[0m [1mDROP TABLE "votes"[0m
|
1650
|
+
[1m[35m (4.4ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1651
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
1652
|
+
[1m[35m (4.8ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
1653
|
+
[1m[36m (4.4ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
1654
|
+
[1m[35m (4.3ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
1655
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1656
|
+
Connecting to database specified by database.yml
|
1657
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1658
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
1659
|
+
[1m[36m (24.7ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
1660
|
+
[1m[35m (5.0ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
1661
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
1662
|
+
[1m[35m (4.3ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
1663
|
+
[1m[36m (5.2ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
1664
|
+
[1m[35m (4.3ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
1665
|
+
[1m[36m (4.1ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
1666
|
+
[1m[35m (4.9ms)[0m DROP TABLE "commontator_subscriptions"
|
1667
|
+
[1m[36m (4.6ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1668
|
+
[1m[35m (4.6ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
1669
|
+
[1m[36m (4.4ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
1670
|
+
[1m[35m (4.8ms)[0m DROP TABLE "commontator_threads"
|
1671
|
+
[1m[36m (4.4ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1672
|
+
[1m[35m (4.3ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
1673
|
+
[1m[36m (4.5ms)[0m [1mDROP TABLE "dummy_models"[0m
|
1674
|
+
[1m[35m (4.6ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1675
|
+
[1m[36m (4.7ms)[0m [1mDROP TABLE "dummy_users"[0m
|
1676
|
+
[1m[35m (4.0ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1677
|
+
[1m[36m (5.4ms)[0m [1mDROP TABLE "votes"[0m
|
1678
|
+
[1m[35m (4.3ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1679
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
1680
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
1681
|
+
[1m[36m (4.2ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
1682
|
+
[1m[35m (4.1ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
1683
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1684
|
+
Connecting to database specified by database.yml
|
1685
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1686
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
1687
|
+
[1m[36m (9.9ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
1688
|
+
[1m[35m (4.9ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
1689
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
1690
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
1691
|
+
[1m[36m (5.5ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
1692
|
+
[1m[35m (4.7ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
1693
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
1694
|
+
[1m[35m (5.4ms)[0m DROP TABLE "commontator_subscriptions"
|
1695
|
+
[1m[36m (5.1ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1696
|
+
[1m[35m (5.2ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
1697
|
+
[1m[36m (4.8ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
1698
|
+
[1m[35m (5.4ms)[0m DROP TABLE "commontator_threads"
|
1699
|
+
[1m[36m (4.7ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1700
|
+
[1m[35m (4.8ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
1701
|
+
[1m[36m (5.1ms)[0m [1mDROP TABLE "dummy_models"[0m
|
1702
|
+
[1m[35m (5.1ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1703
|
+
[1m[36m (4.9ms)[0m [1mDROP TABLE "dummy_users"[0m
|
1704
|
+
[1m[35m (4.7ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1705
|
+
[1m[36m (5.5ms)[0m [1mDROP TABLE "votes"[0m
|
1706
|
+
[1m[35m (4.8ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1707
|
+
[1m[36m (5.0ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
1708
|
+
[1m[35m (6.1ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
1709
|
+
[1m[36m (4.7ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
1710
|
+
[1m[35m (4.7ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
1711
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1712
|
+
Connecting to database specified by database.yml
|
1713
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1714
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
1715
|
+
[1m[36m (13.4ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
1716
|
+
[1m[35m (5.0ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
1717
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
1718
|
+
[1m[35m (4.7ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
1719
|
+
[1m[36m (3.8ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
1720
|
+
[1m[35m (3.8ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
1721
|
+
[1m[36m (3.7ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
1722
|
+
[1m[35m (4.1ms)[0m DROP TABLE "commontator_subscriptions"
|
1723
|
+
[1m[36m (3.9ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1724
|
+
[1m[35m (3.8ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
1725
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
1726
|
+
[1m[35m (4.1ms)[0m DROP TABLE "commontator_threads"
|
1727
|
+
[1m[36m (3.8ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1728
|
+
[1m[35m (3.9ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
1729
|
+
[1m[36m (4.1ms)[0m [1mDROP TABLE "dummy_models"[0m
|
1730
|
+
[1m[35m (4.1ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1731
|
+
[1m[36m (5.5ms)[0m [1mDROP TABLE "dummy_users"[0m
|
1732
|
+
[1m[35m (4.4ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1733
|
+
[1m[36m (5.0ms)[0m [1mDROP TABLE "votes"[0m
|
1734
|
+
[1m[35m (4.2ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1735
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
1736
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
1737
|
+
[1m[36m (4.2ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
1738
|
+
[1m[35m (4.2ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
1739
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1740
|
+
Connecting to database specified by database.yml
|
1741
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1742
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
1743
|
+
[1m[36m (14.6ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
1744
|
+
[1m[35m (5.3ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
1745
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
1746
|
+
[1m[35m (4.7ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
1747
|
+
[1m[36m (5.0ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
1748
|
+
[1m[35m (4.4ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
1749
|
+
[1m[36m (4.4ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
1750
|
+
[1m[35m (5.2ms)[0m DROP TABLE "commontator_subscriptions"
|
1751
|
+
[1m[36m (4.9ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1752
|
+
[1m[35m (4.9ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
1753
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
1754
|
+
[1m[35m (5.3ms)[0m DROP TABLE "commontator_threads"
|
1755
|
+
[1m[36m (4.5ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1756
|
+
[1m[35m (4.5ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
1757
|
+
[1m[36m (4.8ms)[0m [1mDROP TABLE "dummy_models"[0m
|
1758
|
+
[1m[35m (4.8ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1759
|
+
[1m[36m (5.4ms)[0m [1mDROP TABLE "dummy_users"[0m
|
1760
|
+
[1m[35m (4.1ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1761
|
+
[1m[36m (5.2ms)[0m [1mDROP TABLE "votes"[0m
|
1762
|
+
[1m[35m (4.4ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1763
|
+
[1m[36m (4.7ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
1764
|
+
[1m[35m (4.8ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
1765
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
1766
|
+
[1m[35m (4.5ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
1767
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1768
|
+
Connecting to database specified by database.yml
|
1769
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1770
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
1771
|
+
[1m[36m (11.6ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
1772
|
+
[1m[35m (4.8ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
1773
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
1774
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
1775
|
+
[1m[36m (4.7ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
1776
|
+
[1m[35m (4.5ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
1777
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
1778
|
+
[1m[35m (5.5ms)[0m DROP TABLE "commontator_subscriptions"
|
1779
|
+
[1m[36m (4.9ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1780
|
+
[1m[35m (5.0ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
1781
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
1782
|
+
[1m[35m (4.8ms)[0m DROP TABLE "commontator_threads"
|
1783
|
+
[1m[36m (4.3ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1784
|
+
[1m[35m (4.6ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
1785
|
+
[1m[36m (4.4ms)[0m [1mDROP TABLE "dummy_models"[0m
|
1786
|
+
[1m[35m (4.8ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1787
|
+
[1m[36m (5.9ms)[0m [1mDROP TABLE "dummy_users"[0m
|
1788
|
+
[1m[35m (4.2ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1789
|
+
[1m[36m (5.2ms)[0m [1mDROP TABLE "votes"[0m
|
1790
|
+
[1m[35m (4.3ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1791
|
+
[1m[36m (4.8ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
1792
|
+
[1m[35m (4.8ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
1793
|
+
[1m[36m (4.4ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
1794
|
+
[1m[35m (4.5ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
1795
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1796
|
+
Connecting to database specified by database.yml
|
1797
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1798
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
1799
|
+
[1m[36m (33.7ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
1800
|
+
[1m[35m (3.9ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
1801
|
+
[1m[36m (4.0ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
1802
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
1803
|
+
[1m[36m (4.8ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
1804
|
+
[1m[35m (4.2ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
1805
|
+
[1m[36m (4.2ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
1806
|
+
[1m[35m (4.3ms)[0m DROP TABLE "commontator_subscriptions"
|
1807
|
+
[1m[36m (4.2ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1808
|
+
[1m[35m (4.2ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
1809
|
+
[1m[36m (3.9ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
1810
|
+
[1m[35m (4.0ms)[0m DROP TABLE "commontator_threads"
|
1811
|
+
[1m[36m (3.7ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1812
|
+
[1m[35m (4.4ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
1813
|
+
[1m[36m (3.7ms)[0m [1mDROP TABLE "dummy_models"[0m
|
1814
|
+
[1m[35m (3.6ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1815
|
+
[1m[36m (5.5ms)[0m [1mDROP TABLE "dummy_users"[0m
|
1816
|
+
[1m[35m (4.1ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1817
|
+
[1m[36m (5.0ms)[0m [1mDROP TABLE "votes"[0m
|
1818
|
+
[1m[35m (4.2ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1819
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
1820
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
1821
|
+
[1m[36m (4.2ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
1822
|
+
[1m[35m (4.5ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
1823
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1824
|
+
Connecting to database specified by database.yml
|
1825
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1826
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
1827
|
+
[1m[36m (16.7ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
1828
|
+
[1m[35m (5.0ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
1829
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
1830
|
+
[1m[35m (4.8ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
1831
|
+
[1m[36m (4.7ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
1832
|
+
[1m[35m (4.3ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
1833
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
1834
|
+
[1m[35m (4.9ms)[0m DROP TABLE "commontator_subscriptions"
|
1835
|
+
[1m[36m (4.7ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1836
|
+
[1m[35m (5.0ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
1837
|
+
[1m[36m (4.2ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
1838
|
+
[1m[35m (4.9ms)[0m DROP TABLE "commontator_threads"
|
1839
|
+
[1m[36m (4.4ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1840
|
+
[1m[35m (4.4ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
1841
|
+
[1m[36m (4.6ms)[0m [1mDROP TABLE "dummy_models"[0m
|
1842
|
+
[1m[35m (4.6ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1843
|
+
[1m[36m (6.0ms)[0m [1mDROP TABLE "dummy_users"[0m
|
1844
|
+
[1m[35m (4.0ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1845
|
+
[1m[36m (5.0ms)[0m [1mDROP TABLE "votes"[0m
|
1846
|
+
[1m[35m (4.4ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1847
|
+
[1m[36m (4.9ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
1848
|
+
[1m[35m (4.7ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
1849
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
1850
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
1851
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1852
|
+
Connecting to database specified by database.yml
|
1853
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1854
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
1855
|
+
[1m[36m (14.9ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
1856
|
+
[1m[35m (5.3ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
1857
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
1858
|
+
[1m[35m (4.5ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
1859
|
+
[1m[36m (4.8ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
1860
|
+
[1m[35m (4.4ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
1861
|
+
[1m[36m (4.4ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
1862
|
+
[1m[35m (5.1ms)[0m DROP TABLE "commontator_subscriptions"
|
1863
|
+
[1m[36m (4.8ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1864
|
+
[1m[35m (5.2ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
1865
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
1866
|
+
[1m[35m (5.1ms)[0m DROP TABLE "commontator_threads"
|
1867
|
+
[1m[36m (4.5ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1868
|
+
[1m[35m (4.5ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
1869
|
+
[1m[36m (5.0ms)[0m [1mDROP TABLE "dummy_models"[0m
|
1870
|
+
[1m[35m (4.9ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1871
|
+
[1m[36m (5.3ms)[0m [1mDROP TABLE "dummy_users"[0m
|
1872
|
+
[1m[35m (4.1ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1873
|
+
[1m[36m (5.5ms)[0m [1mDROP TABLE "votes"[0m
|
1874
|
+
[1m[35m (4.4ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1875
|
+
[1m[36m (4.8ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
1876
|
+
[1m[35m (4.9ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
1877
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
1878
|
+
[1m[35m (4.7ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
1879
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1880
|
+
Connecting to database specified by database.yml
|
1881
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1882
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
1883
|
+
[1m[36m (14.2ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
1884
|
+
[1m[35m (5.6ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
1885
|
+
[1m[36m (4.8ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
1886
|
+
[1m[35m (4.1ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
1887
|
+
[1m[36m (3.9ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
1888
|
+
[1m[35m (4.0ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
1889
|
+
[1m[36m (4.1ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
1890
|
+
[1m[35m (4.5ms)[0m DROP TABLE "commontator_subscriptions"
|
1891
|
+
[1m[36m (4.2ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1892
|
+
[1m[35m (4.8ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
1893
|
+
[1m[36m (4.2ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
1894
|
+
[1m[35m (5.0ms)[0m DROP TABLE "commontator_threads"
|
1895
|
+
[1m[36m (4.5ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1896
|
+
[1m[35m (4.4ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
1897
|
+
[1m[36m (3.6ms)[0m [1mDROP TABLE "dummy_models"[0m
|
1898
|
+
[1m[35m (3.5ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1899
|
+
[1m[36m (5.4ms)[0m [1mDROP TABLE "dummy_users"[0m
|
1900
|
+
[1m[35m (4.0ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1901
|
+
[1m[36m (4.9ms)[0m [1mDROP TABLE "votes"[0m
|
1902
|
+
[1m[35m (4.3ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1903
|
+
[1m[36m (4.0ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
1904
|
+
[1m[35m (4.7ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
1905
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
1906
|
+
[1m[35m (3.8ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
1907
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1908
|
+
Connecting to database specified by database.yml
|
1909
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1910
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
1911
|
+
[1m[36m (15.1ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
1912
|
+
[1m[35m (4.8ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
1913
|
+
[1m[36m (4.9ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
1914
|
+
[1m[35m (4.5ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
1915
|
+
[1m[36m (4.7ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
1916
|
+
[1m[35m (4.3ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
1917
|
+
[1m[36m (4.2ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
1918
|
+
[1m[35m (5.1ms)[0m DROP TABLE "commontator_subscriptions"
|
1919
|
+
[1m[36m (4.8ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1920
|
+
[1m[35m (5.0ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
1921
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
1922
|
+
[1m[35m (5.1ms)[0m DROP TABLE "commontator_threads"
|
1923
|
+
[1m[36m (4.5ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1924
|
+
[1m[35m (4.5ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
1925
|
+
[1m[36m (4.8ms)[0m [1mDROP TABLE "dummy_models"[0m
|
1926
|
+
[1m[35m (5.0ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1927
|
+
[1m[36m (4.8ms)[0m [1mDROP TABLE "dummy_users"[0m
|
1928
|
+
[1m[35m (4.1ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1929
|
+
[1m[36m (5.2ms)[0m [1mDROP TABLE "votes"[0m
|
1930
|
+
[1m[35m (4.2ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1931
|
+
[1m[36m (4.7ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
1932
|
+
[1m[35m (4.8ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
1933
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
1934
|
+
[1m[35m (4.3ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
1935
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1936
|
+
Connecting to database specified by database.yml
|
1937
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1938
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
1939
|
+
[1m[36m (13.8ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
1940
|
+
[1m[35m (4.8ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
1941
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
1942
|
+
[1m[35m (4.5ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
1943
|
+
[1m[36m (5.0ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
1944
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
1945
|
+
[1m[36m (4.4ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
1946
|
+
[1m[35m (5.3ms)[0m DROP TABLE "commontator_subscriptions"
|
1947
|
+
[1m[36m (4.9ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1948
|
+
[1m[35m (5.2ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
1949
|
+
[1m[36m (4.4ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
1950
|
+
[1m[35m (5.3ms)[0m DROP TABLE "commontator_threads"
|
1951
|
+
[1m[36m (4.8ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1952
|
+
[1m[35m (5.0ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
1953
|
+
[1m[36m (5.1ms)[0m [1mDROP TABLE "dummy_models"[0m
|
1954
|
+
[1m[35m (4.9ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1955
|
+
[1m[36m (5.1ms)[0m [1mDROP TABLE "dummy_users"[0m
|
1956
|
+
[1m[35m (4.3ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1957
|
+
[1m[36m (5.6ms)[0m [1mDROP TABLE "votes"[0m
|
1958
|
+
[1m[35m (4.8ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1959
|
+
[1m[36m (5.0ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
1960
|
+
[1m[35m (5.0ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
1961
|
+
[1m[36m (4.7ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
1962
|
+
[1m[35m (4.8ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
1963
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1964
|
+
Connecting to database specified by database.yml
|
1965
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1966
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
1967
|
+
[1m[36m (15.2ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
1968
|
+
[1m[35m (5.2ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
1969
|
+
[1m[36m (4.9ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
1970
|
+
[1m[35m (4.5ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
1971
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
1972
|
+
[1m[35m (4.4ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
1973
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
1974
|
+
[1m[35m (5.1ms)[0m DROP TABLE "commontator_subscriptions"
|
1975
|
+
[1m[36m (4.7ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1976
|
+
[1m[35m (4.9ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
1977
|
+
[1m[36m (4.2ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
1978
|
+
[1m[35m (4.7ms)[0m DROP TABLE "commontator_threads"
|
1979
|
+
[1m[36m (4.4ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1980
|
+
[1m[35m (4.4ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
1981
|
+
[1m[36m (4.6ms)[0m [1mDROP TABLE "dummy_models"[0m
|
1982
|
+
[1m[35m (4.6ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1983
|
+
[1m[36m (4.9ms)[0m [1mDROP TABLE "dummy_users"[0m
|
1984
|
+
[1m[35m (4.3ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1985
|
+
[1m[36m (5.2ms)[0m [1mDROP TABLE "votes"[0m
|
1986
|
+
[1m[35m (4.2ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1987
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
1988
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
1989
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
1990
|
+
[1m[35m (4.5ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
1991
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1992
|
+
Connecting to database specified by database.yml
|
1993
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1994
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
1995
|
+
[1m[36m (14.8ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
1996
|
+
[1m[35m (5.1ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
1997
|
+
[1m[36m (4.8ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
1998
|
+
[1m[35m (4.7ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
1999
|
+
[1m[36m (4.9ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
2000
|
+
[1m[35m (4.8ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
2001
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
2002
|
+
[1m[35m (5.7ms)[0m DROP TABLE "commontator_subscriptions"
|
2003
|
+
[1m[36m (5.0ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2004
|
+
[1m[35m (5.0ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
2005
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
2006
|
+
[1m[35m (5.4ms)[0m DROP TABLE "commontator_threads"
|
2007
|
+
[1m[36m (4.6ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2008
|
+
[1m[35m (5.0ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
2009
|
+
[1m[36m (5.2ms)[0m [1mDROP TABLE "dummy_models"[0m
|
2010
|
+
[1m[35m (4.9ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2011
|
+
[1m[36m (5.9ms)[0m [1mDROP TABLE "dummy_users"[0m
|
2012
|
+
[1m[35m (4.4ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2013
|
+
[1m[36m (5.6ms)[0m [1mDROP TABLE "votes"[0m
|
2014
|
+
[1m[35m (4.4ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2015
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
2016
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
2017
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
2018
|
+
[1m[35m (4.3ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
2019
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2020
|
+
Connecting to database specified by database.yml
|
2021
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2022
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
2023
|
+
[1m[36m (16.0ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
2024
|
+
[1m[35m (5.1ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
2025
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
2026
|
+
[1m[35m (4.0ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
2027
|
+
[1m[36m (4.8ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
2028
|
+
[1m[35m (4.4ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
2029
|
+
[1m[36m (4.2ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
2030
|
+
[1m[35m (5.0ms)[0m DROP TABLE "commontator_subscriptions"
|
2031
|
+
[1m[36m (4.7ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2032
|
+
[1m[35m (4.9ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
2033
|
+
[1m[36m (4.2ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
2034
|
+
[1m[35m (5.0ms)[0m DROP TABLE "commontator_threads"
|
2035
|
+
[1m[36m (4.4ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2036
|
+
[1m[35m (4.4ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
2037
|
+
[1m[36m (4.9ms)[0m [1mDROP TABLE "dummy_models"[0m
|
2038
|
+
[1m[35m (4.6ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2039
|
+
[1m[36m (4.9ms)[0m [1mDROP TABLE "dummy_users"[0m
|
2040
|
+
[1m[35m (4.1ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2041
|
+
[1m[36m (5.1ms)[0m [1mDROP TABLE "votes"[0m
|
2042
|
+
[1m[35m (4.2ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2043
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
2044
|
+
[1m[35m (4.9ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
2045
|
+
[1m[36m (4.4ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
2046
|
+
[1m[35m (4.3ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
2047
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2048
|
+
Connecting to database specified by database.yml
|
2049
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2050
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
2051
|
+
[1m[36m (15.6ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
2052
|
+
[1m[35m (6.0ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
2053
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
2054
|
+
[1m[35m (4.3ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
2055
|
+
[1m[36m (4.9ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
2056
|
+
[1m[35m (4.5ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
2057
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
2058
|
+
[1m[35m (5.2ms)[0m DROP TABLE "commontator_subscriptions"
|
2059
|
+
[1m[36m (4.9ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2060
|
+
[1m[35m (5.0ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
2061
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
2062
|
+
[1m[35m (5.1ms)[0m DROP TABLE "commontator_threads"
|
2063
|
+
[1m[36m (4.5ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2064
|
+
[1m[35m (4.5ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
2065
|
+
[1m[36m (5.1ms)[0m [1mDROP TABLE "dummy_models"[0m
|
2066
|
+
[1m[35m (4.9ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2067
|
+
[1m[36m (5.1ms)[0m [1mDROP TABLE "dummy_users"[0m
|
2068
|
+
[1m[35m (3.4ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2069
|
+
[1m[36m (4.9ms)[0m [1mDROP TABLE "votes"[0m
|
2070
|
+
[1m[35m (4.4ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2071
|
+
[1m[36m (4.4ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
2072
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
2073
|
+
[1m[36m (3.8ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
2074
|
+
[1m[35m (3.8ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
2075
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2076
|
+
Connecting to database specified by database.yml
|
2077
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2078
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
2079
|
+
[1m[36m (14.5ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
2080
|
+
[1m[35m (4.5ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
2081
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
2082
|
+
[1m[35m (4.4ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
2083
|
+
[1m[36m (4.7ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
2084
|
+
[1m[35m (4.4ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
2085
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
2086
|
+
[1m[35m (5.0ms)[0m DROP TABLE "commontator_subscriptions"
|
2087
|
+
[1m[36m (5.0ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2088
|
+
[1m[35m (4.6ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
2089
|
+
[1m[36m (4.2ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
2090
|
+
[1m[35m (5.1ms)[0m DROP TABLE "commontator_threads"
|
2091
|
+
[1m[36m (4.4ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2092
|
+
[1m[35m (4.4ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
2093
|
+
[1m[36m (4.9ms)[0m [1mDROP TABLE "dummy_models"[0m
|
2094
|
+
[1m[35m (4.7ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2095
|
+
[1m[36m (5.7ms)[0m [1mDROP TABLE "dummy_users"[0m
|
2096
|
+
[1m[35m (4.1ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2097
|
+
[1m[36m (5.0ms)[0m [1mDROP TABLE "votes"[0m
|
2098
|
+
[1m[35m (4.4ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2099
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
2100
|
+
[1m[35m (4.9ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
2101
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
2102
|
+
[1m[35m (4.2ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
2103
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2104
|
+
Connecting to database specified by database.yml
|
2105
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2106
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
2107
|
+
[1m[36m (14.0ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
2108
|
+
[1m[35m (5.4ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
2109
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
2110
|
+
[1m[35m (4.2ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
2111
|
+
[1m[36m (4.7ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
2112
|
+
[1m[35m (4.4ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
2113
|
+
[1m[36m (11.1ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
2114
|
+
[1m[35m (5.2ms)[0m DROP TABLE "commontator_subscriptions"
|
2115
|
+
[1m[36m (5.2ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2116
|
+
[1m[35m (4.7ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
2117
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
2118
|
+
[1m[35m (5.0ms)[0m DROP TABLE "commontator_threads"
|
2119
|
+
[1m[36m (4.5ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2120
|
+
[1m[35m (4.6ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
2121
|
+
[1m[36m (4.7ms)[0m [1mDROP TABLE "dummy_models"[0m
|
2122
|
+
[1m[35m (4.6ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2123
|
+
[1m[36m (5.3ms)[0m [1mDROP TABLE "dummy_users"[0m
|
2124
|
+
[1m[35m (5.4ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2125
|
+
[1m[36m (5.3ms)[0m [1mDROP TABLE "votes"[0m
|
2126
|
+
[1m[35m (4.0ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2127
|
+
[1m[36m (3.9ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
2128
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
2129
|
+
[1m[36m (3.9ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
2130
|
+
[1m[35m (3.8ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
2131
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2132
|
+
Connecting to database specified by database.yml
|
2133
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2134
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
2135
|
+
[1m[36m (15.6ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
2136
|
+
[1m[35m (5.6ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
2137
|
+
[1m[36m (4.8ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
2138
|
+
[1m[35m (4.3ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
2139
|
+
[1m[36m (4.7ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
2140
|
+
[1m[35m (11.5ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
2141
|
+
[1m[36m (4.7ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
2142
|
+
[1m[35m (5.2ms)[0m DROP TABLE "commontator_subscriptions"
|
2143
|
+
[1m[36m (4.8ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2144
|
+
[1m[35m (4.8ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
2145
|
+
[1m[36m (4.1ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
2146
|
+
[1m[35m (5.0ms)[0m DROP TABLE "commontator_threads"
|
2147
|
+
[1m[36m (4.5ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2148
|
+
[1m[35m (4.7ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
2149
|
+
[1m[36m (4.8ms)[0m [1mDROP TABLE "dummy_models"[0m
|
2150
|
+
[1m[35m (4.8ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2151
|
+
[1m[36m (5.1ms)[0m [1mDROP TABLE "dummy_users"[0m
|
2152
|
+
[1m[35m (4.1ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2153
|
+
[1m[36m (5.1ms)[0m [1mDROP TABLE "votes"[0m
|
2154
|
+
[1m[35m (4.3ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2155
|
+
[1m[36m (4.9ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
2156
|
+
[1m[35m (5.1ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
2157
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
2158
|
+
[1m[35m (4.4ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
2159
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2160
|
+
Connecting to database specified by database.yml
|
2161
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2162
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
2163
|
+
[1m[36m (15.0ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
2164
|
+
[1m[35m (4.8ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
2165
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
2166
|
+
[1m[35m (4.4ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
2167
|
+
[1m[36m (4.8ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
2168
|
+
[1m[35m (4.3ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
2169
|
+
[1m[36m (4.2ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
2170
|
+
[1m[35m (5.3ms)[0m DROP TABLE "commontator_subscriptions"
|
2171
|
+
[1m[36m (4.7ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2172
|
+
[1m[35m (4.6ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
2173
|
+
[1m[36m (4.2ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
2174
|
+
[1m[35m (5.0ms)[0m DROP TABLE "commontator_threads"
|
2175
|
+
[1m[36m (4.4ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2176
|
+
[1m[35m (4.7ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
2177
|
+
[1m[36m (4.7ms)[0m [1mDROP TABLE "dummy_models"[0m
|
2178
|
+
[1m[35m (4.6ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2179
|
+
[1m[36m (4.9ms)[0m [1mDROP TABLE "dummy_users"[0m
|
2180
|
+
[1m[35m (4.4ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2181
|
+
[1m[36m (5.2ms)[0m [1mDROP TABLE "votes"[0m
|
2182
|
+
[1m[35m (4.5ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2183
|
+
[1m[36m (5.2ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
2184
|
+
[1m[35m (4.7ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
2185
|
+
[1m[36m (4.4ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
2186
|
+
[1m[35m (4.3ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
2187
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2188
|
+
Connecting to database specified by database.yml
|
2189
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2190
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
2191
|
+
[1m[36m (31.2ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
2192
|
+
[1m[35m (4.8ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
2193
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
2194
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
2195
|
+
[1m[36m (4.0ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
2196
|
+
[1m[35m (4.2ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
2197
|
+
[1m[36m (4.2ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
2198
|
+
[1m[35m (5.5ms)[0m DROP TABLE "commontator_subscriptions"
|
2199
|
+
[1m[36m (4.7ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2200
|
+
[1m[35m (5.0ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
2201
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
2202
|
+
[1m[35m (5.1ms)[0m DROP TABLE "commontator_threads"
|
2203
|
+
[1m[36m (4.7ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2204
|
+
[1m[35m (4.9ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
2205
|
+
[1m[36m (4.9ms)[0m [1mDROP TABLE "dummy_models"[0m
|
2206
|
+
[1m[35m (5.2ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2207
|
+
[1m[36m (6.2ms)[0m [1mDROP TABLE "dummy_users"[0m
|
2208
|
+
[1m[35m (3.8ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2209
|
+
[1m[36m (4.1ms)[0m [1mDROP TABLE "votes"[0m
|
2210
|
+
[1m[35m (3.7ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2211
|
+
[1m[36m (3.9ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
2212
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
2213
|
+
[1m[36m (3.9ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
2214
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
2215
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2216
|
+
Connecting to database specified by database.yml
|
2217
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2218
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
2219
|
+
[1m[36m (14.5ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
2220
|
+
[1m[35m (5.4ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
2221
|
+
[1m[36m (4.9ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
2222
|
+
[1m[35m (4.5ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
2223
|
+
[1m[36m (5.0ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
2224
|
+
[1m[35m (4.4ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
2225
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
2226
|
+
[1m[35m (5.2ms)[0m DROP TABLE "commontator_subscriptions"
|
2227
|
+
[1m[36m (4.7ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2228
|
+
[1m[35m (4.7ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
2229
|
+
[1m[36m (4.2ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
2230
|
+
[1m[35m (5.0ms)[0m DROP TABLE "commontator_threads"
|
2231
|
+
[1m[36m (4.5ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2232
|
+
[1m[35m (4.6ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
2233
|
+
[1m[36m (4.7ms)[0m [1mDROP TABLE "dummy_models"[0m
|
2234
|
+
[1m[35m (4.7ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2235
|
+
[1m[36m (4.9ms)[0m [1mDROP TABLE "dummy_users"[0m
|
2236
|
+
[1m[35m (4.5ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2237
|
+
[1m[36m (5.2ms)[0m [1mDROP TABLE "votes"[0m
|
2238
|
+
[1m[35m (4.3ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2239
|
+
[1m[36m (4.8ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
2240
|
+
[1m[35m (4.9ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
2241
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
2242
|
+
[1m[35m (4.3ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
2243
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2244
|
+
Connecting to database specified by database.yml
|
2245
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2246
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
2247
|
+
[1m[36m (14.5ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
2248
|
+
[1m[35m (5.2ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
2249
|
+
[1m[36m (4.8ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
2250
|
+
[1m[35m (5.0ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
2251
|
+
[1m[36m (5.3ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
2252
|
+
[1m[35m (4.9ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
2253
|
+
[1m[36m (4.7ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
2254
|
+
[1m[35m (5.8ms)[0m DROP TABLE "commontator_subscriptions"
|
2255
|
+
[1m[36m (5.3ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2256
|
+
[1m[35m (5.3ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
2257
|
+
[1m[36m (4.7ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
2258
|
+
[1m[35m (5.4ms)[0m DROP TABLE "commontator_threads"
|
2259
|
+
[1m[36m (4.8ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2260
|
+
[1m[35m (5.0ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
2261
|
+
[1m[36m (5.0ms)[0m [1mDROP TABLE "dummy_models"[0m
|
2262
|
+
[1m[35m (5.1ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2263
|
+
[1m[36m (4.8ms)[0m [1mDROP TABLE "dummy_users"[0m
|
2264
|
+
[1m[35m (4.5ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2265
|
+
[1m[36m (5.6ms)[0m [1mDROP TABLE "votes"[0m
|
2266
|
+
[1m[35m (4.5ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2267
|
+
[1m[36m (10.6ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
2268
|
+
[1m[35m (5.2ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
2269
|
+
[1m[36m (4.4ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
2270
|
+
[1m[35m (4.4ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
2271
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2272
|
+
Connecting to database specified by database.yml
|
2273
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2274
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
2275
|
+
[1m[36m (11.2ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
2276
|
+
[1m[35m (5.5ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
2277
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
2278
|
+
[1m[35m (4.3ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
2279
|
+
[1m[36m (4.8ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
2280
|
+
[1m[35m (4.3ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
2281
|
+
[1m[36m (6.1ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
2282
|
+
[1m[35m (5.2ms)[0m DROP TABLE "commontator_subscriptions"
|
2283
|
+
[1m[36m (4.7ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2284
|
+
[1m[35m (4.6ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
2285
|
+
[1m[36m (4.2ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
2286
|
+
[1m[35m (5.0ms)[0m DROP TABLE "commontator_threads"
|
2287
|
+
[1m[36m (4.4ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2288
|
+
[1m[35m (4.6ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
2289
|
+
[1m[36m (4.7ms)[0m [1mDROP TABLE "dummy_models"[0m
|
2290
|
+
[1m[35m (4.6ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2291
|
+
[1m[36m (5.8ms)[0m [1mDROP TABLE "dummy_users"[0m
|
2292
|
+
[1m[35m (4.1ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2293
|
+
[1m[36m (5.3ms)[0m [1mDROP TABLE "votes"[0m
|
2294
|
+
[1m[35m (4.4ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2295
|
+
[1m[36m (4.8ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
2296
|
+
[1m[35m (4.7ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
2297
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
2298
|
+
[1m[35m (4.3ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
2299
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2300
|
+
Connecting to database specified by database.yml
|
2301
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2302
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
2303
|
+
[1m[36m (12.3ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
2304
|
+
[1m[35m (5.5ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
2305
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
2306
|
+
[1m[35m (4.4ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
2307
|
+
[1m[36m (4.7ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
2308
|
+
[1m[35m (4.5ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
2309
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
2310
|
+
[1m[35m (5.1ms)[0m DROP TABLE "commontator_subscriptions"
|
2311
|
+
[1m[36m (4.7ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2312
|
+
[1m[35m (4.7ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
2313
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
2314
|
+
[1m[35m (5.0ms)[0m DROP TABLE "commontator_threads"
|
2315
|
+
[1m[36m (4.5ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2316
|
+
[1m[35m (4.6ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
2317
|
+
[1m[36m (4.7ms)[0m [1mDROP TABLE "dummy_models"[0m
|
2318
|
+
[1m[35m (4.6ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2319
|
+
[1m[36m (5.6ms)[0m [1mDROP TABLE "dummy_users"[0m
|
2320
|
+
[1m[35m (4.1ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2321
|
+
[1m[36m (5.1ms)[0m [1mDROP TABLE "votes"[0m
|
2322
|
+
[1m[35m (4.2ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2323
|
+
[1m[36m (4.7ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
2324
|
+
[1m[35m (4.5ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
2325
|
+
[1m[36m (5.9ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
2326
|
+
[1m[35m (4.3ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
2327
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2328
|
+
Connecting to database specified by database.yml
|
2329
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2330
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
2331
|
+
[1m[36m (12.2ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
2332
|
+
[1m[35m (5.2ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
2333
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
2334
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
2335
|
+
[1m[36m (5.0ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
2336
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
2337
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
2338
|
+
[1m[35m (5.2ms)[0m DROP TABLE "commontator_subscriptions"
|
2339
|
+
[1m[36m (5.0ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2340
|
+
[1m[35m (5.0ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
2341
|
+
[1m[36m (4.4ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
2342
|
+
[1m[35m (5.2ms)[0m DROP TABLE "commontator_threads"
|
2343
|
+
[1m[36m (4.8ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2344
|
+
[1m[35m (4.9ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
2345
|
+
[1m[36m (4.8ms)[0m [1mDROP TABLE "dummy_models"[0m
|
2346
|
+
[1m[35m (4.8ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2347
|
+
[1m[36m (4.7ms)[0m [1mDROP TABLE "dummy_users"[0m
|
2348
|
+
[1m[35m (4.2ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2349
|
+
[1m[36m (5.5ms)[0m [1mDROP TABLE "votes"[0m
|
2350
|
+
[1m[35m (4.4ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2351
|
+
[1m[36m (5.0ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
2352
|
+
[1m[35m (4.7ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
2353
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
2354
|
+
[1m[35m (4.4ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
2355
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2356
|
+
Connecting to database specified by database.yml
|
2357
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2358
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
2359
|
+
[1m[36m (14.8ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
2360
|
+
[1m[35m (6.0ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
2361
|
+
[1m[36m (4.9ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
2362
|
+
[1m[35m (5.0ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
2363
|
+
[1m[36m (5.4ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
2364
|
+
[1m[35m (4.9ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
2365
|
+
[1m[36m (4.7ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
2366
|
+
[1m[35m (5.5ms)[0m DROP TABLE "commontator_subscriptions"
|
2367
|
+
[1m[36m (4.9ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2368
|
+
[1m[35m (5.0ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
2369
|
+
[1m[36m (4.4ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
2370
|
+
[1m[35m (5.6ms)[0m DROP TABLE "commontator_threads"
|
2371
|
+
[1m[36m (4.5ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2372
|
+
[1m[35m (4.1ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
2373
|
+
[1m[36m (4.4ms)[0m [1mDROP TABLE "dummy_models"[0m
|
2374
|
+
[1m[35m (4.2ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2375
|
+
[1m[36m (5.9ms)[0m [1mDROP TABLE "dummy_users"[0m
|
2376
|
+
[1m[35m (4.3ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2377
|
+
[1m[36m (4.7ms)[0m [1mDROP TABLE "votes"[0m
|
2378
|
+
[1m[35m (4.4ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2379
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
2380
|
+
[1m[35m (4.5ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
2381
|
+
[1m[36m (4.4ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
2382
|
+
[1m[35m (4.5ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
2383
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2384
|
+
Connecting to database specified by database.yml
|
2385
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2386
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
2387
|
+
[1m[36m (15.3ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
2388
|
+
[1m[35m (5.3ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
2389
|
+
[1m[36m (4.4ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
2390
|
+
[1m[35m (4.2ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
2391
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
2392
|
+
[1m[35m (4.7ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
2393
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
2394
|
+
[1m[35m (5.1ms)[0m DROP TABLE "commontator_subscriptions"
|
2395
|
+
[1m[36m (4.7ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2396
|
+
[1m[35m (4.6ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
2397
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
2398
|
+
[1m[35m (4.9ms)[0m DROP TABLE "commontator_threads"
|
2399
|
+
[1m[36m (4.6ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2400
|
+
[1m[35m (4.4ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
2401
|
+
[1m[36m (4.7ms)[0m [1mDROP TABLE "dummy_models"[0m
|
2402
|
+
[1m[35m (4.6ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2403
|
+
[1m[36m (5.7ms)[0m [1mDROP TABLE "dummy_users"[0m
|
2404
|
+
[1m[35m (4.1ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2405
|
+
[1m[36m (5.0ms)[0m [1mDROP TABLE "votes"[0m
|
2406
|
+
[1m[35m (4.1ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2407
|
+
[1m[36m (4.8ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
2408
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
2409
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
2410
|
+
[1m[35m (4.3ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
2411
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2412
|
+
Connecting to database specified by database.yml
|
2413
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2414
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
2415
|
+
[1m[36m (12.6ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
2416
|
+
[1m[35m (5.3ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
2417
|
+
[1m[36m (4.4ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
2418
|
+
[1m[35m (4.3ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
2419
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
2420
|
+
[1m[35m (5.3ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
2421
|
+
[1m[36m (4.2ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
2422
|
+
[1m[35m (4.9ms)[0m DROP TABLE "commontator_subscriptions"
|
2423
|
+
[1m[36m (4.7ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2424
|
+
[1m[35m (4.5ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
2425
|
+
[1m[36m (4.4ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
2426
|
+
[1m[35m (4.8ms)[0m DROP TABLE "commontator_threads"
|
2427
|
+
[1m[36m (4.6ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2428
|
+
[1m[35m (4.3ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
2429
|
+
[1m[36m (4.6ms)[0m [1mDROP TABLE "dummy_models"[0m
|
2430
|
+
[1m[35m (4.5ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2431
|
+
[1m[36m (4.9ms)[0m [1mDROP TABLE "dummy_users"[0m
|
2432
|
+
[1m[35m (4.0ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2433
|
+
[1m[36m (5.0ms)[0m [1mDROP TABLE "votes"[0m
|
2434
|
+
[1m[35m (4.4ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2435
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
2436
|
+
[1m[35m (11.5ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
2437
|
+
[1m[36m (4.2ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
2438
|
+
[1m[35m (4.1ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
2439
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2440
|
+
Connecting to database specified by database.yml
|
2441
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2442
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
2443
|
+
[1m[36m (14.3ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
2444
|
+
[1m[35m (5.4ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
2445
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
2446
|
+
[1m[35m (4.3ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
2447
|
+
[1m[36m (4.8ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
2448
|
+
[1m[35m (4.6ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
2449
|
+
[1m[36m (4.2ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
2450
|
+
[1m[35m (5.0ms)[0m DROP TABLE "commontator_subscriptions"
|
2451
|
+
[1m[36m (4.7ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2452
|
+
[1m[35m (4.7ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
2453
|
+
[1m[36m (4.2ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
2454
|
+
[1m[35m (5.1ms)[0m DROP TABLE "commontator_threads"
|
2455
|
+
[1m[36m (4.4ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2456
|
+
[1m[35m (5.3ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
2457
|
+
[1m[36m (4.8ms)[0m [1mDROP TABLE "dummy_models"[0m
|
2458
|
+
[1m[35m (4.9ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2459
|
+
[1m[36m (5.8ms)[0m [1mDROP TABLE "dummy_users"[0m
|
2460
|
+
[1m[35m (4.3ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2461
|
+
[1m[36m (5.4ms)[0m [1mDROP TABLE "votes"[0m
|
2462
|
+
[1m[35m (4.6ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2463
|
+
[1m[36m (4.7ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
2464
|
+
[1m[35m (4.7ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
2465
|
+
[1m[36m (4.4ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
2466
|
+
[1m[35m (4.3ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
2467
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2468
|
+
Connecting to database specified by database.yml
|
2469
|
+
Connecting to database specified by database.yml
|
2470
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2471
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
2472
|
+
[1m[36m (15.1ms)[0m [1mDROP TABLE "commontator_comments"[0m
|
2473
|
+
[1m[35m (4.9ms)[0m CREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text DEFAULT '' NOT NULL, "deleted_at" datetime, "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)
|
2474
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")[0m
|
2475
|
+
[1m[35m (4.3ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
2476
|
+
[1m[36m (5.0ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
2477
|
+
[1m[35m (4.4ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
2478
|
+
[1m[36m (5.9ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
2479
|
+
[1m[35m (5.1ms)[0m DROP TABLE "commontator_subscriptions"
|
2480
|
+
[1m[36m (4.8ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2481
|
+
[1m[35m (4.7ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
2482
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
2483
|
+
[1m[35m (5.3ms)[0m DROP TABLE "commontator_threads"
|
2484
|
+
[1m[36m (4.6ms)[0m [1mCREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2485
|
+
[1m[35m (4.4ms)[0m CREATE UNIQUE INDEX "index_commontator_threads_on_commontable_type_and_commontable_id" ON "commontator_threads" ("commontable_type", "commontable_id")
|
2486
|
+
[1m[36m (4.6ms)[0m [1mDROP TABLE "dummy_models"[0m
|
2487
|
+
[1m[35m (4.6ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2488
|
+
[1m[36m (4.8ms)[0m [1mDROP TABLE "dummy_users"[0m
|
2489
|
+
[1m[35m (4.0ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2490
|
+
[1m[36m (5.9ms)[0m [1mDROP TABLE "votes"[0m
|
2491
|
+
[1m[35m (4.3ms)[0m 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, "vote_scope" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2492
|
+
[1m[36m (4.8ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
2493
|
+
[1m[35m (4.5ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
2494
|
+
[1m[36m (4.3ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")[0m
|
2495
|
+
[1m[35m (4.2ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")
|
2496
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2497
|
+
[1m[36m (12.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2498
|
+
[1m[35m (4.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
2499
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2500
|
+
Migrating to Install (0)
|
2501
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2502
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "commontator_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "creator_type" varchar(255), "creator_id" integer, "editor_type" varchar(255), "editor_id" integer, "thread_id" integer NOT NULL, "body" text NOT NULL, "deleted_at" datetime, "cached_votes_total" integer DEFAULT 0, "cached_votes_up" integer DEFAULT 0, "cached_votes_down" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime) [0m
|
2503
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_c_c_on_c_type_and_c_id_and_t_id" ON "commontator_comments" ("creator_type", "creator_id", "thread_id")
|
2504
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_commontator_comments_on_thread_id" ON "commontator_comments" ("thread_id")[0m
|
2505
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_total" ON "commontator_comments" ("cached_votes_total")
|
2506
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_commontator_comments_on_cached_votes_up" ON "commontator_comments" ("cached_votes_up")[0m
|
2507
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_commontator_comments_on_cached_votes_down" ON "commontator_comments" ("cached_votes_down")
|
2508
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "commontator_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscriber_type" varchar(255) NOT NULL, "subscriber_id" integer NOT NULL, "thread_id" integer NOT NULL, "unread" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
2509
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "index_c_s_on_s_type_and_s_id_and_t_id" ON "commontator_subscriptions" ("subscriber_type", "subscriber_id", "thread_id")
|
2510
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_commontator_subscriptions_on_thread_id" ON "commontator_subscriptions" ("thread_id")[0m
|
2511
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "commontator_threads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "commontable_type" varchar(255), "commontable_id" integer, "closed_at" datetime, "closer_type" varchar(255), "closer_id" integer, "created_at" datetime, "updated_at" datetime)
|
2512
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "index_c_t_on_c_type_and_c_id" ON "commontator_threads" ("commontable_type", "commontable_id")[0m
|
2513
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "0"]]
|
2514
|
+
[1m[36m (7.1ms)[0m [1mcommit transaction[0m
|
2515
|
+
Migrating to CreateDummyModels (1)
|
2516
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2517
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
2518
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "1"]]
|
2519
|
+
[1m[36m (6.0ms)[0m [1mcommit transaction[0m
|
2520
|
+
Migrating to CreateDummyUsers (2)
|
2521
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2522
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
2523
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "2"]]
|
2524
|
+
[1m[36m (5.1ms)[0m [1mcommit transaction[0m
|
2525
|
+
Migrating to ActsAsVotableMigration (3)
|
2526
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2527
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "votes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "votable_id" integer, "votable_type" varchar(255), "voter_id" integer, "voter_type" varchar(255), "vote_flag" boolean, "vote_scope" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
2528
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_votes_on_votable_id_and_votable_type" ON "votes" ("votable_id", "votable_type")
|
2529
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_votes_on_voter_id_and_voter_type" ON "votes" ("voter_id", "voter_type")[0m
|
2530
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_votes_on_voter_id_and_voter_type_and_vote_scope" ON "votes" ("voter_id", "voter_type", "vote_scope")
|
2531
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_votes_on_votable_id_and_votable_type_and_vote_scope" ON "votes" ("votable_id", "votable_type", "vote_scope")[0m
|
2532
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "3"]]
|
2533
|
+
[1m[36m (8.6ms)[0m [1mcommit transaction[0m
|
2534
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
2535
|
+
Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (9.2ms)
|
2536
|
+
Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (8.0ms)
|
2537
|
+
[1m[36mDummyUser Load (2.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
2538
|
+
[1m[35mDummyUser Load (0.2ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = ? LIMIT 1 [["id", 1]]
|
2539
|
+
Rendered /home/dantemss/Desktop/commontator/app/views/commontator/shared/_thread.html.erb (21.6ms)
|