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