systematize 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +69 -0
- data/lib/systematize/railtie.rb +11 -0
- data/lib/systematize/runner.rb +30 -0
- data/lib/systematize/version.rb +3 -0
- data/lib/systematize.rb +4 -0
- data/lib/tasks/migrations.rake +27 -0
- data/spec/spec_helper.rb +9 -0
- data/spec/support/db/data/20161117152453_mark_deleted_posts_with_timestamp.rb +15 -0
- data/spec/support/db/migrate/20161117151622_create_posts_table.rb +12 -0
- data/spec/support/db/migrate/20161117152138_add_deleted_at_timestamp.rb +9 -0
- data/spec/support/db/migrate/20161117152655_remove_deleted_column.rb +9 -0
- data/spec/systematize/runner_spec.rb +60 -0
- data/spec/testapp/Gemfile +41 -0
- data/spec/testapp/Gemfile.lock +128 -0
- data/spec/testapp/README.rdoc +261 -0
- data/spec/testapp/Rakefile +7 -0
- data/spec/testapp/app/assets/images/rails.png +0 -0
- data/spec/testapp/app/assets/javascripts/application.js +15 -0
- data/spec/testapp/app/assets/stylesheets/application.css +13 -0
- data/spec/testapp/app/controllers/application_controller.rb +3 -0
- data/spec/testapp/app/helpers/application_helper.rb +2 -0
- data/spec/testapp/app/models/post.rb +4 -0
- data/spec/testapp/app/views/layouts/application.html.erb +14 -0
- data/spec/testapp/config/application.rb +59 -0
- data/spec/testapp/config/boot.rb +6 -0
- data/spec/testapp/config/database.yml +25 -0
- data/spec/testapp/config/environment.rb +5 -0
- data/spec/testapp/config/environments/development.rb +37 -0
- data/spec/testapp/config/environments/production.rb +67 -0
- data/spec/testapp/config/environments/test.rb +37 -0
- data/spec/testapp/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/testapp/config/initializers/inflections.rb +15 -0
- data/spec/testapp/config/initializers/mime_types.rb +5 -0
- data/spec/testapp/config/initializers/secret_token.rb +7 -0
- data/spec/testapp/config/initializers/session_store.rb +8 -0
- data/spec/testapp/config/initializers/wrap_parameters.rb +14 -0
- data/spec/testapp/config/locales/en.yml +5 -0
- data/spec/testapp/config/routes.rb +58 -0
- data/spec/testapp/config.ru +4 -0
- data/spec/testapp/db/data/20161117152453_mark_deleted_posts_with_timestamp.rb +15 -0
- data/spec/testapp/db/development.sqlite3 +0 -0
- data/spec/testapp/db/migrate/20161117151622_create_posts_table.rb +12 -0
- data/spec/testapp/db/migrate/20161117152138_add_deleted_at_timestamp.rb +9 -0
- data/spec/testapp/db/migrate/20161117152655_remove_deleted_column.rb +9 -0
- data/spec/testapp/db/seeds.rb +7 -0
- data/spec/testapp/db/test.sqlite3 +0 -0
- data/spec/testapp/doc/README_FOR_APP +2 -0
- data/spec/testapp/log/development.log +953 -0
- data/spec/testapp/public/404.html +26 -0
- data/spec/testapp/public/422.html +26 -0
- data/spec/testapp/public/500.html +25 -0
- data/spec/testapp/public/favicon.ico +0 -0
- data/spec/testapp/public/index.html +241 -0
- data/spec/testapp/public/robots.txt +5 -0
- data/spec/testapp/script/rails +6 -0
- data/spec/testapp/test/performance/browsing_test.rb +12 -0
- data/spec/testapp/test/test_helper.rb +13 -0
- metadata +209 -0
@@ -0,0 +1,953 @@
|
|
1
|
+
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
2
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
4
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
|
+
[1m[36m (0.3ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
6
|
+
Migrating to CreatePostsTable (20161117151622)
|
7
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
8
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
9
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10
|
+
[1m[36m (0.3ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
11
|
+
Migrating to CreatePostsTable (20161117151622)
|
12
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
13
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14
|
+
[1m[35m (25.3ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
15
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117151622')[0m
|
16
|
+
[1m[35m (0.9ms)[0m commit transaction
|
17
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
18
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "posts" ADD "deleted_at" time
|
20
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117152138')[0m
|
21
|
+
[1m[35m (0.5ms)[0m commit transaction
|
22
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
23
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
25
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
26
|
+
Migrating to CreatePostsTable (20161117151622)
|
27
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
28
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
29
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
30
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
31
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
32
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
33
|
+
Migrating to CreatePostsTable (20161117151622)
|
34
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
35
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
36
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
37
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38
|
+
[1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."deleted" = 't'
|
39
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117152453')[0m
|
40
|
+
[1m[35m (0.5ms)[0m commit transaction
|
41
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
42
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43
|
+
[1m[35m (1.1ms)[0m CREATE TEMPORARY TABLE "altered_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time)
|
44
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("posts")[0m
|
45
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "posts"
|
46
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "posts"[0m
|
47
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time)
|
48
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_posts")[0m
|
49
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "altered_posts"
|
50
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "altered_posts"[0m
|
51
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20161117152655')
|
52
|
+
[1m[36m (1.3ms)[0m [1mcommit transaction[0m
|
53
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
54
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
55
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
56
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
57
|
+
[1m[35m (0.0ms)[0m begin transaction
|
58
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "posts" ADD "deleted" boolean[0m
|
59
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152655'
|
60
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
61
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
62
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
63
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
64
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
65
|
+
[1m[35m (0.0ms)[0m begin transaction
|
66
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE (deleted_at !=)[0m
|
67
|
+
SQLite3::SQLException: near ")": syntax error: SELECT "posts".* FROM "posts" WHERE (deleted_at !=)
|
68
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
70
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
71
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
72
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
73
|
+
[1m[35m (0.0ms)[0m begin transaction
|
74
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE (deleted_at != NULL)[0m
|
75
|
+
[1m[35m (0.4ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152453'
|
76
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
77
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
78
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
79
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
80
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
81
|
+
[1m[35m (0.0ms)[0m begin transaction
|
82
|
+
[1m[36m (1.2ms)[0m [1mCREATE TEMPORARY TABLE "altered_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time, "deleted" boolean) [0m
|
83
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("posts")
|
84
|
+
[1m[36m (0.0ms)[0m [1mSELECT * FROM "posts"[0m
|
85
|
+
[1m[35m (0.3ms)[0m DROP TABLE "posts"
|
86
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted" boolean) [0m
|
87
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_posts")
|
88
|
+
[1m[36m (0.0ms)[0m [1mSELECT * FROM "altered_posts"[0m
|
89
|
+
[1m[35m (1.3ms)[0m DROP TABLE "altered_posts"
|
90
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152138'[0m
|
91
|
+
[1m[35m (1.1ms)[0m commit transaction
|
92
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
93
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
94
|
+
Migrating to CreatePostsTable (20161117151622)
|
95
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
96
|
+
[1m[35m (0.0ms)[0m begin transaction
|
97
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "posts"[0m
|
98
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117151622'
|
99
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
100
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
101
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
102
|
+
Migrating to CreatePostsTable (20161117151622)
|
103
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
104
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
105
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
106
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117151622')[0m
|
107
|
+
[1m[35m (0.5ms)[0m commit transaction
|
108
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
109
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
110
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "posts" ADD "deleted_at" time
|
111
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117152138')[0m
|
112
|
+
[1m[35m (0.4ms)[0m commit transaction
|
113
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
114
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
115
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."deleted" = 't'
|
116
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117152453')[0m
|
117
|
+
[1m[35m (0.5ms)[0m commit transaction
|
118
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
119
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
120
|
+
[1m[35m (1.2ms)[0m CREATE TEMPORARY TABLE "altered_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time)
|
121
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("posts")[0m
|
122
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "posts"
|
123
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "posts"[0m
|
124
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time)
|
125
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_posts")[0m
|
126
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "altered_posts"
|
127
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "altered_posts"[0m
|
128
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20161117152655')
|
129
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
130
|
+
DEPRECATION WARNING: The `subdirectories` argument to `migrations` is deprecated. (called from block (2 levels) in <top (required)> at /Users/ricardo_brazao/Documents/my_work/systematize/lib/tasks/migrations.rake:70)
|
131
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
132
|
+
Migrating to CreatePostsTable (20161117151622)
|
133
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
134
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
135
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
136
|
+
DEPRECATION WARNING: The `subdirectories` argument to `migrations` is deprecated. (called from block (2 levels) in <top (required)> at /Users/ricardo_brazao/Documents/my_work/systematize/lib/tasks/migrations.rake:71)
|
137
|
+
DEPRECATION WARNING: The `subdirectories` argument to `migrations` is deprecated. (called from block (2 levels) in <top (required)> at /Users/ricardo_brazao/Documents/my_work/systematize/lib/tasks/migrations.rake:71)
|
138
|
+
[1m[36m (0.3ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
139
|
+
Migrating to CreatePostsTable (20161117151622)
|
140
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
141
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
142
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
143
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
144
|
+
Migrating to CreatePostsTable (20161117151622)
|
145
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
146
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
147
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
148
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
149
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
150
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
151
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
152
|
+
[1m[35m (0.0ms)[0m begin transaction
|
153
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "posts" ADD "deleted" boolean[0m
|
154
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152655'
|
155
|
+
[1m[36m (1.3ms)[0m [1mcommit transaction[0m
|
156
|
+
DEPRECATION WARNING: The `subdirectories` argument to `migrations` is deprecated. (called from block (2 levels) in <top (required)> at /Users/ricardo_brazao/Documents/my_work/systematize/lib/tasks/migrations.rake:71)
|
157
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
158
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
159
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
160
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
161
|
+
[1m[35m (0.0ms)[0m begin transaction
|
162
|
+
[1m[36mPost Load (0.4ms)[0m [1mSELECT "posts".* FROM "posts" WHERE (deleted_at != NULL)[0m
|
163
|
+
[1m[35m (0.4ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152453'
|
164
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
165
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
166
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
167
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
168
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
169
|
+
[1m[35m (0.0ms)[0m begin transaction
|
170
|
+
[1m[36m (1.7ms)[0m [1mCREATE TEMPORARY TABLE "altered_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time, "deleted" boolean) [0m
|
171
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("posts")
|
172
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "posts"[0m
|
173
|
+
[1m[35m (0.3ms)[0m DROP TABLE "posts"
|
174
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted" boolean) [0m
|
175
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_posts")
|
176
|
+
[1m[36m (0.0ms)[0m [1mSELECT * FROM "altered_posts"[0m
|
177
|
+
[1m[35m (0.4ms)[0m DROP TABLE "altered_posts"
|
178
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152138'[0m
|
179
|
+
[1m[35m (1.1ms)[0m commit transaction
|
180
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
181
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
182
|
+
Migrating to CreatePostsTable (20161117151622)
|
183
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
184
|
+
[1m[35m (0.0ms)[0m begin transaction
|
185
|
+
[1m[36m (0.7ms)[0m [1mDROP TABLE "posts"[0m
|
186
|
+
[1m[35m (0.2ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117151622'
|
187
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
188
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
189
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
190
|
+
Migrating to CreatePostsTable (20161117151622)
|
191
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
192
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
193
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
194
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117151622')[0m
|
195
|
+
[1m[35m (2.1ms)[0m commit transaction
|
196
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
197
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
198
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "posts" ADD "deleted_at" time
|
199
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117152138')[0m
|
200
|
+
[1m[35m (1.2ms)[0m commit transaction
|
201
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
202
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
203
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."deleted" = 't'
|
204
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117152453')[0m
|
205
|
+
[1m[35m (0.6ms)[0m commit transaction
|
206
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
207
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
208
|
+
[1m[35m (1.4ms)[0m CREATE TEMPORARY TABLE "altered_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time)
|
209
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("posts")[0m
|
210
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "posts"
|
211
|
+
[1m[36m (1.3ms)[0m [1mDROP TABLE "posts"[0m
|
212
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time)
|
213
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("altered_posts")[0m
|
214
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "altered_posts"
|
215
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "altered_posts"[0m
|
216
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20161117152655')
|
217
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
218
|
+
DEPRECATION WARNING: The `subdirectories` argument to `migrations` is deprecated. (called from block (2 levels) in <top (required)> at /Users/ricardo_brazao/Documents/my_work/systematize/lib/tasks/migrations.rake:71)
|
219
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
220
|
+
Migrating to CreatePostsTable (20161117151622)
|
221
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
222
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
223
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
224
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
225
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
226
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
227
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
228
|
+
[1m[35m (0.0ms)[0m begin transaction
|
229
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "posts" ADD "deleted" boolean[0m
|
230
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152655'
|
231
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
232
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
233
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
234
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
235
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
236
|
+
[1m[35m (0.0ms)[0m begin transaction
|
237
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE (deleted_at != NULL)[0m
|
238
|
+
[1m[35m (0.4ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152453'
|
239
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
240
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
241
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
242
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
243
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
244
|
+
[1m[35m (0.0ms)[0m begin transaction
|
245
|
+
[1m[36m (1.4ms)[0m [1mCREATE TEMPORARY TABLE "altered_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time, "deleted" boolean) [0m
|
246
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("posts")
|
247
|
+
[1m[36m (0.5ms)[0m [1mSELECT * FROM "posts"[0m
|
248
|
+
[1m[35m (0.4ms)[0m DROP TABLE "posts"
|
249
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted" boolean) [0m
|
250
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_posts")
|
251
|
+
[1m[36m (0.0ms)[0m [1mSELECT * FROM "altered_posts"[0m
|
252
|
+
[1m[35m (0.4ms)[0m DROP TABLE "altered_posts"
|
253
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152138'[0m
|
254
|
+
[1m[35m (1.9ms)[0m commit transaction
|
255
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
256
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
257
|
+
Migrating to CreatePostsTable (20161117151622)
|
258
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
259
|
+
[1m[35m (0.0ms)[0m begin transaction
|
260
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "posts"[0m
|
261
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117151622'
|
262
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
263
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
264
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
265
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
266
|
+
Migrating to CreatePostsTable (20161117151622)
|
267
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
268
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
269
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
270
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117151622')[0m
|
271
|
+
[1m[35m (1.2ms)[0m commit transaction
|
272
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
273
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
274
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "posts" ADD "deleted_at" time
|
275
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117152138')[0m
|
276
|
+
[1m[35m (0.5ms)[0m commit transaction
|
277
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
278
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
279
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."deleted" = 't'
|
280
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117152453')[0m
|
281
|
+
[1m[35m (1.9ms)[0m commit transaction
|
282
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
283
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
284
|
+
[1m[35m (1.3ms)[0m CREATE TEMPORARY TABLE "altered_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time)
|
285
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("posts")[0m
|
286
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "posts"
|
287
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "posts"[0m
|
288
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time)
|
289
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_posts")[0m
|
290
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "altered_posts"
|
291
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "altered_posts"[0m
|
292
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20161117152655')
|
293
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
294
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
295
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
296
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
297
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
298
|
+
[1m[35m (0.0ms)[0m begin transaction
|
299
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "posts" ADD "deleted" boolean[0m
|
300
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152655'
|
301
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
302
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
303
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
304
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
305
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
306
|
+
[1m[35m (0.0ms)[0m begin transaction
|
307
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE (deleted_at != NULL)[0m
|
308
|
+
[1m[35m (0.3ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152453'
|
309
|
+
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
310
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
311
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
312
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
313
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
314
|
+
[1m[35m (0.0ms)[0m begin transaction
|
315
|
+
[1m[36m (1.2ms)[0m [1mCREATE TEMPORARY TABLE "altered_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time, "deleted" boolean) [0m
|
316
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("posts")
|
317
|
+
[1m[36m (0.0ms)[0m [1mSELECT * FROM "posts"[0m
|
318
|
+
[1m[35m (0.3ms)[0m DROP TABLE "posts"
|
319
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted" boolean) [0m
|
320
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_posts")
|
321
|
+
[1m[36m (0.0ms)[0m [1mSELECT * FROM "altered_posts"[0m
|
322
|
+
[1m[35m (0.4ms)[0m DROP TABLE "altered_posts"
|
323
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152138'[0m
|
324
|
+
[1m[35m (1.6ms)[0m commit transaction
|
325
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
326
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
327
|
+
Migrating to CreatePostsTable (20161117151622)
|
328
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
329
|
+
[1m[35m (0.0ms)[0m begin transaction
|
330
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "posts"[0m
|
331
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117151622'
|
332
|
+
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
333
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
334
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
335
|
+
Migrating to CreatePostsTable (20161117151622)
|
336
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
337
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
338
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
339
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117151622')[0m
|
340
|
+
[1m[35m (1.5ms)[0m commit transaction
|
341
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
342
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
343
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "posts" ADD "deleted_at" time
|
344
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117152138')[0m
|
345
|
+
[1m[35m (0.5ms)[0m commit transaction
|
346
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
347
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
348
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."deleted" = 't'
|
349
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117152453')[0m
|
350
|
+
[1m[35m (0.6ms)[0m commit transaction
|
351
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
352
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
353
|
+
[1m[35m (1.3ms)[0m CREATE TEMPORARY TABLE "altered_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time)
|
354
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("posts")[0m
|
355
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "posts"
|
356
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "posts"[0m
|
357
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time)
|
358
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_posts")[0m
|
359
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "altered_posts"
|
360
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "altered_posts"[0m
|
361
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20161117152655')
|
362
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
363
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
364
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
365
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
366
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
367
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
368
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
369
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "posts" ADD "deleted" boolean
|
370
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152655'[0m
|
371
|
+
[1m[35m (1.4ms)[0m commit transaction
|
372
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
373
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
374
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE (deleted_at != NULL)
|
375
|
+
[1m[36m (0.3ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152453'[0m
|
376
|
+
[1m[35m (0.6ms)[0m commit transaction
|
377
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
378
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
379
|
+
[1m[35m (1.2ms)[0m CREATE TEMPORARY TABLE "altered_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time, "deleted" boolean)
|
380
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("posts")[0m
|
381
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "posts"
|
382
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "posts"[0m
|
383
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted" boolean)
|
384
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_posts")[0m
|
385
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "altered_posts"
|
386
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "altered_posts"[0m
|
387
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152138'
|
388
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
389
|
+
Migrating to CreatePostsTable (20161117151622)
|
390
|
+
[1m[35m (0.0ms)[0m begin transaction
|
391
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "posts"[0m
|
392
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117151622'
|
393
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
394
|
+
[1m[36m (0.3ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
395
|
+
Migrating to CreatePostsTable (20161117151622)
|
396
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
397
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
398
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
399
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117151622')[0m
|
400
|
+
[1m[35m (0.6ms)[0m commit transaction
|
401
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
402
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
403
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "posts" ADD "deleted_at" time
|
404
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117152138')[0m
|
405
|
+
[1m[35m (0.7ms)[0m commit transaction
|
406
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
407
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
408
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."deleted" = 't'
|
409
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117152453')[0m
|
410
|
+
[1m[35m (0.6ms)[0m commit transaction
|
411
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
412
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
413
|
+
[1m[35m (1.2ms)[0m CREATE TEMPORARY TABLE "altered_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time)
|
414
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("posts")[0m
|
415
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "posts"
|
416
|
+
[1m[36m (0.5ms)[0m [1mDROP TABLE "posts"[0m
|
417
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time)
|
418
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_posts")[0m
|
419
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "altered_posts"
|
420
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "altered_posts"[0m
|
421
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20161117152655')
|
422
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
423
|
+
[1m[36m (0.3ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
424
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
425
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
426
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
427
|
+
[1m[35m (0.0ms)[0m begin transaction
|
428
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "posts" ADD "deleted" boolean[0m
|
429
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152655'
|
430
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
431
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
432
|
+
Migrating to CreatePostsTable (20161117151622)
|
433
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
434
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
435
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
436
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
437
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
438
|
+
[1m[35m (1.3ms)[0m CREATE TEMPORARY TABLE "altered_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time, "deleted" boolean)
|
439
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("posts")[0m
|
440
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "posts"
|
441
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "posts"[0m
|
442
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time)
|
443
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_posts")[0m
|
444
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "altered_posts"
|
445
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "altered_posts"[0m
|
446
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20161117152655')
|
447
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
448
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
449
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
450
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
451
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
452
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
453
|
+
[1m[35m (0.0ms)[0m begin transaction
|
454
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "posts" ADD "deleted" boolean[0m
|
455
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152655'
|
456
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
457
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
458
|
+
[1m[35m (0.0ms)[0m begin transaction
|
459
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE (deleted_at != NULL)[0m
|
460
|
+
[1m[35m (0.8ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152453'
|
461
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
462
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
463
|
+
[1m[35m (0.0ms)[0m begin transaction
|
464
|
+
[1m[36m (1.4ms)[0m [1mCREATE TEMPORARY TABLE "altered_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time, "deleted" boolean) [0m
|
465
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("posts")
|
466
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "posts"[0m
|
467
|
+
[1m[35m (0.4ms)[0m DROP TABLE "posts"
|
468
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted" boolean) [0m
|
469
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_posts")
|
470
|
+
[1m[36m (0.0ms)[0m [1mSELECT * FROM "altered_posts"[0m
|
471
|
+
[1m[35m (1.2ms)[0m DROP TABLE "altered_posts"
|
472
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152138'[0m
|
473
|
+
[1m[35m (1.0ms)[0m commit transaction
|
474
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
475
|
+
Migrating to CreatePostsTable (20161117151622)
|
476
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
477
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
478
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
479
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "posts" ADD "deleted_at" time
|
480
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117152138')[0m
|
481
|
+
[1m[35m (1.7ms)[0m commit transaction
|
482
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
483
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
484
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."deleted" = 't'
|
485
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117152453')[0m
|
486
|
+
[1m[35m (0.5ms)[0m commit transaction
|
487
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
488
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
489
|
+
[1m[35m (1.3ms)[0m CREATE TEMPORARY TABLE "altered_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted" boolean, "deleted_at" time)
|
490
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("posts")[0m
|
491
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "posts"
|
492
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "posts"[0m
|
493
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time)
|
494
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_posts")[0m
|
495
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "altered_posts"
|
496
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "altered_posts"[0m
|
497
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20161117152655')
|
498
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
499
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
500
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
501
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
502
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
503
|
+
[1m[35m (0.0ms)[0m begin transaction
|
504
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "posts" ADD "deleted" boolean[0m
|
505
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152655'
|
506
|
+
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
507
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
508
|
+
[1m[35m (0.0ms)[0m begin transaction
|
509
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE (deleted_at != NULL)[0m
|
510
|
+
[1m[35m (0.3ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152453'
|
511
|
+
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
512
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
513
|
+
[1m[35m (0.0ms)[0m begin transaction
|
514
|
+
[1m[36m (1.4ms)[0m [1mCREATE TEMPORARY TABLE "altered_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time, "deleted" boolean) [0m
|
515
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("posts")
|
516
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "posts"[0m
|
517
|
+
[1m[35m (0.6ms)[0m DROP TABLE "posts"
|
518
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted" boolean) [0m
|
519
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_posts")
|
520
|
+
[1m[36m (0.0ms)[0m [1mSELECT * FROM "altered_posts"[0m
|
521
|
+
[1m[35m (0.4ms)[0m DROP TABLE "altered_posts"
|
522
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152138'[0m
|
523
|
+
[1m[35m (1.9ms)[0m commit transaction
|
524
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
525
|
+
Migrating to CreatePostsTable (20161117151622)
|
526
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
527
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
528
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
529
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "posts" ADD "deleted_at" time
|
530
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117152138')[0m
|
531
|
+
[1m[35m (0.6ms)[0m commit transaction
|
532
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
533
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
534
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."deleted" = 't'
|
535
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117152453')[0m
|
536
|
+
[1m[35m (0.5ms)[0m commit transaction
|
537
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
538
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
539
|
+
[1m[35m (1.2ms)[0m CREATE TEMPORARY TABLE "altered_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted" boolean, "deleted_at" time)
|
540
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("posts")[0m
|
541
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "posts"
|
542
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "posts"[0m
|
543
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time)
|
544
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_posts")[0m
|
545
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "altered_posts"
|
546
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "altered_posts"[0m
|
547
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20161117152655')
|
548
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
549
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
550
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
551
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
552
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
553
|
+
[1m[35m (0.0ms)[0m begin transaction
|
554
|
+
[1m[36m (0.9ms)[0m [1mALTER TABLE "posts" ADD "deleted" boolean[0m
|
555
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152655'
|
556
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
557
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
558
|
+
[1m[35m (0.0ms)[0m begin transaction
|
559
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE (deleted_at != NULL)[0m
|
560
|
+
[1m[35m (0.2ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152453'
|
561
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
562
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
563
|
+
[1m[35m (0.1ms)[0m begin transaction
|
564
|
+
[1m[36m (1.1ms)[0m [1mCREATE TEMPORARY TABLE "altered_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time, "deleted" boolean) [0m
|
565
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("posts")
|
566
|
+
[1m[36m (0.0ms)[0m [1mSELECT * FROM "posts"[0m
|
567
|
+
[1m[35m (0.2ms)[0m DROP TABLE "posts"
|
568
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted" boolean) [0m
|
569
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_posts")
|
570
|
+
[1m[36m (0.0ms)[0m [1mSELECT * FROM "altered_posts"[0m
|
571
|
+
[1m[35m (0.2ms)[0m DROP TABLE "altered_posts"
|
572
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152138'[0m
|
573
|
+
[1m[35m (0.8ms)[0m commit transaction
|
574
|
+
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
575
|
+
Migrating to CreatePostsTable (20161117151622)
|
576
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
577
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
578
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
579
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "posts" ADD "deleted_at" time
|
580
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117152138')[0m
|
581
|
+
[1m[35m (0.5ms)[0m commit transaction
|
582
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
583
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
584
|
+
[1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."deleted" = 't'
|
585
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117152453')[0m
|
586
|
+
[1m[35m (0.6ms)[0m commit transaction
|
587
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
588
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
589
|
+
[1m[35m (1.1ms)[0m CREATE TEMPORARY TABLE "altered_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted" boolean, "deleted_at" time)
|
590
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("posts")[0m
|
591
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "posts"
|
592
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "posts"[0m
|
593
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time)
|
594
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_posts")[0m
|
595
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "altered_posts"
|
596
|
+
[1m[36m (0.8ms)[0m [1mDROP TABLE "altered_posts"[0m
|
597
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20161117152655')
|
598
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
599
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
600
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
601
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
602
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
603
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
604
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
605
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "posts" ADD "deleted" boolean
|
606
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152655'[0m
|
607
|
+
[1m[35m (1.2ms)[0m commit transaction
|
608
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
609
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
610
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE (deleted_at != NULL)
|
611
|
+
[1m[36m (0.3ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152453'[0m
|
612
|
+
[1m[35m (1.2ms)[0m commit transaction
|
613
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
614
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
615
|
+
[1m[35m (1.5ms)[0m CREATE TEMPORARY TABLE "altered_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time, "deleted" boolean)
|
616
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("posts")[0m
|
617
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "posts"
|
618
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "posts"[0m
|
619
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted" boolean)
|
620
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_posts")[0m
|
621
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "altered_posts"
|
622
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "altered_posts"[0m
|
623
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152138'
|
624
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
625
|
+
Migrating to CreatePostsTable (20161117151622)
|
626
|
+
[1m[35m (0.0ms)[0m begin transaction
|
627
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "posts"[0m
|
628
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117151622'
|
629
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
630
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
631
|
+
Migrating to CreatePostsTable (20161117151622)
|
632
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
633
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
634
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
635
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117151622')[0m
|
636
|
+
[1m[35m (1.4ms)[0m commit transaction
|
637
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
638
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
639
|
+
[1m[35m (0.7ms)[0m ALTER TABLE "posts" ADD "deleted_at" time
|
640
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117152138')[0m
|
641
|
+
[1m[35m (0.6ms)[0m commit transaction
|
642
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
643
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
644
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."deleted" = 't'
|
645
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117152453')[0m
|
646
|
+
[1m[35m (0.7ms)[0m commit transaction
|
647
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
648
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
649
|
+
[1m[35m (1.3ms)[0m CREATE TEMPORARY TABLE "altered_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time)
|
650
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("posts")[0m
|
651
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "posts"
|
652
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "posts"[0m
|
653
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time)
|
654
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_posts")[0m
|
655
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "altered_posts"
|
656
|
+
[1m[36m (0.6ms)[0m [1mDROP TABLE "altered_posts"[0m
|
657
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20161117152655')
|
658
|
+
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
659
|
+
[1m[36m (0.3ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
660
|
+
Migrating to CreatePostsTable (20161117151622)
|
661
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
662
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
663
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
664
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
665
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
666
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
667
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
668
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
669
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
670
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "posts" ADD "deleted" boolean
|
671
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152655'[0m
|
672
|
+
[1m[35m (1.5ms)[0m commit transaction
|
673
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
674
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
675
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE (deleted_at != NULL)
|
676
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152453'[0m
|
677
|
+
[1m[35m (0.6ms)[0m commit transaction
|
678
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
679
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
680
|
+
[1m[35m (0.4ms)[0m CREATE TEMPORARY TABLE "altered_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time, "deleted" boolean)
|
681
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("posts")[0m
|
682
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "posts"
|
683
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "posts"[0m
|
684
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted" boolean)
|
685
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_posts")[0m
|
686
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "altered_posts"
|
687
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "altered_posts"[0m
|
688
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152138'
|
689
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
690
|
+
Migrating to CreatePostsTable (20161117151622)
|
691
|
+
[1m[35m (0.0ms)[0m begin transaction
|
692
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "posts"[0m
|
693
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117151622'
|
694
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
695
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
696
|
+
Migrating to CreatePostsTable (20161117151622)
|
697
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
698
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
699
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
700
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117151622')[0m
|
701
|
+
[1m[35m (1.5ms)[0m commit transaction
|
702
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
703
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
704
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "posts" ADD "deleted_at" time
|
705
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117152138')[0m
|
706
|
+
[1m[35m (0.6ms)[0m commit transaction
|
707
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
708
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
709
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."deleted" = 't'
|
710
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117152453')[0m
|
711
|
+
[1m[35m (0.6ms)[0m commit transaction
|
712
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
713
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
714
|
+
[1m[35m (0.4ms)[0m CREATE TEMPORARY TABLE "altered_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time)
|
715
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("posts")[0m
|
716
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "posts"
|
717
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "posts"[0m
|
718
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time)
|
719
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("altered_posts")[0m
|
720
|
+
[1m[35m (0.5ms)[0m SELECT * FROM "altered_posts"
|
721
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "altered_posts"[0m
|
722
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20161117152655')
|
723
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
724
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
725
|
+
Migrating to CreatePostsTable (20161117151622)
|
726
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
727
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
728
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
729
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
730
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
731
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
732
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
733
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
734
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
735
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "posts" ADD "deleted" boolean
|
736
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152655'[0m
|
737
|
+
[1m[35m (1.5ms)[0m commit transaction
|
738
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
739
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
740
|
+
[1m[35mPost Load (0.0ms)[0m SELECT "posts".* FROM "posts" WHERE (deleted_at != NULL)
|
741
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152453'[0m
|
742
|
+
[1m[35m (0.6ms)[0m commit transaction
|
743
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
744
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
745
|
+
[1m[35m (0.4ms)[0m CREATE TEMPORARY TABLE "altered_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time, "deleted" boolean)
|
746
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("posts")[0m
|
747
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "posts"
|
748
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "posts"[0m
|
749
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted" boolean)
|
750
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_posts")[0m
|
751
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "altered_posts"
|
752
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "altered_posts"[0m
|
753
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152138'
|
754
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
755
|
+
Migrating to CreatePostsTable (20161117151622)
|
756
|
+
[1m[35m (0.0ms)[0m begin transaction
|
757
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "posts"[0m
|
758
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117151622'
|
759
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
760
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
761
|
+
Migrating to CreatePostsTable (20161117151622)
|
762
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
763
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
764
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
765
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117151622')[0m
|
766
|
+
[1m[35m (1.5ms)[0m commit transaction
|
767
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
768
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
769
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "posts" ADD "deleted_at" time
|
770
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117152138')[0m
|
771
|
+
[1m[35m (0.5ms)[0m commit transaction
|
772
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
773
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
774
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."deleted" = 't'
|
775
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117152453')[0m
|
776
|
+
[1m[35m (0.5ms)[0m commit transaction
|
777
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
778
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
779
|
+
[1m[35m (0.3ms)[0m CREATE TEMPORARY TABLE "altered_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time)
|
780
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("posts")[0m
|
781
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "posts"
|
782
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "posts"[0m
|
783
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time)
|
784
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_posts")[0m
|
785
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "altered_posts"
|
786
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "altered_posts"[0m
|
787
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20161117152655')
|
788
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
789
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
790
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
791
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
792
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
793
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
794
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
795
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "posts" ADD "deleted" boolean
|
796
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152655'[0m
|
797
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
798
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE (deleted_at != NULL)
|
799
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152453'[0m
|
800
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
801
|
+
[1m[35m (0.4ms)[0m CREATE TEMPORARY TABLE "altered_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time, "deleted" boolean)
|
802
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("posts")[0m
|
803
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "posts"
|
804
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "posts"[0m
|
805
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted" boolean)
|
806
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_posts")[0m
|
807
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "altered_posts"
|
808
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "altered_posts"[0m
|
809
|
+
[1m[35m (0.1ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152138'
|
810
|
+
Migrating to CreatePostsTable (20161117151622)
|
811
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "posts"[0m
|
812
|
+
[1m[35m (0.0ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117151622'
|
813
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
814
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
815
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
816
|
+
Migrating to CreatePostsTable (20161117151622)
|
817
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
818
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
819
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117151622')[0m
|
820
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
821
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "posts" ADD "deleted_at" time
|
822
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117152138')[0m
|
823
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
824
|
+
[1m[35mPost Load (0.0ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."deleted" = 't'
|
825
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117152453')[0m
|
826
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
827
|
+
[1m[35m (0.4ms)[0m CREATE TEMPORARY TABLE "altered_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time)
|
828
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("posts")[0m
|
829
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "posts"
|
830
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "posts"[0m
|
831
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time)
|
832
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_posts")[0m
|
833
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "altered_posts"
|
834
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "altered_posts"[0m
|
835
|
+
[1m[35m (0.0ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20161117152655')
|
836
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
837
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
838
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
839
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
840
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
841
|
+
Migrating to RemoveDeletedColumn (20161117152655)
|
842
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
843
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "posts" ADD "deleted" boolean
|
844
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152655'[0m
|
845
|
+
Migrating to MarkDeletedPostsWithTimestamp (20161117152453)
|
846
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE (deleted_at != NULL)
|
847
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152453'[0m
|
848
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
849
|
+
[1m[35m (0.4ms)[0m CREATE TEMPORARY TABLE "altered_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" time, "deleted" boolean)
|
850
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("posts")[0m
|
851
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "posts"
|
852
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "posts"[0m
|
853
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted" boolean)
|
854
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_posts")[0m
|
855
|
+
[1m[35m (0.0ms)[0m SELECT * FROM "altered_posts"
|
856
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "altered_posts"[0m
|
857
|
+
[1m[35m (0.0ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117152138'
|
858
|
+
Migrating to CreatePostsTable (20161117151622)
|
859
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "posts"[0m
|
860
|
+
[1m[35m (0.0ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117151622'
|
861
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
862
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
863
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
864
|
+
Migrating to CreatePostsTable (20161117151622)
|
865
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
866
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
867
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117151622')[0m
|
868
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
869
|
+
[1m[35m (1.2ms)[0m rollback transaction
|
870
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
871
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
872
|
+
Migrating to CreatePostsTable (20161117151622)
|
873
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
874
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
875
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117151622')[0m
|
876
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
877
|
+
[1m[35m (1.2ms)[0m rollback transaction
|
878
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
879
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
880
|
+
Migrating to CreatePostsTable (20161117151622)
|
881
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
882
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
883
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117151622')[0m
|
884
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
885
|
+
[1m[35m (1.2ms)[0m rollback transaction
|
886
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
887
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
888
|
+
Migrating to CreatePostsTable (20161117151622)
|
889
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
890
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
891
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117151622')[0m
|
892
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
893
|
+
[1m[35m (1.3ms)[0m rollback transaction
|
894
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
895
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
896
|
+
Migrating to CreatePostsTable (20161117151622)
|
897
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
898
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
899
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117151622')[0m
|
900
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
901
|
+
[1m[35m (1.3ms)[0m rollback transaction
|
902
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
903
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
904
|
+
Migrating to CreatePostsTable (20161117151622)
|
905
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
906
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
907
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117151622')[0m
|
908
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
909
|
+
[1m[35m (1.3ms)[0m rollback transaction
|
910
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
911
|
+
Migrating to CreatePostsTable (20161117151622)
|
912
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
913
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
914
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
915
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117151622')[0m
|
916
|
+
[1m[35m (1.4ms)[0m commit transaction
|
917
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
918
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
919
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
920
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
921
|
+
Migrating to CreatePostsTable (20161117151622)
|
922
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
923
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
924
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
925
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
926
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
927
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
928
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
929
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
930
|
+
Migrating to CreatePostsTable (20161117151622)
|
931
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
932
|
+
[1m[35m (0.5ms)[0m DROP TABLE "posts"
|
933
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20161117151622'[0m
|
934
|
+
[1m[35m (1.5ms)[0m commit transaction
|
935
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
936
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
937
|
+
Migrating to CreatePostsTable (20161117151622)
|
938
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
939
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
940
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117151622')[0m
|
941
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
942
|
+
[1m[35m (1.3ms)[0m rollback transaction
|
943
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
944
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
945
|
+
Migrating to CreatePostsTable (20161117151622)
|
946
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
947
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "owner_id" integer, "deleted" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
948
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20161117151622')[0m
|
949
|
+
Migrating to AddDeletedAtTimestamp (20161117152138)
|
950
|
+
[1m[35m (1.2ms)[0m rollback transaction
|
951
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
952
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
953
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|