inkwell 1.1.1 → 1.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  class Community < ActiveRecord::Base
2
- attr_accessible :name, :owner_id
2
+ attr_accessible :name, :owner_id, :public
3
3
 
4
4
  acts_as_inkwell_community
5
5
  end
@@ -0,0 +1,15 @@
1
+ # This migration comes from inkwell (originally 20130212130878)
2
+ class ChangeCommunityTableForAddingTypesAndUserAccess < ActiveRecord::Migration
3
+ def change
4
+ if ::Inkwell::Engine::config.respond_to?('community_table')
5
+ add_column ::Inkwell::Engine::config.community_table, :default_user_access, :string, :default => 'w'
6
+ add_column ::Inkwell::Engine::config.community_table, :writers_ids, :text, :default => '[]'
7
+ add_column ::Inkwell::Engine::config.community_table, :banned_ids, :text, :default => '[]'
8
+ add_column ::Inkwell::Engine::config.community_table, :muted_ids, :text, :default => '[]'
9
+ add_column ::Inkwell::Engine::config.community_table, :invitations_uids, :text, :default => '[]'
10
+ add_column ::Inkwell::Engine::config.community_table, :public, :boolean, :default => true
11
+ rename_column ::Inkwell::Engine::config.user_table, :communities_ids, :communities_info
12
+ remove_column ::Inkwell::Engine::config.user_table, :admin_of
13
+ end
14
+ end
15
+ end
@@ -11,15 +11,21 @@
11
11
  #
12
12
  # It's strongly recommended to check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(:version => 20130213121414) do
14
+ ActiveRecord::Schema.define(:version => 20130217135512) do
15
15
 
16
16
  create_table "communities", :force => true do |t|
17
17
  t.string "name"
18
- t.datetime "created_at", :null => false
19
- t.datetime "updated_at", :null => false
20
- t.text "users_ids", :default => "[]"
21
- t.text "admins_info", :default => "[]"
18
+ t.datetime "created_at", :null => false
19
+ t.datetime "updated_at", :null => false
20
+ t.text "users_ids", :default => "[]"
21
+ t.text "admins_info", :default => "[]"
22
22
  t.integer "owner_id"
23
+ t.string "default_user_access", :default => "w"
24
+ t.text "writers_ids", :default => "[]"
25
+ t.text "banned_ids", :default => "[]"
26
+ t.text "muted_ids", :default => "[]"
27
+ t.text "invitations_uids", :default => "[]"
28
+ t.boolean "public", :default => true
23
29
  end
24
30
 
25
31
  create_table "inkwell_blog_items", :force => true do |t|
@@ -80,12 +86,11 @@ ActiveRecord::Schema.define(:version => 20130213121414) do
80
86
 
81
87
  create_table "users", :force => true do |t|
82
88
  t.string "nick"
83
- t.datetime "created_at", :null => false
84
- t.datetime "updated_at", :null => false
85
- t.text "followers_ids", :default => "[]"
86
- t.text "followings_ids", :default => "[]"
87
- t.text "communities_ids", :default => "[]"
88
- t.text "admin_of", :default => "[]"
89
+ t.datetime "created_at", :null => false
90
+ t.datetime "updated_at", :null => false
91
+ t.text "followers_ids", :default => "[]"
92
+ t.text "followings_ids", :default => "[]"
93
+ t.text "communities_info", :default => "[]"
89
94
  end
90
95
 
91
96
  end
Binary file
@@ -2899,3 +2899,1504 @@ Connecting to database specified by database.yml
2899
2899
   (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130210231424')
2900
2900
   (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')
2901
2901
   (4.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750')
2902
+ Connecting to database specified by database.yml
2903
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2904
+ Migrating to CreatePosts (20121202111750)
2905
+ Migrating to CreateUsers (20121202112556)
2906
+ Migrating to CreateCommunities (20130201155147)
2907
+ Migrating to CreateInkwellTimelineItems (20130208134948)
2908
+ Migrating to AddColumnsToPosts (20130208134949)
2909
+ Migrating to CreateInkwellBlogItems (20130208134950)
2910
+ Migrating to CreateInkwellFavoriteItems (20130208134951)
2911
+ Migrating to AddColumnsToUsers (20130208134952)
2912
+ Migrating to CreateInkwellComments (20130208134953)
2913
+ Migrating to ChangeTablesForCommunities (20130208134954)
2914
+ Migrating to AddCommunityIdsToPost (20130208134955)
2915
+ Migrating to ChangeIsCommentToItemType (20130210231424)
2916
+ Migrating to AddOwnerTypeToLines (20130212130848)
2917
+ Migrating to RefactorCommentTable (20130213101736)
2918
+ Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414)
2919
+ Migrating to AddCommunityTypeAndDefaultAccessToCommunityTable (20130214113046)
2920
+  (0.0ms) select sqlite_version(*)
2921
+  (0.0ms) begin transaction
2922
+  (0.3ms) ALTER TABLE "communities" ADD "default_user_access" varchar(255)
2923
+  (0.1ms) ALTER TABLE "communities" ADD "readers_ids" text DEFAULT '[]'
2924
+  (0.2ms) ALTER TABLE "communities" ADD "writers_ids" text DEFAULT '[]'
2925
+  (0.1ms) ALTER TABLE "communities" ADD "banned_ids" text DEFAULT '[]'
2926
+  (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 '[]')
2927
+  (0.0ms) SELECT * FROM "users"
2928
+  (0.2ms) DROP TABLE "users"
2929
+  (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 '[]') 
2930
+  (0.0ms) SELECT * FROM "altered_users"
2931
+  (0.1ms) DROP TABLE "altered_users"
2932
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130214113046')
2933
+  (77.7ms) commit transaction
2934
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
2935
+ Connecting to database specified by database.yml
2936
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2937
+  (0.1ms) select sqlite_version(*)
2938
+  (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 '[]') 
2939
+  (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))
2940
+  (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)) 
2941
+  (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))
2942
+  (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)) 
2943
+  (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 '[]')
2944
+  (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 '[]') 
2945
+  (4.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
2946
+  (5.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2947
+  (0.1ms) SELECT version FROM "schema_migrations"
2948
+  (5.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130214113046')
2949
+  (4.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134951')
2950
+  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134949')
2951
+  (5.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134955')
2952
+  (4.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213101736')
2953
+  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')
2954
+  (4.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134952')
2955
+  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130212130848')
2956
+  (4.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213121414')
2957
+  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134954')
2958
+  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')
2959
+  (4.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134950')
2960
+  (4.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134953')
2961
+  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130210231424')
2962
+  (4.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')
2963
+  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750')
2964
+ Connecting to database specified by database.yml
2965
+  (0.1ms) select sqlite_version(*)
2966
+  (18.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
2967
+  (4.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2968
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
2969
+ Migrating to CreatePosts (20121202111750)
2970
+  (0.0ms) begin transaction
2971
+  (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)
2972
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')
2973
+  (7.2ms) commit transaction
2974
+ Migrating to CreateUsers (20121202112556)
2975
+  (0.1ms) begin transaction
2976
+  (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)
2977
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')
2978
+  (10.3ms) commit transaction
2979
+ Migrating to CreateCommunities (20130201155147)
2980
+  (0.1ms) begin transaction
2981
+  (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)
2982
+  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')
2983
+  (6.3ms) commit transaction
2984
+ Migrating to CreateInkwellTimelineItems (20130208134948)
2985
+  (0.2ms) begin transaction
2986
+  (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)
2987
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134948')
2988
+  (6.0ms) commit transaction
2989
+ Migrating to AddColumnsToPosts (20130208134949)
2990
+  (0.0ms) begin transaction
2991
+  (0.5ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'
2992
+  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'
2993
+  (0.3ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'
2994
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134949')
2995
+  (5.4ms) commit transaction
2996
+ Migrating to CreateInkwellBlogItems (20130208134950)
2997
+  (0.0ms) begin transaction
2998
+  (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)
2999
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134950')
3000
+  (4.4ms) commit transaction
3001
+ Migrating to CreateInkwellFavoriteItems (20130208134951)
3002
+  (0.0ms) begin transaction
3003
+  (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)
3004
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134951')
3005
+  (6.8ms) commit transaction
3006
+ Migrating to AddColumnsToUsers (20130208134952)
3007
+  (0.0ms) begin transaction
3008
+  (0.3ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'
3009
+  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'
3010
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134952')
3011
+  (4.8ms) commit transaction
3012
+ Migrating to CreateInkwellComments (20130208134953)
3013
+  (0.1ms) begin transaction
3014
+  (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) 
3015
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134953')
3016
+  (4.6ms) commit transaction
3017
+ Migrating to ChangeTablesForCommunities (20130208134954)
3018
+  (0.0ms) begin transaction
3019
+  (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) 
3020
+  (0.1ms) SELECT * FROM "inkwell_comments"
3021
+  (0.4ms) DROP TABLE "inkwell_comments"
3022
+  (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)
3023
+  (0.1ms) SELECT * FROM "altered_inkwell_comments"
3024
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
3025
+  (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) 
3026
+  (0.1ms) SELECT * FROM "inkwell_comments"
3027
+  (0.2ms) DROP TABLE "inkwell_comments"
3028
+  (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)
3029
+  (0.1ms) SELECT * FROM "altered_inkwell_comments"
3030
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
3031
+  (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) 
3032
+  (0.1ms) SELECT * FROM "inkwell_comments"
3033
+  (0.2ms) DROP TABLE "inkwell_comments"
3034
+  (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)
3035
+  (0.1ms) SELECT * FROM "altered_inkwell_comments"
3036
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
3037
+  (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) 
3038
+  (0.1ms) SELECT * FROM "inkwell_blog_items"
3039
+  (0.2ms) DROP TABLE "inkwell_blog_items"
3040
+  (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)
3041
+  (0.1ms) SELECT * FROM "altered_inkwell_blog_items"
3042
+  (0.1ms) DROP TABLE "altered_inkwell_blog_items"
3043
+  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "owner_id" integer
3044
+  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "is_owner_user" boolean
3045
+  (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) 
3046
+  (0.1ms) SELECT * FROM "inkwell_timeline_items"
3047
+  (0.2ms) DROP TABLE "inkwell_timeline_items"
3048
+  (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)
3049
+  (0.1ms) SELECT * FROM "altered_inkwell_timeline_items"
3050
+  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"
3051
+  (0.2ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'
3052
+  (0.1ms) ALTER TABLE "communities" ADD "admins_info" text DEFAULT '[]'
3053
+  (0.1ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'
3054
+  (0.1ms) ALTER TABLE "users" ADD "admin_of" text DEFAULT '[]'
3055
+  (0.1ms) ALTER TABLE "communities" ADD "owner_id" integer
3056
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134954')
3057
+  (5.9ms) commit transaction
3058
+ Migrating to AddCommunityIdsToPost (20130208134955)
3059
+  (0.0ms) begin transaction
3060
+  (0.5ms) ALTER TABLE "posts" ADD "communities_ids" text DEFAULT '[]'
3061
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134955')
3062
+  (5.5ms) commit transaction
3063
+ Migrating to ChangeIsCommentToItemType (20130210231424)
3064
+  (0.0ms) begin transaction
3065
+  (0.3ms) ALTER TABLE "inkwell_blog_items" ADD "item_type" varchar(255)
3066
+ SQL (0.1ms) UPDATE "inkwell_blog_items" SET "item_type" = 'c' WHERE "inkwell_blog_items"."is_comment" = 't'
3067
+ SQL (0.0ms) UPDATE "inkwell_blog_items" SET "item_type" = 'p' WHERE "inkwell_blog_items"."is_comment" = 'f'
3068
+  (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))
3069
+  (0.0ms) SELECT * FROM "inkwell_blog_items"
3070
+  (0.2ms) DROP TABLE "inkwell_blog_items"
3071
+  (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)) 
3072
+  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"
3073
+  (0.2ms) DROP TABLE "altered_inkwell_blog_items"
3074
+  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "item_type" varchar(255)
3075
+ SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'c' WHERE "inkwell_favorite_items"."is_comment" = 't'
3076
+ SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'p' WHERE "inkwell_favorite_items"."is_comment" = 'f'
3077
+  (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)) 
3078
+  (0.0ms) SELECT * FROM "inkwell_favorite_items"
3079
+  (0.1ms) DROP TABLE "inkwell_favorite_items"
3080
+  (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))
3081
+  (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"
3082
+  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"
3083
+  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "item_type" varchar(255)
3084
+ SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'c' WHERE "inkwell_timeline_items"."is_comment" = 't'
3085
+ SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'p' WHERE "inkwell_timeline_items"."is_comment" = 'f'
3086
+  (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))
3087
+  (0.0ms) SELECT * FROM "inkwell_timeline_items"
3088
+  (0.1ms) DROP TABLE "inkwell_timeline_items"
3089
+  (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)) 
3090
+  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"
3091
+  (0.2ms) DROP TABLE "altered_inkwell_timeline_items"
3092
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130210231424')
3093
+  (3.7ms) commit transaction
3094
+ Migrating to AddOwnerTypeToLines (20130212130848)
3095
+  (0.0ms) begin transaction
3096
+  (0.2ms) ALTER TABLE "inkwell_blog_items" ADD "owner_type" varchar(255)
3097
+ SQL (0.1ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'u' WHERE "inkwell_blog_items"."is_owner_user" = 't'
3098
+ SQL (0.0ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'c' WHERE "inkwell_blog_items"."is_owner_user" = 'f'
3099
+  (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))
3100
+  (0.0ms) SELECT * FROM "inkwell_blog_items"
3101
+  (0.1ms) DROP TABLE "inkwell_blog_items"
3102
+  (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)) 
3103
+  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"
3104
+  (0.1ms) DROP TABLE "altered_inkwell_blog_items"
3105
+  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "owner_type" varchar(255)
3106
+ SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "owner_type" = 'u'
3107
+  (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))
3108
+  (0.0ms) SELECT * FROM "inkwell_favorite_items"
3109
+  (0.2ms) DROP TABLE "inkwell_favorite_items"
3110
+  (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)) 
3111
+  (0.1ms) SELECT * FROM "altered_inkwell_favorite_items"
3112
+  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"
3113
+  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "owner_type" varchar(255)
3114
+ SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "owner_type" = 'u'
3115
+  (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))
3116
+  (0.0ms) SELECT * FROM "inkwell_timeline_items"
3117
+  (0.9ms) DROP TABLE "inkwell_timeline_items"
3118
+  (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)) 
3119
+  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"
3120
+  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"
3121
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130212130848')
3122
+  (4.4ms) commit transaction
3123
+ Migrating to RefactorCommentTable (20130213101736)
3124
+  (0.0ms) begin transaction
3125
+  (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) 
3126
+  (0.1ms) SELECT * FROM "inkwell_comments"
3127
+  (0.2ms) DROP TABLE "inkwell_comments"
3128
+  (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)
3129
+  (0.0ms) SELECT * FROM "altered_inkwell_comments"
3130
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
3131
+  (0.1ms) ALTER TABLE "inkwell_comments" ADD "topmost_obj_type" varchar(255)
3132
+ SQL (0.1ms) UPDATE "inkwell_comments" SET "topmost_obj_type" = 'p'
3133
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213101736')
3134
+  (4.2ms) commit transaction
3135
+ Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414)
3136
+  (0.0ms) begin transaction
3137
+  (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))
3138
+  (0.1ms) SELECT * FROM "inkwell_comments"
3139
+  (0.3ms) DROP TABLE "inkwell_comments"
3140
+  (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)) 
3141
+  (0.0ms) SELECT * FROM "altered_inkwell_comments"
3142
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
3143
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213121414')
3144
+  (4.3ms) commit transaction
3145
+ Migrating to AddCommunityTypeAndDefaultAccessToCommunityTable (20130215075512)
3146
+  (0.0ms) begin transaction
3147
+  (0.2ms) ALTER TABLE "communities" ADD "default_user_access" varchar(255)
3148
+  (0.1ms) ALTER TABLE "communities" ADD "readers_ids" text DEFAULT '[]'
3149
+  (0.3ms) ALTER TABLE "communities" ADD "writers_ids" text DEFAULT '[]'
3150
+  (0.1ms) ALTER TABLE "communities" ADD "banned_ids" text DEFAULT '[]'
3151
+  (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 '[]') 
3152
+  (0.0ms) SELECT * FROM "users"
3153
+  (0.1ms) DROP TABLE "users"
3154
+  (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 '[]')
3155
+  (0.0ms) SELECT * FROM "altered_users"
3156
+  (0.1ms) DROP TABLE "altered_users"
3157
+  (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 '[]') 
3158
+  (0.0ms) SELECT * FROM "users"
3159
+  (0.1ms) DROP TABLE "users"
3160
+  (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 '[]')
3161
+  (0.0ms) SELECT * FROM "altered_users"
3162
+  (0.1ms) DROP TABLE "altered_users"
3163
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130215075512')
3164
+  (3.8ms) commit transaction
3165
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3166
+ Connecting to database specified by database.yml
3167
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3168
+  (0.1ms) select sqlite_version(*)
3169
+  (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 '[]') 
3170
+  (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))
3171
+  (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)) 
3172
+  (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))
3173
+  (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)) 
3174
+  (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 '[]')
3175
+  (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 '[]') 
3176
+  (4.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3177
+  (4.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3178
+  (0.0ms) SELECT version FROM "schema_migrations"
3179
+  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130215075512')
3180
+  (4.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134951')
3181
+  (3.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134949')
3182
+  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134955')
3183
+  (3.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213101736')
3184
+  (4.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')
3185
+  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134952')
3186
+  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130212130848')
3187
+  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213121414')
3188
+  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134954')
3189
+  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')
3190
+  (4.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134950')
3191
+  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134953')
3192
+  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130210231424')
3193
+  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')
3194
+  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750')
3195
+ Connecting to database specified by database.yml
3196
+  (0.1ms) select sqlite_version(*)
3197
+  (22.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3198
+  (3.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3199
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
3200
+ Migrating to CreatePosts (20121202111750)
3201
+  (0.0ms) begin transaction
3202
+  (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)
3203
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')
3204
+  (4.7ms) commit transaction
3205
+ Migrating to CreateUsers (20121202112556)
3206
+  (0.0ms) begin transaction
3207
+  (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)
3208
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')
3209
+  (3.1ms) commit transaction
3210
+ Migrating to CreateCommunities (20130201155147)
3211
+  (0.0ms) begin transaction
3212
+  (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)
3213
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')
3214
+  (2.7ms) commit transaction
3215
+ Migrating to CreateInkwellTimelineItems (20130208134948)
3216
+  (0.0ms) begin transaction
3217
+  (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)
3218
+  (1.9ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134948')
3219
+  (8.0ms) commit transaction
3220
+ Migrating to AddColumnsToPosts (20130208134949)
3221
+  (0.0ms) begin transaction
3222
+  (0.3ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'
3223
+  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'
3224
+  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'
3225
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134949')
3226
+  (4.4ms) commit transaction
3227
+ Migrating to CreateInkwellBlogItems (20130208134950)
3228
+  (0.0ms) begin transaction
3229
+  (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)
3230
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134950')
3231
+  (15.9ms) commit transaction
3232
+ Migrating to CreateInkwellFavoriteItems (20130208134951)
3233
+  (0.1ms) begin transaction
3234
+  (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)
3235
+  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134951')
3236
+  (4.3ms) commit transaction
3237
+ Migrating to AddColumnsToUsers (20130208134952)
3238
+  (0.0ms) begin transaction
3239
+  (0.0ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'
3240
+  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'
3241
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134952')
3242
+  (4.0ms) commit transaction
3243
+ Migrating to CreateInkwellComments (20130208134953)
3244
+  (0.0ms) begin transaction
3245
+  (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) 
3246
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134953')
3247
+  (70.2ms) commit transaction
3248
+ Migrating to ChangeTablesForCommunities (20130208134954)
3249
+  (0.0ms) begin transaction
3250
+  (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) 
3251
+  (0.1ms) SELECT * FROM "inkwell_comments"
3252
+  (0.2ms) DROP TABLE "inkwell_comments"
3253
+  (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)
3254
+  (0.0ms) SELECT * FROM "altered_inkwell_comments"
3255
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
3256
+  (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) 
3257
+  (0.0ms) SELECT * FROM "inkwell_comments"
3258
+  (0.1ms) DROP TABLE "inkwell_comments"
3259
+  (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)
3260
+  (0.0ms) SELECT * FROM "altered_inkwell_comments"
3261
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
3262
+  (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) 
3263
+  (0.1ms) SELECT * FROM "inkwell_comments"
3264
+  (0.1ms) DROP TABLE "inkwell_comments"
3265
+  (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)
3266
+  (0.0ms) SELECT * FROM "altered_inkwell_comments"
3267
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
3268
+  (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) 
3269
+  (0.0ms) SELECT * FROM "inkwell_blog_items"
3270
+  (0.1ms) DROP TABLE "inkwell_blog_items"
3271
+  (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)
3272
+  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"
3273
+  (0.0ms) DROP TABLE "altered_inkwell_blog_items"
3274
+  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "owner_id" integer
3275
+  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "is_owner_user" boolean
3276
+  (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) 
3277
+  (0.0ms) SELECT * FROM "inkwell_timeline_items"
3278
+  (0.0ms) DROP TABLE "inkwell_timeline_items"
3279
+  (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)
3280
+  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"
3281
+  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"
3282
+  (0.1ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'
3283
+  (0.2ms) ALTER TABLE "communities" ADD "admins_info" text DEFAULT '[]'
3284
+  (0.1ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'
3285
+  (0.1ms) ALTER TABLE "users" ADD "admin_of" text DEFAULT '[]'
3286
+  (0.0ms) ALTER TABLE "communities" ADD "owner_id" integer
3287
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134954')
3288
+  (166.9ms) commit transaction
3289
+ Migrating to AddCommunityIdsToPost (20130208134955)
3290
+  (0.1ms) begin transaction
3291
+  (0.4ms) ALTER TABLE "posts" ADD "communities_ids" text DEFAULT '[]'
3292
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134955')
3293
+  (9.1ms) commit transaction
3294
+ Migrating to ChangeIsCommentToItemType (20130210231424)
3295
+  (0.0ms) begin transaction
3296
+  (0.3ms) ALTER TABLE "inkwell_blog_items" ADD "item_type" varchar(255)
3297
+ SQL (9.7ms) UPDATE "inkwell_blog_items" SET "item_type" = 'c' WHERE "inkwell_blog_items"."is_comment" = 't'
3298
+ SQL (0.1ms) UPDATE "inkwell_blog_items" SET "item_type" = 'p' WHERE "inkwell_blog_items"."is_comment" = 'f'
3299
+  (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))
3300
+  (0.0ms) SELECT * FROM "inkwell_blog_items"
3301
+  (0.1ms) DROP TABLE "inkwell_blog_items"
3302
+  (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)) 
3303
+  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"
3304
+  (0.1ms) DROP TABLE "altered_inkwell_blog_items"
3305
+  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "item_type" varchar(255)
3306
+ SQL (0.1ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'c' WHERE "inkwell_favorite_items"."is_comment" = 't'
3307
+ SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'p' WHERE "inkwell_favorite_items"."is_comment" = 'f'
3308
+  (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)) 
3309
+  (0.0ms) SELECT * FROM "inkwell_favorite_items"
3310
+  (0.1ms) DROP TABLE "inkwell_favorite_items"
3311
+  (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))
3312
+  (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"
3313
+  (0.2ms) DROP TABLE "altered_inkwell_favorite_items"
3314
+  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "item_type" varchar(255)
3315
+ SQL (0.5ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'c' WHERE "inkwell_timeline_items"."is_comment" = 't'
3316
+ SQL (0.1ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'p' WHERE "inkwell_timeline_items"."is_comment" = 'f'
3317
+  (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))
3318
+  (0.0ms) SELECT * FROM "inkwell_timeline_items"
3319
+  (0.1ms) DROP TABLE "inkwell_timeline_items"
3320
+  (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)) 
3321
+  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"
3322
+  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"
3323
+  (2.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130210231424')
3324
+  (3.8ms) commit transaction
3325
+ Migrating to AddOwnerTypeToLines (20130212130848)
3326
+  (0.0ms) begin transaction
3327
+  (0.2ms) ALTER TABLE "inkwell_blog_items" ADD "owner_type" varchar(255)
3328
+ SQL (0.1ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'u' WHERE "inkwell_blog_items"."is_owner_user" = 't'
3329
+ SQL (0.0ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'c' WHERE "inkwell_blog_items"."is_owner_user" = 'f'
3330
+  (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))
3331
+  (0.0ms) SELECT * FROM "inkwell_blog_items"
3332
+  (0.1ms) DROP TABLE "inkwell_blog_items"
3333
+  (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)) 
3334
+  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"
3335
+  (0.1ms) DROP TABLE "altered_inkwell_blog_items"
3336
+  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "owner_type" varchar(255)
3337
+ SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "owner_type" = 'u'
3338
+  (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))
3339
+  (0.0ms) SELECT * FROM "inkwell_favorite_items"
3340
+  (0.1ms) DROP TABLE "inkwell_favorite_items"
3341
+  (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)) 
3342
+  (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"
3343
+  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"
3344
+  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "owner_type" varchar(255)
3345
+ SQL (0.1ms) UPDATE "inkwell_timeline_items" SET "owner_type" = 'u'
3346
+  (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))
3347
+  (0.6ms) SELECT * FROM "inkwell_timeline_items"
3348
+  (4.3ms) DROP TABLE "inkwell_timeline_items"
3349
+  (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)) 
3350
+  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"
3351
+  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"
3352
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130212130848')
3353
+  (3.8ms) commit transaction
3354
+ Migrating to RefactorCommentTable (20130213101736)
3355
+  (0.0ms) begin transaction
3356
+  (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) 
3357
+  (0.1ms) SELECT * FROM "inkwell_comments"
3358
+  (0.4ms) DROP TABLE "inkwell_comments"
3359
+  (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)
3360
+  (0.0ms) SELECT * FROM "altered_inkwell_comments"
3361
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
3362
+  (0.0ms) ALTER TABLE "inkwell_comments" ADD "topmost_obj_type" varchar(255)
3363
+ SQL (0.0ms) UPDATE "inkwell_comments" SET "topmost_obj_type" = 'p'
3364
+  (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213101736')
3365
+  (7.2ms) commit transaction
3366
+ Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414)
3367
+  (0.0ms) begin transaction
3368
+  (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))
3369
+  (0.1ms) SELECT * FROM "inkwell_comments"
3370
+  (0.3ms) DROP TABLE "inkwell_comments"
3371
+  (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)) 
3372
+  (0.0ms) SELECT * FROM "altered_inkwell_comments"
3373
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
3374
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213121414')
3375
+  (3.8ms) commit transaction
3376
+ Migrating to ChangeCommunityTableForAddingTypesAndUserAccess (20130215122550)
3377
+  (0.0ms) begin transaction
3378
+  (0.2ms) ALTER TABLE "communities" ADD "default_user_access" varchar(255) DEFAULT 'w'
3379
+  (0.1ms) ALTER TABLE "communities" ADD "readers_ids" text DEFAULT '[]'
3380
+  (0.1ms) ALTER TABLE "communities" ADD "writers_ids" text DEFAULT '[]'
3381
+  (0.1ms) ALTER TABLE "communities" ADD "banned_ids" text DEFAULT '[]'
3382
+  (0.1ms) ALTER TABLE "communities" ADD "open" boolean DEFAULT 't'
3383
+  (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 '[]')
3384
+  (0.0ms) SELECT * FROM "users"
3385
+  (0.2ms) DROP TABLE "users"
3386
+  (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 '[]') 
3387
+  (0.0ms) SELECT * FROM "altered_users"
3388
+  (0.1ms) DROP TABLE "altered_users"
3389
+  (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 '[]')
3390
+  (0.0ms) SELECT * FROM "users"
3391
+  (0.1ms) DROP TABLE "users"
3392
+  (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 '[]') 
3393
+  (0.0ms) SELECT * FROM "altered_users"
3394
+  (0.1ms) DROP TABLE "altered_users"
3395
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130215122550')
3396
+  (4.7ms) commit transaction
3397
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
3398
+ Connecting to database specified by database.yml
3399
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3400
+  (0.2ms) select sqlite_version(*)
3401
+  (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') 
3402
+  (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))
3403
+  (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)) 
3404
+  (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))
3405
+  (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)) 
3406
+  (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 '[]')
3407
+  (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 '[]') 
3408
+  (4.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3409
+  (2.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3410
+  (0.0ms) SELECT version FROM "schema_migrations"
3411
+  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130215122550')
3412
+  (2.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134951')
3413
+  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134949')
3414
+  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134955')
3415
+  (2.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213101736')
3416
+  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')
3417
+  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134952')
3418
+  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130212130848')
3419
+  (3.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213121414')
3420
+  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134954')
3421
+  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')
3422
+  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134950')
3423
+  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134953')
3424
+  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130210231424')
3425
+  (3.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')
3426
+  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750')
3427
+ Connecting to database specified by database.yml
3428
+  (0.1ms) select sqlite_version(*)
3429
+  (37.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3430
+  (3.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3431
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
3432
+ Migrating to CreatePosts (20121202111750)
3433
+  (0.0ms) begin transaction
3434
+  (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)
3435
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')
3436
+  (5.3ms) commit transaction
3437
+ Migrating to CreateUsers (20121202112556)
3438
+  (0.0ms) begin transaction
3439
+  (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)
3440
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')
3441
+  (5.1ms) commit transaction
3442
+ Migrating to CreateCommunities (20130201155147)
3443
+  (0.0ms) begin transaction
3444
+  (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)
3445
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')
3446
+  (3.9ms) commit transaction
3447
+ Migrating to CreateInkwellTimelineItems (20130208134948)
3448
+  (0.0ms) begin transaction
3449
+  (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)
3450
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134948')
3451
+  (6.1ms) commit transaction
3452
+ Migrating to AddColumnsToPosts (20130208134949)
3453
+  (0.0ms) begin transaction
3454
+  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'
3455
+  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'
3456
+  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'
3457
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134949')
3458
+  (4.2ms) commit transaction
3459
+ Migrating to CreateInkwellBlogItems (20130208134950)
3460
+  (0.0ms) begin transaction
3461
+  (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)
3462
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134950')
3463
+  (3.9ms) commit transaction
3464
+ Migrating to CreateInkwellFavoriteItems (20130208134951)
3465
+  (0.0ms) begin transaction
3466
+  (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)
3467
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134951')
3468
+  (3.9ms) commit transaction
3469
+ Migrating to AddColumnsToUsers (20130208134952)
3470
+  (0.0ms) begin transaction
3471
+  (0.2ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'
3472
+  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'
3473
+  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134952')
3474
+  (4.0ms) commit transaction
3475
+ Migrating to CreateInkwellComments (20130208134953)
3476
+  (0.0ms) begin transaction
3477
+  (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) 
3478
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134953')
3479
+  (5.4ms) commit transaction
3480
+ Migrating to ChangeTablesForCommunities (20130208134954)
3481
+  (0.0ms) begin transaction
3482
+  (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) 
3483
+  (0.2ms) SELECT * FROM "inkwell_comments"
3484
+  (0.2ms) DROP TABLE "inkwell_comments"
3485
+  (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)
3486
+  (0.1ms) SELECT * FROM "altered_inkwell_comments"
3487
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
3488
+  (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) 
3489
+  (0.0ms) SELECT * FROM "inkwell_comments"
3490
+  (0.1ms) DROP TABLE "inkwell_comments"
3491
+  (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)
3492
+  (0.1ms) SELECT * FROM "altered_inkwell_comments"
3493
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
3494
+  (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) 
3495
+  (0.1ms) SELECT * FROM "inkwell_comments"
3496
+  (0.2ms) DROP TABLE "inkwell_comments"
3497
+  (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)
3498
+  (0.0ms) SELECT * FROM "altered_inkwell_comments"
3499
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
3500
+  (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) 
3501
+  (0.0ms) SELECT * FROM "inkwell_blog_items"
3502
+  (0.1ms) DROP TABLE "inkwell_blog_items"
3503
+  (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)
3504
+  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"
3505
+  (0.0ms) DROP TABLE "altered_inkwell_blog_items"
3506
+  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "owner_id" integer
3507
+  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "is_owner_user" boolean
3508
+  (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) 
3509
+  (0.0ms) SELECT * FROM "inkwell_timeline_items"
3510
+  (0.1ms) DROP TABLE "inkwell_timeline_items"
3511
+  (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)
3512
+  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"
3513
+  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"
3514
+  (0.2ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'
3515
+  (0.1ms) ALTER TABLE "communities" ADD "admins_info" text DEFAULT '[]'
3516
+  (0.1ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'
3517
+  (0.1ms) ALTER TABLE "users" ADD "admin_of" text DEFAULT '[]'
3518
+  (0.1ms) ALTER TABLE "communities" ADD "owner_id" integer
3519
+  (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134954')
3520
+  (4.7ms) commit transaction
3521
+ Migrating to AddCommunityIdsToPost (20130208134955)
3522
+  (0.0ms) begin transaction
3523
+  (0.2ms) ALTER TABLE "posts" ADD "communities_ids" text DEFAULT '[]'
3524
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134955')
3525
+  (3.6ms) commit transaction
3526
+ Migrating to ChangeIsCommentToItemType (20130210231424)
3527
+  (0.0ms) begin transaction
3528
+  (0.3ms) ALTER TABLE "inkwell_blog_items" ADD "item_type" varchar(255)
3529
+ SQL (0.1ms) UPDATE "inkwell_blog_items" SET "item_type" = 'c' WHERE "inkwell_blog_items"."is_comment" = 't'
3530
+ SQL (0.0ms) UPDATE "inkwell_blog_items" SET "item_type" = 'p' WHERE "inkwell_blog_items"."is_comment" = 'f'
3531
+  (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))
3532
+  (0.1ms) SELECT * FROM "inkwell_blog_items"
3533
+  (6.8ms) DROP TABLE "inkwell_blog_items"
3534
+  (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)) 
3535
+  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"
3536
+  (0.1ms) DROP TABLE "altered_inkwell_blog_items"
3537
+  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "item_type" varchar(255)
3538
+ SQL (0.1ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'c' WHERE "inkwell_favorite_items"."is_comment" = 't'
3539
+ SQL (0.1ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'p' WHERE "inkwell_favorite_items"."is_comment" = 'f'
3540
+  (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)) 
3541
+  (0.1ms) SELECT * FROM "inkwell_favorite_items"
3542
+  (0.2ms) DROP TABLE "inkwell_favorite_items"
3543
+  (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))
3544
+  (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"
3545
+  (0.0ms) DROP TABLE "altered_inkwell_favorite_items"
3546
+  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "item_type" varchar(255)
3547
+ SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'c' WHERE "inkwell_timeline_items"."is_comment" = 't'
3548
+ SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'p' WHERE "inkwell_timeline_items"."is_comment" = 'f'
3549
+  (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))
3550
+  (0.1ms) SELECT * FROM "inkwell_timeline_items"
3551
+  (2.3ms) DROP TABLE "inkwell_timeline_items"
3552
+  (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)) 
3553
+  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"
3554
+  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"
3555
+  (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130210231424')
3556
+  (4.9ms) commit transaction
3557
+ Migrating to AddOwnerTypeToLines (20130212130848)
3558
+  (0.1ms) begin transaction
3559
+  (0.2ms) ALTER TABLE "inkwell_blog_items" ADD "owner_type" varchar(255)
3560
+ SQL (0.1ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'u' WHERE "inkwell_blog_items"."is_owner_user" = 't'
3561
+ SQL (0.0ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'c' WHERE "inkwell_blog_items"."is_owner_user" = 'f'
3562
+  (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))
3563
+  (0.0ms) SELECT * FROM "inkwell_blog_items"
3564
+  (0.1ms) DROP TABLE "inkwell_blog_items"
3565
+  (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)) 
3566
+  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"
3567
+  (0.1ms) DROP TABLE "altered_inkwell_blog_items"
3568
+  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "owner_type" varchar(255)
3569
+ SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "owner_type" = 'u'
3570
+  (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))
3571
+  (0.0ms) SELECT * FROM "inkwell_favorite_items"
3572
+  (0.2ms) DROP TABLE "inkwell_favorite_items"
3573
+  (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)) 
3574
+  (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"
3575
+  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"
3576
+  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "owner_type" varchar(255)
3577
+ SQL (0.1ms) UPDATE "inkwell_timeline_items" SET "owner_type" = 'u'
3578
+  (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))
3579
+  (0.1ms) SELECT * FROM "inkwell_timeline_items"
3580
+  (0.1ms) DROP TABLE "inkwell_timeline_items"
3581
+  (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)) 
3582
+  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"
3583
+  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"
3584
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130212130848')
3585
+  (4.5ms) commit transaction
3586
+ Migrating to RefactorCommentTable (20130213101736)
3587
+  (0.0ms) begin transaction
3588
+  (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) 
3589
+  (0.1ms) SELECT * FROM "inkwell_comments"
3590
+  (0.3ms) DROP TABLE "inkwell_comments"
3591
+  (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)
3592
+  (0.1ms) SELECT * FROM "altered_inkwell_comments"
3593
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
3594
+  (0.1ms) ALTER TABLE "inkwell_comments" ADD "topmost_obj_type" varchar(255)
3595
+ SQL (0.1ms) UPDATE "inkwell_comments" SET "topmost_obj_type" = 'p'
3596
+  (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213101736')
3597
+  (5.0ms) commit transaction
3598
+ Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414)
3599
+  (0.0ms) begin transaction
3600
+  (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))
3601
+  (0.2ms) SELECT * FROM "inkwell_comments"
3602
+  (0.6ms) DROP TABLE "inkwell_comments"
3603
+  (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)) 
3604
+  (0.1ms) SELECT * FROM "altered_inkwell_comments"
3605
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
3606
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213121414')
3607
+  (4.4ms) commit transaction
3608
+ Migrating to ChangeCommunityTableForAddingTypesAndUserAccess (20130215125700)
3609
+  (0.0ms) begin transaction
3610
+  (0.1ms) ALTER TABLE "communities" ADD "default_user_access" varchar(255) DEFAULT 'w'
3611
+  (0.2ms) ALTER TABLE "communities" ADD "readers_ids" text DEFAULT '[]'
3612
+  (0.1ms) ALTER TABLE "communities" ADD "writers_ids" text DEFAULT '[]'
3613
+  (0.1ms) ALTER TABLE "communities" ADD "banned_ids" text DEFAULT '[]'
3614
+  (0.1ms) ALTER TABLE "communities" ADD "public" boolean DEFAULT 't'
3615
+  (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 '[]')
3616
+  (0.0ms) SELECT * FROM "users"
3617
+  (0.2ms) DROP TABLE "users"
3618
+  (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 '[]') 
3619
+  (0.0ms) SELECT * FROM "altered_users"
3620
+  (0.1ms) DROP TABLE "altered_users"
3621
+  (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 '[]')
3622
+  (0.1ms) SELECT * FROM "users"
3623
+  (0.1ms) DROP TABLE "users"
3624
+  (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 '[]') 
3625
+  (0.1ms) SELECT * FROM "altered_users"
3626
+  (0.1ms) DROP TABLE "altered_users"
3627
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130215125700')
3628
+  (6.9ms) commit transaction
3629
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
3630
+ Connecting to database specified by database.yml
3631
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3632
+  (0.1ms) select sqlite_version(*)
3633
+  (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') 
3634
+  (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))
3635
+  (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)) 
3636
+  (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))
3637
+  (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)) 
3638
+  (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 '[]')
3639
+  (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 '[]') 
3640
+  (3.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3641
+  (3.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3642
+  (0.0ms) SELECT version FROM "schema_migrations"
3643
+  (3.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130215125700')
3644
+  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134951')
3645
+  (4.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134949')
3646
+  (3.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134955')
3647
+  (3.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213101736')
3648
+  (7.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')
3649
+  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134952')
3650
+  (3.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130212130848')
3651
+  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213121414')
3652
+  (3.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134954')
3653
+  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')
3654
+  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134950')
3655
+  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134953')
3656
+  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130210231424')
3657
+  (3.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')
3658
+  (4.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750')
3659
+ Connecting to database specified by database.yml
3660
+  (0.1ms) select sqlite_version(*)
3661
+  (28.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3662
+  (4.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3663
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
3664
+ Migrating to CreatePosts (20121202111750)
3665
+  (0.0ms) begin transaction
3666
+  (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)
3667
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')
3668
+  (6.6ms) commit transaction
3669
+ Migrating to CreateUsers (20121202112556)
3670
+  (0.6ms) begin transaction
3671
+  (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)
3672
+  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')
3673
+  (5.5ms) commit transaction
3674
+ Migrating to CreateCommunities (20130201155147)
3675
+  (0.0ms) begin transaction
3676
+  (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)
3677
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')
3678
+  (3.8ms) commit transaction
3679
+ Migrating to CreateInkwellTimelineItems (20130208134948)
3680
+  (0.0ms) begin transaction
3681
+  (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)
3682
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134948')
3683
+  (5.7ms) commit transaction
3684
+ Migrating to AddColumnsToPosts (20130208134949)
3685
+  (0.0ms) begin transaction
3686
+  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'
3687
+  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'
3688
+  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'
3689
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134949')
3690
+  (4.4ms) commit transaction
3691
+ Migrating to CreateInkwellBlogItems (20130208134950)
3692
+  (0.0ms) begin transaction
3693
+  (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)
3694
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134950')
3695
+  (3.8ms) commit transaction
3696
+ Migrating to CreateInkwellFavoriteItems (20130208134951)
3697
+  (0.0ms) begin transaction
3698
+  (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)
3699
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134951')
3700
+  (5.6ms) commit transaction
3701
+ Migrating to AddColumnsToUsers (20130208134952)
3702
+  (0.0ms) begin transaction
3703
+  (0.2ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'
3704
+  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'
3705
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134952')
3706
+  (3.6ms) commit transaction
3707
+ Migrating to CreateInkwellComments (20130208134953)
3708
+  (0.0ms) begin transaction
3709
+  (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) 
3710
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134953')
3711
+  (3.3ms) commit transaction
3712
+ Migrating to ChangeTablesForCommunities (20130208134954)
3713
+  (0.0ms) begin transaction
3714
+  (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) 
3715
+  (0.1ms) SELECT * FROM "inkwell_comments"
3716
+  (0.1ms) DROP TABLE "inkwell_comments"
3717
+  (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)
3718
+  (0.0ms) SELECT * FROM "altered_inkwell_comments"
3719
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
3720
+  (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) 
3721
+  (0.0ms) SELECT * FROM "inkwell_comments"
3722
+  (0.1ms) DROP TABLE "inkwell_comments"
3723
+  (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)
3724
+  (0.0ms) SELECT * FROM "altered_inkwell_comments"
3725
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
3726
+  (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) 
3727
+  (0.1ms) SELECT * FROM "inkwell_comments"
3728
+  (0.1ms) DROP TABLE "inkwell_comments"
3729
+  (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)
3730
+  (0.1ms) SELECT * FROM "altered_inkwell_comments"
3731
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
3732
+  (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) 
3733
+  (0.0ms) SELECT * FROM "inkwell_blog_items"
3734
+  (0.2ms) DROP TABLE "inkwell_blog_items"
3735
+  (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)
3736
+  (0.1ms) SELECT * FROM "altered_inkwell_blog_items"
3737
+  (0.1ms) DROP TABLE "altered_inkwell_blog_items"
3738
+  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "owner_id" integer
3739
+  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "is_owner_user" boolean
3740
+  (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) 
3741
+  (0.0ms) SELECT * FROM "inkwell_timeline_items"
3742
+  (0.1ms) DROP TABLE "inkwell_timeline_items"
3743
+  (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)
3744
+  (0.1ms) SELECT * FROM "altered_inkwell_timeline_items"
3745
+  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"
3746
+  (0.1ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'
3747
+  (0.2ms) ALTER TABLE "communities" ADD "admins_info" text DEFAULT '[]'
3748
+  (0.1ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'
3749
+  (0.1ms) ALTER TABLE "users" ADD "admin_of" text DEFAULT '[]'
3750
+  (0.1ms) ALTER TABLE "communities" ADD "owner_id" integer
3751
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134954')
3752
+  (4.7ms) commit transaction
3753
+ Migrating to AddCommunityIdsToPost (20130208134955)
3754
+  (0.0ms) begin transaction
3755
+  (0.2ms) ALTER TABLE "posts" ADD "communities_ids" text DEFAULT '[]'
3756
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134955')
3757
+  (4.8ms) commit transaction
3758
+ Migrating to ChangeIsCommentToItemType (20130210231424)
3759
+  (0.0ms) begin transaction
3760
+  (0.2ms) ALTER TABLE "inkwell_blog_items" ADD "item_type" varchar(255)
3761
+ SQL (0.1ms) UPDATE "inkwell_blog_items" SET "item_type" = 'c' WHERE "inkwell_blog_items"."is_comment" = 't'
3762
+ SQL (0.0ms) UPDATE "inkwell_blog_items" SET "item_type" = 'p' WHERE "inkwell_blog_items"."is_comment" = 'f'
3763
+  (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))
3764
+  (0.0ms) SELECT * FROM "inkwell_blog_items"
3765
+  (0.1ms) DROP TABLE "inkwell_blog_items"
3766
+  (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)) 
3767
+  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"
3768
+  (0.1ms) DROP TABLE "altered_inkwell_blog_items"
3769
+  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "item_type" varchar(255)
3770
+ SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'c' WHERE "inkwell_favorite_items"."is_comment" = 't'
3771
+ SQL (0.1ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'p' WHERE "inkwell_favorite_items"."is_comment" = 'f'
3772
+  (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)) 
3773
+  (0.0ms) SELECT * FROM "inkwell_favorite_items"
3774
+  (0.1ms) DROP TABLE "inkwell_favorite_items"
3775
+  (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))
3776
+  (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"
3777
+  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"
3778
+  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "item_type" varchar(255)
3779
+ SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'c' WHERE "inkwell_timeline_items"."is_comment" = 't'
3780
+ SQL (0.1ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'p' WHERE "inkwell_timeline_items"."is_comment" = 'f'
3781
+  (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))
3782
+  (0.6ms) SELECT * FROM "inkwell_timeline_items"
3783
+  (0.2ms) DROP TABLE "inkwell_timeline_items"
3784
+  (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)) 
3785
+  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"
3786
+  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"
3787
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130210231424')
3788
+  (4.1ms) commit transaction
3789
+ Migrating to AddOwnerTypeToLines (20130212130848)
3790
+  (0.0ms) begin transaction
3791
+  (0.3ms) ALTER TABLE "inkwell_blog_items" ADD "owner_type" varchar(255)
3792
+ SQL (0.1ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'u' WHERE "inkwell_blog_items"."is_owner_user" = 't'
3793
+ SQL (0.0ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'c' WHERE "inkwell_blog_items"."is_owner_user" = 'f'
3794
+  (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))
3795
+  (0.8ms) SELECT * FROM "inkwell_blog_items"
3796
+  (0.1ms) DROP TABLE "inkwell_blog_items"
3797
+  (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)) 
3798
+  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"
3799
+  (0.1ms) DROP TABLE "altered_inkwell_blog_items"
3800
+  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "owner_type" varchar(255)
3801
+ SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "owner_type" = 'u'
3802
+  (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))
3803
+  (0.0ms) SELECT * FROM "inkwell_favorite_items"
3804
+  (0.2ms) DROP TABLE "inkwell_favorite_items"
3805
+  (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)) 
3806
+  (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"
3807
+  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"
3808
+  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "owner_type" varchar(255)
3809
+ SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "owner_type" = 'u'
3810
+  (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))
3811
+  (0.0ms) SELECT * FROM "inkwell_timeline_items"
3812
+  (0.1ms) DROP TABLE "inkwell_timeline_items"
3813
+  (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)) 
3814
+  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"
3815
+  (0.2ms) DROP TABLE "altered_inkwell_timeline_items"
3816
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130212130848')
3817
+  (260.1ms) commit transaction
3818
+ Migrating to RefactorCommentTable (20130213101736)
3819
+  (0.0ms) begin transaction
3820
+  (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) 
3821
+  (0.1ms) SELECT * FROM "inkwell_comments"
3822
+  (0.2ms) DROP TABLE "inkwell_comments"
3823
+  (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)
3824
+  (0.0ms) SELECT * FROM "altered_inkwell_comments"
3825
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
3826
+  (0.1ms) ALTER TABLE "inkwell_comments" ADD "topmost_obj_type" varchar(255)
3827
+ SQL (0.1ms) UPDATE "inkwell_comments" SET "topmost_obj_type" = 'p'
3828
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213101736')
3829
+  (5.1ms) commit transaction
3830
+ Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414)
3831
+  (0.0ms) begin transaction
3832
+  (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))
3833
+  (0.1ms) SELECT * FROM "inkwell_comments"
3834
+  (0.3ms) DROP TABLE "inkwell_comments"
3835
+  (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)) 
3836
+  (0.0ms) SELECT * FROM "altered_inkwell_comments"
3837
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
3838
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213121414')
3839
+  (4.1ms) commit transaction
3840
+ Migrating to ChangeCommunityTableForAddingTypesAndUserAccess (20130216132342)
3841
+  (0.0ms) begin transaction
3842
+  (0.2ms) ALTER TABLE "communities" ADD "default_user_access" varchar(255) DEFAULT 'w'
3843
+  (0.1ms) ALTER TABLE "communities" ADD "writers_ids" text DEFAULT '[]'
3844
+  (0.0ms) ALTER TABLE "communities" ADD "banned_ids" text DEFAULT '[]'
3845
+  (0.8ms) ALTER TABLE "communities" ADD "public" boolean DEFAULT 't'
3846
+  (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 '[]') 
3847
+  (0.1ms) SELECT * FROM "users"
3848
+  (0.2ms) DROP TABLE "users"
3849
+  (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 '[]')
3850
+  (0.0ms) SELECT * FROM "altered_users"
3851
+  (0.1ms) DROP TABLE "altered_users"
3852
+  (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 '[]') 
3853
+  (0.0ms) SELECT * FROM "users"
3854
+  (0.1ms) DROP TABLE "users"
3855
+  (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 '[]')
3856
+  (0.0ms) SELECT * FROM "altered_users"
3857
+  (0.2ms) DROP TABLE "altered_users"
3858
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130216132342')
3859
+  (4.7ms) commit transaction
3860
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3861
+ Connecting to database specified by database.yml
3862
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3863
+  (0.1ms) select sqlite_version(*)
3864
+  (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') 
3865
+  (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))
3866
+  (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)) 
3867
+  (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))
3868
+  (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)) 
3869
+  (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 '[]')
3870
+  (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 '[]') 
3871
+  (4.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3872
+  (3.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3873
+  (0.0ms) SELECT version FROM "schema_migrations"
3874
+  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130216132342')
3875
+  (3.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134951')
3876
+  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134949')
3877
+  (3.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134955')
3878
+  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213101736')
3879
+  (3.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')
3880
+  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134952')
3881
+  (5.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130212130848')
3882
+  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213121414')
3883
+  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134954')
3884
+  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')
3885
+  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134950')
3886
+  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134953')
3887
+  (2.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130210231424')
3888
+  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')
3889
+  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750')
3890
+ Connecting to database specified by database.yml
3891
+ Connecting to database specified by database.yml
3892
+  (0.1ms) select sqlite_version(*)
3893
+  (17.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3894
+  (3.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3895
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
3896
+ Migrating to CreatePosts (20121202111750)
3897
+  (0.0ms) begin transaction
3898
+  (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)
3899
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')
3900
+  (4.4ms) commit transaction
3901
+ Migrating to CreateUsers (20121202112556)
3902
+  (0.0ms) begin transaction
3903
+  (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)
3904
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')
3905
+  (3.8ms) commit transaction
3906
+ Migrating to CreateCommunities (20130201155147)
3907
+  (0.0ms) begin transaction
3908
+  (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)
3909
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')
3910
+  (3.8ms) commit transaction
3911
+ Migrating to CreateInkwellTimelineItems (20130208134948)
3912
+  (0.0ms) begin transaction
3913
+  (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)
3914
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134948')
3915
+  (5.0ms) commit transaction
3916
+ Migrating to AddColumnsToPosts (20130208134949)
3917
+  (0.0ms) begin transaction
3918
+  (0.2ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'
3919
+  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'
3920
+  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'
3921
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134949')
3922
+  (3.5ms) commit transaction
3923
+ Migrating to CreateInkwellBlogItems (20130208134950)
3924
+  (0.0ms) begin transaction
3925
+  (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)
3926
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134950')
3927
+  (4.5ms) commit transaction
3928
+ Migrating to CreateInkwellFavoriteItems (20130208134951)
3929
+  (0.0ms) begin transaction
3930
+  (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)
3931
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134951')
3932
+  (5.6ms) commit transaction
3933
+ Migrating to AddColumnsToUsers (20130208134952)
3934
+  (0.0ms) begin transaction
3935
+  (0.4ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'
3936
+  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'
3937
+  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134952')
3938
+  (4.3ms) commit transaction
3939
+ Migrating to CreateInkwellComments (20130208134953)
3940
+  (0.0ms) begin transaction
3941
+  (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) 
3942
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134953')
3943
+  (4.0ms) commit transaction
3944
+ Migrating to ChangeTablesForCommunities (20130208134954)
3945
+  (0.0ms) begin transaction
3946
+  (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) 
3947
+  (0.1ms) SELECT * FROM "inkwell_comments"
3948
+  (0.3ms) DROP TABLE "inkwell_comments"
3949
+  (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)
3950
+  (0.0ms) SELECT * FROM "altered_inkwell_comments"
3951
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
3952
+  (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) 
3953
+  (0.0ms) SELECT * FROM "inkwell_comments"
3954
+  (0.2ms) DROP TABLE "inkwell_comments"
3955
+  (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)
3956
+  (0.0ms) SELECT * FROM "altered_inkwell_comments"
3957
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
3958
+  (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) 
3959
+  (0.1ms) SELECT * FROM "inkwell_comments"
3960
+  (0.1ms) DROP TABLE "inkwell_comments"
3961
+  (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)
3962
+  (0.0ms) SELECT * FROM "altered_inkwell_comments"
3963
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
3964
+  (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) 
3965
+  (0.0ms) SELECT * FROM "inkwell_blog_items"
3966
+  (0.0ms) DROP TABLE "inkwell_blog_items"
3967
+  (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)
3968
+  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"
3969
+  (0.1ms) DROP TABLE "altered_inkwell_blog_items"
3970
+  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "owner_id" integer
3971
+  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "is_owner_user" boolean
3972
+  (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) 
3973
+  (0.2ms) SELECT * FROM "inkwell_timeline_items"
3974
+  (0.2ms) DROP TABLE "inkwell_timeline_items"
3975
+  (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)
3976
+  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"
3977
+  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"
3978
+  (0.1ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'
3979
+  (0.0ms) ALTER TABLE "communities" ADD "admins_info" text DEFAULT '[]'
3980
+  (0.1ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'
3981
+  (0.1ms) ALTER TABLE "users" ADD "admin_of" text DEFAULT '[]'
3982
+  (0.1ms) ALTER TABLE "communities" ADD "owner_id" integer
3983
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134954')
3984
+  (5.1ms) commit transaction
3985
+ Migrating to AddCommunityIdsToPost (20130208134955)
3986
+  (0.0ms) begin transaction
3987
+  (0.3ms) ALTER TABLE "posts" ADD "communities_ids" text DEFAULT '[]'
3988
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134955')
3989
+  (4.3ms) commit transaction
3990
+ Migrating to ChangeIsCommentToItemType (20130210231424)
3991
+  (0.0ms) begin transaction
3992
+  (0.3ms) ALTER TABLE "inkwell_blog_items" ADD "item_type" varchar(255)
3993
+ SQL (0.1ms) UPDATE "inkwell_blog_items" SET "item_type" = 'c' WHERE "inkwell_blog_items"."is_comment" = 't'
3994
+ SQL (0.0ms) UPDATE "inkwell_blog_items" SET "item_type" = 'p' WHERE "inkwell_blog_items"."is_comment" = 'f'
3995
+  (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))
3996
+  (0.0ms) SELECT * FROM "inkwell_blog_items"
3997
+  (0.1ms) DROP TABLE "inkwell_blog_items"
3998
+  (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)) 
3999
+  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"
4000
+  (0.1ms) DROP TABLE "altered_inkwell_blog_items"
4001
+  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "item_type" varchar(255)
4002
+ SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'c' WHERE "inkwell_favorite_items"."is_comment" = 't'
4003
+ SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'p' WHERE "inkwell_favorite_items"."is_comment" = 'f'
4004
+  (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)) 
4005
+  (0.0ms) SELECT * FROM "inkwell_favorite_items"
4006
+  (0.1ms) DROP TABLE "inkwell_favorite_items"
4007
+  (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))
4008
+  (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"
4009
+  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"
4010
+  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "item_type" varchar(255)
4011
+ SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'c' WHERE "inkwell_timeline_items"."is_comment" = 't'
4012
+ SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'p' WHERE "inkwell_timeline_items"."is_comment" = 'f'
4013
+  (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))
4014
+  (0.0ms) SELECT * FROM "inkwell_timeline_items"
4015
+  (0.1ms) DROP TABLE "inkwell_timeline_items"
4016
+  (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)) 
4017
+  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"
4018
+  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"
4019
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130210231424')
4020
+  (4.4ms) commit transaction
4021
+ Migrating to AddOwnerTypeToLines (20130212130848)
4022
+  (0.0ms) begin transaction
4023
+  (0.3ms) ALTER TABLE "inkwell_blog_items" ADD "owner_type" varchar(255)
4024
+ SQL (0.0ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'u' WHERE "inkwell_blog_items"."is_owner_user" = 't'
4025
+ SQL (0.3ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'c' WHERE "inkwell_blog_items"."is_owner_user" = 'f'
4026
+  (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))
4027
+  (0.1ms) SELECT * FROM "inkwell_blog_items"
4028
+  (0.2ms) DROP TABLE "inkwell_blog_items"
4029
+  (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)) 
4030
+  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"
4031
+  (0.1ms) DROP TABLE "altered_inkwell_blog_items"
4032
+  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "owner_type" varchar(255)
4033
+ SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "owner_type" = 'u'
4034
+  (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))
4035
+  (0.0ms) SELECT * FROM "inkwell_favorite_items"
4036
+  (0.1ms) DROP TABLE "inkwell_favorite_items"
4037
+  (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)) 
4038
+  (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"
4039
+  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"
4040
+  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "owner_type" varchar(255)
4041
+ SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "owner_type" = 'u'
4042
+  (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))
4043
+  (0.1ms) SELECT * FROM "inkwell_timeline_items"
4044
+  (0.1ms) DROP TABLE "inkwell_timeline_items"
4045
+  (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)) 
4046
+  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"
4047
+  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"
4048
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130212130848')
4049
+  (3.4ms) commit transaction
4050
+ Migrating to RefactorCommentTable (20130213101736)
4051
+  (0.0ms) begin transaction
4052
+  (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) 
4053
+  (0.1ms) SELECT * FROM "inkwell_comments"
4054
+  (0.3ms) DROP TABLE "inkwell_comments"
4055
+  (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)
4056
+  (0.0ms) SELECT * FROM "altered_inkwell_comments"
4057
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
4058
+  (0.1ms) ALTER TABLE "inkwell_comments" ADD "topmost_obj_type" varchar(255)
4059
+ SQL (0.0ms) UPDATE "inkwell_comments" SET "topmost_obj_type" = 'p'
4060
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213101736')
4061
+  (4.4ms) commit transaction
4062
+ Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414)
4063
+  (0.0ms) begin transaction
4064
+  (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))
4065
+  (0.1ms) SELECT * FROM "inkwell_comments"
4066
+  (0.3ms) DROP TABLE "inkwell_comments"
4067
+  (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)) 
4068
+  (0.0ms) SELECT * FROM "altered_inkwell_comments"
4069
+  (0.2ms) DROP TABLE "altered_inkwell_comments"
4070
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213121414')
4071
+  (3.9ms) commit transaction
4072
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
4073
+ Connecting to database specified by database.yml
4074
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
4075
+  (0.1ms) select sqlite_version(*)
4076
+  (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) 
4077
+  (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))
4078
+  (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)) 
4079
+  (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))
4080
+  (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)) 
4081
+  (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 '[]')
4082
+  (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 '[]') 
4083
+  (4.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
4084
+  (3.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4085
+  (0.0ms) SELECT version FROM "schema_migrations"
4086
+  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213121414')
4087
+  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134951')
4088
+  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134949')
4089
+  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134955')
4090
+  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213101736')
4091
+  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')
4092
+  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134952')
4093
+  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130212130848')
4094
+  (3.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134954')
4095
+  (4.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')
4096
+  (3.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134950')
4097
+  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134953')
4098
+  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130210231424')
4099
+  (2.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')
4100
+  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750')
4101
+ Connecting to database specified by database.yml
4102
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
4103
+ Migrating to CreatePosts (20121202111750)
4104
+ Migrating to CreateUsers (20121202112556)
4105
+ Migrating to CreateCommunities (20130201155147)
4106
+ Migrating to CreateInkwellTimelineItems (20130208134948)
4107
+ Migrating to AddColumnsToPosts (20130208134949)
4108
+ Migrating to CreateInkwellBlogItems (20130208134950)
4109
+ Migrating to CreateInkwellFavoriteItems (20130208134951)
4110
+ Migrating to AddColumnsToUsers (20130208134952)
4111
+ Migrating to CreateInkwellComments (20130208134953)
4112
+ Migrating to ChangeTablesForCommunities (20130208134954)
4113
+ Migrating to AddCommunityIdsToPost (20130208134955)
4114
+ Migrating to ChangeIsCommentToItemType (20130210231424)
4115
+ Migrating to AddOwnerTypeToLines (20130212130848)
4116
+ Migrating to RefactorCommentTable (20130213101736)
4117
+ Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414)
4118
+ Migrating to ChangeCommunityTableForAddingTypesAndUserAccess (20130217134228)
4119
+  (0.0ms) select sqlite_version(*)
4120
+  (0.0ms) begin transaction
4121
+  (0.4ms) ALTER TABLE "communities" ADD "default_user_access" varchar(255) DEFAULT 'w'
4122
+  (0.1ms) ALTER TABLE "communities" ADD "writers_ids" text DEFAULT '[]'
4123
+  (0.2ms) ALTER TABLE "communities" ADD "banned_ids" text DEFAULT '[]'
4124
+  (0.1ms) ALTER TABLE "communities" ADD "muted_ids" text DEFAULT '[]'
4125
+  (0.1ms) ALTER TABLE "communities" ADD "public" boolean DEFAULT 't'
4126
+  (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 '[]') 
4127
+  (0.0ms) SELECT * FROM "users"
4128
+  (0.2ms) DROP TABLE "users"
4129
+  (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 '[]')
4130
+  (0.0ms) SELECT * FROM "altered_users"
4131
+  (0.1ms) DROP TABLE "altered_users"
4132
+  (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 '[]') 
4133
+  (0.0ms) SELECT * FROM "users"
4134
+  (0.1ms) DROP TABLE "users"
4135
+  (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 '[]')
4136
+  (0.0ms) SELECT * FROM "altered_users"
4137
+  (0.0ms) DROP TABLE "altered_users"
4138
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130217134228')
4139
+  (47.9ms) commit transaction
4140
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
4141
+ Connecting to database specified by database.yml
4142
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
4143
+  (0.1ms) select sqlite_version(*)
4144
+  (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') 
4145
+  (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))
4146
+  (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)) 
4147
+  (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))
4148
+  (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)) 
4149
+  (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 '[]')
4150
+  (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 '[]') 
4151
+  (4.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
4152
+  (3.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4153
+  (0.0ms) SELECT version FROM "schema_migrations"
4154
+  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130217134228')
4155
+  (4.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134951')
4156
+  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134949')
4157
+  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134955')
4158
+  (3.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213101736')
4159
+  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')
4160
+  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134952')
4161
+  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130212130848')
4162
+  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213121414')
4163
+  (4.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134954')
4164
+  (4.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')
4165
+  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134950')
4166
+  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134953')
4167
+  (3.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130210231424')
4168
+  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')
4169
+  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750')
4170
+ Connecting to database specified by database.yml
4171
+  (0.1ms) select sqlite_version(*)
4172
+  (25.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
4173
+  (4.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4174
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
4175
+ Migrating to CreatePosts (20121202111750)
4176
+  (0.0ms) begin transaction
4177
+  (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)
4178
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202111750')
4179
+  (4.9ms) commit transaction
4180
+ Migrating to CreateUsers (20121202112556)
4181
+  (0.0ms) begin transaction
4182
+  (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)
4183
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121202112556')
4184
+  (3.9ms) commit transaction
4185
+ Migrating to CreateCommunities (20130201155147)
4186
+  (0.0ms) begin transaction
4187
+  (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)
4188
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130201155147')
4189
+  (4.7ms) commit transaction
4190
+ Migrating to CreateInkwellTimelineItems (20130208134948)
4191
+  (0.0ms) begin transaction
4192
+  (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)
4193
+  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134948')
4194
+  (4.7ms) commit transaction
4195
+ Migrating to AddColumnsToPosts (20130208134949)
4196
+  (0.1ms) begin transaction
4197
+  (0.3ms) ALTER TABLE "posts" ADD "users_ids_who_favorite_it" text DEFAULT '[]'
4198
+  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_comment_it" text DEFAULT '[]'
4199
+  (0.1ms) ALTER TABLE "posts" ADD "users_ids_who_reblog_it" text DEFAULT '[]'
4200
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134949')
4201
+  (4.2ms) commit transaction
4202
+ Migrating to CreateInkwellBlogItems (20130208134950)
4203
+  (0.0ms) begin transaction
4204
+  (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)
4205
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134950')
4206
+  (4.1ms) commit transaction
4207
+ Migrating to CreateInkwellFavoriteItems (20130208134951)
4208
+  (0.1ms) begin transaction
4209
+  (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)
4210
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134951')
4211
+  (5.2ms) commit transaction
4212
+ Migrating to AddColumnsToUsers (20130208134952)
4213
+  (0.0ms) begin transaction
4214
+  (0.2ms) ALTER TABLE "users" ADD "followers_ids" text DEFAULT '[]'
4215
+  (0.1ms) ALTER TABLE "users" ADD "followings_ids" text DEFAULT '[]'
4216
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134952')
4217
+  (3.4ms) commit transaction
4218
+ Migrating to CreateInkwellComments (20130208134953)
4219
+  (0.0ms) begin transaction
4220
+  (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) 
4221
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134953')
4222
+  (4.3ms) commit transaction
4223
+ Migrating to ChangeTablesForCommunities (20130208134954)
4224
+  (0.0ms) begin transaction
4225
+  (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) 
4226
+  (0.1ms) SELECT * FROM "inkwell_comments"
4227
+  (0.2ms) DROP TABLE "inkwell_comments"
4228
+  (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)
4229
+  (0.0ms) SELECT * FROM "altered_inkwell_comments"
4230
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
4231
+  (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) 
4232
+  (0.0ms) SELECT * FROM "inkwell_comments"
4233
+  (0.1ms) DROP TABLE "inkwell_comments"
4234
+  (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)
4235
+  (0.0ms) SELECT * FROM "altered_inkwell_comments"
4236
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
4237
+  (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) 
4238
+  (0.0ms) SELECT * FROM "inkwell_comments"
4239
+  (0.1ms) DROP TABLE "inkwell_comments"
4240
+  (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)
4241
+  (0.0ms) SELECT * FROM "altered_inkwell_comments"
4242
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
4243
+  (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) 
4244
+  (0.0ms) SELECT * FROM "inkwell_blog_items"
4245
+  (0.1ms) DROP TABLE "inkwell_blog_items"
4246
+  (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)
4247
+  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"
4248
+  (0.1ms) DROP TABLE "altered_inkwell_blog_items"
4249
+  (0.1ms) ALTER TABLE "inkwell_blog_items" ADD "owner_id" integer
4250
+  (0.9ms) ALTER TABLE "inkwell_blog_items" ADD "is_owner_user" boolean
4251
+  (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) 
4252
+  (0.0ms) SELECT * FROM "inkwell_timeline_items"
4253
+  (0.0ms) DROP TABLE "inkwell_timeline_items"
4254
+  (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)
4255
+  (0.1ms) SELECT * FROM "altered_inkwell_timeline_items"
4256
+  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"
4257
+  (0.1ms) ALTER TABLE "communities" ADD "users_ids" text DEFAULT '[]'
4258
+  (0.1ms) ALTER TABLE "communities" ADD "admins_info" text DEFAULT '[]'
4259
+  (0.1ms) ALTER TABLE "users" ADD "communities_ids" text DEFAULT '[]'
4260
+  (0.2ms) ALTER TABLE "users" ADD "admin_of" text DEFAULT '[]'
4261
+  (0.1ms) ALTER TABLE "communities" ADD "owner_id" integer
4262
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134954')
4263
+  (5.2ms) commit transaction
4264
+ Migrating to AddCommunityIdsToPost (20130208134955)
4265
+  (0.0ms) begin transaction
4266
+  (0.3ms) ALTER TABLE "posts" ADD "communities_ids" text DEFAULT '[]'
4267
+  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130208134955')
4268
+  (4.0ms) commit transaction
4269
+ Migrating to ChangeIsCommentToItemType (20130210231424)
4270
+  (0.0ms) begin transaction
4271
+  (0.2ms) ALTER TABLE "inkwell_blog_items" ADD "item_type" varchar(255)
4272
+ SQL (0.0ms) UPDATE "inkwell_blog_items" SET "item_type" = 'c' WHERE "inkwell_blog_items"."is_comment" = 't'
4273
+ SQL (0.0ms) UPDATE "inkwell_blog_items" SET "item_type" = 'p' WHERE "inkwell_blog_items"."is_comment" = 'f'
4274
+  (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))
4275
+  (0.0ms) SELECT * FROM "inkwell_blog_items"
4276
+  (0.1ms) DROP TABLE "inkwell_blog_items"
4277
+  (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)) 
4278
+  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"
4279
+  (0.1ms) DROP TABLE "altered_inkwell_blog_items"
4280
+  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "item_type" varchar(255)
4281
+ SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'c' WHERE "inkwell_favorite_items"."is_comment" = 't'
4282
+ SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "item_type" = 'p' WHERE "inkwell_favorite_items"."is_comment" = 'f'
4283
+  (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)) 
4284
+  (0.0ms) SELECT * FROM "inkwell_favorite_items"
4285
+  (0.1ms) DROP TABLE "inkwell_favorite_items"
4286
+  (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))
4287
+  (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"
4288
+  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"
4289
+  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "item_type" varchar(255)
4290
+ SQL (0.1ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'c' WHERE "inkwell_timeline_items"."is_comment" = 't'
4291
+ SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "item_type" = 'p' WHERE "inkwell_timeline_items"."is_comment" = 'f'
4292
+  (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))
4293
+  (0.0ms) SELECT * FROM "inkwell_timeline_items"
4294
+  (0.1ms) DROP TABLE "inkwell_timeline_items"
4295
+  (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)) 
4296
+  (0.1ms) SELECT * FROM "altered_inkwell_timeline_items"
4297
+  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"
4298
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130210231424')
4299
+  (4.4ms) commit transaction
4300
+ Migrating to AddOwnerTypeToLines (20130212130848)
4301
+  (0.0ms) begin transaction
4302
+  (0.2ms) ALTER TABLE "inkwell_blog_items" ADD "owner_type" varchar(255)
4303
+ SQL (0.1ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'u' WHERE "inkwell_blog_items"."is_owner_user" = 't'
4304
+ SQL (0.0ms) UPDATE "inkwell_blog_items" SET "owner_type" = 'c' WHERE "inkwell_blog_items"."is_owner_user" = 'f'
4305
+  (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))
4306
+  (0.0ms) SELECT * FROM "inkwell_blog_items"
4307
+  (0.1ms) DROP TABLE "inkwell_blog_items"
4308
+  (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)) 
4309
+  (0.0ms) SELECT * FROM "altered_inkwell_blog_items"
4310
+  (0.1ms) DROP TABLE "altered_inkwell_blog_items"
4311
+  (0.1ms) ALTER TABLE "inkwell_favorite_items" ADD "owner_type" varchar(255)
4312
+ SQL (0.0ms) UPDATE "inkwell_favorite_items" SET "owner_type" = 'u'
4313
+  (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))
4314
+  (0.1ms) SELECT * FROM "inkwell_favorite_items"
4315
+  (0.1ms) DROP TABLE "inkwell_favorite_items"
4316
+  (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)) 
4317
+  (0.0ms) SELECT * FROM "altered_inkwell_favorite_items"
4318
+  (0.1ms) DROP TABLE "altered_inkwell_favorite_items"
4319
+  (0.1ms) ALTER TABLE "inkwell_timeline_items" ADD "owner_type" varchar(255)
4320
+ SQL (0.0ms) UPDATE "inkwell_timeline_items" SET "owner_type" = 'u'
4321
+  (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))
4322
+  (0.0ms) SELECT * FROM "inkwell_timeline_items"
4323
+  (0.1ms) DROP TABLE "inkwell_timeline_items"
4324
+  (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)) 
4325
+  (0.0ms) SELECT * FROM "altered_inkwell_timeline_items"
4326
+  (0.1ms) DROP TABLE "altered_inkwell_timeline_items"
4327
+  (2.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130212130848')
4328
+  (4.9ms) commit transaction
4329
+ Migrating to RefactorCommentTable (20130213101736)
4330
+  (0.0ms) begin transaction
4331
+  (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) 
4332
+  (0.1ms) SELECT * FROM "inkwell_comments"
4333
+  (0.2ms) DROP TABLE "inkwell_comments"
4334
+  (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)
4335
+  (0.0ms) SELECT * FROM "altered_inkwell_comments"
4336
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
4337
+  (0.1ms) ALTER TABLE "inkwell_comments" ADD "topmost_obj_type" varchar(255)
4338
+ SQL (0.1ms) UPDATE "inkwell_comments" SET "topmost_obj_type" = 'p'
4339
+  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213101736')
4340
+  (4.2ms) commit transaction
4341
+ Migrating to RenameParentIdToParentCommentIdInCommentTable (20130213121414)
4342
+  (0.0ms) begin transaction
4343
+  (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))
4344
+  (0.0ms) SELECT * FROM "inkwell_comments"
4345
+  (1.3ms) DROP TABLE "inkwell_comments"
4346
+  (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)) 
4347
+  (0.0ms) SELECT * FROM "altered_inkwell_comments"
4348
+  (0.1ms) DROP TABLE "altered_inkwell_comments"
4349
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130213121414')
4350
+  (5.3ms) commit transaction
4351
+ Migrating to ChangeCommunityTableForAddingTypesAndUserAccess (20130217135512)
4352
+  (0.0ms) begin transaction
4353
+  (0.4ms) ALTER TABLE "communities" ADD "default_user_access" varchar(255) DEFAULT 'w'
4354
+  (0.1ms) ALTER TABLE "communities" ADD "writers_ids" text DEFAULT '[]'
4355
+  (0.2ms) ALTER TABLE "communities" ADD "banned_ids" text DEFAULT '[]'
4356
+  (0.1ms) ALTER TABLE "communities" ADD "muted_ids" text DEFAULT '[]'
4357
+  (0.1ms) ALTER TABLE "communities" ADD "invitations_uids" text DEFAULT '[]'
4358
+  (0.1ms) ALTER TABLE "communities" ADD "public" boolean DEFAULT 't'
4359
+  (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 '[]') 
4360
+  (0.0ms) SELECT * FROM "users"
4361
+  (0.2ms) DROP TABLE "users"
4362
+  (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 '[]')
4363
+  (0.0ms) SELECT * FROM "altered_users"
4364
+  (0.1ms) DROP TABLE "altered_users"
4365
+  (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 '[]') 
4366
+  (0.1ms) SELECT * FROM "users"
4367
+  (0.1ms) DROP TABLE "users"
4368
+  (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 '[]')
4369
+  (0.1ms) SELECT * FROM "altered_users"
4370
+  (0.0ms) DROP TABLE "altered_users"
4371
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130217135512')
4372
+  (6.5ms) commit transaction
4373
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
4374
+ Connecting to database specified by database.yml
4375
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
4376
+  (0.2ms) select sqlite_version(*)
4377
+  (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') 
4378
+  (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))
4379
+  (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)) 
4380
+  (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))
4381
+  (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)) 
4382
+  (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 '[]')
4383
+  (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 '[]') 
4384
+  (3.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
4385
+  (3.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4386
+  (0.0ms) SELECT version FROM "schema_migrations"
4387
+  (3.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130217135512')
4388
+  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134951')
4389
+  (4.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134949')
4390
+  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134955')
4391
+  (4.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213101736')
4392
+  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202112556')
4393
+  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134952')
4394
+  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130212130848')
4395
+  (3.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130213121414')
4396
+  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134954')
4397
+  (4.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130201155147')
4398
+  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134950')
4399
+  (3.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134953')
4400
+  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130210231424')
4401
+  (3.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130208134948')
4402
+  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121202111750')