test/dummy_without_community/log/development.log in inkwell-1.0.5 vs test/dummy_without_community/log/development.log in inkwell-1.1.1

- old
+ new

@@ -1083,5 +1083,116 @@  (4.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134748')  (4.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134744')  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134746')  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750')  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134747') +Connecting to database specified by database.yml +  (2.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  +Migrating to CreatePosts (20121202111750) +Migrating to CreateUsers (20121202112556) +Migrating to CreateInkwellTimelineItems (20130208134743) +Migrating to AddColumnsToPosts (20130208134744) +Migrating to CreateInkwellBlogItems (20130208134745) +Migrating to CreateInkwellFavoriteItems (20130208134746) +Migrating to AddColumnsToUsers (20130208134747) +Migrating to CreateInkwellComments (20130208134748) +Migrating to ChangeTablesForCommunities (20130208134749) +Migrating to AddCommunityIdsToPost (20130208134750) +Migrating to ChangeIsCommentToItemType (20130213115833) +  (0.0ms) select sqlite_version(*) +  (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.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.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.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.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.2ms) 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 ('20130213115833') +  (19.3ms) commit transaction +Migrating to AddOwnerTypeToLines (20130213115834) +  (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.0ms) 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.5ms) 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, "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.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.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.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)) +  (0.1ms) SELECT * FROM "altered_inkwell_timeline_items" +  (0.1ms) DROP TABLE "altered_inkwell_timeline_items" +  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213115834') +  (4.8ms) commit transaction +Migrating to RefactorCommentTable (20130213115835) +  (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.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.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213115835') +  (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(*) +  (34.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))  +  (5.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, "topmost_obj_type" varchar(255)) +  (11.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))  +  (7.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)) +  (8.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 '[]')  +  (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, "followers_ids" text DEFAULT '[]', "followings_ids" text DEFAULT '[]') +  (6.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  +  (9.0ms) 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 ('20130213115835') +  (7.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134749') +  (6.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134745') +  (7.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556') +  (6.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134743') +  (6.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134748') +  (6.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213115834') +  (5.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213115833') +  (7.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134744') +  (6.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134746') +  (6.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750') +  (5.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134750') +  (7.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134747')