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 @@
[1m[36m (4.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130208134748')[0m
[1m[35m (4.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130208134744')
[1m[36m (4.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130208134746')[0m
[1m[35m (4.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121202111750')
[1m[36m (4.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130208134747')[0m
+Connecting to database specified by database.yml
+ [1m[36m (2.5ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+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)
+ [1m[35m (0.0ms)[0m select sqlite_version(*)
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.3ms)[0m ALTER TABLE "inkwell_blog_items" ADD "item_type" varchar(255)
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "inkwell_blog_items" SET "item_type" = 'c' WHERE "inkwell_blog_items"."is_comment" = 't'[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "inkwell_blog_items" SET "item_type" = 'p' WHERE "inkwell_blog_items"."is_comment" = 'f'
+ [1m[36m (0.1ms)[0m [1mCREATE 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)) [0m
+ [1m[35m (0.0ms)[0m SELECT * FROM "inkwell_blog_items"
+ [1m[36m (0.2ms)[0m [1mDROP TABLE "inkwell_blog_items"[0m
+ [1m[35m (0.1ms)[0m 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))
+ [1m[36m (0.0ms)[0m [1mSELECT * FROM "altered_inkwell_blog_items"[0m
+ [1m[35m (0.1ms)[0m DROP TABLE "altered_inkwell_blog_items"
+ [1m[36m (0.1ms)[0m [1mALTER TABLE "inkwell_favorite_items" ADD "item_type" varchar(255)[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "inkwell_favorite_items" SET "item_type" = 'c' WHERE "inkwell_favorite_items"."is_comment" = 't'
+ [1m[36mSQL (0.0ms)[0m [1mUPDATE "inkwell_favorite_items" SET "item_type" = 'p' WHERE "inkwell_favorite_items"."is_comment" = 'f'[0m
+ [1m[35m (0.1ms)[0m 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))
+ [1m[36m (0.0ms)[0m [1mSELECT * FROM "inkwell_favorite_items"[0m
+ [1m[35m (0.1ms)[0m DROP TABLE "inkwell_favorite_items"
+ [1m[36m (0.1ms)[0m [1mCREATE 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)) [0m
+ [1m[35m (0.0ms)[0m SELECT * FROM "altered_inkwell_favorite_items"
+ [1m[36m (0.1ms)[0m [1mDROP TABLE "altered_inkwell_favorite_items"[0m
+ [1m[35m (0.1ms)[0m ALTER TABLE "inkwell_timeline_items" ADD "item_type" varchar(255)
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "inkwell_timeline_items" SET "item_type" = 'c' WHERE "inkwell_timeline_items"."is_comment" = 't'[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "inkwell_timeline_items" SET "item_type" = 'p' WHERE "inkwell_timeline_items"."is_comment" = 'f'
+ [1m[36m (0.1ms)[0m [1mCREATE 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)) [0m
+ [1m[35m (0.2ms)[0m SELECT * FROM "inkwell_timeline_items"
+ [1m[36m (0.1ms)[0m [1mDROP TABLE "inkwell_timeline_items"[0m
+ [1m[35m (0.1ms)[0m 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))
+ [1m[36m (0.1ms)[0m [1mSELECT * FROM "altered_inkwell_timeline_items"[0m
+ [1m[35m (0.1ms)[0m DROP TABLE "altered_inkwell_timeline_items"
+ [1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130213115833')[0m
+ [1m[35m (19.3ms)[0m commit transaction
+Migrating to AddOwnerTypeToLines (20130213115834)
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.3ms)[0m ALTER TABLE "inkwell_blog_items" ADD "owner_type" varchar(255)
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "inkwell_blog_items" SET "owner_type" = 'u' WHERE "inkwell_blog_items"."is_owner_user" = 't'[0m
+ [1m[35mSQL (0.0ms)[0m UPDATE "inkwell_blog_items" SET "owner_type" = 'c' WHERE "inkwell_blog_items"."is_owner_user" = 'f'
+ [1m[36m (0.0ms)[0m [1mCREATE 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)) [0m
+ [1m[35m (0.5ms)[0m SELECT * FROM "inkwell_blog_items"
+ [1m[36m (0.1ms)[0m [1mDROP TABLE "inkwell_blog_items"[0m
+ [1m[35m (0.2ms)[0m 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))
+ [1m[36m (0.0ms)[0m [1mSELECT * FROM "altered_inkwell_blog_items"[0m
+ [1m[35m (0.1ms)[0m DROP TABLE "altered_inkwell_blog_items"
+ [1m[36m (0.1ms)[0m [1mALTER TABLE "inkwell_favorite_items" ADD "owner_type" varchar(255)[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "inkwell_favorite_items" SET "owner_type" = 'u'
+ [1m[36m (0.1ms)[0m [1mCREATE 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)) [0m
+ [1m[35m (0.0ms)[0m SELECT * FROM "inkwell_favorite_items"
+ [1m[36m (0.1ms)[0m [1mDROP TABLE "inkwell_favorite_items"[0m
+ [1m[35m (0.1ms)[0m 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))
+ [1m[36m (0.0ms)[0m [1mSELECT * FROM "altered_inkwell_favorite_items"[0m
+ [1m[35m (0.1ms)[0m DROP TABLE "altered_inkwell_favorite_items"
+ [1m[36m (0.1ms)[0m [1mALTER TABLE "inkwell_timeline_items" ADD "owner_type" varchar(255)[0m
+ [1m[35mSQL (0.1ms)[0m UPDATE "inkwell_timeline_items" SET "owner_type" = 'u'
+ [1m[36m (0.2ms)[0m [1mCREATE 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)) [0m
+ [1m[35m (0.0ms)[0m SELECT * FROM "inkwell_timeline_items"
+ [1m[36m (0.1ms)[0m [1mDROP TABLE "inkwell_timeline_items"[0m
+ [1m[35m (0.3ms)[0m 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))
+ [1m[36m (0.1ms)[0m [1mSELECT * FROM "altered_inkwell_timeline_items"[0m
+ [1m[35m (0.1ms)[0m DROP TABLE "altered_inkwell_timeline_items"
+ [1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130213115834')[0m
+ [1m[35m (4.8ms)[0m commit transaction
+Migrating to RefactorCommentTable (20130213115835)
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.1ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mSELECT * FROM "inkwell_comments"[0m
+ [1m[35m (0.3ms)[0m DROP TABLE "inkwell_comments"
+ [1m[36m (0.3ms)[0m [1mCREATE 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) [0m
+ [1m[35m (0.0ms)[0m SELECT * FROM "altered_inkwell_comments"
+ [1m[36m (0.1ms)[0m [1mDROP TABLE "altered_inkwell_comments"[0m
+ [1m[35m (0.1ms)[0m ALTER TABLE "inkwell_comments" ADD "topmost_obj_type" varchar(255)
+ [1m[36mSQL (0.1ms)[0m [1mUPDATE "inkwell_comments" SET "topmost_obj_type" = 'p'[0m
+ [1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130213115835')
+ [1m[36m (4.3ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
+Connecting to database specified by database.yml
+ [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (34.7ms)[0m [1mCREATE 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)) [0m
+ [1m[35m (5.4ms)[0m 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))
+ [1m[36m (11.2ms)[0m [1mCREATE 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)) [0m
+ [1m[35m (7.6ms)[0m 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))
+ [1m[36m (8.1ms)[0m [1mCREATE 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 '[]') [0m
+ [1m[35m (6.6ms)[0m 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 '[]')
+ [1m[36m (6.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
+ [1m[35m (9.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
+ [1m[35m (6.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130213115835')
+ [1m[36m (7.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130208134749')[0m
+ [1m[35m (6.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130208134745')
+ [1m[36m (7.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121202112556')[0m
+ [1m[35m (6.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130208134743')
+ [1m[36m (6.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130208134748')[0m
+ [1m[35m (6.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130213115834')
+ [1m[36m (5.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130213115833')[0m
+ [1m[35m (7.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130208134744')
+ [1m[36m (6.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130208134746')[0m
+ [1m[35m (6.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121202111750')
+ [1m[36m (5.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130208134750')[0m
+ [1m[35m (7.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130208134747')