Started GET "/" for 127.0.0.1 at 2012-12-01 17:36:52 +0400 ActionController::RoutingError (No route matches [GET] "/"): Rendered /home/salkar/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (3.9ms) Started GET "/" for 127.0.0.1 at 2012-12-02 11:45:27 +0400 ActionController::RoutingError (No route matches [GET] "/"): Rendered /home/salkar/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.5ms) Started GET "/" for 127.0.0.1 at 2012-12-02 11:45:39 +0400 ActionController::RoutingError (No route matches [GET] "/"): Rendered /home/salkar/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.9ms) Started GET "/inkwell" for 127.0.0.1 at 2012-12-02 11:46:36 +0400 ActionController::RoutingError (No route matches [GET] "/inkwell"): Rendered /home/salkar/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms) Started GET "/inkwell" for 127.0.0.1 at 2012-12-02 12:30:56 +0400 ActionController::RoutingError (No route matches [GET] "/inkwell"): Rendered /home/salkar/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms) Started GET "/inkwell" for 127.0.0.1 at 2012-12-02 12:41:34 +0400 Processing by Inkwell::TestCController#create as HTML Rendered /home/salkar/Desktop/projects/inkwell/app/views/inkwell/test_c/create.html.erb within layouts/inkwell/application (9.3ms) Compiled inkwell/application.css (0ms) (pid 3066) Compiled inkwell/test_c.css (0ms) (pid 3066) Compiled inkwell/application.js (1ms) (pid 3066) Compiled jquery.js (12ms) (pid 3066) Compiled jquery_ujs.js (9ms) (pid 3066) Compiled inkwell/test_c.js (0ms) (pid 3066) Completed 200 OK in 77ms (Views: 76.7ms | ActiveRecord: 0.0ms) Started GET "/assets/inkwell/test_c.css?body=1" for 127.0.0.1 at 2012-12-02 12:41:35 +0400 Served asset /inkwell/test_c.css - 200 OK (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-12-02 12:41:35 +0400 Served asset /jquery.js - 200 OK (4ms) Started GET "/assets/inkwell/application.css?body=1" for 127.0.0.1 at 2012-12-02 12:41:35 +0400 Served asset /inkwell/application.css - 200 OK (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-12-02 12:41:35 +0400 Served asset /jquery_ujs.js - 200 OK (4ms) Started GET "/assets/inkwell/application.js?body=1" for 127.0.0.1 at 2012-12-02 12:41:35 +0400 Served asset /inkwell/application.js - 200 OK (2ms) Started GET "/assets/inkwell/test_c.js?body=1" for 127.0.0.1 at 2012-12-02 12:41:35 +0400 Served asset /inkwell/test_c.js - 200 OK (2ms) Started GET "/inkwell" for 127.0.0.1 at 2012-12-02 12:42:06 +0400 Processing by Inkwell::TestCController#create as HTML Rendered text template (0.0ms) Completed 200 OK in 20ms (Views: 20.0ms | ActiveRecord: 0.0ms) Started GET "/inkwell" for 127.0.0.1 at 2012-12-02 12:42:08 +0400 Processing by Inkwell::TestCController#create as HTML Rendered text template (0.0ms) Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started GET "/inkwell" for 127.0.0.1 at 2012-12-02 12:42:09 +0400 Processing by Inkwell::TestCController#create as HTML Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started GET "/inkwell" for 127.0.0.1 at 2012-12-02 12:42:10 +0400 Processing by Inkwell::TestCController#create as HTML Rendered text template (0.0ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started GET "/inkwell" for 127.0.0.1 at 2012-12-02 12:42:10 +0400 Processing by Inkwell::TestCController#create as HTML Rendered text template (0.0ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started GET "/inkwell" for 127.0.0.1 at 2012-12-02 12:42:11 +0400 Processing by Inkwell::TestCController#create as HTML Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started GET "/inkwell" for 127.0.0.1 at 2012-12-02 12:42:11 +0400 Processing by Inkwell::TestCController#create as HTML Rendered text template (0.0ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started GET "/inkwell" for 127.0.0.1 at 2012-12-02 12:42:12 +0400 Processing by Inkwell::TestCController#create as HTML Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms) Started GET "/inkwell" for 127.0.0.1 at 2012-12-02 12:42:13 +0400 Processing by Inkwell::TestCController#create as HTML Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started GET "/inkwell" for 127.0.0.1 at 2012-12-02 12:42:34 +0400 Processing by Inkwell::TestCController#create as HTML Completed 500 Internal Server Error in 0ms TypeError (can't convert nil into String): Rendered /home/salkar/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.7ms) Rendered /home/salkar/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.5ms) Rendered /home/salkar/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (3.2ms) Started GET "/inkwell" for 127.0.0.1 at 2012-12-02 12:42:37 +0400 Processing by Inkwell::TestCController#create as HTML Completed 500 Internal Server Error in 1ms TypeError (can't convert nil into String): Rendered /home/salkar/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.6ms) Rendered /home/salkar/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.5ms) Rendered /home/salkar/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (2.2ms) Started GET "/inkwell" for 127.0.0.1 at 2012-12-02 12:43:14 +0400 Processing by Inkwell::TestCController#create as HTML Completed 500 Internal Server Error in 0ms NoMethodError (undefined method `config' for Inkwell:Module): Rendered /home/salkar/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms) Rendered /home/salkar/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.5ms) Rendered /home/salkar/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (2.6ms) Started GET "/inkwell" for 127.0.0.1 at 2012-12-02 12:43:18 +0400 Processing by Inkwell::TestCController#create as HTML Completed 500 Internal Server Error in 0ms NoMethodError (undefined method `config' for Inkwell:Module): Rendered /home/salkar/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms) Rendered /home/salkar/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/salkar/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.7ms) Started GET "/inkwell" for 127.0.0.1 at 2012-12-02 12:43:49 +0400 Processing by Inkwell::TestCController#create as HTML Rendered text template (0.0ms) Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms) Started GET "/inkwell" for 127.0.0.1 at 2012-12-02 12:43:51 +0400 Processing by Inkwell::TestCController#create as HTML Rendered text template (0.0ms) Completed 200 OK in 15ms (Views: 15.0ms | ActiveRecord: 0.0ms) Started GET "/inkwell" for 127.0.0.1 at 2012-12-02 12:44:21 +0400 Processing by Inkwell::TestCController#create as HTML Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started GET "/inkwell" for 127.0.0.1 at 2012-12-02 12:48:09 +0400 Processing by Inkwell::TestCController#create as HTML Rendered text template (0.0ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started GET "/inkwell" for 127.0.0.1 at 2012-12-02 12:48:26 +0400 Processing by Inkwell::TestCController#create as HTML Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started GET "/inkwell" for 127.0.0.1 at 2012-12-02 12:48:27 +0400 Processing by Inkwell::TestCController#create as HTML Rendered text template (0.0ms) Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms) Started GET "/inkwell" for 127.0.0.1 at 2012-12-02 12:48:28 +0400 Processing by Inkwell::TestCController#create as HTML Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms) Started GET "/inkwell" for 127.0.0.1 at 2012-12-02 12:48:29 +0400 Processing by Inkwell::TestCController#create as HTML Rendered text template (0.0ms) Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms) Started GET "/inkwell" for 127.0.0.1 at 2012-12-02 12:48:29 +0400 Processing by Inkwell::TestCController#create as HTML Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms) Started GET "/inkwell" for 127.0.0.1 at 2012-12-02 12:48:30 +0400 Processing by Inkwell::TestCController#create as HTML Rendered text template (0.2ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started GET "/inkwell" for 127.0.0.1 at 2012-12-02 12:48:42 +0400 Processing by Inkwell::TestCController#create as HTML Rendered text template (0.0ms) Completed 200 OK in 6ms (Views: 5.8ms | ActiveRecord: 0.0ms)  (0.0ms) select sqlite_version(*)  (19.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (3.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750)  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750') Migrating to CreateUsers (20121202112556)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')  (0.1ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("posts")  (0.0ms) PRAGMA index_list("users")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  SQL (31.2ms) INSERT INTO "users" ("created_at", "nick", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 02 Dec 2012 11:38:04 UTC +00:00], ["nick", "Salkar"], ["updated_at", Sun, 02 Dec 2012 11:38:04 UTC +00:00]] SQL (0.5ms) INSERT INTO "users" ("created_at", "nick", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 02 Dec 2012 11:38:04 UTC +00:00], ["nick", "Morozovm"], ["updated_at", Sun, 02 Dec 2012 11:38:04 UTC +00:00]]  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  SQL (3.5ms) INSERT INTO "users" ("created_at", "nick", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 02 Dec 2012 11:38:38 UTC +00:00], ["nick", "Salkar"], ["updated_at", Sun, 02 Dec 2012 11:38:38 UTC +00:00]] SQL (0.1ms) INSERT INTO "users" ("created_at", "nick", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 02 Dec 2012 11:38:38 UTC +00:00], ["nick", "Morozovm"], ["updated_at", Sun, 02 Dec 2012 11:38:38 UTC +00:00]]  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  SQL (2.8ms) INSERT INTO "users" ("created_at", "nick", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 02 Dec 2012 11:39:03 UTC +00:00], ["nick", "Salkar"], ["updated_at", Sun, 02 Dec 2012 11:39:03 UTC +00:00]] SQL (0.2ms) INSERT INTO "users" ("created_at", "nick", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 02 Dec 2012 11:39:03 UTC +00:00], ["nick", "Morozovm"], ["updated_at", Sun, 02 Dec 2012 11:39:03 UTC +00:00]] SQL (0.4ms) INSERT INTO "posts" ("body", "created_at", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 02 Dec 2012 11:39:03 UTC +00:00], ["title", "salkar_post1"], ["updated_at", Sun, 02 Dec 2012 11:39:03 UTC +00:00], ["user_id", 5]] SQL (0.5ms) INSERT INTO "posts" ("body", "created_at", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 02 Dec 2012 11:39:04 UTC +00:00], ["title", "salkar_post2"], ["updated_at", Sun, 02 Dec 2012 11:39:04 UTC +00:00], ["user_id", 5]] SQL (0.5ms) INSERT INTO "posts" ("body", "created_at", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 02 Dec 2012 11:39:04 UTC +00:00], ["title", "morozovm_post1"], ["updated_at", Sun, 02 Dec 2012 11:39:04 UTC +00:00], ["user_id", 5]] SQL (0.4ms) INSERT INTO "posts" ("body", "created_at", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 02 Dec 2012 11:39:04 UTC +00:00], ["title", "morozovm_post2"], ["updated_at", Sun, 02 Dec 2012 11:39:04 UTC +00:00], ["user_id", 5]]  (0.0ms) select sqlite_version(*)  (17.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (4.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750)  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750') Migrating to CreateUsers (20121202112556)  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')  (0.1ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("posts")  (0.0ms) PRAGMA index_list("users")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  SQL (2.6ms) INSERT INTO "users" ("created_at", "nick", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 02 Dec 2012 11:40:11 UTC +00:00], ["nick", "Salkar"], ["updated_at", Sun, 02 Dec 2012 11:40:11 UTC +00:00]] SQL (0.2ms) INSERT INTO "users" ("created_at", "nick", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 02 Dec 2012 11:40:11 UTC +00:00], ["nick", "Morozovm"], ["updated_at", Sun, 02 Dec 2012 11:40:11 UTC +00:00]] SQL (0.3ms) INSERT INTO "posts" ("body", "created_at", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 02 Dec 2012 11:40:11 UTC +00:00], ["title", "salkar_post1"], ["updated_at", Sun, 02 Dec 2012 11:40:11 UTC +00:00], ["user_id", 1]] SQL (0.2ms) INSERT INTO "posts" ("body", "created_at", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 02 Dec 2012 11:40:11 UTC +00:00], ["title", "salkar_post2"], ["updated_at", Sun, 02 Dec 2012 11:40:11 UTC +00:00], ["user_id", 1]] SQL (0.2ms) INSERT INTO "posts" ("body", "created_at", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 02 Dec 2012 11:40:11 UTC +00:00], ["title", "morozovm_post1"], ["updated_at", Sun, 02 Dec 2012 11:40:11 UTC +00:00], ["user_id", 1]] SQL (0.1ms) INSERT INTO "posts" ("body", "created_at", "title", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 02 Dec 2012 11:40:11 UTC +00:00], ["title", "morozovm_post2"], ["updated_at", Sun, 02 Dec 2012 11:40:11 UTC +00:00], ["user_id", 1]]  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556)  (0.2ms) select sqlite_version(*)  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("posts")  (0.0ms) PRAGMA index_list("users")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556) Migrating to AddTestpToPosts (20121202141746)  (0.0ms) select sqlite_version(*)  (0.4ms) ALTER TABLE "posts" ADD "testp" varchar(255)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202141746')  (0.2ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("posts")  (0.0ms) PRAGMA index_list("users")  (0.0ms) select sqlite_version(*)  (12.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (3.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750)  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750') Migrating to CreateUsers (20121202112556)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556') Migrating to CreateInkwellTimelines (20121202141922)  (0.2ms) CREATE TABLE "inkwell_timelines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "user_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202141922') Migrating to AddTestpToPosts (20121202141923)  (0.2ms) ALTER TABLE "posts" ADD "testp" varchar(255)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202141923')  (0.2ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) PRAGMA index_list("inkwell_timelines")  (0.0ms) PRAGMA index_list("posts")  (0.0ms) PRAGMA index_list("users")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556) Migrating to CreateInkwellTimelines (20121209122820)  (0.0ms) select sqlite_version(*)  (0.0ms) select sqlite_version(*)  (208.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.1ms) PRAGMA index_list("schema_migrations")  (5.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750)  (0.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime, "updated_at" datetime)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750') Migrating to CreateUsers (20121202112556)  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556') Migrating to CreateInkwellTimelines (20121209123005)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556) Migrating to CreateInkwellTimelines (20121209123005)  (0.0ms) select sqlite_version(*)  (1.3ms) CREATE TABLE "inkwell_timelines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "post_date" datetime, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121209123005') Migrating to AddColumnsToPosts (20121209123006)  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121209123006') Migrating to CreateInkwellBlogItems (20121209123007)  (0.2ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "post_date" datetime, "user_id" integer, "is_reblog" boolean, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121209123007')  (0.2ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("inkwell_blog_items")  (0.0ms) PRAGMA index_list("inkwell_timelines")  (0.0ms) PRAGMA index_list("posts")  (0.0ms) PRAGMA index_list("users")  (0.1ms) select sqlite_version(*)  (19.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (4.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750)  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750') Migrating to CreateUsers (20121202112556)  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556') Migrating to CreateInkwellTimelineItems (20121209125751)  (0.2ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121209125751') Migrating to AddColumnsToPosts (20121209125752)  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text  (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121209125752') Migrating to CreateInkwellBlogItems (20121209125753)  (0.4ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "user_id" integer, "is_reblog" boolean, "created_at" datetime, "updated_at" datetime)  (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121209125753') Migrating to CreateInkwellFavoriteItems (20121209125754)  (0.4ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "user_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121209125754') Migrating to AddColumnsToUsers (20121209125755)  (0.2ms) ALTER TABLE "users" ADD "followers_ids" text  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121209125755') Migrating to CreateInkwellComments (20121209125756)  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "upper_parent_id" integer, "parents_tree" text, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121209125756')  (0.2ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("inkwell_blog_items")  (0.0ms) PRAGMA index_list("inkwell_comments")  (0.0ms) PRAGMA index_list("inkwell_favorite_items")  (0.0ms) PRAGMA index_list("inkwell_timeline_items")  (0.0ms) PRAGMA index_list("posts")  (0.0ms) PRAGMA index_list("users")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556) Migrating to CreateInkwellTimelineItems (20121212181806)  (0.0ms) select sqlite_version(*)  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean, "created_at" datetime, "updated_at" datetime)  SQLite3::SQLException: table "inkwell_timeline_items" already exists: CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean, "created_at" datetime, "updated_at" datetime)  (0.0ms) select sqlite_version(*)  (25.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (4.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750)  (1.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime, "updated_at" datetime)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750') Migrating to CreateUsers (20121202112556)  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556') Migrating to CreateInkwellTimelineItems (20121212181806)  (0.2ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121212181806') Migrating to AddColumnsToPosts (20121212181807)  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121212181807') Migrating to CreateInkwellBlogItems (20121212181808)  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "user_id" integer, "is_reblog" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121212181808') Migrating to CreateInkwellFavoriteItems (20121212181809)  (0.2ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "user_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121212181809') Migrating to AddColumnsToUsers (20121212181810)  (0.2ms) ALTER TABLE "users" ADD "followers_ids" text  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121212181810') Migrating to CreateInkwellComments (20121212181811)  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121212181811')  (0.2ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.1ms) PRAGMA index_list("inkwell_blog_items")  (0.0ms) PRAGMA index_list("inkwell_comments")  (0.0ms) PRAGMA index_list("inkwell_favorite_items")  (0.0ms) PRAGMA index_list("inkwell_timeline_items")  (0.0ms) PRAGMA index_list("posts")  (0.0ms) PRAGMA index_list("users")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  SQL (11.2ms) INSERT INTO "users" ("created_at", "followers_ids", "followings_ids", "nick", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 12 Dec 2012 18:45:53 UTC +00:00], ["followers_ids", nil], ["followings_ids", nil], ["nick", "Salkar"], ["updated_at", Wed, 12 Dec 2012 18:45:53 UTC +00:00]] SQL (0.1ms) INSERT INTO "users" ("created_at", "followers_ids", "followings_ids", "nick", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 12 Dec 2012 18:45:53 UTC +00:00], ["followers_ids", nil], ["followings_ids", nil], ["nick", "Morozovm"], ["updated_at", Wed, 12 Dec 2012 18:45:53 UTC +00:00]] SQL (0.3ms) INSERT INTO "posts" ("body", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Wed, 12 Dec 2012 18:45:53 UTC +00:00], ["title", "salkar_post1"], ["updated_at", Wed, 12 Dec 2012 18:45:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", nil], ["users_ids_who_favorite_it", nil], ["users_ids_who_reblog_it", nil]] SQL (0.1ms) INSERT INTO "posts" ("body", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Wed, 12 Dec 2012 18:45:53 UTC +00:00], ["title", "salkar_post2"], ["updated_at", Wed, 12 Dec 2012 18:45:53 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", nil], ["users_ids_who_favorite_it", nil], ["users_ids_who_reblog_it", nil]] SQL (0.2ms) INSERT INTO "posts" ("body", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Wed, 12 Dec 2012 18:45:53 UTC +00:00], ["title", "morozovm_post1"], ["updated_at", Wed, 12 Dec 2012 18:45:53 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", nil], ["users_ids_who_favorite_it", nil], ["users_ids_who_reblog_it", nil]] SQL (0.3ms) INSERT INTO "posts" ("body", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Wed, 12 Dec 2012 18:45:53 UTC +00:00], ["title", "morozovm_post2"], ["updated_at", Wed, 12 Dec 2012 18:45:53 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", nil], ["users_ids_who_favorite_it", nil], ["users_ids_who_reblog_it", nil]]  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (12.3ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "user_id" integer, "is_reblog" boolean, "created_at" datetime, "updated_at" datetime)   (4.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "created_at" datetime, "updated_at" datetime)  (5.1ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "user_id" integer, "created_at" datetime, "updated_at" datetime)   (3.4ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean, "created_at" datetime, "updated_at" datetime)  (5.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime, "updated_at" datetime, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text)   (4.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime, "updated_at" datetime, "followers_ids" text, "followings_ids" text)  (3.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.0ms) PRAGMA index_list("schema_migrations")  (4.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20121212181811')  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20121212181808')  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121212181807')  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20121212181806')  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20121212181809')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20121212181810')  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750') Started GET "/inkwell" for 127.0.0.1 at 2012-12-13 00:06:56 +0400 ActionController::RoutingError (No route matches [GET] "/inkwell"): Rendered /home/salkar/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.7ms) Started GET "/" for 127.0.0.1 at 2012-12-13 00:07:03 +0400 ActionController::RoutingError (No route matches [GET] "/"): Rendered /home/salkar/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)  (0.0ms) select sqlite_version(*)  (32.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (5.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750)  (0.0ms) select sqlite_version(*)  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750') Migrating to CreateUsers (20121202112556)  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556') Migrating to CreateInkwellTimelineItems (20121217183655)  (0.2ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121217183655') Migrating to AddColumnsToPosts (20121217183656)  (0.3ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121217183656') Migrating to CreateInkwellBlogItems (20121217183657)  (0.2ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "user_id" integer, "is_reblog" boolean, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121217183657') Migrating to CreateInkwellFavoriteItems (20121217183658)  (0.2ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121217183658') Migrating to AddColumnsToUsers (20121217183659)  (0.2ms) ALTER TABLE "users" ADD "followers_ids" text  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121217183659') Migrating to CreateInkwellComments (20121217183660)  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121217183660')  (1.0ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) PRAGMA index_list("inkwell_blog_items")  (0.0ms) PRAGMA index_list("inkwell_comments")  (0.0ms) PRAGMA index_list("inkwell_favorite_items")  (0.0ms) PRAGMA index_list("inkwell_timeline_items")  (0.0ms) PRAGMA index_list("posts")  (0.0ms) PRAGMA index_list("users")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (30.4ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "user_id" integer, "is_reblog" boolean, "created_at" datetime, "updated_at" datetime)   (3.9ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "created_at" datetime, "updated_at" datetime)  (4.4ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime, "updated_at" datetime)   (4.2ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean, "created_at" datetime, "updated_at" datetime)  (6.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime, "updated_at" datetime, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text)   (6.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime, "updated_at" datetime, "followers_ids" text, "followings_ids" text)  (4.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.0ms) PRAGMA index_list("schema_migrations")  (6.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20121217183660')  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20121217183658')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20121217183659')  (4.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20121217183656')  (4.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20121217183657')  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750')  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20121217183655')  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556) Migrating to CreateInkwellTimelineItems (20121217190639)  (0.0ms) select sqlite_version(*)  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean, "created_at" datetime, "updated_at" datetime)  SQLite3::SQLException: table "inkwell_timeline_items" already exists: CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean, "created_at" datetime, "updated_at" datetime)  (0.0ms) select sqlite_version(*)  (63.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.1ms) PRAGMA index_list("schema_migrations")  (6.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750)  (0.6ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime, "updated_at" datetime)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750') Migrating to CreateUsers (20121202112556)  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556') Migrating to CreateInkwellTimelineItems (20121217190639)  (0.2ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121217190639') Migrating to AddColumnsToPosts (20121217190640)  (0.3ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121217190640') Migrating to CreateInkwellBlogItems (20121217190641)  (0.4ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "user_id" integer, "is_reblog" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121217190641') Migrating to CreateInkwellFavoriteItems (20121217190642)  (0.3ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121217190642') Migrating to AddColumnsToUsers (20121217190643)  (0.4ms) ALTER TABLE "users" ADD "followers_ids" text  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121217190643') Migrating to CreateInkwellComments (20121217190644)  (0.4ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "created_at" datetime, "updated_at" datetime)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121217190644')  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.1ms) PRAGMA index_list("inkwell_blog_items")  (0.0ms) PRAGMA index_list("inkwell_comments")  (0.1ms) PRAGMA index_list("inkwell_favorite_items")  (0.0ms) PRAGMA index_list("inkwell_timeline_items")  (0.0ms) PRAGMA index_list("posts")  (0.0ms) PRAGMA index_list("users")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (8.3ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "user_id" integer, "is_reblog" boolean, "created_at" datetime, "updated_at" datetime)   (3.8ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "created_at" datetime, "updated_at" datetime)  (4.2ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime, "updated_at" datetime)   (3.3ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean, "created_at" datetime, "updated_at" datetime)  (5.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime, "updated_at" datetime, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text)   (4.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime, "updated_at" datetime, "followers_ids" text, "followings_ids" text)  (4.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.0ms) PRAGMA index_list("schema_migrations")  (5.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20121217190644')  (3.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20121217190640')  (4.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20121217190643')  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20121217190639')  (4.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20121217190642')  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20121217190641')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750')  (0.0ms) select sqlite_version(*)  (23.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (4.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750)  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750') Migrating to CreateUsers (20121202112556)  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556') Migrating to CreateInkwellTimelineItems (20121217191052)  (0.3ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121217191052') Migrating to AddColumnsToPosts (20121217191053)  (0.4ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121217191053') Migrating to CreateInkwellBlogItems (20121217191054)  (0.2ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "user_id" integer, "is_reblog" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121217191054') Migrating to CreateInkwellFavoriteItems (20121217191055)  (0.2ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121217191055') Migrating to AddColumnsToUsers (20121217191056)  (0.2ms) ALTER TABLE "users" ADD "followers_ids" text  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121217191056') Migrating to CreateInkwellComments (20121217191057)  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121217191057')  (0.1ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("inkwell_blog_items")  (0.0ms) PRAGMA index_list("inkwell_comments")  (0.0ms) PRAGMA index_list("inkwell_favorite_items")  (0.0ms) PRAGMA index_list("inkwell_timeline_items")  (0.0ms) PRAGMA index_list("posts")  (0.0ms) PRAGMA index_list("users")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (28.4ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "user_id" integer, "is_reblog" boolean, "created_at" datetime, "updated_at" datetime)   (4.4ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime, "updated_at" datetime)  (5.9ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime, "updated_at" datetime)   (6.4ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean, "created_at" datetime, "updated_at" datetime)  (5.8ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime, "updated_at" datetime, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text)   (3.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime, "updated_at" datetime, "followers_ids" text, "followings_ids" text)  (4.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.0ms) PRAGMA index_list("schema_migrations")  (4.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20121217191057')  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20121217191055')  (3.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20121217191054')  (4.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20121217191052')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20121217191056')  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750')  (2.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20121217191053')  (0.0ms) select sqlite_version(*)  (78.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (4.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750)  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750') Migrating to CreateUsers (20121202112556)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556') Migrating to CreateInkwellTimelineItems (20121218110251)  (0.2ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean, "is_comment" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121218110251') Migrating to AddColumnsToPosts (20121218110252)  (1.9ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121218110252') Migrating to CreateInkwellBlogItems (20121218110253)  (0.4ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime, "updated_at" datetime)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121218110253') Migrating to CreateInkwellFavoriteItems (20121218110254)  (0.5ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime, "updated_at" datetime)  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121218110254') Migrating to AddColumnsToUsers (20121218110255)  (0.4ms) ALTER TABLE "users" ADD "followers_ids" text  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text  (2.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121218110255') Migrating to CreateInkwellComments (20121218110256)  (0.3ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime, "updated_at" datetime)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121218110256')  (0.0ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.1ms) PRAGMA index_list("inkwell_blog_items")  (0.0ms) PRAGMA index_list("inkwell_comments")  (0.0ms) PRAGMA index_list("inkwell_favorite_items")  (0.0ms) PRAGMA index_list("inkwell_timeline_items")  (0.0ms) PRAGMA index_list("posts")  (0.0ms) PRAGMA index_list("users")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (8.9ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime, "updated_at" datetime)   (3.8ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime, "updated_at" datetime)  (4.4ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime, "updated_at" datetime)   (3.3ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean, "is_comment" boolean, "created_at" datetime, "updated_at" datetime)  (5.7ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime, "updated_at" datetime, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text)   (3.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime, "updated_at" datetime, "followers_ids" text, "followings_ids" text)  (4.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.0ms) PRAGMA index_list("schema_migrations")  (4.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20121218110256')  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20121218110252')  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20121218110255')  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750')  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20121218110254')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20121218110251')  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121218110253')  (0.0ms) select sqlite_version(*)  (23.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (3.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750)  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750') Migrating to CreateUsers (20121202112556)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556') Migrating to CreateInkwellTimelineItems (20130120124010)  (0.2ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean, "is_comment" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130120124010') Migrating to AddColumnsToPosts (20130120124011)  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130120124011') Migrating to CreateInkwellBlogItems (20130120124012)  (0.2ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130120124012') Migrating to CreateInkwellFavoriteItems (20130120124013)  (0.2ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130120124013') Migrating to AddColumnsToUsers (20130120124014)  (0.2ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130120124014') Migrating to CreateInkwellComments (20130120124015)  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130120124015')  (0.2ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("inkwell_blog_items")  (0.0ms) PRAGMA index_list("inkwell_comments")  (0.0ms) PRAGMA index_list("inkwell_favorite_items")  (0.3ms) PRAGMA index_list("inkwell_timeline_items")  (0.0ms) PRAGMA index_list("posts")  (0.0ms) PRAGMA index_list("users")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  SQL (3.2ms) INSERT INTO "users" ("created_at", "followers_ids", "followings_ids", "nick", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 Jan 2013 12:40:43 UTC +00:00], ["followers_ids", "[]"], ["followings_ids", "[]"], ["nick", "Salkar"], ["updated_at", Sun, 20 Jan 2013 12:40:43 UTC +00:00]] SQL (0.2ms) INSERT INTO "users" ("created_at", "followers_ids", "followings_ids", "nick", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sun, 20 Jan 2013 12:40:43 UTC +00:00], ["followers_ids", "[]"], ["followings_ids", "[]"], ["nick", "Morozovm"], ["updated_at", Sun, 20 Jan 2013 12:40:43 UTC +00:00]] SQL (0.3ms) INSERT INTO "posts" ("body", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 20 Jan 2013 12:40:43 UTC +00:00], ["title", "salkar_post1"], ["updated_at", Sun, 20 Jan 2013 12:40:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_comment", "is_reblog", "item_id", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 Jan 2013 12:40:43 UTC +00:00], ["is_comment", false], ["is_reblog", false], ["item_id", 1], ["updated_at", Sun, 20 Jan 2013 12:40:43 UTC +00:00], ["user_id", 1]]  (0.0ms) UPDATE "posts" SET "title" = 'salkar_post1', "user_id" = 1, "created_at" = '2013-01-20 12:40:43.835963', "updated_at" = '2013-01-20 12:40:43.835963' WHERE "posts"."id" = 1 SQL (0.2ms) INSERT INTO "posts" ("body", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 20 Jan 2013 12:40:43 UTC +00:00], ["title", "salkar_post2"], ["updated_at", Sun, 20 Jan 2013 12:40:43 UTC +00:00], ["user_id", 1], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_comment", "is_reblog", "item_id", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 Jan 2013 12:40:43 UTC +00:00], ["is_comment", false], ["is_reblog", false], ["item_id", 2], ["updated_at", Sun, 20 Jan 2013 12:40:43 UTC +00:00], ["user_id", 1]]  (0.0ms) UPDATE "posts" SET "title" = 'salkar_post2', "user_id" = 1, "created_at" = '2013-01-20 12:40:43.848846', "updated_at" = '2013-01-20 12:40:43.848846' WHERE "posts"."id" = 2 SQL (0.2ms) INSERT INTO "posts" ("body", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 20 Jan 2013 12:40:43 UTC +00:00], ["title", "morozovm_post1"], ["updated_at", Sun, 20 Jan 2013 12:40:43 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_comment", "is_reblog", "item_id", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 Jan 2013 12:40:43 UTC +00:00], ["is_comment", false], ["is_reblog", false], ["item_id", 3], ["updated_at", Sun, 20 Jan 2013 12:40:43 UTC +00:00], ["user_id", 2]]  (0.0ms) UPDATE "posts" SET "title" = 'morozovm_post1', "user_id" = 2, "created_at" = '2013-01-20 12:40:43.855379', "updated_at" = '2013-01-20 12:40:43.855379' WHERE "posts"."id" = 3 SQL (0.2ms) INSERT INTO "posts" ("body", "created_at", "title", "updated_at", "user_id", "users_ids_who_comment_it", "users_ids_who_favorite_it", "users_ids_who_reblog_it") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["body", nil], ["created_at", Sun, 20 Jan 2013 12:40:43 UTC +00:00], ["title", "morozovm_post2"], ["updated_at", Sun, 20 Jan 2013 12:40:43 UTC +00:00], ["user_id", 2], ["users_ids_who_comment_it", "[]"], ["users_ids_who_favorite_it", "[]"], ["users_ids_who_reblog_it", "[]"]] User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.1ms) INSERT INTO "inkwell_blog_items" ("created_at", "is_comment", "is_reblog", "item_id", "updated_at", "user_id") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 20 Jan 2013 12:40:43 UTC +00:00], ["is_comment", false], ["is_reblog", false], ["item_id", 4], ["updated_at", Sun, 20 Jan 2013 12:40:43 UTC +00:00], ["user_id", 2]]  (0.1ms) UPDATE "posts" SET "title" = 'morozovm_post2', "user_id" = 2, "created_at" = '2013-01-20 12:40:43.862732', "updated_at" = '2013-01-20 12:40:43.862732' WHERE "posts"."id" = 4  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (18.6ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime, "updated_at" datetime)   (3.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime, "updated_at" datetime)  (4.9ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime, "updated_at" datetime)   (5.6ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean, "is_comment" boolean, "created_at" datetime, "updated_at" datetime)  (5.9ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime, "updated_at" datetime, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]')   (5.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime, "updated_at" datetime, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]')  (4.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.0ms) PRAGMA index_list("schema_migrations")  (5.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (49.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130120124015')  (19.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130120124010')  (5.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130120124012')  (6.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130120124011')  (6.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (4.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130120124013')  (5.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130120124014')  (4.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750')  (0.0ms) select sqlite_version(*)  (11.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (3.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750)  (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750') Migrating to CreateUsers (20121202112556)  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556') Migrating to CreateInkwellTimelineItems (20130120124010)  (0.2ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130120124010') Migrating to AddColumnsToPosts (20130120124011)  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130120124011') Migrating to CreateInkwellBlogItems (20130120124012)  (0.2ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130120124012') Migrating to CreateInkwellFavoriteItems (20130120124013)  (0.2ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130120124013') Migrating to AddColumnsToUsers (20130120124014)  (0.2ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130120124014') Migrating to CreateInkwellComments (20130120124015)  (0.3ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130120124015')  (0.5ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.2ms) PRAGMA index_list("inkwell_blog_items")  (0.1ms) PRAGMA index_list("inkwell_comments")  (0.1ms) PRAGMA index_list("inkwell_favorite_items")  (0.1ms) PRAGMA index_list("inkwell_timeline_items")  (0.0ms) PRAGMA index_list("posts")  (0.1ms) PRAGMA index_list("users")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (19.2ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime, "updated_at" datetime)   (3.5ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime, "updated_at" datetime)  (6.2ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime, "updated_at" datetime)   (3.8ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime, "updated_at" datetime)  (7.4ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime, "updated_at" datetime, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]')   (5.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime, "updated_at" datetime, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]')  (5.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.0ms) PRAGMA index_list("schema_migrations")  (5.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (5.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130120124015')  (4.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130120124010')  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130120124012')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130120124011')  (5.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (4.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130120124013')  (4.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130120124014')  (4.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750') Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556) Migrating to CreateInkwellTimelineItems (20130120124010) Migrating to AddColumnsToPosts (20130120124011) Migrating to CreateInkwellBlogItems (20130120124012) Migrating to CreateInkwellFavoriteItems (20130120124013) Migrating to AddColumnsToUsers (20130120124014) Migrating to CreateInkwellComments (20130120124015) Migrating to CreateCommunities (20130201155147)  (0.0ms) select sqlite_version(*)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')  (17.3ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (44.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (3.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20121202111750)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')  (4.3ms) commit transaction Migrating to CreateUsers (20121202112556)  (0.0ms) begin transaction  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')  (3.9ms) commit transaction Migrating to CreateCommunities (20130201155147)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')  (4.7ms) commit transaction Migrating to CreateInkwellTimelineItems (20130201155912)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155912')  (4.6ms) commit transaction Migrating to AddColumnsToPosts (20130201155913)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155913')  (4.0ms) commit transaction Migrating to CreateInkwellBlogItems (20130201155914)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "is_owner_user" boolean, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155914')  (3.7ms) commit transaction Migrating to CreateInkwellFavoriteItems (20130201155915)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155915')  (5.2ms) commit transaction Migrating to AddColumnsToUsers (20130201155916)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'  (9.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155916')  (4.2ms) commit transaction Migrating to CreateInkwellComments (20130201155917)  (0.0ms) begin transaction  (1.0ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155917')  (3.1ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (9.9ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (3.4ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "is_owner_user" boolean, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (4.7ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (3.4ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (4.7ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (3.7ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]')  (3.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]')   (4.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (4.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155917')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155912')  (4.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155915')  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155913')  (4.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155914')  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155916')  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750') Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (13.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (3.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20121202111750)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')  (4.2ms) commit transaction Migrating to CreateUsers (20121202112556)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')  (4.4ms) commit transaction Migrating to CreateCommunities (20130201155147)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')  (4.1ms) commit transaction Migrating to CreateInkwellTimelineItems (20130202130254)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202130254')  (6.0ms) commit transaction Migrating to AddColumnsToPosts (20130202130255)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'  (0.0ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202130255')  (3.9ms) commit transaction Migrating to CreateInkwellBlogItems (20130202130256)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "is_owner_user" boolean, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202130256')  (4.3ms) commit transaction Migrating to CreateInkwellFavoriteItems (20130202130257)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202130257')  (4.2ms) commit transaction Migrating to AddColumnsToUsers (20130202130258)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202130258')  (3.6ms) commit transaction Migrating to CreateInkwellComments (20130202130259)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202130259')  (4.4ms) commit transaction Migrating to AddColumnsToCommunies (20130202130260)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202130260')  (2.5ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (45.8ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]')   (3.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "is_owner_user" boolean, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (5.4ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (4.1ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (6.2ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (5.8ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]')  (5.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_ids" text DEFAULT '[]')   (5.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (3.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130202130260')  (5.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130202130256')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130202130257')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130202130254')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130202130255')  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750')  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130202130258')  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130202130259') Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (254.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (6.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20121202111750)  (0.1ms) begin transaction  (0.7ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')  (8.2ms) commit transaction Migrating to CreateUsers (20121202112556)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')  (7.1ms) commit transaction Migrating to CreateCommunities (20130201155147)  (0.1ms) begin transaction  (0.2ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')  (7.2ms) commit transaction Migrating to CreateInkwellTimelineItems (20130202145442)  (0.1ms) begin transaction  (0.7ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202145442')  (7.8ms) commit transaction Migrating to AddColumnsToPosts (20130202145443)  (0.1ms) begin transaction  (3.1ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'  (0.0ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202145443')  (6.3ms) commit transaction Migrating to CreateInkwellBlogItems (20130202145444)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "is_owner_user" boolean, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202145444')  (5.3ms) commit transaction Migrating to CreateInkwellFavoriteItems (20130202145445)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202145445')  (7.8ms) commit transaction Migrating to AddColumnsToUsers (20130202145446)  (0.2ms) begin transaction  (0.6ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'  (0.2ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'  (0.2ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202145446')  (6.3ms) commit transaction Migrating to CreateInkwellComments (20130202145447)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202145447')  (4.8ms) commit transaction Migrating to AddColumnsToCommunies (20130202145448)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202145448')  (4.2ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (21.8ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]')   (3.9ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "is_owner_user" boolean, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (5.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (3.7ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (5.7ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (5.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]')  (3.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_ids" text DEFAULT '[]')   (6.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (4.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130202145448')  (4.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130202145447')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130202145445')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130202145442')  (6.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750')  (4.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130202145444')  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130202145443')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130202145446') Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (16.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (3.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20121202111750)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')  (5.5ms) commit transaction Migrating to CreateUsers (20121202112556)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')  (5.3ms) commit transaction Migrating to CreateCommunities (20130201155147)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')  (5.7ms) commit transaction Migrating to CreateInkwellTimelineItems (20130202151841)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202151841')  (5.8ms) commit transaction Migrating to AddColumnsToPosts (20130202151842)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202151842')  (4.3ms) commit transaction Migrating to CreateInkwellBlogItems (20130202151843)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202151843')  (4.1ms) commit transaction Migrating to CreateInkwellFavoriteItems (20130202151844)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202151844')  (6.1ms) commit transaction Migrating to AddColumnsToUsers (20130202151845)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202151845')  (313.7ms) commit transaction Migrating to CreateInkwellComments (20130202151846)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202151846')  (240.4ms) commit transaction Migrating to ChangeTablesForCommunies (20130202151847)  (0.1ms) begin transaction  (0.5ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) SELECT * FROM "inkwell_comments"  (0.5ms) DROP TABLE "inkwell_comments"  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_comments"  (0.2ms) DROP TABLE "altered_inkwell_comments"  (0.3ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) SELECT * FROM "inkwell_comments"  (0.3ms) DROP TABLE "inkwell_comments"  (0.5ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_comments"  (0.2ms) DROP TABLE "altered_inkwell_comments"  (0.3ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.4ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "owner_id" integer  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "is_owner_user" boolean  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202151847')  (4.3ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.2ms) select sqlite_version(*)  (40.3ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]')   (4.6ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean)  (4.6ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (3.8ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (4.5ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (3.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]')  (4.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_ids" text DEFAULT '[]')   (4.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (4.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130202151847')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130202151844')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130202151842')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130202151845')  (2.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130202151846')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130202151841')  (3.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (3.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750')  (4.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130202151843') Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (25.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (7.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20121202111750)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')  (9.4ms) commit transaction Migrating to CreateUsers (20121202112556)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')  (8.0ms) commit transaction Migrating to CreateCommunities (20130201155147)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')  (7.1ms) commit transaction Migrating to CreateInkwellTimelineItems (20130202152315)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202152315')  (9.8ms) commit transaction Migrating to AddColumnsToPosts (20130202152316)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202152316')  (7.6ms) commit transaction Migrating to CreateInkwellBlogItems (20130202152317)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202152317')  (7.1ms) commit transaction Migrating to CreateInkwellFavoriteItems (20130202152318)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202152318')  (8.8ms) commit transaction Migrating to AddColumnsToUsers (20130202152319)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202152319')  (7.8ms) commit transaction Migrating to CreateInkwellComments (20130202152320)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202152320')  (7.5ms) commit transaction Migrating to ChangeTablesForCommunies (20130202152321)  (0.0ms) begin transaction  (0.0ms) rollback transaction Connecting to database specified by database.yml  (0.2ms) select sqlite_version(*)  (19.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (3.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20121202111750)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')  (4.2ms) commit transaction Migrating to CreateUsers (20121202112556)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')  (3.1ms) commit transaction Migrating to CreateCommunities (20130201155147)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')  (4.0ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556) Migrating to CreateCommunities (20130201155147) Migrating to CreateInkwellTimelineItems (20130202152448)  (0.0ms) select sqlite_version(*)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202152448')  (10.9ms) commit transaction Migrating to AddColumnsToPosts (20130202152449)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202152449')  (3.7ms) commit transaction Migrating to CreateInkwellBlogItems (20130202152450)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202152450')  (3.8ms) commit transaction Migrating to CreateInkwellFavoriteItems (20130202152451)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202152451')  (5.9ms) commit transaction Migrating to AddColumnsToUsers (20130202152452)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202152452')  (3.1ms) commit transaction Migrating to CreateInkwellComments (20130202152453)  (0.0ms) begin transaction  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202152453')  (75.3ms) commit transaction Migrating to ChangeTablesForCommunities (20130202152454)  (0.1ms) begin transaction  (0.5ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) SELECT * FROM "inkwell_comments"  (0.4ms) DROP TABLE "inkwell_comments"  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_comments"  (0.2ms) DROP TABLE "altered_inkwell_comments"  (0.3ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.3ms) DROP TABLE "inkwell_comments"  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_comments"  (0.2ms) DROP TABLE "altered_inkwell_comments"  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (1.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_comments"  (0.2ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "owner_id" integer  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "is_owner_user" boolean  (0.1ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130202152454')  (89.6ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (17.6ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]')   (4.6ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean)  (93.5ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (181.2ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (7.4ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (10.4ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]')  (5.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_ids" text DEFAULT '[]')   (5.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (4.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (4.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130202152454')  (4.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130202152448')  (5.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130202152451')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130202152450')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130202152452')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (4.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130202152449')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130202152453')  (4.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (5.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750') Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (24.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (5.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20121202111750)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')  (5.8ms) commit transaction Migrating to CreateUsers (20121202112556)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')  (4.7ms) commit transaction Migrating to CreateCommunities (20130201155147)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')  (4.6ms) commit transaction Migrating to CreateInkwellTimelineItems (20130204104708)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204104708')  (6.4ms) commit transaction Migrating to AddColumnsToPosts (20130204104709)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204104709')  (3.7ms) commit transaction Migrating to CreateInkwellBlogItems (20130204104710)  (0.0ms) begin transaction  (1.0ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204104710')  (4.3ms) commit transaction Migrating to CreateInkwellFavoriteItems (20130204104711)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204104711')  (6.2ms) commit transaction Migrating to AddColumnsToUsers (20130204104712)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'  (0.2ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204104712')  (4.7ms) commit transaction Migrating to CreateInkwellComments (20130204104713)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204104713')  (4.8ms) commit transaction Migrating to ChangeTablesForCommunities (20130204104714)  (0.1ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.0ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "owner_id" integer  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "is_owner_user" boolean  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text(255) DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204104714')  (4.9ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (13.4ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]')   (4.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean)  (5.3ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (4.2ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (5.3ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text(255) DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (4.8ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]')  (4.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_ids" text DEFAULT '[]')   (6.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (5.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (4.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204104714')  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204104712')  (4.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204104710')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204104713')  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (5.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204104708')  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204104711')  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750')  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204104709') Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (16.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (3.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20121202111750)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')  (5.2ms) commit transaction Migrating to CreateUsers (20121202112556)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')  (4.0ms) commit transaction Migrating to CreateCommunities (20130201155147)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')  (2.7ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556) Migrating to CreateCommunities (20130201155147) Migrating to CreateInkwellTimelineItems (20130204105111)  (0.0ms) select sqlite_version(*)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204105111')  (14.4ms) commit transaction Migrating to AddColumnsToPosts (20130204105112)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'  (1.9ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204105112')  (3.4ms) commit transaction Migrating to CreateInkwellBlogItems (20130204105113)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204105113')  (4.1ms) commit transaction Migrating to CreateInkwellFavoriteItems (20130204105114)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204105114')  (4.6ms) commit transaction Migrating to AddColumnsToUsers (20130204105115)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204105115')  (4.2ms) commit transaction Migrating to CreateInkwellComments (20130204105116)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204105116')  (3.3ms) commit transaction Migrating to ChangeTablesForCommunities (20130204105117)  (0.0ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.0ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "owner_id" integer  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "is_owner_user" boolean  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.2ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204105117')  (5.4ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (15.7ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]')   (4.6ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean)  (5.5ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (6.3ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (5.5ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (4.6ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]')  (3.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_ids" text DEFAULT '[]')   (4.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (3.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (4.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204105117')  (4.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204105111')  (4.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204105113')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204105115')  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204105116')  (4.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204105112')  (4.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750')  (4.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204105114') Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (26.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (5.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20121202111750)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')  (5.2ms) commit transaction Migrating to CreateUsers (20121202112556)  (0.0ms) begin transaction  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')  (3.9ms) commit transaction Migrating to CreateCommunities (20130201155147)  (0.0ms) begin transaction  (0.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')  (3.4ms) commit transaction Migrating to CreateInkwellTimelineItems (20130204143745)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204143745')  (5.6ms) commit transaction Migrating to AddColumnsToPosts (20130204143746)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204143746')  (5.3ms) commit transaction Migrating to CreateInkwellBlogItems (20130204143747)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204143747')  (4.9ms) commit transaction Migrating to CreateInkwellFavoriteItems (20130204143748)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204143748')  (6.8ms) commit transaction Migrating to AddColumnsToUsers (20130204143749)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204143749')  (4.9ms) commit transaction Migrating to CreateInkwellComments (20130204143750)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204143750')  (4.5ms) commit transaction Migrating to ChangeTablesForCommunities (20130204143751)  (0.0ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.2ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.2ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "owner_id" integer  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "is_owner_user" boolean  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "admins_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "admin_of" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204143751')  (5.4ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (11.8ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]', "admins_ids" text DEFAULT '[]')   (3.4ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean)  (3.9ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (3.7ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (5.8ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (3.6ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]')  (4.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_ids" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (5.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (3.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (5.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204143751')  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204143745')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204143749')  (4.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204143748')  (4.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750')  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204143750')  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204143747')  (4.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204143746') Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (17.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (5.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20121202111750)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')  (5.2ms) commit transaction Migrating to CreateUsers (20121202112556)  (0.0ms) begin transaction  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')  (4.5ms) commit transaction Migrating to CreateCommunities (20130201155147)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')  (4.0ms) commit transaction  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556) Migrating to CreateCommunities (20130201155147) Migrating to CreateInkwellTimelineItems (20130204153737)  (0.0ms) select sqlite_version(*)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204153737')  (10.3ms) commit transaction Migrating to AddColumnsToPosts (20130204153738)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204153738')  (4.2ms) commit transaction Migrating to CreateInkwellBlogItems (20130204153739)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204153739')  (3.5ms) commit transaction Migrating to CreateInkwellFavoriteItems (20130204153740)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204153740')  (4.3ms) commit transaction Migrating to AddColumnsToUsers (20130204153741)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204153741')  (3.4ms) commit transaction Migrating to CreateInkwellComments (20130204153742)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204153742')  (3.2ms) commit transaction Migrating to ChangeTablesForCommunities (20130204153743)  (0.0ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.3ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.0ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.2ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "owner_id" integer  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "is_owner_user" boolean  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.3ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "admins_info" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "admin_of" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204153743')  (3.8ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (22.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]', "admins_info" text DEFAULT '[]')   (3.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean)  (4.8ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (4.3ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (6.2ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (3.5ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]')  (5.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_ids" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (3.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (4.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204153743')  (4.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204153740')  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204153738')  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204153739')  (4.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204153742')  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204153737')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750')  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204153741') Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (256.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (6.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20121202111750)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')  (9.3ms) commit transaction Migrating to CreateUsers (20121202112556)  (0.2ms) begin transaction  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')  (6.9ms) commit transaction Migrating to CreateCommunities (20130201155147)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')  (6.4ms) commit transaction Migrating to CreateInkwellTimelineItems (20130206112225)  (0.1ms) begin transaction  (1.2ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130206112225')  (7.5ms) commit transaction Migrating to AddColumnsToPosts (20130206112226)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'  (0.0ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130206112226')  (27.0ms) commit transaction Migrating to CreateInkwellBlogItems (20130206112227)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130206112227')  (5.8ms) commit transaction Migrating to CreateInkwellFavoriteItems (20130206112228)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130206112228')  (7.1ms) commit transaction Migrating to AddColumnsToUsers (20130206112229)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130206112229')  (4.5ms) commit transaction Migrating to CreateInkwellComments (20130206112230)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130206112230')  (4.3ms) commit transaction Migrating to ChangeTablesForCommunities (20130206112231)  (0.0ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.2ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "owner_id" integer  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "is_owner_user" boolean  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "admins_info" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "admin_of" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "owner_id" integer  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130206112231')  (6.1ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (26.0ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]', "admins_info" text DEFAULT '[]', "owner_id" integer)   (4.0ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean)  (9.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (4.2ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (7.4ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (4.5ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]')  (5.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_ids" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (4.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (5.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (4.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130206112231')  (3.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130206112226')  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (3.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130206112229')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750')  (5.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130206112227')  (3.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130206112225')  (4.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130206112228')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130206112230') Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556) Migrating to CreateCommunities (20130201155147) Migrating to CreateInkwellTimelineItems (20130206112225) Migrating to AddColumnsToPosts (20130206112226) Migrating to CreateInkwellBlogItems (20130206112227) Migrating to CreateInkwellFavoriteItems (20130206112228) Migrating to AddColumnsToUsers (20130206112229) Migrating to CreateInkwellComments (20130206112230) Migrating to ChangeTablesForCommunities (20130206112231) Migrating to AddCommunityIdsToPost (20130207112455)  (0.0ms) select sqlite_version(*)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "posts" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130207112455')  (42.4ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (18.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]', "admins_info" text DEFAULT '[]', "owner_id" integer)   (3.4ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean)  (4.3ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (3.9ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (5.8ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (3.7ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "communities_ids" text DEFAULT '[]')  (5.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_ids" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (3.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (4.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130207112455')  (4.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130206112226')  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130206112229')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750')  (3.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130206112227')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130206112225')  (4.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130206112228')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130206112231')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130206112230') Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (8.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (4.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20121202111750)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')  (4.6ms) commit transaction Migrating to CreateUsers (20121202112556)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')  (4.4ms) commit transaction Migrating to CreateCommunities (20130201155147)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')  (3.0ms) commit transaction Migrating to CreateInkwellTimelineItems (20130208134948)  (0.0ms) begin transaction  (1.0ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134948')  (4.2ms) commit transaction Migrating to AddColumnsToPosts (20130208134949)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134949')  (3.9ms) commit transaction Migrating to CreateInkwellBlogItems (20130208134950)  (0.2ms) begin transaction  (0.9ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134950')  (4.4ms) commit transaction Migrating to CreateInkwellFavoriteItems (20130208134951)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134951')  (4.4ms) commit transaction Migrating to AddColumnsToUsers (20130208134952)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134952')  (3.4ms) commit transaction Migrating to CreateInkwellComments (20130208134953)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134953')  (4.3ms) commit transaction Migrating to ChangeTablesForCommunities (20130208134954)  (0.0ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "owner_id" integer  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "is_owner_user" boolean  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.9ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "admins_info" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'  (0.0ms) ALTER TABLE "users" ADD "admin_of" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "owner_id" integer  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134954')  (6.0ms) commit transaction Migrating to AddCommunityIdsToPost (20130208134955)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "posts" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134955')  (5.8ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (28.9ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]', "admins_info" text DEFAULT '[]', "owner_id" integer)   (4.9ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean)  (6.5ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (5.2ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (6.3ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (4.8ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "communities_ids" text DEFAULT '[]')  (6.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_ids" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (5.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (421.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (6.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134955')  (7.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134951')  (6.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134949')  (5.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (5.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134952')  (6.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134954')  (5.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (5.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134950')  (6.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134953')  (5.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')  (5.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750') Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556) Migrating to CreateCommunities (20130201155147) Migrating to CreateInkwellTimelineItems (20130208134948) Migrating to AddColumnsToPosts (20130208134949) Migrating to CreateInkwellBlogItems (20130208134950) Migrating to CreateInkwellFavoriteItems (20130208134951) Migrating to AddColumnsToUsers (20130208134952) Migrating to CreateInkwellComments (20130208134953) Migrating to ChangeTablesForCommunities (20130208134954) Migrating to AddCommunityIdsToPost (20130208134955) Migrating to ChangeIsCommentToItemType (20130210220752)  (0.0ms) select sqlite_version(*)  (0.0ms) begin transaction  (0.5ms) rollback transaction Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556) Migrating to CreateCommunities (20130201155147) Migrating to CreateInkwellTimelineItems (20130208134948) Migrating to AddColumnsToPosts (20130208134949) Migrating to CreateInkwellBlogItems (20130208134950) Migrating to CreateInkwellFavoriteItems (20130208134951) Migrating to AddColumnsToUsers (20130208134952) Migrating to CreateInkwellComments (20130208134953) Migrating to ChangeTablesForCommunities (20130208134954) Migrating to AddCommunityIdsToPost (20130208134955) Migrating to ChangeIsCommentToItemType (20130210220752)  (0.0ms) select sqlite_version(*)  (0.0ms) begin transaction  (0.0ms) rollback transaction Connecting to database specified by database.yml  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556) Migrating to CreateCommunities (20130201155147) Migrating to CreateInkwellTimelineItems (20130208134948) Migrating to AddColumnsToPosts (20130208134949) Migrating to CreateInkwellBlogItems (20130208134950) Migrating to CreateInkwellFavoriteItems (20130208134951) Migrating to AddColumnsToUsers (20130208134952) Migrating to CreateInkwellComments (20130208134953) Migrating to ChangeTablesForCommunities (20130208134954) Migrating to AddCommunityIdsToPost (20130208134955) Migrating to ChangeIsCommentToItemType (20130210221020)  (0.0ms) select sqlite_version(*)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "inkwell_blog_items" ADD "item_type" varchar(255) SQL (0.2ms) UPDATE "inkwell_blog_items" SET "item_type" = 'c' WHERE "inkwell_blog_items"."is_comment" = 't' SQL (0.1ms) UPDATE "inkwell_blog_items" SET "item_type" = 'p' WHERE "inkwell_blog_items"."is_comment" = 'f'  (17.3ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))   (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) INSERT INTO "altered_inkwell_blog_items" ("id","item_id","is_reblog","is_comment","created_at","updated_at","owner_id","is_owner_user","item_type") VALUES (1, 1, NULL, 't', '2013-02-10 17:20:21.781392', '2013-02-10 17:20:21.781392', NULL, NULL, 'c')  (0.0ms) INSERT INTO "altered_inkwell_blog_items" ("id","item_id","is_reblog","is_comment","created_at","updated_at","owner_id","is_owner_user","item_type") VALUES (2, 1, NULL, 'f', '2013-02-10 17:20:26.873137', '2013-02-10 17:20:26.873137', NULL, NULL, 'p')  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.0ms) INSERT INTO "inkwell_blog_items" ("id","item_id","is_reblog","created_at","updated_at","owner_id","is_owner_user","item_type") VALUES (1, 1, NULL, '2013-02-10 17:20:21.781392', '2013-02-10 17:20:21.781392', NULL, NULL, 'c')  (0.0ms) INSERT INTO "inkwell_blog_items" ("id","item_id","is_reblog","created_at","updated_at","owner_id","is_owner_user","item_type") VALUES (2, 1, NULL, '2013-02-10 17:20:26.873137', '2013-02-10 17:20:26.873137', NULL, NULL, 'p')  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130210221020')  (33.5ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (16.5ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]', "admins_info" text DEFAULT '[]', "owner_id" integer)   (3.6ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))  (5.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (3.5ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (6.3ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (4.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "communities_ids" text DEFAULT '[]')  (7.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_ids" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (4.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (5.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130210221020')  (4.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134951')  (4.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134949')  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134955')  (4.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134952')  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134954')  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134950')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134953')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750') Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (348.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (6.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20121202111750)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')  (8.2ms) commit transaction Migrating to CreateUsers (20121202112556)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')  (6.8ms) commit transaction Migrating to CreateCommunities (20130201155147)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')  (6.1ms) commit transaction Migrating to CreateInkwellTimelineItems (20130208134948)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134948')  (8.8ms) commit transaction Migrating to AddColumnsToPosts (20130208134949)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'  (0.3ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134949')  (6.0ms) commit transaction Migrating to CreateInkwellBlogItems (20130208134950)  (0.1ms) begin transaction  (1.6ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134950')  (6.3ms) commit transaction Migrating to CreateInkwellFavoriteItems (20130208134951)  (0.1ms) begin transaction  (0.7ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134951')  (8.6ms) commit transaction Migrating to AddColumnsToUsers (20130208134952)  (0.0ms) begin transaction  (0.7ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'  (0.4ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134952')  (5.9ms) commit transaction Migrating to CreateInkwellComments (20130208134953)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134953')  (5.5ms) commit transaction Migrating to ChangeTablesForCommunities (20130208134954)  (0.1ms) begin transaction  (0.5ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.5ms) DROP TABLE "inkwell_comments"  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_comments"  (0.3ms) DROP TABLE "altered_inkwell_comments"  (0.3ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "owner_id" integer  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "is_owner_user" boolean  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_timeline_items"  (0.2ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "admins_info" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "admin_of" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "owner_id" integer  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134954')  (4.5ms) commit transaction Migrating to AddCommunityIdsToPost (20130208134955)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "posts" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134955')  (6.3ms) commit transaction Migrating to ChangeIsCommentToItemType (20130210231424)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "inkwell_blog_items" ADD "item_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_blog_items" SET "item_type" = 'c' WHERE "inkwell_blog_items"."is_comment" = 't' SQL (0.1ms) UPDATE "inkwell_blog_items" SET "item_type" = 'p' WHERE "inkwell_blog_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "item_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'c' WHERE "inkwell_favorite_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'p' WHERE "inkwell_favorite_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (0.0ms) SELECT * FROM "inkwell_favorite_items"  (0.1ms) DROP TABLE "inkwell_favorite_items"  (0.2ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "item_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'c' WHERE "inkwell_timeline_items"."is_comment" = 't' SQL (0.1ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'p' WHERE "inkwell_timeline_items"."is_comment" = 'f'  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.2ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130210231424')  (4.0ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (77.3ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]', "admins_info" text DEFAULT '[]', "owner_id" integer)   (6.3ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))  (8.7ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (6.9ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (8.6ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (5.8ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "communities_ids" text DEFAULT '[]')  (8.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_ids" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (5.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (5.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (4.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130210231424')  (6.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134951')  (5.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134949')  (4.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134955')  (5.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (5.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134952')  (5.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134954')  (4.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (5.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134950')  (6.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134953')  (4.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')  (5.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750') Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556) Migrating to CreateCommunities (20130201155147) Migrating to CreateInkwellTimelineItems (20130208134948) Migrating to AddColumnsToPosts (20130208134949) Migrating to CreateInkwellBlogItems (20130208134950) Migrating to CreateInkwellFavoriteItems (20130208134951) Migrating to AddColumnsToUsers (20130208134952) Migrating to CreateInkwellComments (20130208134953) Migrating to ChangeTablesForCommunities (20130208134954) Migrating to AddCommunityIdsToPost (20130208134955) Migrating to ChangeIsCommentToItemType (20130210231424) Migrating to AddOwnerTypeToLines (20130212130848)  (0.0ms) select sqlite_version(*)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "inkwell_blog_items" ADD "owner_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'u' WHERE "inkwell_blog_items"."is_owner_user" = 't' SQL (0.1ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'c' WHERE "inkwell_blog_items"."is_owner_user" = 'f'  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.0ms) INSERT INTO "altered_inkwell_blog_items" ("id","item_id","is_reblog","created_at","updated_at","owner_id","is_owner_user","item_type","owner_type") VALUES (1, NULL, NULL, '2013-02-12 13:08:10.905342', '2013-02-12 13:08:10.905342', NULL, NULL, NULL, NULL)  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))   (0.1ms) SELECT * FROM "altered_inkwell_blog_items"  (0.0ms) INSERT INTO "inkwell_blog_items" ("id","item_id","is_reblog","created_at","updated_at","owner_id","item_type","owner_type") VALUES (1, NULL, NULL, '2013-02-12 13:08:10.905342', '2013-02-12 13:08:10.905342', NULL, NULL, NULL)  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "owner_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_favorite_items" SET "owner_type" = 'u'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "inkwell_favorite_items"  (0.0ms) INSERT INTO "altered_inkwell_favorite_items" ("id","item_id","owner_id","created_at","updated_at","item_type","owner_type") VALUES (1, NULL, 1, '2013-02-12 13:08:23.626933', '2013-02-12 13:08:23.626933', NULL, 'u')  (0.1ms) DROP TABLE "inkwell_favorite_items"  (0.1ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"  (0.0ms) INSERT INTO "inkwell_favorite_items" ("id","item_id","owner_id","created_at","updated_at","item_type","owner_type") VALUES (1, NULL, 1, '2013-02-12 13:08:23.626933', '2013-02-12 13:08:23.626933', NULL, 'u')  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "owner_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_timeline_items" SET "owner_type" = 'u'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.1ms) SELECT * FROM "inkwell_timeline_items"  (0.0ms) INSERT INTO "altered_inkwell_timeline_items" ("id","item_id","owner_id","from_source","has_many_sources","created_at","updated_at","item_type","owner_type") VALUES (1, NULL, 1, '[]', 'f', '2013-02-12 13:07:57.065346', '2013-02-12 13:07:57.065346', NULL, 'u')  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.0ms) INSERT INTO "inkwell_timeline_items" ("id","item_id","owner_id","from_source","has_many_sources","created_at","updated_at","item_type","owner_type") VALUES (1, NULL, 1, '[]', 'f', '2013-02-12 13:07:57.065346', '2013-02-12 13:07:57.065346', NULL, 'u')  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130212130848')  (101.8ms) commit transaction  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.2ms) select sqlite_version(*)  (42.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]', "admins_info" text DEFAULT '[]', "owner_id" integer)   (7.0ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))  (8.5ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (6.3ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (6.5ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (5.4ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "communities_ids" text DEFAULT '[]')  (6.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_ids" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (4.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (4.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (4.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130212130848')  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134951')  (4.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134949')  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134955')  (5.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134952')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134954')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134950')  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134953')  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130210231424')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')  (4.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750') Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (18.8ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]', "admins_info" text DEFAULT '[]', "owner_id" integer)   (4.2ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))  (4.8ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (4.2ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (129.5ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (121.5ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "communities_ids" text DEFAULT '[]')  (8.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_ids" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (6.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (6.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (6.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130212130848')  (6.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134951')  (6.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134949')  (6.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134955')  (5.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (6.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134952')  (5.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134954')  (5.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (6.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134950')  (5.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134953')  (5.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130210231424')  (6.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')  (4.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750') Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556) Migrating to CreateCommunities (20130201155147) Migrating to CreateInkwellTimelineItems (20130208134948) Migrating to AddColumnsToPosts (20130208134949) Migrating to CreateInkwellBlogItems (20130208134950) Migrating to CreateInkwellFavoriteItems (20130208134951) Migrating to AddColumnsToUsers (20130208134952) Migrating to CreateInkwellComments (20130208134953) Migrating to ChangeTablesForCommunities (20130208134954) Migrating to AddCommunityIdsToPost (20130208134955) Migrating to ChangeIsCommentToItemType (20130210231424) Migrating to AddOwnerTypeToLines (20130212130848) Migrating to RefactorCommentTable (20130213101535)  (0.0ms) select sqlite_version(*)  (0.0ms) begin transaction  (0.0ms) rollback transaction Connecting to database specified by database.yml  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556) Migrating to CreateCommunities (20130201155147) Migrating to CreateInkwellTimelineItems (20130208134948) Migrating to AddColumnsToPosts (20130208134949) Migrating to CreateInkwellBlogItems (20130208134950) Migrating to CreateInkwellFavoriteItems (20130208134951) Migrating to AddColumnsToUsers (20130208134952) Migrating to CreateInkwellComments (20130208134953) Migrating to ChangeTablesForCommunities (20130208134954) Migrating to AddCommunityIdsToPost (20130208134955) Migrating to ChangeIsCommentToItemType (20130210231424) Migrating to AddOwnerTypeToLines (20130212130848) Migrating to RefactorCommentTable (20130213101640)  (0.0ms) select sqlite_version(*)  (0.0ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.7ms) SELECT * FROM "inkwell_comments"  (0.4ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) ALTER TABLE "inkwell_comments" ADD "topmost_obj_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_comments" SET "topmost_obj_type" = 'p'  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213101640')  (45.0ms) commit transaction  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556) Migrating to CreateCommunities (20130201155147) Migrating to CreateInkwellTimelineItems (20130208134948) Migrating to AddColumnsToPosts (20130208134949) Migrating to CreateInkwellBlogItems (20130208134950) Migrating to CreateInkwellFavoriteItems (20130208134951) Migrating to AddColumnsToUsers (20130208134952) Migrating to CreateInkwellComments (20130208134953) Migrating to ChangeTablesForCommunities (20130208134954) Migrating to AddCommunityIdsToPost (20130208134955) Migrating to ChangeIsCommentToItemType (20130210231424) Migrating to AddOwnerTypeToLines (20130212130848)  (0.0ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556) Migrating to CreateCommunities (20130201155147) Migrating to CreateInkwellTimelineItems (20130208134948) Migrating to AddColumnsToPosts (20130208134949) Migrating to CreateInkwellBlogItems (20130208134950) Migrating to CreateInkwellFavoriteItems (20130208134951) Migrating to AddColumnsToUsers (20130208134952) Migrating to CreateInkwellComments (20130208134953) Migrating to ChangeTablesForCommunities (20130208134954) Migrating to AddCommunityIdsToPost (20130208134955) Migrating to ChangeIsCommentToItemType (20130210231424) Migrating to AddOwnerTypeToLines (20130212130848) Migrating to RefactorCommentTable (20130213101736)  (0.0ms) select sqlite_version(*)  (0.0ms) begin transaction  (0.0ms) rollback transaction Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (22.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (3.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20121202111750)  (0.0ms) begin transaction  (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')  (5.4ms) commit transaction Migrating to CreateUsers (20121202112556)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')  (4.2ms) commit transaction Migrating to CreateCommunities (20130201155147)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')  (4.1ms) commit transaction Migrating to CreateInkwellTimelineItems (20130208134948)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134948')  (4.4ms) commit transaction Migrating to AddColumnsToPosts (20130208134949)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134949')  (4.1ms) commit transaction Migrating to CreateInkwellBlogItems (20130208134950)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134950')  (3.2ms) commit transaction Migrating to CreateInkwellFavoriteItems (20130208134951)  (0.0ms) begin transaction  (0.1ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134951')  (4.9ms) commit transaction Migrating to AddColumnsToUsers (20130208134952)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134952')  (3.5ms) commit transaction Migrating to CreateInkwellComments (20130208134953)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134953')  (3.8ms) commit transaction Migrating to ChangeTablesForCommunities (20130208134954)  (0.0ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.0ms) DROP TABLE "inkwell_comments"  (0.9ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.8ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.0ms) DROP TABLE "altered_inkwell_blog_items"  (0.0ms) ALTER TABLE "inkwell_blog_items" ADD "owner_id" integer  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "is_owner_user" boolean  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "admins_info" text DEFAULT '[]'  (0.2ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "admin_of" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "owner_id" integer  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134954')  (3.8ms) commit transaction Migrating to AddCommunityIdsToPost (20130208134955)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "posts" ADD "communities_ids" text DEFAULT '[]'  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134955')  (3.9ms) commit transaction Migrating to ChangeIsCommentToItemType (20130210231424)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "inkwell_blog_items" ADD "item_type" varchar(255) SQL (0.3ms) UPDATE "inkwell_blog_items" SET "item_type" = 'c' WHERE "inkwell_blog_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_blog_items" SET "item_type" = 'p' WHERE "inkwell_blog_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "item_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'c' WHERE "inkwell_favorite_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'p' WHERE "inkwell_favorite_items"."is_comment" = 'f'  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (0.0ms) SELECT * FROM "inkwell_favorite_items"  (0.1ms) DROP TABLE "inkwell_favorite_items"  (0.0ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "item_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'c' WHERE "inkwell_timeline_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'p' WHERE "inkwell_timeline_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130210231424')  (4.3ms) commit transaction Migrating to AddOwnerTypeToLines (20130212130848)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "inkwell_blog_items" ADD "owner_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'u' WHERE "inkwell_blog_items"."is_owner_user" = 't' SQL (0.0ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'c' WHERE "inkwell_blog_items"."is_owner_user" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255), "owner_type" varchar(255))  (0.1ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.3ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "owner_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_favorite_items" SET "owner_type" = 'u'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_favorite_items"  (0.1ms) DROP TABLE "inkwell_favorite_items"  (0.7ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "owner_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "owner_type" = 'u'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.2ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.1ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130212130848')  (4.2ms) commit transaction Migrating to RefactorCommentTable (20130213101736)  (0.0ms) begin transaction  (0.4ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.3ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) ALTER TABLE "inkwell_comments" ADD "topmost_obj_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_comments" SET "topmost_obj_type" = 'p'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213101736')  (3.6ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (8.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]', "admins_info" text DEFAULT '[]', "owner_id" integer)   (3.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))  (4.7ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))   (3.9ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (5.7ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (4.6ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "communities_ids" text DEFAULT '[]')  (5.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_ids" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (4.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (4.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (4.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213101736')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134951')  (4.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134949')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134955')  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134952')  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130212130848')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134954')  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134950')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134953')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130210231424')  (3.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')  (279.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750') Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556) Migrating to CreateCommunities (20130201155147) Migrating to CreateInkwellTimelineItems (20130208134948) Migrating to AddColumnsToPosts (20130208134949) Migrating to CreateInkwellBlogItems (20130208134950) Migrating to CreateInkwellFavoriteItems (20130208134951) Migrating to AddColumnsToUsers (20130208134952) Migrating to CreateInkwellComments (20130208134953) Migrating to ChangeTablesForCommunities (20130208134954) Migrating to AddCommunityIdsToPost (20130208134955) Migrating to ChangeIsCommentToItemType (20130210231424) Migrating to AddOwnerTypeToLines (20130212130848) Migrating to RefactorCommentTable (20130213101736) Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414)  (0.0ms) select sqlite_version(*)  (0.0ms) begin transaction  (0.3ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))  (0.1ms) SELECT * FROM "inkwell_comments"  (0.3ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213121414')  (25.3ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (19.5ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]', "admins_info" text DEFAULT '[]', "owner_id" integer)   (3.7ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))  (4.9ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))   (3.5ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (6.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (3.5ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "communities_ids" text DEFAULT '[]')  (5.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_ids" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (4.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (3.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (4.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213121414')  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134951')  (4.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134949')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134955')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213101736')  (4.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134952')  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130212130848')  (4.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134954')  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (4.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134950')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134953')  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130210231424')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')  (4.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750') Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556) Migrating to CreateCommunities (20130201155147) Migrating to CreateInkwellTimelineItems (20130208134948) Migrating to AddColumnsToPosts (20130208134949) Migrating to CreateInkwellBlogItems (20130208134950) Migrating to CreateInkwellFavoriteItems (20130208134951) Migrating to AddColumnsToUsers (20130208134952) Migrating to CreateInkwellComments (20130208134953) Migrating to ChangeTablesForCommunities (20130208134954) Migrating to AddCommunityIdsToPost (20130208134955) Migrating to ChangeIsCommentToItemType (20130210231424) Migrating to AddOwnerTypeToLines (20130212130848) Migrating to RefactorCommentTable (20130213101736) Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414) Migrating to AddCommunityTypeAndDefaultAccessToCommunityTable (20130214113046)  (0.0ms) select sqlite_version(*)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "communities" ADD "default_user_access" varchar(255)  (0.1ms) ALTER TABLE "communities" ADD "readers_ids" text DEFAULT '[]'  (0.2ms) ALTER TABLE "communities" ADD "writers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "banned_ids" text DEFAULT '[]'  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')  (0.0ms) SELECT * FROM "users"  (0.2ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (0.0ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130214113046')  (77.7ms) commit transaction  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (69.3ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]', "admins_info" text DEFAULT '[]', "owner_id" integer, "default_user_access" varchar(255), "readers_ids" text DEFAULT '[]', "writers_ids" text DEFAULT '[]', "banned_ids" text DEFAULT '[]')   (7.8ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))  (7.6ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))   (4.8ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (6.5ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (5.5ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "communities_ids" text DEFAULT '[]')  (7.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (4.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (5.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (5.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130214113046')  (4.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134951')  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134949')  (5.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134955')  (4.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213101736')  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (4.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134952')  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130212130848')  (4.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213121414')  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134954')  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (4.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134950')  (4.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134953')  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130210231424')  (4.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750') Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (18.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (4.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20121202111750)  (0.0ms) begin transaction  (0.6ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')  (7.2ms) commit transaction Migrating to CreateUsers (20121202112556)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')  (10.3ms) commit transaction Migrating to CreateCommunities (20130201155147)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')  (6.3ms) commit transaction Migrating to CreateInkwellTimelineItems (20130208134948)  (0.2ms) begin transaction  (1.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134948')  (6.0ms) commit transaction Migrating to AddColumnsToPosts (20130208134949)  (0.0ms) begin transaction  (0.5ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'  (0.3ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134949')  (5.4ms) commit transaction Migrating to CreateInkwellBlogItems (20130208134950)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134950')  (4.4ms) commit transaction Migrating to CreateInkwellFavoriteItems (20130208134951)  (0.0ms) begin transaction  (1.1ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134951')  (6.8ms) commit transaction Migrating to AddColumnsToUsers (20130208134952)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134952')  (4.8ms) commit transaction Migrating to CreateInkwellComments (20130208134953)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134953')  (4.6ms) commit transaction Migrating to ChangeTablesForCommunities (20130208134954)  (0.0ms) begin transaction  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.4ms) DROP TABLE "inkwell_comments"  (1.0ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.0ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.9ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_blog_items"  (0.2ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "owner_id" integer  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "is_owner_user" boolean  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_timeline_items"  (0.2ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.2ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "admins_info" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "admin_of" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "owner_id" integer  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134954')  (5.9ms) commit transaction Migrating to AddCommunityIdsToPost (20130208134955)  (0.0ms) begin transaction  (0.5ms) ALTER TABLE "posts" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134955')  (5.5ms) commit transaction Migrating to ChangeIsCommentToItemType (20130210231424)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "inkwell_blog_items" ADD "item_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_blog_items" SET "item_type" = 'c' WHERE "inkwell_blog_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_blog_items" SET "item_type" = 'p' WHERE "inkwell_blog_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.2ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.2ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "item_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'c' WHERE "inkwell_favorite_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'p' WHERE "inkwell_favorite_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (0.0ms) SELECT * FROM "inkwell_favorite_items"  (0.1ms) DROP TABLE "inkwell_favorite_items"  (0.1ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "item_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'c' WHERE "inkwell_timeline_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'p' WHERE "inkwell_timeline_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.2ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130210231424')  (3.7ms) commit transaction Migrating to AddOwnerTypeToLines (20130212130848)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "inkwell_blog_items" ADD "owner_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'u' WHERE "inkwell_blog_items"."is_owner_user" = 't' SQL (0.0ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'c' WHERE "inkwell_blog_items"."is_owner_user" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "owner_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "owner_type" = 'u'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_favorite_items"  (0.2ms) DROP TABLE "inkwell_favorite_items"  (0.1ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.1ms) SELECT * FROM "altered_inkwell_favorite_items"  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "owner_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "owner_type" = 'u'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.9ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130212130848')  (4.4ms) commit transaction Migrating to RefactorCommentTable (20130213101736)  (0.0ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.4ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) ALTER TABLE "inkwell_comments" ADD "topmost_obj_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_comments" SET "topmost_obj_type" = 'p'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213101736')  (4.2ms) commit transaction Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414)  (0.0ms) begin transaction  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))  (0.1ms) SELECT * FROM "inkwell_comments"  (0.3ms) DROP TABLE "inkwell_comments"  (0.3ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213121414')  (4.3ms) commit transaction Migrating to AddCommunityTypeAndDefaultAccessToCommunityTable (20130215075512)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "communities" ADD "default_user_access" varchar(255)  (0.1ms) ALTER TABLE "communities" ADD "readers_ids" text DEFAULT '[]'  (0.3ms) ALTER TABLE "communities" ADD "writers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "banned_ids" text DEFAULT '[]'  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (0.0ms) SELECT * FROM "users"  (0.1ms) DROP TABLE "users"  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')  (0.0ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (0.0ms) SELECT * FROM "users"  (0.1ms) DROP TABLE "users"  (0.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]')  (0.0ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130215075512')  (3.8ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (14.3ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]', "admins_info" text DEFAULT '[]', "owner_id" integer, "default_user_access" varchar(255), "readers_ids" text DEFAULT '[]', "writers_ids" text DEFAULT '[]', "banned_ids" text DEFAULT '[]')   (3.7ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))  (4.9ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))   (3.4ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (6.0ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (4.7ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "communities_ids" text DEFAULT '[]')  (4.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]')   (4.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (4.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130215075512')  (4.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134951')  (3.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134949')  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134955')  (3.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213101736')  (4.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134952')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130212130848')  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213121414')  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134954')  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (4.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134950')  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134953')  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130210231424')  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750') Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (22.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (3.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20121202111750)  (0.0ms) begin transaction  (0.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')  (4.7ms) commit transaction Migrating to CreateUsers (20121202112556)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')  (3.1ms) commit transaction Migrating to CreateCommunities (20130201155147)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')  (2.7ms) commit transaction Migrating to CreateInkwellTimelineItems (20130208134948)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.9ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134948')  (8.0ms) commit transaction Migrating to AddColumnsToPosts (20130208134949)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134949')  (4.4ms) commit transaction Migrating to CreateInkwellBlogItems (20130208134950)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134950')  (15.9ms) commit transaction Migrating to CreateInkwellFavoriteItems (20130208134951)  (0.1ms) begin transaction  (1.6ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134951')  (4.3ms) commit transaction Migrating to AddColumnsToUsers (20130208134952)  (0.0ms) begin transaction  (0.0ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134952')  (4.0ms) commit transaction Migrating to CreateInkwellComments (20130208134953)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134953')  (70.2ms) commit transaction Migrating to ChangeTablesForCommunities (20130208134954)  (0.0ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.3ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (2.5ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.0ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "owner_id" integer  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "is_owner_user" boolean  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.0ms) DROP TABLE "inkwell_timeline_items"  (0.2ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'  (0.2ms) ALTER TABLE "communities" ADD "admins_info" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "admin_of" text DEFAULT '[]'  (0.0ms) ALTER TABLE "communities" ADD "owner_id" integer  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134954')  (166.9ms) commit transaction Migrating to AddCommunityIdsToPost (20130208134955)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "posts" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134955')  (9.1ms) commit transaction Migrating to ChangeIsCommentToItemType (20130210231424)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "inkwell_blog_items" ADD "item_type" varchar(255) SQL (9.7ms) UPDATE "inkwell_blog_items" SET "item_type" = 'c' WHERE "inkwell_blog_items"."is_comment" = 't' SQL (0.1ms) UPDATE "inkwell_blog_items" SET "item_type" = 'p' WHERE "inkwell_blog_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (2.2ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "item_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'c' WHERE "inkwell_favorite_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'p' WHERE "inkwell_favorite_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (0.0ms) SELECT * FROM "inkwell_favorite_items"  (0.1ms) DROP TABLE "inkwell_favorite_items"  (0.1ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"  (0.2ms) DROP TABLE "altered_inkwell_favorite_items"  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "item_type" varchar(255) SQL (0.5ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'c' WHERE "inkwell_timeline_items"."is_comment" = 't' SQL (0.1ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'p' WHERE "inkwell_timeline_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (2.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130210231424')  (3.8ms) commit transaction Migrating to AddOwnerTypeToLines (20130212130848)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "inkwell_blog_items" ADD "owner_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'u' WHERE "inkwell_blog_items"."is_owner_user" = 't' SQL (0.0ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'c' WHERE "inkwell_blog_items"."is_owner_user" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "owner_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "owner_type" = 'u'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_favorite_items"  (0.1ms) DROP TABLE "inkwell_favorite_items"  (0.2ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "owner_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_timeline_items" SET "owner_type" = 'u'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (0.6ms) SELECT * FROM "inkwell_timeline_items"  (4.3ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130212130848')  (3.8ms) commit transaction Migrating to RefactorCommentTable (20130213101736)  (0.0ms) begin transaction  (1.0ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.4ms) DROP TABLE "inkwell_comments"  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.0ms) ALTER TABLE "inkwell_comments" ADD "topmost_obj_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_comments" SET "topmost_obj_type" = 'p'  (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213101736')  (7.2ms) commit transaction Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414)  (0.0ms) begin transaction  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))  (0.1ms) SELECT * FROM "inkwell_comments"  (0.3ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213121414')  (3.8ms) commit transaction Migrating to ChangeCommunityTableForAddingTypesAndUserAccess (20130215122550)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "communities" ADD "default_user_access" varchar(255) DEFAULT 'w'  (0.1ms) ALTER TABLE "communities" ADD "readers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "writers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "banned_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "open" boolean DEFAULT 't'  (0.2ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')  (0.0ms) SELECT * FROM "users"  (0.2ms) DROP TABLE "users"  (3.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (0.0ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')  (0.0ms) SELECT * FROM "users"  (0.1ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]')   (0.0ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130215122550')  (4.7ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.2ms) select sqlite_version(*)  (24.5ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]', "admins_info" text DEFAULT '[]', "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "readers_ids" text DEFAULT '[]', "writers_ids" text DEFAULT '[]', "banned_ids" text DEFAULT '[]', "open" boolean DEFAULT 't')   (3.7ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))  (4.9ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))   (4.7ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (4.3ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (4.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "communities_ids" text DEFAULT '[]')  (4.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]')   (4.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (2.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130215122550')  (2.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134951')  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134949')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134955')  (2.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213101736')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134952')  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130212130848')  (3.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213121414')  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134954')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134950')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134953')  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130210231424')  (3.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750') Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (37.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (3.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20121202111750)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')  (5.3ms) commit transaction Migrating to CreateUsers (20121202112556)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')  (5.1ms) commit transaction Migrating to CreateCommunities (20130201155147)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')  (3.9ms) commit transaction Migrating to CreateInkwellTimelineItems (20130208134948)  (0.0ms) begin transaction  (0.5ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134948')  (6.1ms) commit transaction Migrating to AddColumnsToPosts (20130208134949)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134949')  (4.2ms) commit transaction Migrating to CreateInkwellBlogItems (20130208134950)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134950')  (3.9ms) commit transaction Migrating to CreateInkwellFavoriteItems (20130208134951)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134951')  (3.9ms) commit transaction Migrating to AddColumnsToUsers (20130208134952)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134952')  (4.0ms) commit transaction Migrating to CreateInkwellComments (20130208134953)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134953')  (5.4ms) commit transaction Migrating to ChangeTablesForCommunities (20130208134954)  (0.0ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.7ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.0ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.0ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.0ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "owner_id" integer  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "is_owner_user" boolean  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.0ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.2ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "admins_info" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "admin_of" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "owner_id" integer  (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134954')  (4.7ms) commit transaction Migrating to AddCommunityIdsToPost (20130208134955)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "posts" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134955')  (3.6ms) commit transaction Migrating to ChangeIsCommentToItemType (20130210231424)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "inkwell_blog_items" ADD "item_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_blog_items" SET "item_type" = 'c' WHERE "inkwell_blog_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_blog_items" SET "item_type" = 'p' WHERE "inkwell_blog_items"."is_comment" = 'f'  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))  (0.1ms) SELECT * FROM "inkwell_blog_items"  (6.8ms) DROP TABLE "inkwell_blog_items"  (4.6ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "item_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'c' WHERE "inkwell_favorite_items"."is_comment" = 't' SQL (0.1ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'p' WHERE "inkwell_favorite_items"."is_comment" = 'f'  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (0.1ms) SELECT * FROM "inkwell_favorite_items"  (0.2ms) DROP TABLE "inkwell_favorite_items"  (0.1ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"  (0.0ms) DROP TABLE "altered_inkwell_favorite_items"  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "item_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'c' WHERE "inkwell_timeline_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'p' WHERE "inkwell_timeline_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (0.1ms) SELECT * FROM "inkwell_timeline_items"  (2.3ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130210231424')  (4.9ms) commit transaction Migrating to AddOwnerTypeToLines (20130212130848)  (0.1ms) begin transaction  (0.2ms) ALTER TABLE "inkwell_blog_items" ADD "owner_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'u' WHERE "inkwell_blog_items"."is_owner_user" = 't' SQL (0.0ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'c' WHERE "inkwell_blog_items"."is_owner_user" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.0ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "owner_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "owner_type" = 'u'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_favorite_items"  (0.2ms) DROP TABLE "inkwell_favorite_items"  (0.1ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "owner_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_timeline_items" SET "owner_type" = 'u'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (0.1ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130212130848')  (4.5ms) commit transaction Migrating to RefactorCommentTable (20130213101736)  (0.0ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.3ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) ALTER TABLE "inkwell_comments" ADD "topmost_obj_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_comments" SET "topmost_obj_type" = 'p'  (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213101736')  (5.0ms) commit transaction Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414)  (0.0ms) begin transaction  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))  (0.2ms) SELECT * FROM "inkwell_comments"  (0.6ms) DROP TABLE "inkwell_comments"  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))   (0.1ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213121414')  (4.4ms) commit transaction Migrating to ChangeCommunityTableForAddingTypesAndUserAccess (20130215125700)  (0.0ms) begin transaction  (0.1ms) ALTER TABLE "communities" ADD "default_user_access" varchar(255) DEFAULT 'w'  (0.2ms) ALTER TABLE "communities" ADD "readers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "writers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "banned_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "public" boolean DEFAULT 't'  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')  (0.0ms) SELECT * FROM "users"  (0.2ms) DROP TABLE "users"  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (0.0ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.2ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')  (0.1ms) SELECT * FROM "users"  (0.1ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]')   (0.1ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130215125700')  (6.9ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (10.9ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]', "admins_info" text DEFAULT '[]', "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "readers_ids" text DEFAULT '[]', "writers_ids" text DEFAULT '[]', "banned_ids" text DEFAULT '[]', "public" boolean DEFAULT 't')   (3.3ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))  (4.9ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))   (3.9ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (3.9ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (4.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "communities_ids" text DEFAULT '[]')  (4.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]')   (3.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (3.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (3.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130215125700')  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134951')  (4.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134949')  (3.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134955')  (3.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213101736')  (7.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134952')  (3.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130212130848')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213121414')  (3.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134954')  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134950')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134953')  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130210231424')  (3.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')  (4.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750') Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (28.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (4.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20121202111750)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')  (6.6ms) commit transaction Migrating to CreateUsers (20121202112556)  (0.6ms) begin transaction  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')  (5.5ms) commit transaction Migrating to CreateCommunities (20130201155147)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')  (3.8ms) commit transaction Migrating to CreateInkwellTimelineItems (20130208134948)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134948')  (5.7ms) commit transaction Migrating to AddColumnsToPosts (20130208134949)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134949')  (4.4ms) commit transaction Migrating to CreateInkwellBlogItems (20130208134950)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134950')  (3.8ms) commit transaction Migrating to CreateInkwellFavoriteItems (20130208134951)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134951')  (5.6ms) commit transaction Migrating to AddColumnsToUsers (20130208134952)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134952')  (3.6ms) commit transaction Migrating to CreateInkwellComments (20130208134953)  (0.0ms) begin transaction  (0.8ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134953')  (3.3ms) commit transaction Migrating to ChangeTablesForCommunities (20130208134954)  (0.0ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.2ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "owner_id" integer  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "is_owner_user" boolean  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'  (0.2ms) ALTER TABLE "communities" ADD "admins_info" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "admin_of" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "owner_id" integer  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134954')  (4.7ms) commit transaction Migrating to AddCommunityIdsToPost (20130208134955)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "posts" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134955')  (4.8ms) commit transaction Migrating to ChangeIsCommentToItemType (20130210231424)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "inkwell_blog_items" ADD "item_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_blog_items" SET "item_type" = 'c' WHERE "inkwell_blog_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_blog_items" SET "item_type" = 'p' WHERE "inkwell_blog_items"."is_comment" = 'f'  (2.2ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "item_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'c' WHERE "inkwell_favorite_items"."is_comment" = 't' SQL (0.1ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'p' WHERE "inkwell_favorite_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (0.0ms) SELECT * FROM "inkwell_favorite_items"  (0.1ms) DROP TABLE "inkwell_favorite_items"  (0.1ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "item_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'c' WHERE "inkwell_timeline_items"."is_comment" = 't' SQL (0.1ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'p' WHERE "inkwell_timeline_items"."is_comment" = 'f'  (0.0ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (0.6ms) SELECT * FROM "inkwell_timeline_items"  (0.2ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130210231424')  (4.1ms) commit transaction Migrating to AddOwnerTypeToLines (20130212130848)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "inkwell_blog_items" ADD "owner_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'u' WHERE "inkwell_blog_items"."is_owner_user" = 't' SQL (0.0ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'c' WHERE "inkwell_blog_items"."is_owner_user" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255), "owner_type" varchar(255))  (0.8ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.0ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "owner_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "owner_type" = 'u'  (0.0ms) CREATE TEMPORARY TABLE "altered_inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_favorite_items"  (0.2ms) DROP TABLE "inkwell_favorite_items"  (0.1ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "owner_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "owner_type" = 'u'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.2ms) DROP TABLE "altered_inkwell_timeline_items"  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130212130848')  (260.1ms) commit transaction Migrating to RefactorCommentTable (20130213101736)  (0.0ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.3ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) ALTER TABLE "inkwell_comments" ADD "topmost_obj_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_comments" SET "topmost_obj_type" = 'p'  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213101736')  (5.1ms) commit transaction Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414)  (0.0ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))  (0.1ms) SELECT * FROM "inkwell_comments"  (0.3ms) DROP TABLE "inkwell_comments"  (0.9ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213121414')  (4.1ms) commit transaction Migrating to ChangeCommunityTableForAddingTypesAndUserAccess (20130216132342)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "communities" ADD "default_user_access" varchar(255) DEFAULT 'w'  (0.1ms) ALTER TABLE "communities" ADD "writers_ids" text DEFAULT '[]'  (0.0ms) ALTER TABLE "communities" ADD "banned_ids" text DEFAULT '[]'  (0.8ms) ALTER TABLE "communities" ADD "public" boolean DEFAULT 't'  (0.8ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (0.1ms) SELECT * FROM "users"  (0.2ms) DROP TABLE "users"  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')  (0.0ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (0.0ms) SELECT * FROM "users"  (0.1ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]')  (0.0ms) SELECT * FROM "altered_users"  (0.2ms) DROP TABLE "altered_users"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130216132342')  (4.7ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (101.9ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]', "admins_info" text DEFAULT '[]', "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "writers_ids" text DEFAULT '[]', "banned_ids" text DEFAULT '[]', "public" boolean DEFAULT 't')   (4.0ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))  (4.7ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))   (4.1ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (3.9ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (3.6ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "communities_ids" text DEFAULT '[]')  (5.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]')   (4.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (3.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130216132342')  (3.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134951')  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134949')  (3.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134955')  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213101736')  (3.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134952')  (5.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130212130848')  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213121414')  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134954')  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134950')  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134953')  (2.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130210231424')  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750') Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (17.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (3.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20121202111750)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')  (4.4ms) commit transaction Migrating to CreateUsers (20121202112556)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')  (3.8ms) commit transaction Migrating to CreateCommunities (20130201155147)  (0.0ms) begin transaction  (0.9ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')  (3.8ms) commit transaction Migrating to CreateInkwellTimelineItems (20130208134948)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134948')  (5.0ms) commit transaction Migrating to AddColumnsToPosts (20130208134949)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134949')  (3.5ms) commit transaction Migrating to CreateInkwellBlogItems (20130208134950)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134950')  (4.5ms) commit transaction Migrating to CreateInkwellFavoriteItems (20130208134951)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134951')  (5.6ms) commit transaction Migrating to AddColumnsToUsers (20130208134952)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134952')  (4.3ms) commit transaction Migrating to CreateInkwellComments (20130208134953)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134953')  (4.0ms) commit transaction Migrating to ChangeTablesForCommunities (20130208134954)  (0.0ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.3ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (1.0ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.0ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "owner_id" integer  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "is_owner_user" boolean  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) SELECT * FROM "inkwell_timeline_items"  (0.2ms) DROP TABLE "inkwell_timeline_items"  (0.2ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'  (0.0ms) ALTER TABLE "communities" ADD "admins_info" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "admin_of" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "owner_id" integer  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134954')  (5.1ms) commit transaction Migrating to AddCommunityIdsToPost (20130208134955)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "posts" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134955')  (4.3ms) commit transaction Migrating to ChangeIsCommentToItemType (20130210231424)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "inkwell_blog_items" ADD "item_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_blog_items" SET "item_type" = 'c' WHERE "inkwell_blog_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_blog_items" SET "item_type" = 'p' WHERE "inkwell_blog_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "item_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'c' WHERE "inkwell_favorite_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'p' WHERE "inkwell_favorite_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (0.0ms) SELECT * FROM "inkwell_favorite_items"  (0.1ms) DROP TABLE "inkwell_favorite_items"  (0.1ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "item_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'c' WHERE "inkwell_timeline_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'p' WHERE "inkwell_timeline_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130210231424')  (4.4ms) commit transaction Migrating to AddOwnerTypeToLines (20130212130848)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "inkwell_blog_items" ADD "owner_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'u' WHERE "inkwell_blog_items"."is_owner_user" = 't' SQL (0.3ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'c' WHERE "inkwell_blog_items"."is_owner_user" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255), "owner_type" varchar(255))  (0.1ms) SELECT * FROM "inkwell_blog_items"  (0.2ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "owner_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "owner_type" = 'u'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_favorite_items"  (0.1ms) DROP TABLE "inkwell_favorite_items"  (0.1ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "owner_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "owner_type" = 'u'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (0.1ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130212130848')  (3.4ms) commit transaction Migrating to RefactorCommentTable (20130213101736)  (0.0ms) begin transaction  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.3ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) ALTER TABLE "inkwell_comments" ADD "topmost_obj_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_comments" SET "topmost_obj_type" = 'p'  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213101736')  (4.4ms) commit transaction Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414)  (0.0ms) begin transaction  (0.4ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))  (0.1ms) SELECT * FROM "inkwell_comments"  (0.3ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.2ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213121414')  (3.9ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (8.5ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]', "admins_info" text DEFAULT '[]', "owner_id" integer)   (4.0ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))  (4.6ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))   (4.0ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (6.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (3.4ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "communities_ids" text DEFAULT '[]')  (4.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_ids" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (4.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (3.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213121414')  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134951')  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134949')  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134955')  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213101736')  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134952')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130212130848')  (3.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134954')  (4.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (3.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134950')  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134953')  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130210231424')  (2.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750') Connecting to database specified by database.yml  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556) Migrating to CreateCommunities (20130201155147) Migrating to CreateInkwellTimelineItems (20130208134948) Migrating to AddColumnsToPosts (20130208134949) Migrating to CreateInkwellBlogItems (20130208134950) Migrating to CreateInkwellFavoriteItems (20130208134951) Migrating to AddColumnsToUsers (20130208134952) Migrating to CreateInkwellComments (20130208134953) Migrating to ChangeTablesForCommunities (20130208134954) Migrating to AddCommunityIdsToPost (20130208134955) Migrating to ChangeIsCommentToItemType (20130210231424) Migrating to AddOwnerTypeToLines (20130212130848) Migrating to RefactorCommentTable (20130213101736) Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414) Migrating to ChangeCommunityTableForAddingTypesAndUserAccess (20130217134228)  (0.0ms) select sqlite_version(*)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "communities" ADD "default_user_access" varchar(255) DEFAULT 'w'  (0.1ms) ALTER TABLE "communities" ADD "writers_ids" text DEFAULT '[]'  (0.2ms) ALTER TABLE "communities" ADD "banned_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "muted_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "public" boolean DEFAULT 't'  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (0.0ms) SELECT * FROM "users"  (0.2ms) DROP TABLE "users"  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')  (0.0ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (0.0ms) SELECT * FROM "users"  (0.1ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]')  (0.0ms) SELECT * FROM "altered_users"  (0.0ms) DROP TABLE "altered_users"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130217134228')  (47.9ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (46.3ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]', "admins_info" text DEFAULT '[]', "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "writers_ids" text DEFAULT '[]', "banned_ids" text DEFAULT '[]', "muted_ids" text DEFAULT '[]', "public" boolean DEFAULT 't')   (5.3ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))  (7.4ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))   (6.9ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (13.0ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (4.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "communities_ids" text DEFAULT '[]')  (6.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]')   (4.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (3.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130217134228')  (4.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134951')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134949')  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134955')  (3.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213101736')  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134952')  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130212130848')  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213121414')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134954')  (4.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134950')  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134953')  (3.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130210231424')  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750') Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (25.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (4.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20121202111750)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')  (4.9ms) commit transaction Migrating to CreateUsers (20121202112556)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')  (3.9ms) commit transaction Migrating to CreateCommunities (20130201155147)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')  (4.7ms) commit transaction Migrating to CreateInkwellTimelineItems (20130208134948)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134948')  (4.7ms) commit transaction Migrating to AddColumnsToPosts (20130208134949)  (0.1ms) begin transaction  (0.3ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134949')  (4.2ms) commit transaction Migrating to CreateInkwellBlogItems (20130208134950)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134950')  (4.1ms) commit transaction Migrating to CreateInkwellFavoriteItems (20130208134951)  (0.1ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134951')  (5.2ms) commit transaction Migrating to AddColumnsToUsers (20130208134952)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134952')  (3.4ms) commit transaction Migrating to CreateInkwellComments (20130208134953)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134953')  (4.3ms) commit transaction Migrating to ChangeTablesForCommunities (20130208134954)  (0.0ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.0ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (1.9ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "owner_id" integer  (0.9ms) ALTER TABLE "inkwell_blog_items" ADD "is_owner_user" boolean  (1.2ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.0ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "admins_info" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'  (0.2ms) ALTER TABLE "users" ADD "admin_of" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "owner_id" integer  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134954')  (5.2ms) commit transaction Migrating to AddCommunityIdsToPost (20130208134955)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "posts" ADD "communities_ids" text DEFAULT '[]'  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134955')  (4.0ms) commit transaction Migrating to ChangeIsCommentToItemType (20130210231424)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "inkwell_blog_items" ADD "item_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_blog_items" SET "item_type" = 'c' WHERE "inkwell_blog_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_blog_items" SET "item_type" = 'p' WHERE "inkwell_blog_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "item_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'c' WHERE "inkwell_favorite_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'p' WHERE "inkwell_favorite_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (0.0ms) SELECT * FROM "inkwell_favorite_items"  (0.1ms) DROP TABLE "inkwell_favorite_items"  (0.1ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "item_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'c' WHERE "inkwell_timeline_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'p' WHERE "inkwell_timeline_items"."is_comment" = 'f'  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (0.1ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130210231424')  (4.4ms) commit transaction Migrating to AddOwnerTypeToLines (20130212130848)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "inkwell_blog_items" ADD "owner_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'u' WHERE "inkwell_blog_items"."is_owner_user" = 't' SQL (0.0ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'c' WHERE "inkwell_blog_items"."is_owner_user" = 'f'  (0.6ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "owner_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "owner_type" = 'u'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (0.1ms) SELECT * FROM "inkwell_favorite_items"  (0.1ms) DROP TABLE "inkwell_favorite_items"  (0.1ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "owner_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "owner_type" = 'u'  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (2.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130212130848')  (4.9ms) commit transaction Migrating to RefactorCommentTable (20130213101736)  (0.0ms) begin transaction  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) ALTER TABLE "inkwell_comments" ADD "topmost_obj_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_comments" SET "topmost_obj_type" = 'p'  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213101736')  (4.2ms) commit transaction Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414)  (0.0ms) begin transaction  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_comments"  (1.3ms) DROP TABLE "inkwell_comments"  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213121414')  (5.3ms) commit transaction Migrating to ChangeCommunityTableForAddingTypesAndUserAccess (20130217135512)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "communities" ADD "default_user_access" varchar(255) DEFAULT 'w'  (0.1ms) ALTER TABLE "communities" ADD "writers_ids" text DEFAULT '[]'  (0.2ms) ALTER TABLE "communities" ADD "banned_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "muted_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "invitations_uids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "public" boolean DEFAULT 't'  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (0.0ms) SELECT * FROM "users"  (0.2ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')  (0.0ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (0.1ms) SELECT * FROM "users"  (0.1ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]')  (0.1ms) SELECT * FROM "altered_users"  (0.0ms) DROP TABLE "altered_users"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130217135512')  (6.5ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.2ms) select sqlite_version(*)  (36.6ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]', "admins_info" text DEFAULT '[]', "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "writers_ids" text DEFAULT '[]', "banned_ids" text DEFAULT '[]', "muted_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't')   (3.9ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))  (4.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))   (3.9ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (5.5ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (3.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "communities_ids" text DEFAULT '[]')  (5.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]')   (3.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (3.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (3.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130217135512')  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134951')  (4.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134949')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134955')  (4.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213101736')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134952')  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130212130848')  (3.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213121414')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134954')  (4.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134950')  (3.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134953')  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130210231424')  (3.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750') Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556) Migrating to CreateCommunities (20130201155147) Migrating to CreateInkwellTimelineItems (20130208134948) Migrating to AddColumnsToPosts (20130208134949) Migrating to CreateInkwellBlogItems (20130208134950) Migrating to CreateInkwellFavoriteItems (20130208134951) Migrating to AddColumnsToUsers (20130208134952) Migrating to CreateInkwellComments (20130208134953) Migrating to ChangeTablesForCommunities (20130208134954) Migrating to AddCommunityIdsToPost (20130208134955) Migrating to ChangeIsCommentToItemType (20130210231424) Migrating to AddOwnerTypeToLines (20130212130848) Migrating to RefactorCommentTable (20130213101736) Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414) Migrating to ChangeCommunityTableForAddingTypesAndUserAccess (20130217135512) Migrating to RefactorFollowingsRelation (20130227145057)  (0.0ms) select sqlite_version(*)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "inkwell_followings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "follower_id" integer, "followed_id" integer)  (0.1ms) ALTER TABLE "users" ADD "follower_count" integer  (0.1ms) ALTER TABLE "users" ADD "following_count" integer User Load (0.1ms) SELECT "users".* FROM "users"   (0.2ms) rollback transaction Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556) Migrating to CreateCommunities (20130201155147) Migrating to CreateInkwellTimelineItems (20130208134948) Migrating to AddColumnsToPosts (20130208134949) Migrating to CreateInkwellBlogItems (20130208134950) Migrating to CreateInkwellFavoriteItems (20130208134951) Migrating to AddColumnsToUsers (20130208134952) Migrating to CreateInkwellComments (20130208134953) Migrating to ChangeTablesForCommunities (20130208134954) Migrating to AddCommunityIdsToPost (20130208134955) Migrating to ChangeIsCommentToItemType (20130210231424) Migrating to AddOwnerTypeToLines (20130212130848) Migrating to RefactorCommentTable (20130213101736) Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414) Migrating to ChangeCommunityTableForAddingTypesAndUserAccess (20130217135512) Migrating to RefactorFollowingsRelation (20130227145215)  (0.0ms) select sqlite_version(*)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_followings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "follower_id" integer, "followed_id" integer)  (0.1ms) ALTER TABLE "users" ADD "follower_count" integer  (0.1ms) ALTER TABLE "users" ADD "following_count" integer User Load (0.1ms) SELECT "users".* FROM "users"  SQL (1.5ms) INSERT INTO "inkwell_followings" ("followed_id", "follower_id") VALUES (?, ?) [["followed_id", 2], ["follower_id", 1]]  (0.2ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "follower_count" integer, "following_count" integer)   (0.1ms) SELECT * FROM "users"  (0.0ms) INSERT INTO "altered_users" ("id","nick","created_at","updated_at","followers_ids","followings_ids","communities_info","follower_count","following_count") VALUES (1, 'Salkar', '2013-02-27 14:17:57.694395', '2013-02-27 14:18:29.889047', '[]', '[2]', '[]', NULL, NULL)  (0.0ms) INSERT INTO "altered_users" ("id","nick","created_at","updated_at","followers_ids","followings_ids","communities_info","follower_count","following_count") VALUES (2, 'Morozovm', '2013-02-27 14:18:17.149614', '2013-02-27 14:18:29.665232', '[1]', '[]', '[]', NULL, NULL)  (16.3ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "follower_count" integer, "following_count" integer)  (0.0ms) SELECT * FROM "altered_users"  (0.0ms) INSERT INTO "users" ("id","nick","created_at","updated_at","followings_ids","communities_info","follower_count","following_count") VALUES (1, 'Salkar', '2013-02-27 14:17:57.694395', '2013-02-27 14:18:29.889047', '[2]', '[]', NULL, NULL)  (0.0ms) INSERT INTO "users" ("id","nick","created_at","updated_at","followings_ids","communities_info","follower_count","following_count") VALUES (2, 'Morozovm', '2013-02-27 14:18:17.149614', '2013-02-27 14:18:29.665232', '[]', '[]', NULL, NULL)  (0.1ms) DROP TABLE "altered_users"  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "follower_count" integer, "following_count" integer)   (0.0ms) SELECT * FROM "users"  (0.0ms) INSERT INTO "altered_users" ("id","nick","created_at","updated_at","followings_ids","communities_info","follower_count","following_count") VALUES (1, 'Salkar', '2013-02-27 14:17:57.694395', '2013-02-27 14:18:29.889047', '[2]', '[]', NULL, NULL)  (0.0ms) INSERT INTO "altered_users" ("id","nick","created_at","updated_at","followings_ids","communities_info","follower_count","following_count") VALUES (2, 'Morozovm', '2013-02-27 14:18:17.149614', '2013-02-27 14:18:29.665232', '[]', '[]', NULL, NULL)  (0.1ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "communities_info" text DEFAULT '[]', "follower_count" integer, "following_count" integer)  (0.0ms) SELECT * FROM "altered_users"  (0.1ms) INSERT INTO "users" ("id","nick","created_at","updated_at","communities_info","follower_count","following_count") VALUES (1, 'Salkar', '2013-02-27 14:17:57.694395', '2013-02-27 14:18:29.889047', '[]', NULL, NULL)  (0.0ms) INSERT INTO "users" ("id","nick","created_at","updated_at","communities_info","follower_count","following_count") VALUES (2, 'Morozovm', '2013-02-27 14:18:17.149614', '2013-02-27 14:18:29.665232', '[]', NULL, NULL)  (0.1ms) DROP TABLE "altered_users"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130227145215')  (19.7ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (843.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (65.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20121202111750)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')  (7.1ms) commit transaction Migrating to CreateUsers (20121202112556)  (0.0ms) begin transaction  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')  (5.7ms) commit transaction Migrating to CreateCommunities (20130201155147)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')  (6.0ms) commit transaction Migrating to CreateInkwellTimelineItems (20130208134948)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134948')  (8.4ms) commit transaction Migrating to AddColumnsToPosts (20130208134949)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134949')  (6.0ms) commit transaction Migrating to CreateInkwellBlogItems (20130208134950)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134950')  (5.4ms) commit transaction Migrating to CreateInkwellFavoriteItems (20130208134951)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134951')  (5.5ms) commit transaction Migrating to AddColumnsToUsers (20130208134952)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134952')  (4.3ms) commit transaction Migrating to CreateInkwellComments (20130208134953)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134953')  (4.2ms) commit transaction Migrating to ChangeTablesForCommunities (20130208134954)  (0.0ms) begin transaction  (0.3ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.4ms) DROP TABLE "inkwell_comments"  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (1.0ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_comments"  (0.2ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_blog_items"  (0.3ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "owner_id" integer  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "is_owner_user" boolean  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_timeline_items"  (0.2ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "admins_info" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'  (0.2ms) ALTER TABLE "users" ADD "admin_of" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "owner_id" integer  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134954')  (4.9ms) commit transaction Migrating to AddCommunityIdsToPost (20130208134955)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "posts" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134955')  (7.8ms) commit transaction Migrating to ChangeIsCommentToItemType (20130210231424)  (0.2ms) begin transaction  (0.2ms) ALTER TABLE "inkwell_blog_items" ADD "item_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_blog_items" SET "item_type" = 'c' WHERE "inkwell_blog_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_blog_items" SET "item_type" = 'p' WHERE "inkwell_blog_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))  (0.1ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "item_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'c' WHERE "inkwell_favorite_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'p' WHERE "inkwell_favorite_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (0.0ms) SELECT * FROM "inkwell_favorite_items"  (0.1ms) DROP TABLE "inkwell_favorite_items"  (0.1ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "item_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'c' WHERE "inkwell_timeline_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'p' WHERE "inkwell_timeline_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130210231424')  (4.2ms) commit transaction Migrating to AddOwnerTypeToLines (20130212130848)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "inkwell_blog_items" ADD "owner_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'u' WHERE "inkwell_blog_items"."is_owner_user" = 't' SQL (0.0ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'c' WHERE "inkwell_blog_items"."is_owner_user" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255), "owner_type" varchar(255))  (0.1ms) SELECT * FROM "inkwell_blog_items"  (0.2ms) DROP TABLE "inkwell_blog_items"  (0.3ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.3ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "owner_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_favorite_items" SET "owner_type" = 'u'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_favorite_items"  (0.2ms) DROP TABLE "inkwell_favorite_items"  (0.1ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "owner_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "owner_type" = 'u'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130212130848')  (4.5ms) commit transaction Migrating to RefactorCommentTable (20130213101736)  (0.1ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.3ms) DROP TABLE "inkwell_comments"  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) ALTER TABLE "inkwell_comments" ADD "topmost_obj_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_comments" SET "topmost_obj_type" = 'p'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213101736')  (5.4ms) commit transaction Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414)  (0.0ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))  (0.1ms) SELECT * FROM "inkwell_comments"  (0.3ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213121414')  (4.6ms) commit transaction Migrating to ChangeCommunityTableForAddingTypesAndUserAccess (20130217135512)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "communities" ADD "default_user_access" varchar(255) DEFAULT 'w'  (0.2ms) ALTER TABLE "communities" ADD "writers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "banned_ids" text DEFAULT '[]'  (0.2ms) ALTER TABLE "communities" ADD "muted_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "invitations_uids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "public" boolean DEFAULT 't'  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (0.1ms) SELECT * FROM "users"  (0.1ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')  (0.0ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (0.0ms) SELECT * FROM "users"  (0.1ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]')  (0.1ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130217135512')  (5.1ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556) Migrating to CreateCommunities (20130201155147) Migrating to CreateInkwellTimelineItems (20130208134948) Migrating to AddColumnsToPosts (20130208134949) Migrating to CreateInkwellBlogItems (20130208134950) Migrating to CreateInkwellFavoriteItems (20130208134951) Migrating to AddColumnsToUsers (20130208134952) Migrating to CreateInkwellComments (20130208134953) Migrating to ChangeTablesForCommunities (20130208134954) Migrating to AddCommunityIdsToPost (20130208134955) Migrating to ChangeIsCommentToItemType (20130210231424) Migrating to AddOwnerTypeToLines (20130212130848) Migrating to RefactorCommentTable (20130213101736) Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414) Migrating to ChangeCommunityTableForAddingTypesAndUserAccess (20130217135512) Migrating to RefactorFollowingsRelation (20130227145530)  (0.0ms) select sqlite_version(*)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_followings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "follower_id" integer, "followed_id" integer)  (0.1ms) ALTER TABLE "users" ADD "follower_count" integer  (0.1ms) ALTER TABLE "users" ADD "following_count" integer User Load (0.1ms) SELECT "users".* FROM "users"   (0.2ms) UPDATE "users" SET "following_count" = 1, "follower_count" = 0, "updated_at" = '2013-02-27 14:55:37.798554' WHERE "users"."id" = 1 SQL (0.2ms) INSERT INTO "inkwell_followings" ("followed_id", "follower_id") VALUES (?, ?) [["followed_id", 2], ["follower_id", 1]]  (0.1ms) UPDATE "users" SET "following_count" = 0, "follower_count" = 1, "updated_at" = '2013-02-27 14:55:37.806528' WHERE "users"."id" = 2  (0.2ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "follower_count" integer, "following_count" integer)   (0.0ms) SELECT * FROM "users"  (0.1ms) INSERT INTO "altered_users" ("id","nick","created_at","updated_at","followers_ids","followings_ids","communities_info","follower_count","following_count") VALUES (1, NULL, '2013-02-27 14:54:47.564707', '2013-02-27 14:55:37.798554', '[]', '[2]', '[]', 0, 1)  (0.0ms) INSERT INTO "altered_users" ("id","nick","created_at","updated_at","followers_ids","followings_ids","communities_info","follower_count","following_count") VALUES (2, NULL, '2013-02-27 14:55:03.307966', '2013-02-27 14:55:37.806528', '[1]', '[]', '[]', 1, 0)  (0.1ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "follower_count" integer, "following_count" integer)  (0.0ms) SELECT * FROM "altered_users"  (0.0ms) INSERT INTO "users" ("id","nick","created_at","updated_at","followings_ids","communities_info","follower_count","following_count") VALUES (1, NULL, '2013-02-27 14:54:47.564707', '2013-02-27 14:55:37.798554', '[2]', '[]', 0, 1)  (0.0ms) INSERT INTO "users" ("id","nick","created_at","updated_at","followings_ids","communities_info","follower_count","following_count") VALUES (2, NULL, '2013-02-27 14:55:03.307966', '2013-02-27 14:55:37.806528', '[]', '[]', 1, 0)  (0.1ms) DROP TABLE "altered_users"  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "follower_count" integer, "following_count" integer)   (0.1ms) SELECT * FROM "users"  (0.0ms) INSERT INTO "altered_users" ("id","nick","created_at","updated_at","followings_ids","communities_info","follower_count","following_count") VALUES (1, NULL, '2013-02-27 14:54:47.564707', '2013-02-27 14:55:37.798554', '[2]', '[]', 0, 1)  (0.0ms) INSERT INTO "altered_users" ("id","nick","created_at","updated_at","followings_ids","communities_info","follower_count","following_count") VALUES (2, NULL, '2013-02-27 14:55:03.307966', '2013-02-27 14:55:37.806528', '[]', '[]', 1, 0)  (0.1ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "communities_info" text DEFAULT '[]', "follower_count" integer, "following_count" integer)  (0.0ms) SELECT * FROM "altered_users"  (0.0ms) INSERT INTO "users" ("id","nick","created_at","updated_at","communities_info","follower_count","following_count") VALUES (1, NULL, '2013-02-27 14:54:47.564707', '2013-02-27 14:55:37.798554', '[]', 0, 1)  (0.0ms) INSERT INTO "users" ("id","nick","created_at","updated_at","communities_info","follower_count","following_count") VALUES (2, NULL, '2013-02-27 14:55:03.307966', '2013-02-27 14:55:37.806528', '[]', 1, 0)  (0.1ms) DROP TABLE "altered_users"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130227145530')  (35.6ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.2ms) select sqlite_version(*)  (16.6ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]', "admins_info" text DEFAULT '[]', "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "writers_ids" text DEFAULT '[]', "banned_ids" text DEFAULT '[]', "muted_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't')   (3.4ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))  (4.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))   (3.8ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (4.6ms) CREATE TABLE "inkwell_followings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "follower_id" integer, "followed_id" integer)   (4.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (3.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "communities_ids" text DEFAULT '[]')   (5.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "communities_info" text DEFAULT '[]', "follower_count" integer, "following_count" integer)  (3.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (4.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130227145530')  (5.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134951')  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134949')  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134955')  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213101736')  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134952')  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130212130848')  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213121414')  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130217135512')  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134954')  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134950')  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134953')  (4.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130210231424')  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750') Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (18.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (4.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20121202111750)  (0.0ms) begin transaction  (0.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')  (5.1ms) commit transaction Migrating to CreateUsers (20121202112556)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')  (3.7ms) commit transaction Migrating to CreateCommunities (20130201155147)  (0.0ms) begin transaction  (0.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')  (3.7ms) commit transaction Migrating to CreateInkwellTimelineItems (20130208134948)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134948')  (4.8ms) commit transaction Migrating to AddColumnsToPosts (20130208134949)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134949')  (3.8ms) commit transaction Migrating to CreateInkwellBlogItems (20130208134950)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134950')  (3.9ms) commit transaction Migrating to CreateInkwellFavoriteItems (20130208134951)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134951')  (5.0ms) commit transaction Migrating to AddColumnsToUsers (20130208134952)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134952')  (4.7ms) commit transaction Migrating to CreateInkwellComments (20130208134953)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134953')  (4.3ms) commit transaction Migrating to ChangeTablesForCommunities (20130208134954)  (0.0ms) begin transaction  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.2ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "owner_id" integer  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "is_owner_user" boolean  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.2ms) DROP TABLE "inkwell_timeline_items"  (0.0ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "admins_info" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "admin_of" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "owner_id" integer  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134954')  (5.2ms) commit transaction Migrating to AddCommunityIdsToPost (20130208134955)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "posts" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134955')  (5.5ms) commit transaction Migrating to ChangeIsCommentToItemType (20130210231424)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "inkwell_blog_items" ADD "item_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_blog_items" SET "item_type" = 'c' WHERE "inkwell_blog_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_blog_items" SET "item_type" = 'p' WHERE "inkwell_blog_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "item_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'c' WHERE "inkwell_favorite_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'p' WHERE "inkwell_favorite_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (0.0ms) SELECT * FROM "inkwell_favorite_items"  (0.1ms) DROP TABLE "inkwell_favorite_items"  (0.0ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "item_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'c' WHERE "inkwell_timeline_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'p' WHERE "inkwell_timeline_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130210231424')  (4.2ms) commit transaction Migrating to AddOwnerTypeToLines (20130212130848)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "inkwell_blog_items" ADD "owner_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'u' WHERE "inkwell_blog_items"."is_owner_user" = 't' SQL (0.0ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'c' WHERE "inkwell_blog_items"."is_owner_user" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "owner_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "owner_type" = 'u'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_favorite_items"  (0.2ms) DROP TABLE "inkwell_favorite_items"  (0.0ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"  (0.2ms) DROP TABLE "altered_inkwell_favorite_items"  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "owner_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "owner_type" = 'u'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130212130848')  (3.6ms) commit transaction Migrating to RefactorCommentTable (20130213101736)  (0.0ms) begin transaction  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.2ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) ALTER TABLE "inkwell_comments" ADD "topmost_obj_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_comments" SET "topmost_obj_type" = 'p'  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213101736')  (5.2ms) commit transaction Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414)  (0.1ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))  (0.1ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.4ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213121414')  (3.8ms) commit transaction Migrating to ChangeCommunityTableForAddingTypesAndUserAccess (20130217135512)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "communities" ADD "default_user_access" varchar(255) DEFAULT 'w'  (0.1ms) ALTER TABLE "communities" ADD "writers_ids" text DEFAULT '[]'  (0.2ms) ALTER TABLE "communities" ADD "banned_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "muted_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "invitations_uids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "public" boolean DEFAULT 't'  (0.2ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (0.0ms) SELECT * FROM "users"  (0.1ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')  (0.0ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.0ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (0.0ms) SELECT * FROM "users"  (0.1ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]')  (0.1ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130217135512')  (4.1ms) commit transaction Migrating to RefactorFollowingsRelation (20130227151303)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_followings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "follower_id" integer, "followed_id" integer)  (0.1ms) ALTER TABLE "users" ADD "follower_count" integer DEFAULT 0  (0.2ms) ALTER TABLE "users" ADD "following_count" integer DEFAULT 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0)  (0.0ms) SELECT * FROM "users"  (0.3ms) DROP TABLE "users"  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0)   (0.0ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0)  (0.0ms) SELECT * FROM "users"  (0.1ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "communities_info" text DEFAULT '[]', "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0)   (0.0ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130227151303')  (6.1ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (15.2ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]', "admins_info" text DEFAULT '[]', "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "writers_ids" text DEFAULT '[]', "banned_ids" text DEFAULT '[]', "muted_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't')   (3.8ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))  (4.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))   (3.8ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (4.6ms) CREATE TABLE "inkwell_followings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "follower_id" integer, "followed_id" integer)   (3.9ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (3.6ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "communities_ids" text DEFAULT '[]')   (4.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "communities_info" text DEFAULT '[]', "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0)  (4.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (4.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130227151303')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134951')  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134949')  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134955')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213101736')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134952')  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130212130848')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213121414')  (4.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130217135512')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134954')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134950')  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134953')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130210231424')  (5.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750') Connecting to database specified by database.yml  (0.9ms) select sqlite_version(*)  (10.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (3.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20121202111750)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')  (5.0ms) commit transaction Migrating to CreateUsers (20121202112556)  (0.1ms) begin transaction  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')  (4.0ms) commit transaction Migrating to CreateCommunities (20130201155147)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')  (4.0ms) commit transaction Migrating to CreateInkwellTimelineItems (20130208134948)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134948')  (5.1ms) commit transaction Migrating to AddColumnsToPosts (20130208134949)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134949')  (3.4ms) commit transaction Migrating to CreateInkwellBlogItems (20130208134950)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134950')  (3.6ms) commit transaction Migrating to CreateInkwellFavoriteItems (20130208134951)  (0.0ms) begin transaction  (0.1ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134951')  (5.3ms) commit transaction Migrating to AddColumnsToUsers (20130208134952)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'  (0.0ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134952')  (4.9ms) commit transaction Migrating to CreateInkwellComments (20130208134953)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134953')  (3.9ms) commit transaction Migrating to ChangeTablesForCommunities (20130208134954)  (0.0ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.0ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.2ms) DROP TABLE "inkwell_blog_items"  (0.2ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "owner_id" integer  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "is_owner_user" boolean  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "admins_info" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "admin_of" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "owner_id" integer  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134954')  (5.3ms) commit transaction Migrating to AddCommunityIdsToPost (20130208134955)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "posts" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134955')  (4.8ms) commit transaction Migrating to ChangeIsCommentToItemType (20130210231424)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "inkwell_blog_items" ADD "item_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_blog_items" SET "item_type" = 'c' WHERE "inkwell_blog_items"."is_comment" = 't' SQL (0.1ms) UPDATE "inkwell_blog_items" SET "item_type" = 'p' WHERE "inkwell_blog_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.2ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "item_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'c' WHERE "inkwell_favorite_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'p' WHERE "inkwell_favorite_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (0.0ms) SELECT * FROM "inkwell_favorite_items"  (0.1ms) DROP TABLE "inkwell_favorite_items"  (0.1ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "item_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'c' WHERE "inkwell_timeline_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'p' WHERE "inkwell_timeline_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130210231424')  (3.2ms) commit transaction Migrating to AddOwnerTypeToLines (20130212130848)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "inkwell_blog_items" ADD "owner_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'u' WHERE "inkwell_blog_items"."is_owner_user" = 't' SQL (0.0ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'c' WHERE "inkwell_blog_items"."is_owner_user" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255), "owner_type" varchar(255))  (0.1ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "owner_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "owner_type" = 'u'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_favorite_items"  (0.2ms) DROP TABLE "inkwell_favorite_items"  (0.1ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "owner_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "owner_type" = 'u'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130212130848')  (3.5ms) commit transaction Migrating to RefactorCommentTable (20130213101736)  (0.0ms) begin transaction  (0.0ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) ALTER TABLE "inkwell_comments" ADD "topmost_obj_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_comments" SET "topmost_obj_type" = 'p'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213101736')  (4.6ms) commit transaction Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414)  (0.0ms) begin transaction  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))  (0.1ms) SELECT * FROM "inkwell_comments"  (0.3ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213121414')  (3.6ms) commit transaction Migrating to ChangeCommunityTableForAddingTypesAndUserAccess (20130217135512)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "communities" ADD "default_user_access" varchar(255) DEFAULT 'w'  (0.1ms) ALTER TABLE "communities" ADD "writers_ids" text DEFAULT '[]'  (0.3ms) ALTER TABLE "communities" ADD "banned_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "muted_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "invitations_uids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "public" boolean DEFAULT 't'  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (0.0ms) SELECT * FROM "users"  (0.2ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')  (0.0ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (0.0ms) SELECT * FROM "users"  (0.1ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]')  (0.1ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130217135512')  (4.4ms) commit transaction Migrating to RefactorFollowingsRelation (20130227154519)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_followings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "follower_id" integer, "followed_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) ALTER TABLE "users" ADD "follower_count" integer DEFAULT 0  (0.1ms) ALTER TABLE "users" ADD "following_count" integer DEFAULT 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0)  (0.0ms) SELECT * FROM "users"  (0.2ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0)   (0.0ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.0ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0)  (0.0ms) SELECT * FROM "users"  (0.1ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "communities_info" text DEFAULT '[]', "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0)   (0.0ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130227154519')  (5.5ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Connecting to database specified by database.yml  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.2ms) select sqlite_version(*)  (10.3ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]', "admins_info" text DEFAULT '[]', "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "writers_ids" text DEFAULT '[]', "banned_ids" text DEFAULT '[]', "muted_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't')   (4.3ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))  (4.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))   (3.8ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (9.0ms) CREATE TABLE "inkwell_followings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "follower_id" integer, "followed_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (3.6ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (5.5ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "communities_ids" text DEFAULT '[]')   (6.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "communities_info" text DEFAULT '[]', "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0)  (4.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (4.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (5.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130227154519')  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134951')  (4.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134949')  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134955')  (4.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213101736')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (5.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134952')  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130212130848')  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213121414')  (4.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130217135512')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134954')  (4.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134950')  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134953')  (4.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130210231424')  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')  (4.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750') Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556) Migrating to CreateCommunities (20130201155147) Migrating to CreateInkwellTimelineItems (20130208134948) Migrating to AddColumnsToPosts (20130208134949) Migrating to CreateInkwellBlogItems (20130208134950) Migrating to CreateInkwellFavoriteItems (20130208134951) Migrating to AddColumnsToUsers (20130208134952) Migrating to CreateInkwellComments (20130208134953) Migrating to ChangeTablesForCommunities (20130208134954) Migrating to AddCommunityIdsToPost (20130208134955) Migrating to ChangeIsCommentToItemType (20130210231424) Migrating to AddOwnerTypeToLines (20130212130848) Migrating to RefactorCommentTable (20130213101736) Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414) Migrating to ChangeCommunityTableForAddingTypesAndUserAccess (20130217135512) Migrating to RefactorFollowingsRelation (20130227154519) Migrating to RefactorUserCommunityRelation (20130228113859)  (0.1ms) select sqlite_version(*)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "inkwell_community_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "community_id" integer, "user_access" varchar(255) DEFAULT 'r', "is_admin" boolean DEFAULT 'f', "admin_level" integer, "muted" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) ALTER TABLE "communities" ADD "user_count" integer DEFAULT 0  (0.1ms) ALTER TABLE "communities" ADD "writer_count" integer DEFAULT 0  (0.1ms) ALTER TABLE "communities" ADD "admin_count" integer DEFAULT 0  (0.1ms) ALTER TABLE "communities" ADD "muted_count" integer DEFAULT 0 Community Load (0.1ms) SELECT "communities".* FROM "communities"   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130228113859')  (20.3ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (13.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (4.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20121202111750)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')  (5.9ms) commit transaction Migrating to CreateUsers (20121202112556)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')  (4.4ms) commit transaction Migrating to CreateCommunities (20130201155147)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')  (3.6ms) commit transaction Migrating to CreateInkwellTimelineItems (20130208134948)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134948')  (5.7ms) commit transaction Migrating to AddColumnsToPosts (20130208134949)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134949')  (4.6ms) commit transaction Migrating to CreateInkwellBlogItems (20130208134950)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134950')  (4.4ms) commit transaction Migrating to CreateInkwellFavoriteItems (20130208134951)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134951')  (5.6ms) commit transaction Migrating to AddColumnsToUsers (20130208134952)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134952')  (4.4ms) commit transaction Migrating to CreateInkwellComments (20130208134953)  (0.0ms) begin transaction  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134953')  (4.3ms) commit transaction Migrating to ChangeTablesForCommunities (20130208134954)  (0.0ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.3ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.2ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "owner_id" integer  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "is_owner_user" boolean  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.2ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "admins_info" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "admin_of" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "owner_id" integer  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134954')  (4.5ms) commit transaction Migrating to AddCommunityIdsToPost (20130208134955)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "posts" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134955')  (5.1ms) commit transaction Migrating to ChangeIsCommentToItemType (20130210231424)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "inkwell_blog_items" ADD "item_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_blog_items" SET "item_type" = 'c' WHERE "inkwell_blog_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_blog_items" SET "item_type" = 'p' WHERE "inkwell_blog_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.2ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.3ms) ALTER TABLE "inkwell_favorite_items" ADD "item_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'c' WHERE "inkwell_favorite_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'p' WHERE "inkwell_favorite_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (0.0ms) SELECT * FROM "inkwell_favorite_items"  (0.1ms) DROP TABLE "inkwell_favorite_items"  (0.0ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "item_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'c' WHERE "inkwell_timeline_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'p' WHERE "inkwell_timeline_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.2ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130210231424')  (4.5ms) commit transaction Migrating to AddOwnerTypeToLines (20130212130848)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "inkwell_blog_items" ADD "owner_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'u' WHERE "inkwell_blog_items"."is_owner_user" = 't' SQL (0.0ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'c' WHERE "inkwell_blog_items"."is_owner_user" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.2ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "owner_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "owner_type" = 'u'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_favorite_items"  (0.2ms) DROP TABLE "inkwell_favorite_items"  (0.1ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"  (0.2ms) DROP TABLE "altered_inkwell_favorite_items"  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "owner_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_timeline_items" SET "owner_type" = 'u'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.2ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130212130848')  (5.0ms) commit transaction Migrating to RefactorCommentTable (20130213101736)  (0.0ms) begin transaction  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) ALTER TABLE "inkwell_comments" ADD "topmost_obj_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_comments" SET "topmost_obj_type" = 'p'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213101736')  (5.6ms) commit transaction Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414)  (0.0ms) begin transaction  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))  (0.1ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213121414')  (4.6ms) commit transaction Migrating to ChangeCommunityTableForAddingTypesAndUserAccess (20130217135512)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "communities" ADD "default_user_access" varchar(255) DEFAULT 'w'  (0.1ms) ALTER TABLE "communities" ADD "writers_ids" text DEFAULT '[]'  (0.2ms) ALTER TABLE "communities" ADD "banned_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "muted_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "invitations_uids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "public" boolean DEFAULT 't'  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (0.0ms) SELECT * FROM "users"  (0.1ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')  (0.0ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.0ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (0.0ms) SELECT * FROM "users"  (0.1ms) DROP TABLE "users"  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]')  (0.1ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130217135512')  (4.5ms) commit transaction Migrating to RefactorFollowingsRelation (20130227154519)  (0.0ms) begin transaction  (0.4ms) CREATE TABLE "inkwell_followings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "follower_id" integer, "followed_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) ALTER TABLE "users" ADD "follower_count" integer DEFAULT 0  (0.1ms) ALTER TABLE "users" ADD "following_count" integer DEFAULT 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.0ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0)  (0.0ms) SELECT * FROM "users"  (0.2ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0)   (0.1ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0)  (0.0ms) SELECT * FROM "users"  (0.1ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "communities_info" text DEFAULT '[]', "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0)   (0.0ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130227154519')  (5.1ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556) Migrating to CreateCommunities (20130201155147) Migrating to CreateInkwellTimelineItems (20130208134948) Migrating to AddColumnsToPosts (20130208134949) Migrating to CreateInkwellBlogItems (20130208134950) Migrating to CreateInkwellFavoriteItems (20130208134951) Migrating to AddColumnsToUsers (20130208134952) Migrating to CreateInkwellComments (20130208134953) Migrating to ChangeTablesForCommunities (20130208134954) Migrating to AddCommunityIdsToPost (20130208134955) Migrating to ChangeIsCommentToItemType (20130210231424) Migrating to AddOwnerTypeToLines (20130212130848) Migrating to RefactorCommentTable (20130213101736) Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414) Migrating to ChangeCommunityTableForAddingTypesAndUserAccess (20130217135512) Migrating to RefactorFollowingsRelation (20130227154519) Migrating to RefactorUserCommunityRelation (20130228114538)  (0.0ms) select sqlite_version(*)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_community_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "community_id" integer, "user_access" varchar(255) DEFAULT 'r', "is_admin" boolean DEFAULT 'f', "admin_level" integer, "muted" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) ALTER TABLE "communities" ADD "user_count" integer DEFAULT 0  (0.1ms) ALTER TABLE "communities" ADD "writer_count" integer DEFAULT 0  (0.1ms) ALTER TABLE "communities" ADD "admin_count" integer DEFAULT 0  (0.1ms) ALTER TABLE "communities" ADD "muted_count" integer DEFAULT 0  (0.1ms) ALTER TABLE "users" ADD "community_count" integer DEFAULT 0 Community Load (0.0ms) SELECT "communities".* FROM "communities" User Load (0.0ms) SELECT "users".* FROM "users"   (0.2ms) CREATE TEMPORARY TABLE "altered_communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]', "admins_info" text DEFAULT '[]', "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "writers_ids" text DEFAULT '[]', "banned_ids" text DEFAULT '[]', "muted_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 0, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0)  (0.1ms) SELECT * FROM "communities"  (0.2ms) DROP TABLE "communities"  (0.2ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "admins_info" text DEFAULT '[]', "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "writers_ids" text DEFAULT '[]', "banned_ids" text DEFAULT '[]', "muted_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 0, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0)   (0.0ms) SELECT * FROM "altered_communities"  (0.1ms) DROP TABLE "altered_communities"  (0.1ms) CREATE TEMPORARY TABLE "altered_communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "admins_info" text DEFAULT '[]', "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "writers_ids" text DEFAULT '[]', "banned_ids" text DEFAULT '[]', "muted_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 0, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0)  (0.1ms) SELECT * FROM "communities"  (0.1ms) DROP TABLE "communities"  (0.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "admins_info" text DEFAULT '[]', "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "banned_ids" text DEFAULT '[]', "muted_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 0, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0)   (0.0ms) SELECT * FROM "altered_communities"  (0.1ms) DROP TABLE "altered_communities"  (0.1ms) CREATE TEMPORARY TABLE "altered_communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "admins_info" text DEFAULT '[]', "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "banned_ids" text DEFAULT '[]', "muted_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 0, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0)  (0.0ms) SELECT * FROM "communities"  (0.2ms) DROP TABLE "communities"  (0.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "banned_ids" text DEFAULT '[]', "muted_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 0, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0)   (0.1ms) SELECT * FROM "altered_communities"  (0.1ms) DROP TABLE "altered_communities"  (0.1ms) CREATE TEMPORARY TABLE "altered_communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "banned_ids" text DEFAULT '[]', "muted_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 0, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0)  (0.2ms) SELECT * FROM "communities"  (0.1ms) DROP TABLE "communities"  (0.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "banned_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 0, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0)   (0.1ms) SELECT * FROM "altered_communities"  (0.1ms) DROP TABLE "altered_communities"  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "communities_info" text DEFAULT '[]', "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0, "community_count" integer DEFAULT 0)  (0.0ms) SELECT * FROM "users"  (0.1ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0, "community_count" integer DEFAULT 0)   (0.0ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130228114538')  (322.1ms) commit transaction  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Connecting to database specified by database.yml  (0.7ms) select sqlite_version(*)  (20.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (3.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20121202111750)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')  (4.6ms) commit transaction Migrating to CreateUsers (20121202112556)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')  (3.5ms) commit transaction Migrating to CreateCommunities (20130201155147)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')  (3.9ms) commit transaction Migrating to CreateInkwellTimelineItems (20130208134948)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134948')  (5.2ms) commit transaction Migrating to AddColumnsToPosts (20130208134949)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'  (0.6ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134949')  (4.5ms) commit transaction Migrating to CreateInkwellBlogItems (20130208134950)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134950')  (5.2ms) commit transaction Migrating to CreateInkwellFavoriteItems (20130208134951)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134951')  (5.7ms) commit transaction Migrating to AddColumnsToUsers (20130208134952)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134952')  (4.1ms) commit transaction Migrating to CreateInkwellComments (20130208134953)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134953')  (5.3ms) commit transaction Migrating to ChangeTablesForCommunities (20130208134954)  (0.0ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "owner_id" integer  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "is_owner_user" boolean  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "admins_info" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "admin_of" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "owner_id" integer  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134954')  (4.8ms) commit transaction Migrating to AddCommunityIdsToPost (20130208134955)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "posts" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134955')  (3.3ms) commit transaction Migrating to ChangeIsCommentToItemType (20130210231424)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "inkwell_blog_items" ADD "item_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_blog_items" SET "item_type" = 'c' WHERE "inkwell_blog_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_blog_items" SET "item_type" = 'p' WHERE "inkwell_blog_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "item_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'c' WHERE "inkwell_favorite_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'p' WHERE "inkwell_favorite_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (0.0ms) SELECT * FROM "inkwell_favorite_items"  (0.1ms) DROP TABLE "inkwell_favorite_items"  (0.1ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "item_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'c' WHERE "inkwell_timeline_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'p' WHERE "inkwell_timeline_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (0.1ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130210231424')  (4.0ms) commit transaction Migrating to AddOwnerTypeToLines (20130212130848)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "inkwell_blog_items" ADD "owner_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'u' WHERE "inkwell_blog_items"."is_owner_user" = 't' SQL (0.0ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'c' WHERE "inkwell_blog_items"."is_owner_user" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "owner_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "owner_type" = 'u'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_favorite_items"  (0.1ms) DROP TABLE "inkwell_favorite_items"  (0.1ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "owner_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "owner_type" = 'u'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (0.1ms) SELECT * FROM "inkwell_timeline_items"  (0.2ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130212130848')  (4.0ms) commit transaction Migrating to RefactorCommentTable (20130213101736)  (0.0ms) begin transaction  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.2ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) ALTER TABLE "inkwell_comments" ADD "topmost_obj_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_comments" SET "topmost_obj_type" = 'p'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213101736')  (3.9ms) commit transaction Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414)  (0.0ms) begin transaction  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))  (0.1ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213121414')  (4.0ms) commit transaction Migrating to ChangeCommunityTableForAddingTypesAndUserAccess (20130217135512)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "communities" ADD "default_user_access" varchar(255) DEFAULT 'w'  (0.1ms) ALTER TABLE "communities" ADD "writers_ids" text DEFAULT '[]'  (0.2ms) ALTER TABLE "communities" ADD "banned_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "muted_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "invitations_uids" text DEFAULT '[]'  (0.2ms) ALTER TABLE "communities" ADD "public" boolean DEFAULT 't'  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (0.1ms) SELECT * FROM "users"  (0.1ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')  (0.1ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (0.0ms) SELECT * FROM "users"  (0.1ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]')  (0.1ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130217135512')  (4.4ms) commit transaction Migrating to RefactorFollowingsRelation (20130227154519)  (0.2ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_followings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "follower_id" integer, "followed_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) ALTER TABLE "users" ADD "follower_count" integer DEFAULT 0  (0.1ms) ALTER TABLE "users" ADD "following_count" integer DEFAULT 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0)  (0.0ms) SELECT * FROM "users"  (0.2ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0)   (0.0ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0)  (0.0ms) SELECT * FROM "users"  (0.1ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "communities_info" text DEFAULT '[]', "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0)   (0.0ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130227154519')  (10.2ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556) Migrating to CreateCommunities (20130201155147) Migrating to CreateInkwellTimelineItems (20130208134948) Migrating to AddColumnsToPosts (20130208134949) Migrating to CreateInkwellBlogItems (20130208134950) Migrating to CreateInkwellFavoriteItems (20130208134951) Migrating to AddColumnsToUsers (20130208134952) Migrating to CreateInkwellComments (20130208134953) Migrating to ChangeTablesForCommunities (20130208134954) Migrating to AddCommunityIdsToPost (20130208134955) Migrating to ChangeIsCommentToItemType (20130210231424) Migrating to AddOwnerTypeToLines (20130212130848) Migrating to RefactorCommentTable (20130213101736) Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414) Migrating to ChangeCommunityTableForAddingTypesAndUserAccess (20130217135512) Migrating to RefactorFollowingsRelation (20130227154519) Migrating to RefactorUserCommunityRelation (20130228115224)  (0.0ms) select sqlite_version(*)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "inkwell_community_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "community_id" integer, "user_access" varchar(255) DEFAULT 'r', "is_admin" boolean DEFAULT 'f', "admin_level" integer, "muted" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) ALTER TABLE "communities" ADD "user_count" integer DEFAULT 0  (0.1ms) ALTER TABLE "communities" ADD "writer_count" integer DEFAULT 0  (0.1ms) ALTER TABLE "communities" ADD "admin_count" integer DEFAULT 0  (0.1ms) ALTER TABLE "communities" ADD "muted_count" integer DEFAULT 0  (0.1ms) ALTER TABLE "users" ADD "community_count" integer DEFAULT 0 Community Load (0.1ms) SELECT "communities".* FROM "communities" SQL (0.6ms) INSERT INTO "inkwell_community_users" ("admin_level", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["admin_level", nil], ["community_id", 1], ["created_at", Thu, 28 Feb 2013 11:52:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 28 Feb 2013 11:52:30 UTC +00:00], ["user_access", "r"], ["user_id", 1]] SQL (0.1ms) INSERT INTO "inkwell_community_users" ("admin_level", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["admin_level", nil], ["community_id", 1], ["created_at", Thu, 28 Feb 2013 11:52:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 28 Feb 2013 11:52:30 UTC +00:00], ["user_access", "r"], ["user_id", 2]] SQL (0.1ms) INSERT INTO "inkwell_community_users" ("admin_level", "community_id", "created_at", "is_admin", "muted", "updated_at", "user_access", "user_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["admin_level", nil], ["community_id", 1], ["created_at", Thu, 28 Feb 2013 11:52:30 UTC +00:00], ["is_admin", false], ["muted", false], ["updated_at", Thu, 28 Feb 2013 11:52:30 UTC +00:00], ["user_access", "r"], ["user_id", 3]] SQL (0.2ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "user_access" = 'w' WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "is_admin" = 't', "admin_level" = 0 WHERE "inkwell_community_users"."user_id" = 1 AND "inkwell_community_users"."community_id" = 1 SQL (0.1ms) UPDATE "inkwell_community_users" SET "muted" = 't' WHERE "inkwell_community_users"."user_id" = 2 AND "inkwell_community_users"."community_id" = 1  (0.1ms) UPDATE "communities" SET "user_count" = 3, "writer_count" = 2, "admin_count" = 1, "muted_count" = 1, "updated_at" = '2013-02-28 11:52:30.964949' WHERE "communities"."id" = 1 User Load (0.1ms) SELECT "users".* FROM "users"   (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-02-28 11:52:30.977564' WHERE "users"."id" = 1  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-02-28 11:52:30.978610' WHERE "users"."id" = 2  (0.1ms) UPDATE "users" SET "community_count" = 1, "updated_at" = '2013-02-28 11:52:30.979143' WHERE "users"."id" = 3  (0.9ms) CREATE TEMPORARY TABLE "altered_communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]', "admins_info" text DEFAULT '[]', "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "writers_ids" text DEFAULT '[]', "banned_ids" text DEFAULT '[]', "muted_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 0, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0)   (0.1ms) SELECT * FROM "communities"  (0.2ms) INSERT INTO "altered_communities" ("id","name","created_at","updated_at","users_ids","admins_info","owner_id","default_user_access","writers_ids","banned_ids","muted_ids","invitations_uids","public","user_count","writer_count","admin_count","muted_count") VALUES (1, NULL, '2013-02-28 11:47:54.297430', '2013-02-28 11:52:30.964949', '[1,2,3]', '[{"admin_id":1,"admin_level":0}]', 1, 'w', '[1,2]', '[]', '[2]', '[]', 't', 3, 2, 1, 1)  (0.2ms) DROP TABLE "communities"  (0.2ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "admins_info" text DEFAULT '[]', "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "writers_ids" text DEFAULT '[]', "banned_ids" text DEFAULT '[]', "muted_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 0, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0)   (0.1ms) SELECT * FROM "altered_communities"  (0.0ms) INSERT INTO "communities" ("id","name","created_at","updated_at","admins_info","owner_id","default_user_access","writers_ids","banned_ids","muted_ids","invitations_uids","public","user_count","writer_count","admin_count","muted_count") VALUES (1, NULL, '2013-02-28 11:47:54.297430', '2013-02-28 11:52:30.964949', '[{"admin_id":1,"admin_level":0}]', 1, 'w', '[1,2]', '[]', '[2]', '[]', 't', 3, 2, 1, 1)  (0.1ms) DROP TABLE "altered_communities"  (0.1ms) CREATE TEMPORARY TABLE "altered_communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "admins_info" text DEFAULT '[]', "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "writers_ids" text DEFAULT '[]', "banned_ids" text DEFAULT '[]', "muted_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 0, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0)   (0.1ms) SELECT * FROM "communities"  (0.0ms) INSERT INTO "altered_communities" ("id","name","created_at","updated_at","admins_info","owner_id","default_user_access","writers_ids","banned_ids","muted_ids","invitations_uids","public","user_count","writer_count","admin_count","muted_count") VALUES (1, NULL, '2013-02-28 11:47:54.297430', '2013-02-28 11:52:30.964949', '[{"admin_id":1,"admin_level":0}]', 1, 'w', '[1,2]', '[]', '[2]', '[]', 't', 3, 2, 1, 1)  (0.1ms) DROP TABLE "communities"  (0.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "admins_info" text DEFAULT '[]', "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "banned_ids" text DEFAULT '[]', "muted_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 0, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0)   (0.1ms) SELECT * FROM "altered_communities"  (0.1ms) INSERT INTO "communities" ("id","name","created_at","updated_at","admins_info","owner_id","default_user_access","banned_ids","muted_ids","invitations_uids","public","user_count","writer_count","admin_count","muted_count") VALUES (1, NULL, '2013-02-28 11:47:54.297430', '2013-02-28 11:52:30.964949', '[{"admin_id":1,"admin_level":0}]', 1, 'w', '[]', '[2]', '[]', 't', 3, 2, 1, 1)  (0.1ms) DROP TABLE "altered_communities"  (0.1ms) CREATE TEMPORARY TABLE "altered_communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "admins_info" text DEFAULT '[]', "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "banned_ids" text DEFAULT '[]', "muted_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 0, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0)   (0.1ms) SELECT * FROM "communities"  (0.0ms) INSERT INTO "altered_communities" ("id","name","created_at","updated_at","admins_info","owner_id","default_user_access","banned_ids","muted_ids","invitations_uids","public","user_count","writer_count","admin_count","muted_count") VALUES (1, NULL, '2013-02-28 11:47:54.297430', '2013-02-28 11:52:30.964949', '[{"admin_id":1,"admin_level":0}]', 1, 'w', '[]', '[2]', '[]', 't', 3, 2, 1, 1)  (0.1ms) DROP TABLE "communities"  (0.0ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "banned_ids" text DEFAULT '[]', "muted_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 0, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0)   (0.1ms) SELECT * FROM "altered_communities"  (0.0ms) INSERT INTO "communities" ("id","name","created_at","updated_at","owner_id","default_user_access","banned_ids","muted_ids","invitations_uids","public","user_count","writer_count","admin_count","muted_count") VALUES (1, NULL, '2013-02-28 11:47:54.297430', '2013-02-28 11:52:30.964949', 1, 'w', '[]', '[2]', '[]', 't', 3, 2, 1, 1)  (0.1ms) DROP TABLE "altered_communities"  (0.1ms) CREATE TEMPORARY TABLE "altered_communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "banned_ids" text DEFAULT '[]', "muted_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 0, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0)   (0.0ms) SELECT * FROM "communities"  (0.0ms) INSERT INTO "altered_communities" ("id","name","created_at","updated_at","owner_id","default_user_access","banned_ids","muted_ids","invitations_uids","public","user_count","writer_count","admin_count","muted_count") VALUES (1, NULL, '2013-02-28 11:47:54.297430', '2013-02-28 11:52:30.964949', 1, 'w', '[]', '[2]', '[]', 't', 3, 2, 1, 1)  (0.1ms) DROP TABLE "communities"  (0.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "banned_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 0, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0)   (0.2ms) SELECT * FROM "altered_communities"  (0.0ms) INSERT INTO "communities" ("id","name","created_at","updated_at","owner_id","default_user_access","banned_ids","invitations_uids","public","user_count","writer_count","admin_count","muted_count") VALUES (1, NULL, '2013-02-28 11:47:54.297430', '2013-02-28 11:52:30.964949', 1, 'w', '[]', '[]', 't', 3, 2, 1, 1)  (0.1ms) DROP TABLE "altered_communities"  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "communities_info" text DEFAULT '[]', "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0, "community_count" integer DEFAULT 0)   (0.1ms) SELECT * FROM "users"  (0.1ms) INSERT INTO "altered_users" ("id","nick","created_at","updated_at","communities_info","follower_count","following_count","community_count") VALUES (1, NULL, '2013-02-28 11:46:33.864801', '2013-02-28 11:52:30.977564', '[{"c_id":1,"a":"w"}]', 0, 0, 1)  (0.0ms) INSERT INTO "altered_users" ("id","nick","created_at","updated_at","communities_info","follower_count","following_count","community_count") VALUES (2, NULL, '2013-02-28 11:46:39.575791', '2013-02-28 11:52:30.978610', '[{"c_id":1,"a":"w"}]', 0, 0, 1)  (0.0ms) INSERT INTO "altered_users" ("id","nick","created_at","updated_at","communities_info","follower_count","following_count","community_count") VALUES (3, NULL, '2013-02-28 11:50:51.438143', '2013-02-28 11:52:30.979143', '[{"c_id":1,"a":"r"}]', 0, 0, 1)  (0.1ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0, "community_count" integer DEFAULT 0)   (0.1ms) SELECT * FROM "altered_users"  (0.0ms) INSERT INTO "users" ("id","nick","created_at","updated_at","follower_count","following_count","community_count") VALUES (1, NULL, '2013-02-28 11:46:33.864801', '2013-02-28 11:52:30.977564', 0, 0, 1)  (0.0ms) INSERT INTO "users" ("id","nick","created_at","updated_at","follower_count","following_count","community_count") VALUES (2, NULL, '2013-02-28 11:46:39.575791', '2013-02-28 11:52:30.978610', 0, 0, 1)  (0.0ms) INSERT INTO "users" ("id","nick","created_at","updated_at","follower_count","following_count","community_count") VALUES (3, NULL, '2013-02-28 11:50:51.438143', '2013-02-28 11:52:30.979143', 0, 0, 1)  (0.1ms) DROP TABLE "altered_users"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130228115224')  (39.3ms) commit transaction  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (10.6ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "banned_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 0, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0)   (3.5ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))  (4.3ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))   (3.5ms) CREATE TABLE "inkwell_community_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "community_id" integer, "user_access" varchar(255) DEFAULT 'r', "is_admin" boolean DEFAULT 'f', "admin_level" integer, "muted" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (5.8ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (4.0ms) CREATE TABLE "inkwell_followings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "follower_id" integer, "followed_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (4.5ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (5.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "communities_ids" text DEFAULT '[]')  (4.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0, "community_count" integer DEFAULT 0)   (3.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (5.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT version FROM "schema_migrations"  (5.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130228115224')  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134951')  (4.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134949')  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134955')  (4.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130227154519')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213101736')  (4.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134952')  (4.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130212130848')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213121414')  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130217135512')  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134954')  (4.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (3.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134950')  (5.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134953')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130210231424')  (4.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750') Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml SQLite3::SQLException: no such column: communities.user_id: SELECT "communities".* FROM "communities" WHERE "communities"."user_id" = 1 Connecting to database specified by database.yml Connecting to database specified by database.yml SQLite3::SQLException: no such table: communities_users: SELECT "communities".* FROM "communities" INNER JOIN "communities_users" ON "communities"."id" = "communities_users"."community_id" WHERE "communities_users"."user_id" = 1 Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml SQLite3::SQLException: no such column: inkwell_community_users.communities_id: SELECT "communities".* FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."communities_id" WHERE "inkwell_community_users"."user_id" = 1 Connecting to database specified by database.yml SQLite3::SQLException: no such column: inkwell_community_users.communities_id: SELECT "communities".* FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."communities_id" WHERE "inkwell_community_users"."user_id" = 1 Connecting to database specified by database.yml SQLite3::SQLException: no such column: inkwell_community_users.communities_id: SELECT "communities".* FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."communities_id" WHERE "inkwell_community_users"."community_id" = 1 Connecting to database specified by database.yml SQLite3::SQLException: no such column: inkwell_community_users.communities_id: SELECT "communities".* FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."communities_id" WHERE "inkwell_community_users"."community_id" = 1 Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml SQLite3::SQLException: no such column: inkwell_community_users.communities_id: SELECT "communities".* FROM "communities" INNER JOIN "inkwell_community_users" ON "communities"."id" = "inkwell_community_users"."communities_id" WHERE "inkwell_community_users"."user_id" = 1 Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePosts (20121202111750) Migrating to CreateUsers (20121202112556) Migrating to CreateCommunities (20130201155147) Migrating to CreateInkwellTimelineItems (20130208134948) Migrating to AddColumnsToPosts (20130208134949) Migrating to CreateInkwellBlogItems (20130208134950) Migrating to CreateInkwellFavoriteItems (20130208134951) Migrating to AddColumnsToUsers (20130208134952) Migrating to CreateInkwellComments (20130208134953) Migrating to ChangeTablesForCommunities (20130208134954) Migrating to AddCommunityIdsToPost (20130208134955) Migrating to ChangeIsCommentToItemType (20130210231424) Migrating to AddOwnerTypeToLines (20130212130848) Migrating to RefactorCommentTable (20130213101736) Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414) Migrating to ChangeCommunityTableForAddingTypesAndUserAccess (20130217135512) Migrating to RefactorFollowingsRelation (20130227154519) Migrating to RefactorUserCommunityRelation (20130228115224) Migrating to RefactorInvitesBansMutes (20130312084409)  (0.0ms) select sqlite_version(*)  (0.0ms) begin transaction  (1.1ms) ALTER TABLE "communities" ADD "banned_count" integer DEFAULT 0  (0.1ms) ALTER TABLE "communities" ADD "invitation_count" integer DEFAULT 0  (0.1ms) CREATE TEMPORARY TABLE "altered_communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "banned_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 0, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0, "banned_count" integer DEFAULT 0, "invitation_count" integer DEFAULT 0)  (0.1ms) SELECT * FROM "communities"  (0.1ms) INSERT INTO "altered_communities" ("id","name","created_at","updated_at","owner_id","default_user_access","banned_ids","invitations_uids","public","user_count","writer_count","admin_count","muted_count","banned_count","invitation_count") VALUES (1, NULL, '2013-02-28 11:47:54.297430', '2013-02-28 11:52:30.964949', 1, 'w', '[]', '[]', 't', 3, 2, 1, 1, 0, 0)  (0.2ms) DROP TABLE "communities"  (0.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "banned_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 1, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0, "banned_count" integer DEFAULT 0, "invitation_count" integer DEFAULT 0)  (0.1ms) SELECT * FROM "altered_communities"  (0.0ms) INSERT INTO "communities" ("id","name","created_at","updated_at","owner_id","default_user_access","banned_ids","invitations_uids","public","user_count","writer_count","admin_count","muted_count","banned_count","invitation_count") VALUES (1, NULL, '2013-02-28 11:47:54.297430', '2013-02-28 11:52:30.964949', 1, 'w', '[]', '[]', 't', 3, 2, 1, 1, 0, 0)  (0.1ms) DROP TABLE "altered_communities"  (0.1ms) CREATE TEMPORARY TABLE "altered_communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "banned_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 1, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0, "banned_count" integer DEFAULT 0, "invitation_count" integer DEFAULT 0)  (0.1ms) SELECT * FROM "communities"  (0.0ms) INSERT INTO "altered_communities" ("id","name","created_at","updated_at","owner_id","default_user_access","banned_ids","invitations_uids","public","user_count","writer_count","admin_count","muted_count","banned_count","invitation_count") VALUES (1, NULL, '2013-02-28 11:47:54.297430', '2013-02-28 11:52:30.964949', 1, 'w', '[]', '[]', 't', 3, 2, 1, 1, 0, 0)  (0.1ms) DROP TABLE "communities"  (0.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "banned_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 1, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 1, "muted_count" integer DEFAULT 0, "banned_count" integer DEFAULT 0, "invitation_count" integer DEFAULT 0)  (0.1ms) SELECT * FROM "altered_communities"  (0.0ms) INSERT INTO "communities" ("id","name","created_at","updated_at","owner_id","default_user_access","banned_ids","invitations_uids","public","user_count","writer_count","admin_count","muted_count","banned_count","invitation_count") VALUES (1, NULL, '2013-02-28 11:47:54.297430', '2013-02-28 11:52:30.964949', 1, 'w', '[]', '[]', 't', 3, 2, 1, 1, 0, 0)  (0.1ms) DROP TABLE "altered_communities"  (0.1ms) ALTER TABLE "inkwell_community_users" ADD "active" boolean DEFAULT 'f'  (0.1ms) ALTER TABLE "inkwell_community_users" ADD "banned" boolean DEFAULT 'f'  (0.1ms) ALTER TABLE "inkwell_community_users" ADD "asked_invitation" boolean DEFAULT 'f' Community Load (0.1ms) SELECT "communities".* FROM "communities"   (0.2ms) CREATE TEMPORARY TABLE "altered_communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "banned_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 1, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 1, "muted_count" integer DEFAULT 0, "banned_count" integer DEFAULT 0, "invitation_count" integer DEFAULT 0)  (0.1ms) SELECT * FROM "communities"  (0.0ms) INSERT INTO "altered_communities" ("id","name","created_at","updated_at","owner_id","default_user_access","banned_ids","invitations_uids","public","user_count","writer_count","admin_count","muted_count","banned_count","invitation_count") VALUES (1, NULL, '2013-02-28 11:47:54.297430', '2013-02-28 11:52:30.964949', 1, 'w', '[]', '[]', 't', 3, 2, 1, 1, 0, 0)  (0.1ms) DROP TABLE "communities"  (0.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 1, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 1, "muted_count" integer DEFAULT 0, "banned_count" integer DEFAULT 0, "invitation_count" integer DEFAULT 0)  (0.1ms) SELECT * FROM "altered_communities"  (0.0ms) INSERT INTO "communities" ("id","name","created_at","updated_at","owner_id","default_user_access","invitations_uids","public","user_count","writer_count","admin_count","muted_count","banned_count","invitation_count") VALUES (1, NULL, '2013-02-28 11:47:54.297430', '2013-02-28 11:52:30.964949', 1, 'w', '[]', 't', 3, 2, 1, 1, 0, 0)  (0.1ms) DROP TABLE "altered_communities"  (0.1ms) CREATE TEMPORARY TABLE "altered_communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 1, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 1, "muted_count" integer DEFAULT 0, "banned_count" integer DEFAULT 0, "invitation_count" integer DEFAULT 0)  (0.0ms) SELECT * FROM "communities"  (0.0ms) INSERT INTO "altered_communities" ("id","name","created_at","updated_at","owner_id","default_user_access","invitations_uids","public","user_count","writer_count","admin_count","muted_count","banned_count","invitation_count") VALUES (1, NULL, '2013-02-28 11:47:54.297430', '2013-02-28 11:52:30.964949', 1, 'w', '[]', 't', 3, 2, 1, 1, 0, 0)  (0.1ms) DROP TABLE "communities"  (0.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 1, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 1, "muted_count" integer DEFAULT 0, "banned_count" integer DEFAULT 0, "invitation_count" integer DEFAULT 0)  (0.1ms) SELECT * FROM "altered_communities"  (0.0ms) INSERT INTO "communities" ("id","name","created_at","updated_at","owner_id","default_user_access","public","user_count","writer_count","admin_count","muted_count","banned_count","invitation_count") VALUES (1, NULL, '2013-02-28 11:47:54.297430', '2013-02-28 11:52:30.964949', 1, 'w', 't', 3, 2, 1, 1, 0, 0)  (0.2ms) DROP TABLE "altered_communities"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130312084409')  (22.5ms) commit transaction  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (37.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (4.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20121202111750)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')  (6.6ms) commit transaction Migrating to CreateUsers (20121202112556)  (0.0ms) begin transaction  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')  (8.1ms) commit transaction Migrating to CreateCommunities (20130201155147)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')  (5.1ms) commit transaction Migrating to CreateInkwellTimelineItems (20130208134948)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134948')  (5.1ms) commit transaction Migrating to AddColumnsToPosts (20130208134949)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134949')  (3.9ms) commit transaction Migrating to CreateInkwellBlogItems (20130208134950)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134950')  (6.0ms) commit transaction Migrating to CreateInkwellFavoriteItems (20130208134951)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134951')  (7.2ms) commit transaction Migrating to AddColumnsToUsers (20130208134952)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134952')  (5.1ms) commit transaction Migrating to CreateInkwellComments (20130208134953)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134953')  (6.3ms) commit transaction Migrating to ChangeTablesForCommunities (20130208134954)  (0.0ms) begin transaction  (0.0ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text, "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text, "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_comments"  (0.1ms) DROP TABLE "inkwell_comments"  (0.3ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "post_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "owner_id" integer  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "is_owner_user" boolean  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" varchar(255), "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "admins_info" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "users" ADD "admin_of" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "owner_id" integer  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134954')  (6.8ms) commit transaction Migrating to AddCommunityIdsToPost (20130208134955)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "posts" ADD "communities_ids" text DEFAULT '[]'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134955')  (7.4ms) commit transaction Migrating to ChangeIsCommentToItemType (20130210231424)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "inkwell_blog_items" ADD "item_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_blog_items" SET "item_type" = 'c' WHERE "inkwell_blog_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_blog_items" SET "item_type" = 'p' WHERE "inkwell_blog_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "item_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'c' WHERE "inkwell_favorite_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'p' WHERE "inkwell_favorite_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (0.0ms) SELECT * FROM "inkwell_favorite_items"  (0.2ms) DROP TABLE "inkwell_favorite_items"  (0.1ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "item_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'c' WHERE "inkwell_timeline_items"."is_comment" = 't' SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'p' WHERE "inkwell_timeline_items"."is_comment" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "is_comment" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))  (0.1ms) SELECT * FROM "inkwell_timeline_items"  (0.1ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "user_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.2ms) DROP TABLE "altered_inkwell_timeline_items"  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130210231424')  (4.8ms) commit transaction Migrating to AddOwnerTypeToLines (20130212130848)  (0.0ms) begin transaction  (0.4ms) ALTER TABLE "inkwell_blog_items" ADD "owner_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'u' WHERE "inkwell_blog_items"."is_owner_user" = 't' SQL (0.1ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'c' WHERE "inkwell_blog_items"."is_owner_user" = 'f'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "is_owner_user" boolean, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_blog_items"  (0.1ms) DROP TABLE "inkwell_blog_items"  (0.1ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_blog_items"  (0.1ms) DROP TABLE "altered_inkwell_blog_items"  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "owner_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "owner_type" = 'u'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_favorite_items"  (0.1ms) DROP TABLE "inkwell_favorite_items"  (0.1ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "owner_type" varchar(255) SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "owner_type" = 'u'  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))  (0.0ms) SELECT * FROM "inkwell_timeline_items"  (0.2ms) DROP TABLE "inkwell_timeline_items"  (0.1ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130212130848')  (9.1ms) commit transaction Migrating to RefactorCommentTable (20130213101736)  (0.1ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) SELECT * FROM "inkwell_comments"  (0.4ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) ALTER TABLE "inkwell_comments" ADD "topmost_obj_type" varchar(255) SQL (0.1ms) UPDATE "inkwell_comments" SET "topmost_obj_type" = 'p'  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213101736')  (5.0ms) commit transaction Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414)  (0.0ms) begin transaction  (0.1ms) CREATE TEMPORARY TABLE "altered_inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))  (0.1ms) SELECT * FROM "inkwell_comments"  (0.2ms) DROP TABLE "inkwell_comments"  (0.1ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))   (0.0ms) SELECT * FROM "altered_inkwell_comments"  (0.1ms) DROP TABLE "altered_inkwell_comments"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213121414')  (5.4ms) commit transaction Migrating to ChangeCommunityTableForAddingTypesAndUserAccess (20130217135512)  (0.0ms) begin transaction  (0.3ms) ALTER TABLE "communities" ADD "default_user_access" varchar(255) DEFAULT 'w'  (0.1ms) ALTER TABLE "communities" ADD "writers_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "banned_ids" text DEFAULT '[]'  (0.1ms) ALTER TABLE "communities" ADD "muted_ids" text DEFAULT '[]'  (1.2ms) ALTER TABLE "communities" ADD "invitations_uids" text DEFAULT '[]'  (0.2ms) ALTER TABLE "communities" ADD "public" boolean DEFAULT 't'  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (0.0ms) SELECT * FROM "users"  (0.2ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')  (0.1ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "admin_of" text DEFAULT '[]')   (0.0ms) SELECT * FROM "users"  (0.1ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]')  (0.0ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130217135512')  (4.4ms) commit transaction Migrating to RefactorFollowingsRelation (20130227154519)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "inkwell_followings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "follower_id" integer, "followed_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) ALTER TABLE "users" ADD "follower_count" integer DEFAULT 0  (0.1ms) ALTER TABLE "users" ADD "following_count" integer DEFAULT 0 User Load (0.1ms) SELECT "users".* FROM "users"   (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0)  (0.1ms) SELECT * FROM "users"  (0.2ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0)   (0.0ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.3ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "followings_ids" text DEFAULT '[]', "communities_info" text DEFAULT '[]', "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0)  (0.0ms) SELECT * FROM "users"  (0.1ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "communities_info" text DEFAULT '[]', "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0)   (0.0ms) SELECT * FROM "altered_users"  (0.2ms) DROP TABLE "altered_users"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130227154519')  (6.6ms) commit transaction Migrating to RefactorUserCommunityRelation (20130228115224)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "inkwell_community_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "community_id" integer, "user_access" varchar(255) DEFAULT 'r', "is_admin" boolean DEFAULT 'f', "admin_level" integer, "muted" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) ALTER TABLE "communities" ADD "user_count" integer DEFAULT 0  (0.1ms) ALTER TABLE "communities" ADD "writer_count" integer DEFAULT 0  (0.1ms) ALTER TABLE "communities" ADD "admin_count" integer DEFAULT 0  (0.1ms) ALTER TABLE "communities" ADD "muted_count" integer DEFAULT 0  (0.1ms) ALTER TABLE "users" ADD "community_count" integer DEFAULT 0 Community Load (0.1ms) SELECT "communities".* FROM "communities"  User Load (0.0ms) SELECT "users".* FROM "users"  (0.2ms) CREATE TEMPORARY TABLE "altered_communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids" text DEFAULT '[]', "admins_info" text DEFAULT '[]', "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "writers_ids" text DEFAULT '[]', "banned_ids" text DEFAULT '[]', "muted_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 0, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0)   (0.1ms) SELECT * FROM "communities"  (0.2ms) DROP TABLE "communities"  (0.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "admins_info" text DEFAULT '[]', "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "writers_ids" text DEFAULT '[]', "banned_ids" text DEFAULT '[]', "muted_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 0, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0)  (0.1ms) SELECT * FROM "altered_communities"  (0.1ms) DROP TABLE "altered_communities"  (0.1ms) CREATE TEMPORARY TABLE "altered_communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "admins_info" text DEFAULT '[]', "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "writers_ids" text DEFAULT '[]', "banned_ids" text DEFAULT '[]', "muted_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 0, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0)   (0.1ms) SELECT * FROM "communities"  (0.1ms) DROP TABLE "communities"  (0.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "admins_info" text DEFAULT '[]', "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "banned_ids" text DEFAULT '[]', "muted_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 0, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0)  (0.1ms) SELECT * FROM "altered_communities"  (0.1ms) DROP TABLE "altered_communities"  (0.1ms) CREATE TEMPORARY TABLE "altered_communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "admins_info" text DEFAULT '[]', "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "banned_ids" text DEFAULT '[]', "muted_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 0, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0)   (0.1ms) SELECT * FROM "communities"  (0.1ms) DROP TABLE "communities"  (0.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "banned_ids" text DEFAULT '[]', "muted_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 0, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0)  (0.7ms) SELECT * FROM "altered_communities"  (0.1ms) DROP TABLE "altered_communities"  (0.1ms) CREATE TEMPORARY TABLE "altered_communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "banned_ids" text DEFAULT '[]', "muted_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 0, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0)   (0.1ms) SELECT * FROM "communities"  (0.1ms) DROP TABLE "communities"  (0.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "banned_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 0, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0)  (0.0ms) SELECT * FROM "altered_communities"  (0.1ms) DROP TABLE "altered_communities"  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "communities_info" text DEFAULT '[]', "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0, "community_count" integer DEFAULT 0)   (0.0ms) SELECT * FROM "users"  (0.1ms) DROP TABLE "users"  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0, "community_count" integer DEFAULT 0)  (0.0ms) SELECT * FROM "altered_users"  (0.1ms) DROP TABLE "altered_users"  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130228115224')  (5.7ms) commit transaction Migrating to RefactorInvitesBansMutes (20130312084529)  (0.0ms) begin transaction  (0.2ms) ALTER TABLE "communities" ADD "banned_count" integer DEFAULT 0  (0.1ms) ALTER TABLE "communities" ADD "invitation_count" integer DEFAULT 0  (0.1ms) CREATE TEMPORARY TABLE "altered_communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "banned_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 0, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0, "banned_count" integer DEFAULT 0, "invitation_count" integer DEFAULT 0)  (0.0ms) SELECT * FROM "communities"  (0.2ms) DROP TABLE "communities"  (0.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "banned_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 1, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0, "banned_count" integer DEFAULT 0, "invitation_count" integer DEFAULT 0)   (0.0ms) SELECT * FROM "altered_communities"  (0.1ms) DROP TABLE "altered_communities"  (0.6ms) CREATE TEMPORARY TABLE "altered_communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "banned_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 1, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 0, "muted_count" integer DEFAULT 0, "banned_count" integer DEFAULT 0, "invitation_count" integer DEFAULT 0)  (0.0ms) SELECT * FROM "communities"  (0.1ms) DROP TABLE "communities"  (0.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "banned_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 1, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 1, "muted_count" integer DEFAULT 0, "banned_count" integer DEFAULT 0, "invitation_count" integer DEFAULT 0)   (0.1ms) SELECT * FROM "altered_communities"  (0.0ms) DROP TABLE "altered_communities"  (0.1ms) CREATE TEMPORARY TABLE "altered_communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "banned_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 1, "writer_count" integer DEFAULT 0, "admin_count" integer DEFAULT 1, "muted_count" integer DEFAULT 0, "banned_count" integer DEFAULT 0, "invitation_count" integer DEFAULT 0)  (0.0ms) SELECT * FROM "communities"  (0.1ms) DROP TABLE "communities"  (1.0ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "banned_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 1, "writer_count" integer DEFAULT 1, "admin_count" integer DEFAULT 1, "muted_count" integer DEFAULT 0, "banned_count" integer DEFAULT 0, "invitation_count" integer DEFAULT 0)   (0.0ms) SELECT * FROM "altered_communities"  (0.1ms) DROP TABLE "altered_communities"  (0.1ms) ALTER TABLE "inkwell_community_users" ADD "active" boolean DEFAULT 'f'  (0.1ms) ALTER TABLE "inkwell_community_users" ADD "banned" boolean DEFAULT 'f'  (0.1ms) ALTER TABLE "inkwell_community_users" ADD "asked_invitation" boolean DEFAULT 'f' Community Load (0.1ms) SELECT "communities".* FROM "communities"   (0.1ms) CREATE TEMPORARY TABLE "altered_communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "banned_ids" text DEFAULT '[]', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 1, "writer_count" integer DEFAULT 1, "admin_count" integer DEFAULT 1, "muted_count" integer DEFAULT 0, "banned_count" integer DEFAULT 0, "invitation_count" integer DEFAULT 0)  (0.0ms) SELECT * FROM "communities"  (0.1ms) DROP TABLE "communities"  (0.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 1, "writer_count" integer DEFAULT 1, "admin_count" integer DEFAULT 1, "muted_count" integer DEFAULT 0, "banned_count" integer DEFAULT 0, "invitation_count" integer DEFAULT 0)   (0.0ms) SELECT * FROM "altered_communities"  (0.1ms) DROP TABLE "altered_communities"  (0.1ms) CREATE TEMPORARY TABLE "altered_communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "invitations_uids" text DEFAULT '[]', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 1, "writer_count" integer DEFAULT 1, "admin_count" integer DEFAULT 1, "muted_count" integer DEFAULT 0, "banned_count" integer DEFAULT 0, "invitation_count" integer DEFAULT 0)  (0.1ms) SELECT * FROM "communities"  (0.1ms) DROP TABLE "communities"  (0.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 1, "writer_count" integer DEFAULT 1, "admin_count" integer DEFAULT 1, "muted_count" integer DEFAULT 0, "banned_count" integer DEFAULT 0, "invitation_count" integer DEFAULT 0)   (0.1ms) SELECT * FROM "altered_communities"  (0.1ms) DROP TABLE "altered_communities"  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130312084529')  (5.8ms) commit transaction  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Connecting to database specified by database.yml  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) select sqlite_version(*)  (375.8ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "default_user_access" varchar(255) DEFAULT 'w', "public" boolean DEFAULT 't', "user_count" integer DEFAULT 1, "writer_count" integer DEFAULT 1, "admin_count" integer DEFAULT 1, "muted_count" integer DEFAULT 0, "banned_count" integer DEFAULT 0, "invitation_count" integer DEFAULT 0)   (6.6ms) CREATE TABLE "inkwell_blog_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "is_reblog" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_id" integer, "item_type" varchar(255), "owner_type" varchar(255))  (8.2ms) CREATE TABLE "inkwell_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "body" text, "parent_comment_id" integer, "topmost_obj_id" integer, "upper_comments_tree" text, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "topmost_obj_type" varchar(255))   (5.9ms) CREATE TABLE "inkwell_community_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "community_id" integer, "user_access" varchar(255) DEFAULT 'r', "is_admin" boolean DEFAULT 'f', "admin_level" integer, "muted" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "active" boolean DEFAULT 'f', "banned" boolean DEFAULT 'f', "asked_invitation" boolean DEFAULT 'f')  (7.5ms) CREATE TABLE "inkwell_favorite_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (6.1ms) CREATE TABLE "inkwell_followings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "follower_id" integer, "followed_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (6.0ms) CREATE TABLE "inkwell_timeline_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_id" integer, "owner_id" integer, "from_source" text DEFAULT '[]', "has_many_sources" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "item_type" varchar(255), "owner_type" varchar(255))   (8.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "users_ids_who_favorite_it" text DEFAULT '[]', "users_ids_who_comment_it" text DEFAULT '[]', "users_ids_who_reblog_it" text DEFAULT '[]', "communities_ids" text DEFAULT '[]')  (6.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "nick" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "follower_count" integer DEFAULT 0, "following_count" integer DEFAULT 0, "community_count" integer DEFAULT 0)   (4.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (7.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (5.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130312084529')  (5.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134951')  (6.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134949')  (5.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134955')  (5.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130227154519')  (5.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213101736')  (5.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')  (5.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134952')  (5.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130212130848')  (5.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213121414')  (5.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130228115224')  (5.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130217135512')  (4.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134954')  (5.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')  (5.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134950')  (5.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134953')  (5.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130210231424')  (5.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')  (5.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750') Connecting to database specified by database.yml