rails_soft_deletable 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1045 +1,1417 @@
1
-  (1.9ms) CREATE TABLE "decimal_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" decimal DEFAULT 0, "integer_model_id" integer) 
2
-  (1.1ms) CREATE TABLE "integer_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0)
3
-  (1.0ms) CREATE TABLE "forests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0) 
4
-  (0.9ms) CREATE TABLE "trees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0, "forest_id" integer, "park_id" integer, "biggest" boolean DEFAULT 'f')
5
-  (0.8ms) CREATE TABLE "parks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "forest_id" integer) 
6
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
7
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1
+  (1.5ms) CREATE TABLE "decimal_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" decimal DEFAULT 0, "integer_model_id" integer) 
2
+  (1.0ms) CREATE TABLE "integer_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0)
3
+  (1.1ms) CREATE TABLE "forests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0) 
4
+  (1.2ms) CREATE TABLE "trees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0, "forest_id" integer, "park_id" integer, "biggest" boolean DEFAULT 'f')
5
+  (1.1ms) CREATE TABLE "parks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "forest_id" integer) 
6
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
7
+  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
8
8
   (0.1ms) SELECT version FROM "schema_migrations"
9
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150207084152')
9
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20141216212400')
10
10
   (0.0ms) begin transaction
11
- SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
12
-  (0.7ms) commit transaction
13
-  (0.0ms) begin transaction
14
- SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1423327312.560672 WHERE "integer_models"."id" = 1
15
-  (0.7ms) commit transaction
16
-  (0.0ms) begin transaction
17
- SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
18
-  (0.8ms) commit transaction
11
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
12
+  (1.1ms) commit transaction
19
13
   (0.1ms) begin transaction
20
- SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1423327312.565574 WHERE "integer_models"."id" = 2
21
-  (0.7ms) commit transaction
22
-  (0.0ms) begin transaction
23
- SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
24
-  (0.6ms) commit transaction
25
-  (0.0ms) begin transaction
26
- SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1423327312.568644 WHERE "integer_models"."id" = 3
27
-  (0.6ms) commit transaction
28
-  (0.0ms) begin transaction
29
- SQL (0.2ms) INSERT INTO "decimal_models" DEFAULT VALUES
30
-  (0.7ms) commit transaction
31
-  (0.0ms) begin transaction
32
- SQL (0.0ms) INSERT INTO "decimal_models" DEFAULT VALUES
33
-  (0.0ms) commit transaction
34
-  (0.0ms) begin transaction
35
- SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1423327313.0 WHERE "decimal_models"."id" = 2
36
-  (0.0ms) commit transaction
37
-  (0.0ms) begin transaction
38
- SQL (0.0ms) INSERT INTO "integer_models" DEFAULT VALUES
39
-  (0.0ms) commit transaction
40
-  (0.0ms) begin transaction
41
- SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1423327313.0 WHERE "integer_models"."id" = 4
42
-  (0.0ms) commit transaction
43
-  (0.0ms) begin transaction
44
- SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
14
+ SQL (0.3ms) UPDATE "integer_models" SET "deleted_at" = 1418736241.196814 WHERE "integer_models"."id" = 1
15
+  (0.8ms) commit transaction
16
+  (0.1ms) begin transaction
17
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
18
+  (0.9ms) commit transaction
19
+ IntegerModel Load (0.2ms) SELECT "integer_models".* FROM "integer_models"
20
+  (0.1ms) begin transaction
21
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
22
+  (0.9ms) commit transaction
23
+  (0.1ms) begin transaction
24
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
45
25
   (0.7ms) commit transaction
46
26
   (0.0ms) begin transaction
47
- SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1423327312.583548 WHERE "integer_models"."id" = 5
48
-  (0.6ms) commit transaction
27
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418736241.243539 WHERE "integer_models"."id" = 4
28
+  (0.5ms) commit transaction
49
29
   (0.0ms) begin transaction
50
30
  SQL (0.0ms) INSERT INTO "decimal_models" DEFAULT VALUES
51
31
   (0.0ms) commit transaction
52
-  (0.0ms) begin transaction
53
- SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1423327312.584942 WHERE "decimal_models"."id" = 3
54
-  (0.0ms) commit transaction
32
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1418736241.246541 WHERE "decimal_models"."id" = 1
55
33
   (0.0ms) begin transaction
56
34
  SQL (0.0ms) INSERT INTO "integer_models" DEFAULT VALUES
57
35
   (0.0ms) commit transaction
58
-  (0.0ms) begin transaction
59
- SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1423327312.584942 WHERE "integer_models"."id" = 6
60
-  (0.0ms) commit transaction
61
-  (0.0ms) SELECT deleted_at FROM "decimal_models" WHERE id = 3
62
-  (0.0ms) SELECT deleted_at FROM "integer_models" WHERE id = 6
63
-  (0.0ms) begin transaction
64
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
65
-  (0.6ms) commit transaction
66
-  (0.0ms) begin transaction
67
- SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1423327312.591595 WHERE "integer_models"."id" = 7
68
-  (0.6ms) commit transaction
69
-  (0.0ms) begin transaction
70
- SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
36
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1418736241.246541 WHERE "integer_models"."id" = 5
37
+  (0.0ms) SELECT deleted_at FROM "decimal_models" WHERE id = 1
38
+  (0.0ms) SELECT deleted_at FROM "integer_models" WHERE id = 5
39
+  (0.1ms) begin transaction
40
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
71
41
   (0.6ms) commit transaction
72
-  (0.0ms) begin transaction
73
- SQL (0.2ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = ? [["id", 8]]
74
-  (0.5ms) commit transaction
42
+ SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1418736241.267924 WHERE "integer_models"."id" = 6
75
43
   (0.1ms) begin transaction
76
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
77
-  (0.7ms) commit transaction
78
-  (0.0ms) begin transaction
79
- SQL (0.1ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = ? [["id", 9]]
80
-  (0.6ms) commit transaction
81
-  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 9
82
-  (0.0ms) begin transaction
83
- SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
84
-  (0.6ms) commit transaction
85
-  (0.0ms) begin transaction
86
- SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1423327312.599584 WHERE "integer_models"."id" = 10
44
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
87
45
   (0.6ms) commit transaction
88
-  (0.0ms) begin transaction
89
-  (0.0ms) rollback transaction
90
-  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 10
91
-  (0.0ms) begin transaction
92
- SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
46
+ SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1418736241.271395 WHERE "integer_models"."id" = 7
47
+  (0.1ms) begin transaction
48
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
93
49
   (0.5ms) commit transaction
94
-  (0.0ms) begin transaction
95
- SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1423327312.602747 WHERE "integer_models"."id" = 11
96
-  (0.4ms) commit transaction
97
-  (0.0ms) begin transaction
98
-  (0.0ms) rollback transaction
99
-  (0.0ms) begin transaction
100
- SQL (0.2ms) INSERT INTO "parks" DEFAULT VALUES
101
-  (0.7ms) commit transaction
102
-  (0.0ms) begin transaction
103
- SQL (0.2ms) INSERT INTO "trees" ("park_id") VALUES (?) [["park_id", 1]]
104
-  (0.5ms) commit transaction
105
-  (0.0ms) begin transaction
106
- SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1423327312.61425 WHERE "trees"."id" = 1
107
-  (0.6ms) commit transaction
108
- Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE ("trees".deleted_at = 0) AND "trees"."park_id" = ? LIMIT 1 [["park_id", 1]]
50
+ SQL (0.8ms) UPDATE "integer_models" SET "deleted_at" = 1418736241.274866 WHERE "integer_models"."id" = 8
109
51
   (0.1ms) begin transaction
110
- SQL (0.2ms) INSERT INTO "parks" DEFAULT VALUES
52
+ SQL (0.3ms) INSERT INTO "decimal_models" DEFAULT VALUES
111
53
   (0.6ms) commit transaction
112
-  (0.0ms) begin transaction
113
- SQL (0.2ms) INSERT INTO "trees" ("park_id") VALUES (?) [["park_id", 2]]
54
+  (0.1ms) begin transaction
55
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
114
56
   (0.7ms) commit transaction
115
-  (0.0ms) begin transaction
116
- SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1423327312.647117 WHERE "trees"."id" = 2
117
-  (0.6ms) commit transaction
57
+ SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1418736241.280797 WHERE "integer_models"."id" = 9
118
58
   (0.0ms) begin transaction
119
- SQL (0.2ms) INSERT INTO "trees" ("park_id") VALUES (?) [["park_id", 2]]
120
-  (0.7ms) commit transaction
121
- Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE "trees"."park_id" = ? AND "trees"."id" = 2 LIMIT 1 [["park_id", 2]]
122
- Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE "trees"."park_id" = ? AND "trees"."id" = 3 LIMIT 1 [["park_id", 2]]
123
-  (0.0ms) begin transaction
124
- SQL (0.2ms) INSERT INTO "parks" DEFAULT VALUES
125
-  (0.8ms) commit transaction
59
+ SQL (0.0ms) INSERT INTO "decimal_models" DEFAULT VALUES
60
+  (0.0ms) commit transaction
61
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1418736241.0 WHERE "decimal_models"."id" = 3
126
62
   (0.0ms) begin transaction
127
- SQL (0.3ms) INSERT INTO "trees" ("biggest", "park_id") VALUES (?, ?) [["biggest", true], ["park_id", 3]]
63
+ SQL (0.0ms) INSERT INTO "integer_models" DEFAULT VALUES
64
+  (0.0ms) commit transaction
65
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1418736241.0 WHERE "integer_models"."id" = 10
66
+  (0.1ms) begin transaction
67
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
128
68
   (0.5ms) commit transaction
129
-  (0.0ms) begin transaction
130
- SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1423327312.656681 WHERE "trees"."id" = 4
131
-  (0.6ms) commit transaction
132
- Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE ("trees".deleted_at = 0) AND "trees"."park_id" = ? AND "trees"."biggest" = 't' LIMIT 1 [["park_id", 3]]
133
-  (0.0ms) begin transaction
134
- SQL (0.2ms) INSERT INTO "parks" DEFAULT VALUES
135
-  (0.7ms) commit transaction
136
-  (0.0ms) begin transaction
137
- SQL (0.2ms) INSERT INTO "trees" ("biggest", "park_id") VALUES (?, ?) [["biggest", true], ["park_id", 4]]
138
-  (0.6ms) commit transaction
139
-  (0.0ms) begin transaction
140
- SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1423327312.663649 WHERE "trees"."id" = 5
141
-  (0.5ms) commit transaction
142
- Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."park_id" = ? AND "trees"."biggest" = 't' LIMIT 1 [["park_id", 4]]
143
-  (0.0ms) begin transaction
144
- SQL (0.2ms) INSERT INTO "forests" DEFAULT VALUES
69
+ SQL (0.6ms) UPDATE "integer_models" SET "deleted_at" = 1418736241.29138 WHERE "integer_models"."id" = 11
70
+  (0.1ms) begin transaction
71
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
72
+  (0.9ms) commit transaction
73
+ SQL (0.8ms) UPDATE "integer_models" SET "deleted_at" = 1418736241.295192 WHERE "integer_models"."id" = 12
74
+ SQL (0.8ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 12
75
+  (0.1ms) begin transaction
76
+ SQL (0.4ms) INSERT INTO "integer_models" DEFAULT VALUES
145
77
   (0.7ms) commit transaction
146
-  (0.0ms) begin transaction
147
- SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1423327312.672233 WHERE "forests"."id" = 1
148
-  (0.7ms) commit transaction
149
-  (0.0ms) begin transaction
150
- SQL (0.2ms) INSERT INTO "parks" DEFAULT VALUES
151
-  (0.6ms) commit transaction
152
-  (0.0ms) begin transaction
153
- SQL (0.2ms) UPDATE "parks" SET "forest_id" = ? WHERE "parks"."id" = 5 [["forest_id", 1]]
154
-  (0.6ms) commit transaction
155
- Park Load (0.1ms) SELECT "parks".* FROM "parks" WHERE "parks"."id" = ? LIMIT 1 [["id", 5]]
156
- Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE ("forests".deleted_at = 0) AND "forests"."id" = ? LIMIT 1 [["id", 1]]
157
-  (0.0ms) begin transaction
158
- SQL (0.2ms) INSERT INTO "forests" DEFAULT VALUES
159
-  (0.5ms) commit transaction
160
-  (0.0ms) begin transaction
161
- SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1423327312.681632 WHERE "forests"."id" = 2
162
-  (0.6ms) commit transaction
163
-  (0.0ms) begin transaction
164
- SQL (0.2ms) INSERT INTO "parks" DEFAULT VALUES
165
-  (0.6ms) commit transaction
166
-  (0.0ms) begin transaction
167
- SQL (0.1ms) UPDATE "parks" SET "forest_id" = ? WHERE "parks"."id" = 6 [["forest_id", 2]]
168
-  (0.6ms) commit transaction
169
- Park Load (0.1ms) SELECT "parks".* FROM "parks" WHERE "parks"."id" = ? LIMIT 1 [["id", 6]]
170
- Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = ? LIMIT 1 [["id", 2]]
171
-  (0.0ms) begin transaction
172
- SQL (0.2ms) INSERT INTO "forests" DEFAULT VALUES
78
+ SQL (0.9ms) UPDATE "integer_models" SET "deleted_at" = 1418736241.299759 WHERE "integer_models"."id" = 13
79
+ SQL (1.2ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 13
80
+  (0.2ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 13
81
+  (0.1ms) begin transaction
82
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
173
83
   (0.6ms) commit transaction
84
+ SQL (0.6ms) DELETE FROM "integer_models" WHERE ("integer_models".deleted_at = 0) AND "integer_models"."id" = 14
85
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 14
174
86
   (0.0ms) begin transaction
175
- SQL (0.2ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 3]]
87
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
176
88
   (0.7ms) commit transaction
89
+ SQL (0.8ms) DELETE FROM "integer_models" WHERE ("integer_models".deleted_at = 0) AND "integer_models"."id" = 15
90
+  (0.1ms) begin transaction
91
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
92
+  (0.9ms) commit transaction
93
+  (0.1ms) begin transaction
94
+ SQL (0.3ms) UPDATE "integer_models" SET "deleted_at" = 1418736241.313677 WHERE "integer_models"."id" = 16
95
+  (1.0ms) commit transaction
96
+ SQL (1.1ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 16
97
+  (0.1ms) begin transaction
98
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
99
+  (1.0ms) commit transaction
100
+  (0.1ms) begin transaction
101
+ SQL (0.3ms) UPDATE "integer_models" SET "deleted_at" = 1418736241.323353 WHERE "integer_models"."id" = 17
102
+  (0.9ms) commit transaction
103
+ SQL (1.2ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 17
104
+  (0.1ms) begin transaction
105
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
106
+  (0.9ms) commit transaction
107
+  (0.1ms) begin transaction
108
+ SQL (0.3ms) UPDATE "integer_models" SET "deleted_at" = 1418736241.329502 WHERE "integer_models"."id" = 18
109
+  (0.9ms) commit transaction
110
+ SQL (1.3ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 18
111
+  (0.2ms) SELECT deleted_at FROM "integer_models" WHERE id = 18
112
+  (0.1ms) begin transaction
113
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
114
+  (0.8ms) commit transaction
115
+  (0.1ms) begin transaction
116
+ SQL (0.4ms) UPDATE "integer_models" SET "deleted_at" = 1418736241.336921 WHERE "integer_models"."id" = 19
117
+  (0.8ms) commit transaction
118
+ SQL (0.9ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 19
177
119
   (0.0ms) begin transaction
178
- SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1423327312.691065 WHERE "trees"."id" = 6
179
-  (0.6ms) commit transaction
180
- Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE ("trees".deleted_at = 0) AND "trees"."forest_id" = ? LIMIT 1 [["forest_id", 3]]
181
-  (0.0ms) begin transaction
182
- SQL (0.2ms) INSERT INTO "forests" DEFAULT VALUES
183
-  (0.5ms) commit transaction
184
-  (0.0ms) begin transaction
185
- SQL (0.1ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 4]]
186
-  (0.5ms) commit transaction
187
-  (0.0ms) begin transaction
188
- SQL (0.1ms) UPDATE "trees" SET "deleted_at" = 1423327312.696604 WHERE "trees"."id" = 7
189
-  (0.6ms) commit transaction
190
-  (0.0ms) begin transaction
191
- SQL (0.1ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 4]]
192
-  (0.6ms) commit transaction
193
- Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE "trees"."forest_id" = ? AND "trees"."id" = 7 LIMIT 1 [["forest_id", 4]]
194
- Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE "trees"."forest_id" = ? AND "trees"."id" = 8 LIMIT 1 [["forest_id", 4]]
195
-  (0.0ms) begin transaction
196
- SQL (0.2ms) INSERT INTO "forests" DEFAULT VALUES
197
-  (0.6ms) commit transaction
198
-  (0.0ms) begin transaction
199
- SQL (0.2ms) INSERT INTO "trees" ("biggest", "forest_id") VALUES (?, ?) [["biggest", true], ["forest_id", 5]]
200
-  (0.6ms) commit transaction
201
-  (0.0ms) begin transaction
202
- SQL (0.1ms) UPDATE "trees" SET "deleted_at" = 1423327312.704394 WHERE "trees"."id" = 9
203
-  (0.6ms) commit transaction
204
- Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE ("trees".deleted_at = 0) AND "trees"."forest_id" = ? AND "trees"."biggest" = 't' LIMIT 1 [["forest_id", 5]]
205
-  (0.0ms) begin transaction
206
- SQL (0.1ms) INSERT INTO "forests" DEFAULT VALUES
207
-  (0.6ms) commit transaction
208
-  (0.0ms) begin transaction
209
- SQL (0.1ms) INSERT INTO "trees" ("biggest", "forest_id") VALUES (?, ?) [["biggest", true], ["forest_id", 6]]
210
-  (0.6ms) commit transaction
211
-  (0.0ms) begin transaction
212
- SQL (0.1ms) UPDATE "trees" SET "deleted_at" = 1423327312.709655 WHERE "trees"."id" = 10
213
-  (0.7ms) commit transaction
214
- Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."forest_id" = ? AND "trees"."biggest" = 't' LIMIT 1 [["forest_id", 6]]
215
-  (0.0ms) begin transaction
216
- SQL (0.1ms) INSERT INTO "forests" DEFAULT VALUES
217
-  (0.6ms) commit transaction
218
-  (0.0ms) begin transaction
219
- SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1423327312.713701 WHERE "forests"."id" = 7
120
+ SQL (0.4ms) INSERT INTO "forests" DEFAULT VALUES
121
+  (6.6ms) commit transaction
122
+  (0.1ms) begin transaction
123
+ SQL (0.3ms) UPDATE "forests" SET "deleted_at" = 1418736241.361026 WHERE "forests"."id" = 1
220
124
   (0.5ms) commit transaction
221
-  (0.0ms) begin transaction
222
- SQL (0.2ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 7]]
125
+  (0.1ms) begin transaction
126
+ SQL (0.4ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 1]]
223
127
   (0.7ms) commit transaction
224
- Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE ("forests".deleted_at = 0) AND "forests"."id" = ? LIMIT 1 [["id", 7]]
225
-  (0.0ms) begin transaction
226
- SQL (0.2ms) INSERT INTO "forests" DEFAULT VALUES
227
-  (0.6ms) commit transaction
228
-  (0.0ms) begin transaction
229
- SQL (0.1ms) UPDATE "forests" SET "deleted_at" = 1423327312.719319 WHERE "forests"."id" = 8
230
-  (0.6ms) commit transaction
231
-  (0.0ms) begin transaction
232
- SQL (0.2ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 8]]
233
-  (0.6ms) commit transaction
234
- Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = ? LIMIT 1 [["id", 8]]
235
-  (0.0ms) begin transaction
236
- SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
128
+ Forest Load (0.2ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = ? LIMIT 1 [["id", 1]]
129
+  (0.1ms) begin transaction
130
+ SQL (0.3ms) INSERT INTO "forests" DEFAULT VALUES
237
131
   (0.6ms) commit transaction
238
132
   (0.0ms) begin transaction
239
- SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1423327312.724287 WHERE "integer_models"."id" = 12
240
-  (0.6ms) commit transaction
241
- SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 12
242
-  (0.0ms) begin transaction
243
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
133
+ SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1418736241.389941 WHERE "forests"."id" = 2
244
134
   (0.6ms) commit transaction
245
135
   (0.0ms) begin transaction
246
- SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1423327312.728072 WHERE "integer_models"."id" = 13
136
+ SQL (0.2ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 2]]
247
137
   (0.6ms) commit transaction
248
- SQL (0.6ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 13
249
-  (0.0ms) begin transaction
250
- SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
138
+ Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE ("forests".deleted_at = 0) AND "forests"."id" = ? LIMIT 1 [["id", 2]]
139
+  (0.1ms) begin transaction
140
+ SQL (0.4ms) INSERT INTO "forests" DEFAULT VALUES
141
+  (1.2ms) commit transaction
142
+  (0.1ms) begin transaction
143
+ SQL (0.7ms) INSERT INTO "trees" ("biggest", "forest_id") VALUES (?, ?) [["biggest", true], ["forest_id", 3]]
144
+  (1.2ms) commit transaction
145
+  (0.1ms) begin transaction
146
+ SQL (0.4ms) UPDATE "trees" SET "deleted_at" = 1418736241.405185 WHERE "trees"."id" = 3
147
+  (0.7ms) commit transaction
148
+ Tree Load (0.2ms) SELECT "trees".* FROM "trees" WHERE "trees"."forest_id" = ? AND (biggest = 't') LIMIT 1 [["forest_id", 3]]
149
+  (0.1ms) begin transaction
150
+ SQL (0.4ms) INSERT INTO "forests" DEFAULT VALUES
251
151
   (0.6ms) commit transaction
252
-  (0.0ms) begin transaction
253
- SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1423327312.731471 WHERE "integer_models"."id" = 14
254
-  (0.6ms) commit transaction
255
- SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 14
256
-  (0.0ms) begin transaction
257
- SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
152
+  (0.1ms) begin transaction
153
+ SQL (0.3ms) INSERT INTO "trees" ("biggest", "forest_id") VALUES (?, ?) [["biggest", true], ["forest_id", 4]]
258
154
   (0.6ms) commit transaction
259
155
   (0.1ms) begin transaction
260
- SQL (0.3ms) UPDATE "integer_models" SET "deleted_at" = 1423327312.735731 WHERE "integer_models"."id" = 15
261
-  (0.5ms) commit transaction
262
- SQL (0.6ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 15
263
-  (0.1ms) SELECT deleted_at FROM "integer_models" WHERE id = 15
264
-  (0.0ms) begin transaction
265
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
266
-  (0.5ms) commit transaction
267
-  (0.0ms) begin transaction
268
- SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1423327312.739099 WHERE "integer_models"."id" = 16
156
+ SQL (0.3ms) UPDATE "trees" SET "deleted_at" = 1418736241.446345 WHERE "trees"."id" = 4
269
157
   (0.5ms) commit transaction
270
- IntegerModel Load (0.1ms) SELECT "integer_models".* FROM "integer_models" WHERE (integer_models.deleted_at > 0)
271
-  (0.0ms) begin transaction
272
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
273
-  (0.5ms) commit transaction
274
- IntegerModel Load (0.1ms) SELECT "integer_models".* FROM "integer_models" WHERE (integer_models.deleted_at > 0)
275
-  (0.0ms) begin transaction
276
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
277
-  (0.6ms) commit transaction
278
- SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1423327312.743705 WHERE "integer_models"."id" = 18
279
-  (0.0ms) begin transaction
280
- SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
281
-  (0.5ms) commit transaction
282
- SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1423327312.745974 WHERE "integer_models"."id" = 19
283
-  (0.0ms) begin transaction
284
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
158
+ Tree Load (0.2ms) SELECT "trees".* FROM "trees" WHERE ("trees".deleted_at = 0) AND "trees"."forest_id" = ? AND (biggest = 't') LIMIT 1 [["forest_id", 4]]
159
+  (0.1ms) begin transaction
160
+ SQL (0.4ms) INSERT INTO "forests" DEFAULT VALUES
285
161
   (0.6ms) commit transaction
286
- SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1423327312.748335 WHERE "integer_models"."id" = 20
287
-  (0.0ms) begin transaction
288
- SQL (0.2ms) INSERT INTO "decimal_models" DEFAULT VALUES
289
-  (0.5ms) commit transaction
290
162
   (0.0ms) begin transaction
291
- SQL (0.0ms) INSERT INTO "decimal_models" DEFAULT VALUES
292
-  (0.0ms) commit transaction
293
- SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1423327313.0 WHERE "decimal_models"."id" = 5
294
-  (0.0ms) begin transaction
295
- SQL (0.0ms) INSERT INTO "integer_models" DEFAULT VALUES
296
-  (0.0ms) commit transaction
297
- SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1423327313.0 WHERE "integer_models"."id" = 21
298
-  (0.0ms) begin transaction
299
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
300
-  (0.6ms) commit transaction
301
- SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1423327312.757037 WHERE "integer_models"."id" = 22
302
-  (0.0ms) begin transaction
303
- SQL (0.0ms) INSERT INTO "decimal_models" DEFAULT VALUES
304
-  (0.0ms) commit transaction
305
- SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1423327312.758175 WHERE "decimal_models"."id" = 6
306
-  (0.0ms) begin transaction
307
- SQL (0.0ms) INSERT INTO "integer_models" DEFAULT VALUES
308
-  (0.0ms) commit transaction
309
- SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1423327312.758175 WHERE "integer_models"."id" = 23
310
-  (0.0ms) SELECT deleted_at FROM "decimal_models" WHERE id = 6
311
-  (0.0ms) SELECT deleted_at FROM "integer_models" WHERE id = 23
312
-  (0.0ms) begin transaction
313
- SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
314
-  (0.6ms) commit transaction
315
- SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1423327312.765126 WHERE "integer_models"."id" = 24
316
-  (0.0ms) begin transaction
317
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
163
+ SQL (0.2ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 5]]
318
164
   (0.5ms) commit transaction
319
- SQL (0.7ms) DELETE FROM "integer_models" WHERE ("integer_models".deleted_at = 0) AND "integer_models"."id" = 25
320
-  (0.0ms) begin transaction
321
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
322
-  (0.6ms) commit transaction
323
- SQL (0.7ms) DELETE FROM "integer_models" WHERE ("integer_models".deleted_at = 0) AND "integer_models"."id" = 26
324
-  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 26
325
-  (0.0ms) begin transaction
326
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
327
-  (0.6ms) commit transaction
328
- SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1423327312.772172 WHERE "integer_models"."id" = 27
329
-  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 27
330
-  (0.0ms) begin transaction
331
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
332
-  (0.6ms) commit transaction
333
- SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1423327312.774759 WHERE "integer_models"."id" = 28
334
-  (0.0ms) begin transaction
335
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
336
-  (0.6ms) commit transaction
337
-  (0.0ms) begin transaction
338
- SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1423327312.777212 WHERE "integer_models"."id" = 29
339
-  (0.4ms) commit transaction
340
-  (0.0ms) begin transaction
341
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
342
-  (0.6ms) commit transaction
343
- IntegerModel Load (0.1ms) SELECT "integer_models".* FROM "integer_models"
344
-  (0.0ms) begin transaction
345
- SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
165
+  (0.1ms) begin transaction
166
+ SQL (0.3ms) UPDATE "trees" SET "deleted_at" = 1418736241.457554 WHERE "trees"."id" = 5
167
+  (1.3ms) commit transaction
168
+  (0.1ms) begin transaction
169
+ SQL (0.2ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 5]]
346
170
   (0.5ms) commit transaction
171
+ Tree Exists (0.2ms) SELECT 1 AS one FROM "trees" WHERE "trees"."forest_id" = ? AND "trees"."id" = 5 LIMIT 1 [["forest_id", 5]]
172
+ Tree Exists (0.2ms) SELECT 1 AS one FROM "trees" WHERE "trees"."forest_id" = ? AND "trees"."id" = 6 LIMIT 1 [["forest_id", 5]]
173
+  (0.1ms) begin transaction
174
+ SQL (0.5ms) INSERT INTO "forests" DEFAULT VALUES
175
+  (0.8ms) commit transaction
176
+  (0.1ms) begin transaction
177
+ SQL (0.3ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 6]]
178
+  (0.9ms) commit transaction
347
179
   (0.0ms) begin transaction
348
- SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1423327312.781498 WHERE "integer_models"."id" = 31
180
+ SQL (0.3ms) UPDATE "trees" SET "deleted_at" = 1418736241.492333 WHERE "trees"."id" = 7
181
+  (0.8ms) commit transaction
182
+ Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE ("trees".deleted_at = 0) AND "trees"."forest_id" = ? LIMIT 1 [["forest_id", 6]]
183
+  (0.1ms) begin transaction
184
+ SQL (0.2ms) INSERT INTO "forests" DEFAULT VALUES
349
185
   (0.6ms) commit transaction
350
186
   (0.0ms) begin transaction
351
- SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
352
-  (0.6ms) commit transaction
353
-  (1.6ms) DROP TABLE "decimal_models"
354
-  (0.9ms) CREATE TABLE "decimal_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" decimal DEFAULT 0, "integer_model_id" integer)
355
-  (0.8ms) DROP TABLE "integer_models"
356
-  (0.9ms) CREATE TABLE "integer_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0)
357
-  (0.8ms) DROP TABLE "forests"
358
-  (0.9ms) CREATE TABLE "forests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0)
359
-  (0.8ms) DROP TABLE "trees"
360
-  (0.9ms) CREATE TABLE "trees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0, "forest_id" integer, "park_id" integer, "biggest" boolean DEFAULT 'f')
361
-  (0.6ms) DROP TABLE "parks"
362
-  (0.8ms) CREATE TABLE "parks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "forest_id" integer)
363
-  (0.1ms) SELECT version FROM "schema_migrations"
364
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150207084317')
365
-  (0.0ms) begin transaction
366
- SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
367
-  (0.7ms) commit transaction
368
-  (0.0ms) begin transaction
369
- SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1423327397.147314 WHERE "integer_models"."id" = 1
370
-  (0.5ms) commit transaction
371
- SQL (0.8ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 1
372
-  (0.0ms) begin transaction
373
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
374
-  (0.7ms) commit transaction
375
-  (0.0ms) begin transaction
376
- SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1423327397.15224 WHERE "integer_models"."id" = 2
377
-  (0.7ms) commit transaction
378
- SQL (0.8ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 2
187
+ SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1418736241.499475 WHERE "forests"."id" = 7
188
+  (0.8ms) commit transaction
379
189
   (0.0ms) begin transaction
380
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
381
-  (0.7ms) commit transaction
190
+ SQL (0.2ms) INSERT INTO "parks" DEFAULT VALUES
191
+  (0.8ms) commit transaction
382
192
   (0.0ms) begin transaction
383
- SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1423327397.155781 WHERE "integer_models"."id" = 3
193
+ SQL (0.2ms) UPDATE "parks" SET "forest_id" = ? WHERE "parks"."id" = 1 [["forest_id", 7]]
384
194
   (0.7ms) commit transaction
385
- SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 3
386
-  (0.1ms) SELECT deleted_at FROM "integer_models" WHERE id = 3
387
-  (0.0ms) begin transaction
388
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
389
-  (0.6ms) commit transaction
195
+ Park Load (0.1ms) SELECT "parks".* FROM "parks" WHERE "parks"."id" = ? LIMIT 1 [["id", 1]]
196
+ Forest Load (0.2ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = ? LIMIT 1 [["id", 7]]
197
+  (0.1ms) begin transaction
198
+ SQL (0.2ms) INSERT INTO "forests" DEFAULT VALUES
199
+  (0.9ms) commit transaction
390
200
   (0.0ms) begin transaction
391
- SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1423327397.15931 WHERE "integer_models"."id" = 4
392
-  (0.5ms) commit transaction
393
- SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 4
201
+ SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1418736241.513495 WHERE "forests"."id" = 8
202
+  (0.8ms) commit transaction
203
+  (0.1ms) begin transaction
204
+ SQL (0.2ms) INSERT INTO "parks" DEFAULT VALUES
205
+  (0.8ms) commit transaction
394
206
   (0.0ms) begin transaction
395
- SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
207
+ SQL (0.2ms) UPDATE "parks" SET "forest_id" = ? WHERE "parks"."id" = 2 [["forest_id", 8]]
396
208
   (0.7ms) commit transaction
397
-  (0.0ms) begin transaction
398
- SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1423327397.164476 WHERE "integer_models"."id" = 5
399
-  (0.6ms) commit transaction
209
+ Park Load (0.2ms) SELECT "parks".* FROM "parks" WHERE "parks"."id" = ? LIMIT 1 [["id", 2]]
210
+ Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE ("forests".deleted_at = 0) AND "forests"."id" = ? LIMIT 1 [["id", 8]]
211
+  (0.1ms) begin transaction
212
+ SQL (0.4ms) INSERT INTO "parks" DEFAULT VALUES
213
+  (2.2ms) commit transaction
214
+  (0.1ms) begin transaction
215
+ SQL (0.3ms) INSERT INTO "trees" ("biggest", "park_id") VALUES (?, ?) [["biggest", true], ["park_id", 3]]
216
+  (1.7ms) commit transaction
217
+  (0.1ms) begin transaction
218
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1418736241.530772 WHERE "trees"."id" = 8
219
+  (3.9ms) commit transaction
220
+ Tree Load (0.2ms) SELECT "trees".* FROM "trees" WHERE "trees"."park_id" = ? AND (biggest = 't') LIMIT 1 [["park_id", 3]]
221
+  (0.1ms) begin transaction
222
+ SQL (0.3ms) INSERT INTO "parks" DEFAULT VALUES
223
+  (1.3ms) commit transaction
224
+  (0.1ms) begin transaction
225
+ SQL (0.3ms) INSERT INTO "trees" ("biggest", "park_id") VALUES (?, ?) [["biggest", true], ["park_id", 4]]
226
+  (2.8ms) commit transaction
227
+  (0.1ms) begin transaction
228
+ SQL (0.3ms) UPDATE "trees" SET "deleted_at" = 1418736241.547193 WHERE "trees"."id" = 9
229
+  (8.9ms) commit transaction
230
+ Tree Load (0.2ms) SELECT "trees".* FROM "trees" WHERE ("trees".deleted_at = 0) AND "trees"."park_id" = ? AND (biggest = 't') LIMIT 1 [["park_id", 4]]
231
+  (0.1ms) begin transaction
232
+ SQL (0.3ms) INSERT INTO "parks" DEFAULT VALUES
233
+  (0.7ms) commit transaction
400
234
   (0.0ms) begin transaction
401
- SQL (0.2ms) INSERT INTO "decimal_models" DEFAULT VALUES
402
-  (0.6ms) commit transaction
235
+ SQL (0.2ms) INSERT INTO "trees" ("park_id") VALUES (?) [["park_id", 5]]
236
+  (1.4ms) commit transaction
237
+  (0.0ms) begin transaction
238
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1418736241.565521 WHERE "trees"."id" = 10
239
+  (1.5ms) commit transaction
240
+  (0.1ms) begin transaction
241
+ SQL (0.4ms) INSERT INTO "trees" ("park_id") VALUES (?) [["park_id", 5]]
242
+  (0.9ms) commit transaction
243
+ Tree Exists (0.2ms) SELECT 1 AS one FROM "trees" WHERE "trees"."park_id" = ? AND "trees"."id" = 10 LIMIT 1 [["park_id", 5]]
244
+ Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE "trees"."park_id" = ? AND "trees"."id" = 11 LIMIT 1 [["park_id", 5]]
403
245
   (0.1ms) begin transaction
246
+ SQL (0.3ms) INSERT INTO "parks" DEFAULT VALUES
247
+  (0.9ms) commit transaction
248
+  (0.1ms) begin transaction
249
+ SQL (0.2ms) INSERT INTO "trees" ("park_id") VALUES (?) [["park_id", 6]]
250
+  (0.8ms) commit transaction
251
+  (0.0ms) begin transaction
252
+ SQL (0.3ms) UPDATE "trees" SET "deleted_at" = 1418736241.579948 WHERE "trees"."id" = 12
253
+  (0.9ms) commit transaction
254
+ Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE ("trees".deleted_at = 0) AND "trees"."park_id" = ? LIMIT 1 [["park_id", 6]]
255
+  (0.0ms) begin transaction
404
256
  SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
405
-  (0.6ms) commit transaction
257
+  (0.8ms) commit transaction
406
258
   (0.0ms) begin transaction
407
- SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1423327397.171783 WHERE "integer_models"."id" = 6
408
-  (0.6ms) commit transaction
409
-  (0.0ms) begin transaction
410
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
411
-  (0.6ms) commit transaction
259
+ SQL (0.3ms) UPDATE "integer_models" SET "deleted_at" = 1418736241.586051 WHERE "integer_models"."id" = 20
260
+  (1.0ms) commit transaction
261
+ IntegerModel Load (0.2ms) SELECT "integer_models".* FROM "integer_models" WHERE (integer_models.deleted_at > 0)
412
262
   (0.0ms) begin transaction
413
- SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1423327397.174417 WHERE "integer_models"."id" = 7
414
-  (0.6ms) commit transaction
415
-  (0.0ms) begin transaction
416
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
417
-  (0.6ms) commit transaction
263
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
264
+  (0.9ms) commit transaction
265
+ IntegerModel Load (0.2ms) SELECT "integer_models".* FROM "integer_models" WHERE (integer_models.deleted_at > 0)
418
266
   (0.0ms) begin transaction
419
- SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1423327397.176976 WHERE "integer_models"."id" = 8
420
-  (0.6ms) commit transaction
267
+ SQL (0.0ms) INSERT INTO "decimal_models" DEFAULT VALUES
268
+  (0.0ms) commit transaction
421
269
   (0.0ms) begin transaction
422
- SQL (0.0ms) INSERT INTO "decimal_models" DEFAULT VALUES
270
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1418736241.592539 WHERE "decimal_models"."id" = 4
423
271
   (0.0ms) commit transaction
424
272
   (0.0ms) begin transaction
425
- SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1423327397.0 WHERE "decimal_models"."id" = 2
273
+ SQL (0.0ms) INSERT INTO "integer_models" DEFAULT VALUES
426
274
   (0.0ms) commit transaction
427
275
   (0.0ms) begin transaction
428
- SQL (0.0ms) INSERT INTO "integer_models" DEFAULT VALUES
276
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1418736241.592539 WHERE "integer_models"."id" = 22
429
277
   (0.0ms) commit transaction
278
+  (0.0ms) SELECT deleted_at FROM "decimal_models" WHERE id = 4
279
+  (0.0ms) SELECT deleted_at FROM "integer_models" WHERE id = 22
280
+  (0.1ms) begin transaction
281
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
282
+  (0.7ms) commit transaction
283
+  (0.1ms) begin transaction
284
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418736241.605793 WHERE "integer_models"."id" = 23
285
+  (0.7ms) commit transaction
286
+  (0.1ms) begin transaction
287
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
288
+  (1.4ms) commit transaction
289
+  (0.1ms) begin transaction
290
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418736241.61029 WHERE "integer_models"."id" = 24
291
+  (0.6ms) commit transaction
430
292
   (0.0ms) begin transaction
431
- SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1423327397.0 WHERE "integer_models"."id" = 9
432
-  (0.0ms) commit transaction
293
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
294
+  (0.6ms) commit transaction
295
+  (0.0ms) begin transaction
296
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418736241.613744 WHERE "integer_models"."id" = 25
297
+  (1.5ms) commit transaction
298
+  (0.1ms) begin transaction
299
+ SQL (0.3ms) INSERT INTO "decimal_models" DEFAULT VALUES
300
+  (1.0ms) commit transaction
301
+  (0.1ms) begin transaction
302
+ SQL (0.4ms) INSERT INTO "integer_models" DEFAULT VALUES
303
+  (0.9ms) commit transaction
304
+  (0.1ms) begin transaction
305
+ SQL (0.3ms) UPDATE "integer_models" SET "deleted_at" = 1418736241.622505 WHERE "integer_models"."id" = 26
306
+  (0.7ms) commit transaction
433
307
   (0.0ms) begin transaction
434
308
  SQL (0.0ms) INSERT INTO "decimal_models" DEFAULT VALUES
435
309
   (0.0ms) commit transaction
436
310
   (0.0ms) begin transaction
437
- SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1423327397.18398 WHERE "decimal_models"."id" = 3
311
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1418736242.0 WHERE "decimal_models"."id" = 6
438
312
   (0.0ms) commit transaction
439
313
   (0.0ms) begin transaction
440
314
  SQL (0.0ms) INSERT INTO "integer_models" DEFAULT VALUES
441
315
   (0.0ms) commit transaction
442
316
   (0.0ms) begin transaction
443
- SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1423327397.18398 WHERE "integer_models"."id" = 10
317
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1418736242.0 WHERE "integer_models"."id" = 27
444
318
   (0.0ms) commit transaction
445
-  (0.0ms) SELECT deleted_at FROM "decimal_models" WHERE id = 3
446
-  (0.0ms) SELECT deleted_at FROM "integer_models" WHERE id = 10
447
-  (0.0ms) begin transaction
448
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
449
-  (0.6ms) commit transaction
450
-  (0.0ms) begin transaction
451
- SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1423327397.190375 WHERE "integer_models"."id" = 11
452
-  (0.6ms) commit transaction
319
+  (0.1ms) begin transaction
320
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
321
+  (0.9ms) commit transaction
322
+  (0.1ms) begin transaction
323
+ SQL (0.3ms) UPDATE "integer_models" SET "deleted_at" = 1418736241.635298 WHERE "integer_models"."id" = 28
324
+  (0.9ms) commit transaction
453
325
   (0.0ms) begin transaction
454
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
455
-  (0.5ms) commit transaction
326
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
327
+  (0.8ms) commit transaction
456
328
   (0.0ms) begin transaction
457
- SQL (0.2ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = ? [["id", 12]]
458
-  (0.4ms) commit transaction
329
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418736241.639561 WHERE "integer_models"."id" = 29
330
+  (0.8ms) commit transaction
331
+ SQL (1.1ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 29
332
+  (0.1ms) begin transaction
333
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
334
+  (0.8ms) commit transaction
459
335
   (0.0ms) begin transaction
460
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
461
-  (0.6ms) commit transaction
462
-  (0.0ms) begin transaction
463
- SQL (0.1ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = ? [["id", 13]]
336
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418736241.644752 WHERE "integer_models"."id" = 30
337
+  (0.9ms) commit transaction
338
+ SQL (1.1ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 30
339
+  (0.2ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 30
340
+  (0.1ms) begin transaction
341
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
464
342
   (0.6ms) commit transaction
465
-  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 13
466
-  (0.0ms) begin transaction
467
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
468
-  (0.7ms) commit transaction
469
343
   (0.0ms) begin transaction
470
- SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1423327397.198017 WHERE "integer_models"."id" = 14
471
-  (0.6ms) commit transaction
472
-  (0.0ms) begin transaction
473
-  (0.0ms) rollback transaction
474
-  (0.0ms) begin transaction
475
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
476
-  (0.7ms) commit transaction
477
- SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1423327397.200783 WHERE "integer_models"."id" = 15
478
-  (0.0ms) begin transaction
479
- SQL (0.2ms) INSERT INTO "decimal_models" DEFAULT VALUES
480
-  (0.6ms) commit transaction
344
+ SQL (0.2ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = ? [["id", 31]]
345
+  (0.7ms) commit transaction
346
+  (0.2ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 31
481
347
   (0.1ms) begin transaction
482
348
  SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
483
-  (0.6ms) commit transaction
484
- SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1423327397.204673 WHERE "integer_models"."id" = 16
485
-  (0.0ms) begin transaction
486
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
487
-  (0.6ms) commit transaction
488
- SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1423327397.207167 WHERE "integer_models"."id" = 17
349
+  (1.0ms) commit transaction
350
+  (0.1ms) begin transaction
351
+ SQL (0.3ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = ? [["id", 32]]
352
+  (1.0ms) commit transaction
353
+  (9.8ms) DROP TABLE "decimal_models"
354
+  (1.5ms) CREATE TABLE "decimal_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" decimal DEFAULT 0, "integer_model_id" integer)
355
+  (1.3ms) DROP TABLE "integer_models"
356
+  (1.3ms) CREATE TABLE "integer_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0)
357
+  (1.3ms) DROP TABLE "forests"
358
+  (1.2ms) CREATE TABLE "forests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0)
359
+  (1.1ms) DROP TABLE "trees"
360
+  (1.2ms) CREATE TABLE "trees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0, "forest_id" integer, "park_id" integer, "biggest" boolean DEFAULT 'f')
361
+  (1.2ms) DROP TABLE "parks"
362
+  (1.0ms) CREATE TABLE "parks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "forest_id" integer)
363
+  (0.1ms) SELECT version FROM "schema_migrations"
364
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141216212438')
489
365
   (0.0ms) begin transaction
490
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
491
-  (0.6ms) commit transaction
492
- SQL (0.5ms) UPDATE "integer_models" SET "deleted_at" = 1423327397.209575 WHERE "integer_models"."id" = 18
366
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
367
+  (1.0ms) commit transaction
368
+ SQL (1.2ms) UPDATE "integer_models" SET "deleted_at" = 1418736279.223389 WHERE "integer_models"."id" = 1
369
+  (0.1ms) begin transaction
370
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
371
+  (0.8ms) commit transaction
372
+ SQL (0.9ms) UPDATE "integer_models" SET "deleted_at" = 1418736279.256999 WHERE "integer_models"."id" = 2
493
373
   (0.0ms) begin transaction
494
374
  SQL (0.0ms) INSERT INTO "decimal_models" DEFAULT VALUES
495
375
   (0.0ms) commit transaction
496
- SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1423327397.0 WHERE "decimal_models"."id" = 5
376
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1418736279.0 WHERE "decimal_models"."id" = 1
497
377
   (0.0ms) begin transaction
498
378
  SQL (0.0ms) INSERT INTO "integer_models" DEFAULT VALUES
499
379
   (0.0ms) commit transaction
500
- SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1423327397.0 WHERE "integer_models"."id" = 19
380
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1418736279.0 WHERE "integer_models"."id" = 3
501
381
   (0.0ms) begin transaction
502
382
  SQL (0.0ms) INSERT INTO "decimal_models" DEFAULT VALUES
503
383
   (0.0ms) commit transaction
504
- SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1423327397.215198 WHERE "decimal_models"."id" = 6
384
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1418736279.272507 WHERE "decimal_models"."id" = 2
505
385
   (0.0ms) begin transaction
506
386
  SQL (0.0ms) INSERT INTO "integer_models" DEFAULT VALUES
507
387
   (0.0ms) commit transaction
508
- SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1423327397.215198 WHERE "integer_models"."id" = 20
509
-  (0.0ms) SELECT deleted_at FROM "decimal_models" WHERE id = 6
510
-  (0.0ms) SELECT deleted_at FROM "integer_models" WHERE id = 20
511
-  (0.0ms) begin transaction
512
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
513
-  (0.5ms) commit transaction
514
- SQL (0.5ms) UPDATE "integer_models" SET "deleted_at" = 1423327397.221217 WHERE "integer_models"."id" = 21
515
-  (0.0ms) begin transaction
516
- SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
517
-  (0.5ms) commit transaction
518
- SQL (0.5ms) DELETE FROM "integer_models" WHERE ("integer_models".deleted_at = 0) AND "integer_models"."id" = 22
519
-  (0.0ms) begin transaction
520
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
521
-  (0.5ms) commit transaction
522
- SQL (0.5ms) DELETE FROM "integer_models" WHERE ("integer_models".deleted_at = 0) AND "integer_models"."id" = 23
523
-  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 23
388
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1418736279.272507 WHERE "integer_models"."id" = 4
389
+  (0.0ms) SELECT deleted_at FROM "decimal_models" WHERE id = 2
390
+  (0.0ms) SELECT deleted_at FROM "integer_models" WHERE id = 4
391
+  (0.1ms) begin transaction
392
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
393
+  (0.9ms) commit transaction
394
+ SQL (1.1ms) UPDATE "integer_models" SET "deleted_at" = 1418736279.28444 WHERE "integer_models"."id" = 5
395
+  (0.1ms) begin transaction
396
+ SQL (0.3ms) INSERT INTO "decimal_models" DEFAULT VALUES
397
+  (0.9ms) commit transaction
398
+  (0.1ms) begin transaction
399
+ SQL (0.4ms) INSERT INTO "integer_models" DEFAULT VALUES
400
+  (0.6ms) commit transaction
401
+ SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1418736279.291323 WHERE "integer_models"."id" = 6
524
402
   (0.0ms) begin transaction
525
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
403
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
404
+  (0.6ms) commit transaction
405
+ SQL (0.8ms) UPDATE "integer_models" SET "deleted_at" = 1418736279.294395 WHERE "integer_models"."id" = 7
406
+  (0.1ms) begin transaction
407
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
526
408
   (0.5ms) commit transaction
527
- SQL (0.8ms) UPDATE "integer_models" SET "deleted_at" = 1423327397.227895 WHERE "integer_models"."id" = 24
528
-  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 24
529
-  (0.0ms) begin transaction
530
- SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
531
-  (0.4ms) commit transaction
532
- SQL (0.5ms) UPDATE "integer_models" SET "deleted_at" = 1423327397.23052 WHERE "integer_models"."id" = 25
409
+ SQL (0.7ms) DELETE FROM "integer_models" WHERE ("integer_models".deleted_at = 0) AND "integer_models"."id" = 8
410
+  (0.1ms) begin transaction
411
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
412
+  (0.8ms) commit transaction
413
+ SQL (0.8ms) DELETE FROM "integer_models" WHERE ("integer_models".deleted_at = 0) AND "integer_models"."id" = 9
414
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 9
415
+  (0.1ms) begin transaction
416
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
417
+  (0.6ms) commit transaction
418
+ SQL (0.9ms) UPDATE "integer_models" SET "deleted_at" = 1418736279.305452 WHERE "integer_models"."id" = 10
419
+ SQL (0.7ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 10
420
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 10
533
421
   (0.0ms) begin transaction
534
422
  SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
535
423
   (0.6ms) commit transaction
424
+ SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1418736279.309583 WHERE "integer_models"."id" = 11
425
+ SQL (0.8ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 11
536
426
   (0.0ms) begin transaction
537
- SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1423327397.232873 WHERE "integer_models"."id" = 26
427
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
538
428
   (0.5ms) commit transaction
429
+  (0.1ms) begin transaction
430
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418736279.314004 WHERE "integer_models"."id" = 12
431
+  (0.5ms) commit transaction
432
+  (0.1ms) begin transaction
433
+ SQL (0.4ms) INSERT INTO "integer_models" DEFAULT VALUES
434
+  (1.1ms) commit transaction
539
435
   (0.0ms) begin transaction
540
- SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
541
-  (0.7ms) commit transaction
436
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
437
+  (0.9ms) commit transaction
438
+  (0.1ms) begin transaction
439
+ SQL (0.3ms) UPDATE "integer_models" SET "deleted_at" = 1418736279.322559 WHERE "integer_models"."id" = 14
440
+  (0.7ms) commit transaction
441
+ IntegerModel Load (0.2ms) SELECT "integer_models".* FROM "integer_models" WHERE (integer_models.deleted_at > 0)
442
+  (0.1ms) begin transaction
443
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
444
+  (0.8ms) commit transaction
445
+ IntegerModel Load (0.1ms) SELECT "integer_models".* FROM "integer_models" WHERE (integer_models.deleted_at > 0)
542
446
   (0.0ms) begin transaction
543
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
544
-  (0.6ms) commit transaction
545
-  (0.0ms) begin transaction
546
- SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1423327397.237397 WHERE "integer_models"."id" = 28
547
-  (0.6ms) commit transaction
548
- IntegerModel Load (0.1ms) SELECT "integer_models".* FROM "integer_models" WHERE (integer_models.deleted_at > 0)
549
-  (0.0ms) begin transaction
550
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
551
-  (0.6ms) commit transaction
552
- IntegerModel Load (0.1ms) SELECT "integer_models".* FROM "integer_models" WHERE (integer_models.deleted_at > 0)
447
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
448
+  (0.8ms) commit transaction
553
449
   (0.0ms) begin transaction
554
- SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
555
-  (0.6ms) commit transaction
450
+ SQL (0.3ms) UPDATE "integer_models" SET "deleted_at" = 1418736279.332445 WHERE "integer_models"."id" = 16
451
+  (0.7ms) commit transaction
556
452
   (0.0ms) begin transaction
557
- SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1423327397.243805 WHERE "integer_models"."id" = 30
558
-  (0.6ms) commit transaction
559
-  (0.0ms) begin transaction
560
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
561
-  (0.6ms) commit transaction
562
- IntegerModel Load (0.1ms) SELECT "integer_models".* FROM "integer_models"
453
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
454
+  (0.8ms) commit transaction
455
+ IntegerModel Load (0.1ms) SELECT "integer_models".* FROM "integer_models"
456
+  (0.0ms) begin transaction
457
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
458
+  (0.8ms) commit transaction
563
459
   (0.0ms) begin transaction
564
- SQL (0.2ms) INSERT INTO "parks" DEFAULT VALUES
565
-  (0.6ms) commit transaction
460
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418736279.338569 WHERE "integer_models"."id" = 18
461
+  (1.0ms) commit transaction
462
+ SQL (1.1ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 18
463
+  (0.1ms) begin transaction
464
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
465
+  (0.7ms) commit transaction
566
466
   (0.1ms) begin transaction
567
- SQL (0.3ms) INSERT INTO "trees" ("park_id") VALUES (?) [["park_id", 1]]
467
+ SQL (0.3ms) UPDATE "integer_models" SET "deleted_at" = 1418736279.345168 WHERE "integer_models"."id" = 19
568
468
   (0.9ms) commit transaction
469
+ SQL (1.1ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 19
470
+  (0.2ms) SELECT deleted_at FROM "integer_models" WHERE id = 19
471
+  (0.1ms) begin transaction
472
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
473
+  (0.9ms) commit transaction
474
+  (0.1ms) begin transaction
475
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418736279.351167 WHERE "integer_models"."id" = 20
476
+  (0.7ms) commit transaction
477
+ SQL (1.4ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 20
478
+  (0.1ms) begin transaction
479
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
480
+  (0.7ms) commit transaction
481
+  (0.1ms) begin transaction
482
+ SQL (0.3ms) UPDATE "integer_models" SET "deleted_at" = 1418736279.359021 WHERE "integer_models"."id" = 21
483
+  (0.5ms) commit transaction
484
+ SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 21
569
485
   (0.0ms) begin transaction
570
- SQL (0.3ms) UPDATE "trees" SET "deleted_at" = 1423327397.259225 WHERE "trees"."id" = 1
486
+ SQL (0.4ms) INSERT INTO "forests" DEFAULT VALUES
571
487
   (0.7ms) commit transaction
572
- Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE ("trees".deleted_at = 0) AND "trees"."park_id" = ? LIMIT 1 [["park_id", 1]]
488
+  (0.1ms) begin transaction
489
+ SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1418736279.374982 WHERE "forests"."id" = 1
490
+  (0.6ms) commit transaction
573
491
   (0.0ms) begin transaction
574
- SQL (0.4ms) INSERT INTO "parks" DEFAULT VALUES
575
-  (0.7ms) commit transaction
492
+ SQL (0.2ms) INSERT INTO "parks" DEFAULT VALUES
493
+  (0.5ms) commit transaction
494
+  (0.1ms) begin transaction
495
+ SQL (0.4ms) UPDATE "parks" SET "forest_id" = ? WHERE "parks"."id" = 1 [["forest_id", 1]]
496
+  (0.8ms) commit transaction
497
+ Park Load (0.2ms) SELECT "parks".* FROM "parks" WHERE "parks"."id" = ? LIMIT 1 [["id", 1]]
498
+ Forest Load (0.2ms) SELECT "forests".* FROM "forests" WHERE ("forests".deleted_at = 0) AND "forests"."id" = ? LIMIT 1 [["id", 1]]
499
+  (0.1ms) begin transaction
500
+ SQL (0.3ms) INSERT INTO "forests" DEFAULT VALUES
501
+  (1.0ms) commit transaction
502
+  (0.1ms) begin transaction
503
+ SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1418736279.400602 WHERE "forests"."id" = 2
504
+  (0.8ms) commit transaction
505
+  (0.1ms) begin transaction
506
+ SQL (0.2ms) INSERT INTO "parks" DEFAULT VALUES
507
+  (0.9ms) commit transaction
508
+  (0.1ms) begin transaction
509
+ SQL (0.3ms) UPDATE "parks" SET "forest_id" = ? WHERE "parks"."id" = 2 [["forest_id", 2]]
510
+  (0.8ms) commit transaction
511
+ Park Load (0.1ms) SELECT "parks".* FROM "parks" WHERE "parks"."id" = ? LIMIT 1 [["id", 2]]
512
+ Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = ? LIMIT 1 [["id", 2]]
513
+  (0.1ms) begin transaction
514
+ SQL (0.3ms) INSERT INTO "parks" DEFAULT VALUES
515
+  (1.0ms) commit transaction
516
+  (0.1ms) begin transaction
517
+ SQL (0.5ms) INSERT INTO "trees" ("biggest", "park_id") VALUES (?, ?) [["biggest", true], ["park_id", 3]]
518
+  (1.1ms) commit transaction
519
+  (0.1ms) begin transaction
520
+ SQL (0.3ms) UPDATE "trees" SET "deleted_at" = 1418736279.426145 WHERE "trees"."id" = 1
521
+  (1.2ms) commit transaction
522
+ Tree Load (0.2ms) SELECT "trees".* FROM "trees" WHERE ("trees".deleted_at = 0) AND "trees"."park_id" = ? AND (biggest = 't') LIMIT 1 [["park_id", 3]]
523
+  (0.1ms) begin transaction
524
+ SQL (0.3ms) INSERT INTO "parks" DEFAULT VALUES
525
+  (0.8ms) commit transaction
576
526
   (0.0ms) begin transaction
577
- SQL (0.2ms) INSERT INTO "trees" ("park_id") VALUES (?) [["park_id", 2]]
578
-  (0.7ms) commit transaction
527
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "park_id") VALUES (?, ?) [["biggest", true], ["park_id", 4]]
528
+  (0.8ms) commit transaction
579
529
   (0.0ms) begin transaction
580
- SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1423327397.296318 WHERE "trees"."id" = 2
530
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1418736279.464092 WHERE "trees"."id" = 2
581
531
   (0.8ms) commit transaction
532
+ Tree Load (0.2ms) SELECT "trees".* FROM "trees" WHERE "trees"."park_id" = ? AND (biggest = 't') LIMIT 1 [["park_id", 4]]
533
+  (0.1ms) begin transaction
534
+ SQL (0.2ms) INSERT INTO "parks" DEFAULT VALUES
535
+  (1.2ms) commit transaction
582
536
   (0.0ms) begin transaction
583
- SQL (0.1ms) INSERT INTO "trees" ("park_id") VALUES (?) [["park_id", 2]]
584
-  (0.6ms) commit transaction
585
- Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE "trees"."park_id" = ? AND "trees"."id" = 2 LIMIT 1 [["park_id", 2]]
586
- Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE "trees"."park_id" = ? AND "trees"."id" = 3 LIMIT 1 [["park_id", 2]]
537
+ SQL (0.4ms) INSERT INTO "trees" ("park_id") VALUES (?) [["park_id", 5]]
538
+  (0.8ms) commit transaction
587
539
   (0.0ms) begin transaction
588
- SQL (0.2ms) INSERT INTO "forests" DEFAULT VALUES
540
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1418736279.476113 WHERE "trees"."id" = 3
541
+  (0.8ms) commit transaction
542
+ Tree Exists (0.2ms) SELECT 1 AS one FROM "trees" WHERE ("trees".deleted_at = 0) AND "trees"."park_id" = ? LIMIT 1 [["park_id", 5]]
543
+  (0.1ms) begin transaction
544
+ SQL (0.3ms) INSERT INTO "parks" DEFAULT VALUES
545
+  (0.9ms) commit transaction
546
+  (0.1ms) begin transaction
547
+ SQL (0.4ms) INSERT INTO "trees" ("park_id") VALUES (?) [["park_id", 6]]
548
+  (1.1ms) commit transaction
549
+  (0.1ms) begin transaction
550
+ SQL (0.3ms) UPDATE "trees" SET "deleted_at" = 1418736279.495796 WHERE "trees"."id" = 4
551
+  (0.9ms) commit transaction
552
+  (0.1ms) begin transaction
553
+ SQL (0.2ms) INSERT INTO "trees" ("park_id") VALUES (?) [["park_id", 6]]
554
+  (0.7ms) commit transaction
555
+ Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE "trees"."park_id" = ? AND "trees"."id" = 4 LIMIT 1 [["park_id", 6]]
556
+ Tree Exists (0.2ms) SELECT 1 AS one FROM "trees" WHERE "trees"."park_id" = ? AND "trees"."id" = 5 LIMIT 1 [["park_id", 6]]
557
+  (0.1ms) begin transaction
558
+ SQL (0.3ms) INSERT INTO "forests" DEFAULT VALUES
589
559
   (0.6ms) commit transaction
590
560
   (0.0ms) begin transaction
591
- SQL (0.1ms) UPDATE "forests" SET "deleted_at" = 1423327397.306176 WHERE "forests"."id" = 1
561
+ SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1418736279.505966 WHERE "forests"."id" = 3
592
562
   (0.6ms) commit transaction
593
563
   (0.0ms) begin transaction
594
- SQL (0.2ms) INSERT INTO "parks" DEFAULT VALUES
564
+ SQL (0.3ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 3]]
595
565
   (0.6ms) commit transaction
596
-  (0.0ms) begin transaction
597
- SQL (0.2ms) UPDATE "parks" SET "forest_id" = ? WHERE "parks"."id" = 3 [["forest_id", 1]]
598
-  (0.6ms) commit transaction
599
- Park Load (0.1ms) SELECT "parks".* FROM "parks" WHERE "parks"."id" = ? LIMIT 1 [["id", 3]]
600
- Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE ("forests".deleted_at = 0) AND "forests"."id" = ? LIMIT 1 [["id", 1]]
566
+ Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE ("forests".deleted_at = 0) AND "forests"."id" = ? LIMIT 1 [["id", 3]]
567
+  (0.1ms) begin transaction
568
+ SQL (0.3ms) INSERT INTO "forests" DEFAULT VALUES
569
+  (3.2ms) commit transaction
570
+  (0.1ms) begin transaction
571
+ SQL (0.3ms) UPDATE "forests" SET "deleted_at" = 1418736279.516755 WHERE "forests"."id" = 4
572
+  (1.3ms) commit transaction
573
+  (0.1ms) begin transaction
574
+ SQL (0.4ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 4]]
575
+  (1.2ms) commit transaction
576
+ Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = ? LIMIT 1 [["id", 4]]
577
+  (0.1ms) begin transaction
578
+ SQL (0.4ms) INSERT INTO "forests" DEFAULT VALUES
579
+  (1.1ms) commit transaction
580
+  (0.1ms) begin transaction
581
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "forest_id") VALUES (?, ?) [["biggest", true], ["forest_id", 5]]
582
+  (0.7ms) commit transaction
583
+  (0.0ms) begin transaction
584
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1418736279.531782 WHERE "trees"."id" = 8
585
+  (0.7ms) commit transaction
586
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE ("trees".deleted_at = 0) AND "trees"."forest_id" = ? AND (biggest = 't') LIMIT 1 [["forest_id", 5]]
601
587
   (0.1ms) begin transaction
602
588
  SQL (0.2ms) INSERT INTO "forests" DEFAULT VALUES
603
-  (0.5ms) commit transaction
589
+  (0.9ms) commit transaction
590
+  (0.0ms) begin transaction
591
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "forest_id") VALUES (?, ?) [["biggest", true], ["forest_id", 6]]
592
+  (0.9ms) commit transaction
593
+  (0.0ms) begin transaction
594
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1418736279.540382 WHERE "trees"."id" = 9
595
+  (0.7ms) commit transaction
596
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."forest_id" = ? AND (biggest = 't') LIMIT 1 [["forest_id", 6]]
597
+  (0.0ms) begin transaction
598
+ SQL (0.2ms) INSERT INTO "forests" DEFAULT VALUES
599
+  (0.9ms) commit transaction
600
+  (0.1ms) begin transaction
601
+ SQL (0.3ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 7]]
602
+  (1.1ms) commit transaction
603
+  (0.1ms) begin transaction
604
+ SQL (0.3ms) UPDATE "trees" SET "deleted_at" = 1418736279.550229 WHERE "trees"."id" = 10
605
+  (0.8ms) commit transaction
606
+ Tree Exists (0.2ms) SELECT 1 AS one FROM "trees" WHERE ("trees".deleted_at = 0) AND "trees"."forest_id" = ? LIMIT 1 [["forest_id", 7]]
607
+  (0.1ms) begin transaction
608
+ SQL (0.4ms) INSERT INTO "forests" DEFAULT VALUES
609
+  (0.9ms) commit transaction
610
+  (0.1ms) begin transaction
611
+ SQL (0.2ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 8]]
612
+  (0.7ms) commit transaction
613
+  (0.1ms) begin transaction
614
+ SQL (0.3ms) UPDATE "trees" SET "deleted_at" = 1418736279.561455 WHERE "trees"."id" = 11
615
+  (0.6ms) commit transaction
604
616
   (0.0ms) begin transaction
605
- SQL (0.1ms) UPDATE "forests" SET "deleted_at" = 1423327397.315529 WHERE "forests"."id" = 2
606
-  (0.4ms) commit transaction
617
+ SQL (0.2ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 8]]
618
+  (0.6ms) commit transaction
619
+ Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE "trees"."forest_id" = ? AND "trees"."id" = 11 LIMIT 1 [["forest_id", 8]]
620
+ Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE "trees"."forest_id" = ? AND "trees"."id" = 12 LIMIT 1 [["forest_id", 8]]
607
621
   (0.0ms) begin transaction
608
- SQL (0.1ms) INSERT INTO "parks" DEFAULT VALUES
609
-  (0.5ms) commit transaction
622
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
623
+  (0.6ms) commit transaction
610
624
   (0.0ms) begin transaction
611
- SQL (0.1ms) UPDATE "parks" SET "forest_id" = ? WHERE "parks"."id" = 4 [["forest_id", 2]]
625
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418736279.569091 WHERE "integer_models"."id" = 22
626
+  (0.7ms) commit transaction
627
+  (0.0ms) begin transaction
628
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
629
+  (1.0ms) commit transaction
630
+  (0.1ms) begin transaction
631
+ SQL (0.3ms) UPDATE "integer_models" SET "deleted_at" = 1418736279.573106 WHERE "integer_models"."id" = 23
612
632
   (0.5ms) commit transaction
613
- Park Load (0.1ms) SELECT "parks".* FROM "parks" WHERE "parks"."id" = ? LIMIT 1 [["id", 4]]
614
- Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = ? LIMIT 1 [["id", 2]]
615
633
   (0.0ms) begin transaction
616
- SQL (0.1ms) INSERT INTO "parks" DEFAULT VALUES
617
-  (0.7ms) commit transaction
634
+ SQL (0.0ms) INSERT INTO "decimal_models" DEFAULT VALUES
635
+  (0.0ms) commit transaction
618
636
   (0.0ms) begin transaction
619
- SQL (0.2ms) INSERT INTO "trees" ("biggest", "park_id") VALUES (?, ?) [["biggest", true], ["park_id", 5]]
620
-  (0.6ms) commit transaction
621
-  (0.0ms) begin transaction
622
- SQL (0.1ms) UPDATE "trees" SET "deleted_at" = 1423327397.324022 WHERE "trees"."id" = 4
623
-  (0.6ms) commit transaction
624
- Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE ("trees".deleted_at = 0) AND "trees"."park_id" = ? AND "trees"."biggest" = 't' LIMIT 1 [["park_id", 5]]
637
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1418736280.0 WHERE "decimal_models"."id" = 4
638
+  (0.0ms) commit transaction
625
639
   (0.0ms) begin transaction
626
- SQL (0.2ms) INSERT INTO "parks" DEFAULT VALUES
627
-  (0.7ms) commit transaction
640
+ SQL (0.0ms) INSERT INTO "integer_models" DEFAULT VALUES
641
+  (0.0ms) commit transaction
628
642
   (0.0ms) begin transaction
629
- SQL (0.1ms) INSERT INTO "trees" ("biggest", "park_id") VALUES (?, ?) [["biggest", true], ["park_id", 6]]
630
-  (0.6ms) commit transaction
643
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1418736280.0 WHERE "integer_models"."id" = 24
644
+  (0.0ms) commit transaction
631
645
   (0.0ms) begin transaction
632
- SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1423327397.330278 WHERE "trees"."id" = 5
633
-  (0.6ms) commit transaction
634
- Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."park_id" = ? AND "trees"."biggest" = 't' LIMIT 1 [["park_id", 6]]
646
+ SQL (0.0ms) INSERT INTO "decimal_models" DEFAULT VALUES
647
+  (0.0ms) commit transaction
648
+  (0.0ms) begin transaction
649
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1418736279.583229 WHERE "decimal_models"."id" = 5
650
+  (0.0ms) commit transaction
635
651
   (0.0ms) begin transaction
636
- SQL (0.2ms) INSERT INTO "forests" DEFAULT VALUES
637
-  (0.7ms) commit transaction
652
+ SQL (0.0ms) INSERT INTO "integer_models" DEFAULT VALUES
653
+  (0.0ms) commit transaction
638
654
   (0.0ms) begin transaction
639
- SQL (0.2ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 3]]
640
-  (0.6ms) commit transaction
655
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1418736279.583229 WHERE "integer_models"."id" = 25
656
+  (0.0ms) commit transaction
657
+  (0.0ms) SELECT deleted_at FROM "decimal_models" WHERE id = 5
658
+  (0.0ms) SELECT deleted_at FROM "integer_models" WHERE id = 25
641
659
   (0.0ms) begin transaction
642
- SQL (0.1ms) UPDATE "trees" SET "deleted_at" = 1423327397.336934 WHERE "trees"."id" = 6
660
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
643
661
   (0.7ms) commit transaction
644
- Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE ("trees".deleted_at = 0) AND "trees"."forest_id" = ? LIMIT 1 [["forest_id", 3]]
662
+  (0.1ms) begin transaction
663
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418736279.595192 WHERE "integer_models"."id" = 26
664
+  (0.7ms) commit transaction
645
665
   (0.0ms) begin transaction
646
- SQL (0.2ms) INSERT INTO "forests" DEFAULT VALUES
647
-  (0.7ms) commit transaction
666
+ SQL (0.2ms) INSERT INTO "decimal_models" DEFAULT VALUES
667
+  (0.8ms) commit transaction
648
668
   (0.0ms) begin transaction
649
- SQL (0.1ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 4]]
650
-  (0.6ms) commit transaction
651
-  (0.0ms) begin transaction
652
- SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1423327397.342653 WHERE "trees"."id" = 7
653
-  (0.5ms) commit transaction
669
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
670
+  (0.8ms) commit transaction
671
+  (0.1ms) begin transaction
672
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418736279.601341 WHERE "integer_models"."id" = 27
673
+  (0.8ms) commit transaction
654
674
   (0.0ms) begin transaction
655
- SQL (0.1ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 4]]
656
-  (0.6ms) commit transaction
657
- Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE "trees"."forest_id" = ? AND "trees"."id" = 7 LIMIT 1 [["forest_id", 4]]
658
- Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE "trees"."forest_id" = ? AND "trees"."id" = 8 LIMIT 1 [["forest_id", 4]]
659
-  (0.0ms) begin transaction
660
- SQL (0.2ms) INSERT INTO "forests" DEFAULT VALUES
661
-  (0.7ms) commit transaction
675
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
676
+  (1.0ms) commit transaction
677
+  (0.1ms) begin transaction
678
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418736279.605449 WHERE "integer_models"."id" = 28
679
+  (0.8ms) commit transaction
662
680
   (0.0ms) begin transaction
663
- SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1423327397.349301 WHERE "forests"."id" = 5
681
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
664
682
   (0.7ms) commit transaction
665
683
   (0.0ms) begin transaction
666
- SQL (0.1ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 5]]
667
-  (0.6ms) commit transaction
668
- Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE ("forests".deleted_at = 0) AND "forests"."id" = ? LIMIT 1 [["id", 5]]
684
+ SQL (0.2ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = ? [["id", 29]]
685
+  (0.8ms) commit transaction
686
+  (0.1ms) begin transaction
687
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
688
+  (0.9ms) commit transaction
689
+  (0.1ms) begin transaction
690
+ SQL (0.2ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = ? [["id", 30]]
691
+  (1.0ms) commit transaction
692
+  (0.2ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 30
669
693
   (0.0ms) begin transaction
670
- SQL (0.2ms) INSERT INTO "forests" DEFAULT VALUES
694
+ SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
695
+  (0.9ms) commit transaction
696
+  (0.1ms) begin transaction
697
+ SQL (0.3ms) UPDATE "integer_models" SET "deleted_at" = 1418736279.617496 WHERE "integer_models"."id" = 31
698
+  (0.9ms) commit transaction
699
+ SQL (1.0ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 31
700
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 31
701
+  (0.0ms) begin transaction
702
+ SQL (0.4ms) INSERT INTO "integer_models" DEFAULT VALUES
671
703
   (0.7ms) commit transaction
672
-  (0.0ms) begin transaction
673
- SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1423327397.355624 WHERE "forests"."id" = 6
704
+  (0.1ms) begin transaction
705
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418736279.623394 WHERE "integer_models"."id" = 32
706
+  (0.7ms) commit transaction
707
+ SQL (1.1ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 32
708
+  (9.4ms) DROP TABLE "decimal_models"
709
+  (1.5ms) CREATE TABLE "decimal_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" decimal DEFAULT 0, "integer_model_id" integer)
710
+  (1.1ms) DROP TABLE "integer_models"
711
+  (1.2ms) CREATE TABLE "integer_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0)
712
+  (1.1ms) DROP TABLE "forests"
713
+  (1.2ms) CREATE TABLE "forests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0)
714
+  (1.2ms) DROP TABLE "trees"
715
+  (1.0ms) CREATE TABLE "trees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0, "forest_id" integer, "park_id" integer, "biggest" boolean DEFAULT 'f')
716
+  (0.9ms) DROP TABLE "parks"
717
+  (0.9ms) CREATE TABLE "parks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "forest_id" integer)
718
+  (0.1ms) SELECT version FROM "schema_migrations"
719
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20141216212608')
720
+  (0.1ms) begin transaction
721
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
722
+  (0.7ms) commit transaction
723
+  (0.1ms) begin transaction
724
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418736369.1231 WHERE "integer_models"."id" = 1
725
+  (0.7ms) commit transaction
726
+ SQL (0.9ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 1
727
+  (0.1ms) SELECT deleted_at FROM "integer_models" WHERE id = 1
728
+  (0.1ms) begin transaction
729
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
730
+  (1.0ms) commit transaction
731
+  (0.1ms) begin transaction
732
+ SQL (0.3ms) UPDATE "integer_models" SET "deleted_at" = 1418736369.132141 WHERE "integer_models"."id" = 2
733
+  (0.7ms) commit transaction
734
+ SQL (1.1ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 2
735
+  (0.1ms) begin transaction
736
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
674
737
   (0.6ms) commit transaction
675
738
   (0.0ms) begin transaction
676
- SQL (0.1ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 6]]
739
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418736369.137235 WHERE "integer_models"."id" = 3
677
740
   (0.6ms) commit transaction
678
- Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = ? LIMIT 1 [["id", 6]]
679
-  (0.0ms) begin transaction
680
- SQL (0.2ms) INSERT INTO "forests" DEFAULT VALUES
741
+ SQL (0.8ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 3
742
+  (0.1ms) begin transaction
743
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
681
744
   (0.6ms) commit transaction
682
745
   (0.0ms) begin transaction
683
- SQL (0.2ms) INSERT INTO "trees" ("biggest", "forest_id") VALUES (?, ?) [["biggest", true], ["forest_id", 7]]
684
-  (0.6ms) commit transaction
685
-  (0.0ms) begin transaction
686
- SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1423327397.363395 WHERE "trees"."id" = 11
687
-  (0.6ms) commit transaction
688
- Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE ("trees".deleted_at = 0) AND "trees"."forest_id" = ? AND "trees"."biggest" = 't' LIMIT 1 [["forest_id", 7]]
746
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418736369.141134 WHERE "integer_models"."id" = 4
747
+  (0.5ms) commit transaction
748
+ SQL (1.4ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 4
749
+  (0.1ms) begin transaction
750
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
751
+  (0.7ms) commit transaction
689
752
   (0.0ms) begin transaction
690
- SQL (0.1ms) INSERT INTO "forests" DEFAULT VALUES
691
-  (0.7ms) commit transaction
753
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418736369.177756 WHERE "integer_models"."id" = 5
754
+  (0.5ms) commit transaction
692
755
   (0.0ms) begin transaction
693
- SQL (0.1ms) INSERT INTO "trees" ("biggest", "forest_id") VALUES (?, ?) [["biggest", true], ["forest_id", 8]]
756
+ SQL (0.3ms) INSERT INTO "decimal_models" DEFAULT VALUES
694
757
   (0.6ms) commit transaction
695
758
   (0.0ms) begin transaction
696
- SQL (0.1ms) UPDATE "trees" SET "deleted_at" = 1423327397.368924 WHERE "trees"."id" = 12
697
-  (0.6ms) commit transaction
698
- Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."forest_id" = ? AND "trees"."biggest" = 't' LIMIT 1 [["forest_id", 8]]
699
-  (1.0ms) DROP TABLE "decimal_models"
700
-  (0.8ms) CREATE TABLE "decimal_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" decimal DEFAULT 0, "integer_model_id" integer)
701
-  (0.8ms) DROP TABLE "integer_models"
702
-  (0.8ms) CREATE TABLE "integer_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0)
703
-  (0.8ms) DROP TABLE "forests"
704
-  (0.9ms) CREATE TABLE "forests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0)
705
-  (0.9ms) DROP TABLE "trees"
706
-  (0.8ms) CREATE TABLE "trees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0, "forest_id" integer, "park_id" integer, "biggest" boolean DEFAULT 'f')
707
-  (0.8ms) DROP TABLE "parks"
708
-  (0.6ms) CREATE TABLE "parks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "forest_id" integer)
709
-  (0.1ms) SELECT version FROM "schema_migrations"
710
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150207090107')
711
-  (0.0ms) begin transaction
712
759
  SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
713
760
   (0.7ms) commit transaction
714
761
   (0.0ms) begin transaction
715
- SQL (0.3ms) UPDATE "integer_models" SET "deleted_at" = 1423328467.419708 WHERE "integer_models"."id" = 1
762
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418736369.188813 WHERE "integer_models"."id" = 6
716
763
   (0.6ms) commit transaction
717
- IntegerModel Load (0.2ms) SELECT "integer_models".* FROM "integer_models" WHERE (integer_models.deleted_at > 0)
718
-  (0.1ms) begin transaction
719
- SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
720
-  (0.8ms) commit transaction
721
- IntegerModel Load (0.1ms) SELECT "integer_models".* FROM "integer_models" WHERE (integer_models.deleted_at > 0)
722
-  (0.0ms) begin transaction
723
- SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
724
-  (0.7ms) commit transaction
725
764
   (0.0ms) begin transaction
726
- SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1423328467.429273 WHERE "integer_models"."id" = 3
727
-  (0.7ms) commit transaction
728
-  (0.1ms) begin transaction
729
- SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
765
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
766
+  (0.6ms) commit transaction
767
+  (0.0ms) begin transaction
768
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418736369.192137 WHERE "integer_models"."id" = 7
730
769
   (0.5ms) commit transaction
731
770
   (0.0ms) begin transaction
732
771
  SQL (0.0ms) INSERT INTO "decimal_models" DEFAULT VALUES
733
772
   (0.0ms) commit transaction
734
- SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1423328467.0 WHERE "decimal_models"."id" = 1
773
+  (0.0ms) begin transaction
774
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1418736369.193829 WHERE "decimal_models"."id" = 2
775
+  (0.0ms) commit transaction
735
776
   (0.0ms) begin transaction
736
777
  SQL (0.0ms) INSERT INTO "integer_models" DEFAULT VALUES
737
778
   (0.0ms) commit transaction
738
- SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1423328467.0 WHERE "integer_models"."id" = 5
739
-  (0.0ms) begin transaction
740
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
741
-  (0.7ms) commit transaction
742
- SQL (0.8ms) UPDATE "integer_models" SET "deleted_at" = 1423328467.446186 WHERE "integer_models"."id" = 6
779
+  (0.0ms) begin transaction
780
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1418736369.193829 WHERE "integer_models"."id" = 8
781
+  (0.0ms) commit transaction
782
+  (0.0ms) SELECT deleted_at FROM "decimal_models" WHERE id = 2
783
+  (0.0ms) SELECT deleted_at FROM "integer_models" WHERE id = 8
743
784
   (0.0ms) begin transaction
744
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
745
-  (0.7ms) commit transaction
746
- SQL (0.9ms) UPDATE "integer_models" SET "deleted_at" = 1423328467.448623 WHERE "integer_models"."id" = 7
785
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
786
+  (0.6ms) commit transaction
787
+  (0.0ms) begin transaction
788
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418736369.205665 WHERE "integer_models"."id" = 9
789
+  (0.6ms) commit transaction
790
+  (0.1ms) begin transaction
791
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
792
+  (0.8ms) commit transaction
793
+  (0.0ms) begin transaction
794
+ SQL (0.3ms) UPDATE "integer_models" SET "deleted_at" = 1418736369.208914 WHERE "integer_models"."id" = 10
795
+  (0.9ms) commit transaction
747
796
   (0.0ms) begin transaction
748
797
  SQL (0.0ms) INSERT INTO "decimal_models" DEFAULT VALUES
749
798
   (0.0ms) commit transaction
750
- SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1423328467.449967 WHERE "decimal_models"."id" = 2
799
+  (0.0ms) begin transaction
800
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1418736369.0 WHERE "decimal_models"."id" = 3
801
+  (0.0ms) commit transaction
751
802
   (0.0ms) begin transaction
752
803
  SQL (0.0ms) INSERT INTO "integer_models" DEFAULT VALUES
753
804
   (0.0ms) commit transaction
754
- SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1423328467.449967 WHERE "integer_models"."id" = 8
755
-  (0.0ms) SELECT deleted_at FROM "decimal_models" WHERE id = 2
756
-  (0.0ms) SELECT deleted_at FROM "integer_models" WHERE id = 8
757
-  (0.0ms) begin transaction
758
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
759
-  (0.6ms) commit transaction
760
- SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1423328467.456378 WHERE "integer_models"."id" = 9
761
-  (0.0ms) begin transaction
762
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
763
-  (0.6ms) commit transaction
764
- SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1423328467.458792 WHERE "integer_models"."id" = 10
805
+  (0.0ms) begin transaction
806
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1418736369.0 WHERE "integer_models"."id" = 11
807
+  (0.0ms) commit transaction
808
+  (0.1ms) begin transaction
809
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
810
+  (1.0ms) commit transaction
811
+  (0.1ms) begin transaction
812
+ SQL (0.4ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = ? [["id", 12]]
813
+  (0.7ms) commit transaction
814
+  (0.1ms) begin transaction
815
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
816
+  (0.9ms) commit transaction
817
+  (0.0ms) begin transaction
818
+ SQL (0.2ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = ? [["id", 13]]
819
+  (1.0ms) commit transaction
820
+  (0.2ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 13
821
+  (0.0ms) begin transaction
822
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
823
+  (0.7ms) commit transaction
765
824
   (0.0ms) begin transaction
825
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418736369.230528 WHERE "integer_models"."id" = 14
826
+  (0.5ms) commit transaction
827
+ SQL (0.8ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 14
828
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 14
829
+  (0.1ms) begin transaction
830
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
831
+  (0.7ms) commit transaction
832
+  (0.1ms) begin transaction
833
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418736369.235312 WHERE "integer_models"."id" = 15
834
+  (0.5ms) commit transaction
835
+ SQL (0.6ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 15
836
+  (0.1ms) begin transaction
766
837
  SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
838
+  (0.5ms) commit transaction
839
+ SQL (0.6ms) UPDATE "integer_models" SET "deleted_at" = 1418736369.239541 WHERE "integer_models"."id" = 16
840
+  (0.0ms) begin transaction
841
+ SQL (0.2ms) INSERT INTO "decimal_models" DEFAULT VALUES
767
842
   (0.7ms) commit transaction
768
- SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1423328467.461462 WHERE "integer_models"."id" = 11
769
-  (0.1ms) begin transaction
770
- SQL (0.1ms) INSERT INTO "decimal_models" DEFAULT VALUES
771
-  (0.6ms) commit transaction
843
+  (0.1ms) begin transaction
844
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
845
+  (0.9ms) commit transaction
846
+ SQL (0.9ms) UPDATE "integer_models" SET "deleted_at" = 1418736369.245803 WHERE "integer_models"."id" = 17
847
+  (0.1ms) begin transaction
848
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
849
+  (0.9ms) commit transaction
850
+ SQL (1.2ms) UPDATE "integer_models" SET "deleted_at" = 1418736369.249766 WHERE "integer_models"."id" = 18
851
+  (0.0ms) begin transaction
852
+ SQL (0.0ms) INSERT INTO "decimal_models" DEFAULT VALUES
853
+  (0.0ms) commit transaction
854
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1418736369.25204 WHERE "decimal_models"."id" = 5
772
855
   (0.0ms) begin transaction
856
+ SQL (0.0ms) INSERT INTO "integer_models" DEFAULT VALUES
857
+  (0.0ms) commit transaction
858
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1418736369.25204 WHERE "integer_models"."id" = 19
859
+  (0.0ms) SELECT deleted_at FROM "decimal_models" WHERE id = 5
860
+  (0.0ms) SELECT deleted_at FROM "integer_models" WHERE id = 19
861
+  (0.1ms) begin transaction
773
862
  SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
774
-  (0.7ms) commit transaction
775
- SQL (0.7ms) DELETE FROM "integer_models" WHERE ("integer_models".deleted_at = 0) AND "integer_models"."id" = 12
863
+  (1.0ms) commit transaction
864
+ SQL (1.1ms) UPDATE "integer_models" SET "deleted_at" = 1418736369.263729 WHERE "integer_models"."id" = 20
865
+  (0.1ms) begin transaction
866
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
867
+  (0.8ms) commit transaction
868
+ SQL (1.0ms) UPDATE "integer_models" SET "deleted_at" = 1418736369.267672 WHERE "integer_models"."id" = 21
776
869
   (0.0ms) begin transaction
777
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
778
-  (0.6ms) commit transaction
779
- SQL (0.7ms) DELETE FROM "integer_models" WHERE ("integer_models".deleted_at = 0) AND "integer_models"."id" = 13
780
-  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 13
781
-  (0.0ms) begin transaction
782
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
870
+ SQL (0.0ms) INSERT INTO "decimal_models" DEFAULT VALUES
871
+  (0.0ms) commit transaction
872
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1418736369.0 WHERE "decimal_models"."id" = 6
873
+  (0.0ms) begin transaction
874
+ SQL (0.0ms) INSERT INTO "integer_models" DEFAULT VALUES
875
+  (0.0ms) commit transaction
876
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1418736369.0 WHERE "integer_models"."id" = 22
877
+  (0.1ms) begin transaction
878
+ SQL (0.4ms) INSERT INTO "integer_models" DEFAULT VALUES
879
+  (0.7ms) commit transaction
880
+ SQL (0.8ms) DELETE FROM "integer_models" WHERE ("integer_models".deleted_at = 0) AND "integer_models"."id" = 23
881
+  (0.1ms) begin transaction
882
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
883
+  (0.9ms) commit transaction
884
+ SQL (0.7ms) DELETE FROM "integer_models" WHERE ("integer_models".deleted_at = 0) AND "integer_models"."id" = 24
885
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 24
886
+  (0.1ms) begin transaction
887
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
783
888
   (0.6ms) commit transaction
784
- SQL (0.5ms) UPDATE "integer_models" SET "deleted_at" = 1423328467.470404 WHERE "integer_models"."id" = 14
889
+ SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1418736369.290256 WHERE "integer_models"."id" = 25
890
+ SQL (0.8ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 25
891
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 25
892
+  (0.1ms) begin transaction
893
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
894
+  (0.5ms) commit transaction
895
+ SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1418736369.294864 WHERE "integer_models"."id" = 26
896
+ SQL (0.8ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 26
897
+  (0.1ms) begin transaction
898
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
899
+  (0.5ms) commit transaction
785
900
   (0.0ms) begin transaction
786
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
787
-  (0.6ms) commit transaction
788
-  (0.0ms) begin transaction
789
- SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1423328467.472652 WHERE "integer_models"."id" = 15
901
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418736369.299294 WHERE "integer_models"."id" = 27
902
+  (0.5ms) commit transaction
903
+  (0.1ms) begin transaction
904
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
905
+  (0.6ms) commit transaction
906
+ IntegerModel Load (0.1ms) SELECT "integer_models".* FROM "integer_models"
907
+  (0.1ms) begin transaction
908
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
790
909
   (0.6ms) commit transaction
791
910
   (0.0ms) begin transaction
792
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
793
-  (0.5ms) commit transaction
794
- IntegerModel Load (0.1ms) SELECT "integer_models".* FROM "integer_models"
911
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418736369.307054 WHERE "integer_models"."id" = 29
912
+  (0.6ms) commit transaction
913
+  (0.1ms) begin transaction
914
+ SQL (0.4ms) INSERT INTO "integer_models" DEFAULT VALUES
915
+  (0.8ms) commit transaction
795
916
   (0.0ms) begin transaction
796
917
  SQL (0.2ms) INSERT INTO "parks" DEFAULT VALUES
918
+  (0.9ms) commit transaction
919
+  (0.1ms) begin transaction
920
+ SQL (0.2ms) INSERT INTO "trees" ("park_id") VALUES (?) [["park_id", 1]]
921
+  (1.0ms) commit transaction
922
+  (0.1ms) begin transaction
923
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1418736369.32971 WHERE "trees"."id" = 1
924
+  (0.9ms) commit transaction
925
+ Tree Exists (0.4ms) SELECT 1 AS one FROM "trees" WHERE ("trees".deleted_at = 0) AND "trees"."park_id" = ? LIMIT 1 [["park_id", 1]]
926
+  (0.1ms) begin transaction
927
+ SQL (0.3ms) INSERT INTO "parks" DEFAULT VALUES
928
+  (0.9ms) commit transaction
929
+  (0.1ms) begin transaction
930
+ SQL (0.3ms) INSERT INTO "trees" ("park_id") VALUES (?) [["park_id", 2]]
931
+  (0.9ms) commit transaction
932
+  (0.1ms) begin transaction
933
+ SQL (0.3ms) UPDATE "trees" SET "deleted_at" = 1418736369.388599 WHERE "trees"."id" = 2
934
+  (0.9ms) commit transaction
935
+  (0.1ms) begin transaction
936
+ SQL (0.3ms) INSERT INTO "trees" ("park_id") VALUES (?) [["park_id", 2]]
937
+  (0.9ms) commit transaction
938
+ Tree Exists (0.2ms) SELECT 1 AS one FROM "trees" WHERE "trees"."park_id" = ? AND "trees"."id" = 2 LIMIT 1 [["park_id", 2]]
939
+ Tree Exists (0.2ms) SELECT 1 AS one FROM "trees" WHERE "trees"."park_id" = ? AND "trees"."id" = 3 LIMIT 1 [["park_id", 2]]
940
+  (0.0ms) begin transaction
941
+ SQL (0.2ms) INSERT INTO "forests" DEFAULT VALUES
942
+  (0.9ms) commit transaction
943
+  (0.0ms) begin transaction
944
+ SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1418736369.407471 WHERE "forests"."id" = 1
945
+  (0.8ms) commit transaction
946
+  (0.0ms) begin transaction
947
+ SQL (0.4ms) INSERT INTO "parks" DEFAULT VALUES
948
+  (0.9ms) commit transaction
949
+  (0.1ms) begin transaction
950
+ SQL (0.2ms) UPDATE "parks" SET "forest_id" = ? WHERE "parks"."id" = 3 [["forest_id", 1]]
951
+  (0.9ms) commit transaction
952
+ Park Load (0.2ms) SELECT "parks".* FROM "parks" WHERE "parks"."id" = ? LIMIT 1 [["id", 3]]
953
+ Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE ("forests".deleted_at = 0) AND "forests"."id" = ? LIMIT 1 [["id", 1]]
954
+  (0.1ms) begin transaction
955
+ SQL (0.3ms) INSERT INTO "forests" DEFAULT VALUES
797
956
   (0.7ms) commit transaction
798
957
   (0.0ms) begin transaction
799
- SQL (0.3ms) INSERT INTO "trees" ("park_id") VALUES (?) [["park_id", 1]]
800
-  (0.7ms) commit transaction
958
+ SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1418736369.422723 WHERE "forests"."id" = 2
959
+  (0.6ms) commit transaction
801
960
   (0.0ms) begin transaction
802
- SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1423328467.487401 WHERE "trees"."id" = 1
961
+ SQL (0.2ms) INSERT INTO "parks" DEFAULT VALUES
803
962
   (0.6ms) commit transaction
804
- Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE ("trees".deleted_at = 0) AND "trees"."park_id" = ? LIMIT 1 [["park_id", 1]]
805
-  (0.0ms) begin transaction
806
- SQL (0.3ms) INSERT INTO "parks" DEFAULT VALUES
807
-  (0.8ms) commit transaction
808
963
   (0.0ms) begin transaction
809
- SQL (0.1ms) INSERT INTO "trees" ("park_id") VALUES (?) [["park_id", 2]]
964
+ SQL (0.2ms) UPDATE "parks" SET "forest_id" = ? WHERE "parks"."id" = 4 [["forest_id", 2]]
810
965
   (0.6ms) commit transaction
811
-  (0.0ms) begin transaction
812
- SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1423328467.523846 WHERE "trees"."id" = 2
966
+ Park Load (0.1ms) SELECT "parks".* FROM "parks" WHERE "parks"."id" = ? LIMIT 1 [["id", 4]]
967
+ Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = ? LIMIT 1 [["id", 2]]
968
+  (0.1ms) begin transaction
969
+ SQL (0.2ms) INSERT INTO "parks" DEFAULT VALUES
813
970
   (0.6ms) commit transaction
814
971
   (0.0ms) begin transaction
815
- SQL (0.1ms) INSERT INTO "trees" ("park_id") VALUES (?) [["park_id", 2]]
972
+ SQL (0.3ms) INSERT INTO "trees" ("biggest", "park_id") VALUES (?, ?) [["biggest", true], ["park_id", 5]]
816
973
   (0.5ms) commit transaction
817
- Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE "trees"."park_id" = ? AND "trees"."id" = 2 LIMIT 1 [["park_id", 2]]
818
- Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE "trees"."park_id" = ? AND "trees"."id" = 3 LIMIT 1 [["park_id", 2]]
819
974
   (0.0ms) begin transaction
975
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1418736369.436463 WHERE "trees"."id" = 4
976
+  (0.5ms) commit transaction
977
+ Tree Load (0.2ms) SELECT "trees".* FROM "trees" WHERE ("trees".deleted_at = 0) AND "trees"."park_id" = ? AND (biggest = 't') LIMIT 1 [["park_id", 5]]
978
+  (0.1ms) begin transaction
820
979
  SQL (0.2ms) INSERT INTO "parks" DEFAULT VALUES
821
-  (0.8ms) commit transaction
822
-  (0.0ms) begin transaction
823
- SQL (0.2ms) INSERT INTO "trees" ("biggest", "park_id") VALUES (?, ?) [["biggest", true], ["park_id", 3]]
824
-  (0.5ms) commit transaction
825
-  (0.0ms) begin transaction
826
- SQL (0.1ms) UPDATE "trees" SET "deleted_at" = 1423328467.53201 WHERE "trees"."id" = 4
827
-  (0.7ms) commit transaction
828
- Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE ("trees".deleted_at = 0) AND "trees"."park_id" = ? AND "trees"."biggest" = 't' LIMIT 1 [["park_id", 3]]
829
-  (0.0ms) begin transaction
830
- SQL (0.1ms) INSERT INTO "parks" DEFAULT VALUES
831
-  (0.7ms) commit transaction
980
+  (1.5ms) commit transaction
832
981
   (0.0ms) begin transaction
833
- SQL (0.1ms) INSERT INTO "trees" ("biggest", "park_id") VALUES (?, ?) [["biggest", true], ["park_id", 4]]
982
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "park_id") VALUES (?, ?) [["biggest", true], ["park_id", 6]]
834
983
   (0.7ms) commit transaction
835
984
   (0.0ms) begin transaction
836
- SQL (0.1ms) UPDATE "trees" SET "deleted_at" = 1423328467.538756 WHERE "trees"."id" = 5
837
-  (0.7ms) commit transaction
838
- Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."park_id" = ? AND "trees"."biggest" = 't' LIMIT 1 [["park_id", 4]]
839
-  (0.0ms) begin transaction
985
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1418736369.447095 WHERE "trees"."id" = 5
986
+  (0.5ms) commit transaction
987
+ Tree Load (0.2ms) SELECT "trees".* FROM "trees" WHERE "trees"."park_id" = ? AND (biggest = 't') LIMIT 1 [["park_id", 6]]
988
+  (0.1ms) begin transaction
840
989
  SQL (0.2ms) INSERT INTO "forests" DEFAULT VALUES
841
990
   (0.7ms) commit transaction
842
991
   (0.0ms) begin transaction
843
- SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1423328467.546821 WHERE "forests"."id" = 1
844
-  (0.7ms) commit transaction
845
-  (0.0ms) begin transaction
846
- SQL (0.1ms) INSERT INTO "parks" DEFAULT VALUES
847
-  (0.7ms) commit transaction
848
-  (0.0ms) begin transaction
849
- SQL (0.2ms) UPDATE "parks" SET "forest_id" = ? WHERE "parks"."id" = 5 [["forest_id", 1]]
850
-  (0.7ms) commit transaction
851
- Park Load (0.1ms) SELECT "parks".* FROM "parks" WHERE "parks"."id" = ? LIMIT 1 [["id", 5]]
852
- Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE ("forests".deleted_at = 0) AND "forests"."id" = ? LIMIT 1 [["id", 1]]
853
-  (0.0ms) begin transaction
854
- SQL (0.1ms) INSERT INTO "forests" DEFAULT VALUES
855
-  (0.7ms) commit transaction
992
+ SQL (0.2ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 3]]
993
+  (0.9ms) commit transaction
994
+  (0.1ms) begin transaction
995
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1418736369.456871 WHERE "trees"."id" = 6
996
+  (1.0ms) commit transaction
997
+ Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE ("trees".deleted_at = 0) AND "trees"."forest_id" = ? LIMIT 1 [["forest_id", 3]]
998
+  (0.1ms) begin transaction
999
+ SQL (0.2ms) INSERT INTO "forests" DEFAULT VALUES
1000
+  (0.9ms) commit transaction
856
1001
   (0.0ms) begin transaction
857
- SQL (0.1ms) UPDATE "forests" SET "deleted_at" = 1423328467.55542 WHERE "forests"."id" = 2
858
-  (0.4ms) commit transaction
1002
+ SQL (0.2ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 4]]
1003
+  (0.6ms) commit transaction
859
1004
   (0.0ms) begin transaction
860
- SQL (0.1ms) INSERT INTO "parks" DEFAULT VALUES
1005
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1418736369.4659 WHERE "trees"."id" = 7
861
1006
   (0.7ms) commit transaction
862
1007
   (0.0ms) begin transaction
863
- SQL (0.1ms) UPDATE "parks" SET "forest_id" = ? WHERE "parks"."id" = 6 [["forest_id", 2]]
1008
+ SQL (0.2ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 4]]
864
1009
   (0.7ms) commit transaction
865
- Park Load (0.1ms) SELECT "parks".* FROM "parks" WHERE "parks"."id" = ? LIMIT 1 [["id", 6]]
866
- Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = ? LIMIT 1 [["id", 2]]
1010
+ Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE "trees"."forest_id" = ? AND "trees"."id" = 7 LIMIT 1 [["forest_id", 4]]
1011
+ Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE "trees"."forest_id" = ? AND "trees"."id" = 8 LIMIT 1 [["forest_id", 4]]
867
1012
   (0.0ms) begin transaction
868
1013
  SQL (0.2ms) INSERT INTO "forests" DEFAULT VALUES
869
-  (0.7ms) commit transaction
1014
+  (0.9ms) commit transaction
870
1015
   (0.0ms) begin transaction
871
- SQL (0.2ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 3]]
872
-  (0.7ms) commit transaction
873
-  (0.0ms) begin transaction
874
- SQL (0.1ms) UPDATE "trees" SET "deleted_at" = 1423328467.565128 WHERE "trees"."id" = 6
875
-  (0.7ms) commit transaction
876
- Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE ("trees".deleted_at = 0) AND "trees"."forest_id" = ? LIMIT 1 [["forest_id", 3]]
877
-  (0.0ms) begin transaction
1016
+ SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1418736369.474305 WHERE "forests"."id" = 5
1017
+  (0.9ms) commit transaction
1018
+  (0.1ms) begin transaction
1019
+ SQL (0.2ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 5]]
1020
+  (0.8ms) commit transaction
1021
+ Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE ("forests".deleted_at = 0) AND "forests"."id" = ? LIMIT 1 [["id", 5]]
1022
+  (0.1ms) begin transaction
878
1023
  SQL (0.2ms) INSERT INTO "forests" DEFAULT VALUES
879
1024
   (0.6ms) commit transaction
880
1025
   (0.0ms) begin transaction
881
- SQL (0.1ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 4]]
1026
+ SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1418736369.484058 WHERE "forests"."id" = 6
882
1027
   (0.6ms) commit transaction
883
1028
   (0.0ms) begin transaction
884
- SQL (0.1ms) UPDATE "trees" SET "deleted_at" = 1423328467.570954 WHERE "trees"."id" = 7
1029
+ SQL (0.2ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 6]]
1030
+  (0.6ms) commit transaction
1031
+ Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = ? LIMIT 1 [["id", 6]]
1032
+  (0.1ms) begin transaction
1033
+ SQL (0.2ms) INSERT INTO "forests" DEFAULT VALUES
1034
+  (0.6ms) commit transaction
1035
+  (0.1ms) begin transaction
1036
+ SQL (0.3ms) INSERT INTO "trees" ("biggest", "forest_id") VALUES (?, ?) [["biggest", true], ["forest_id", 7]]
1037
+  (0.5ms) commit transaction
1038
+  (0.0ms) begin transaction
1039
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1418736369.494392 WHERE "trees"."id" = 11
885
1040
   (0.5ms) commit transaction
1041
+ Tree Load (0.2ms) SELECT "trees".* FROM "trees" WHERE ("trees".deleted_at = 0) AND "trees"."forest_id" = ? AND (biggest = 't') LIMIT 1 [["forest_id", 7]]
1042
+  (0.1ms) begin transaction
1043
+ SQL (0.3ms) INSERT INTO "forests" DEFAULT VALUES
1044
+  (0.6ms) commit transaction
886
1045
   (0.0ms) begin transaction
887
- SQL (0.1ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 4]]
1046
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "forest_id") VALUES (?, ?) [["biggest", true], ["forest_id", 8]]
888
1047
   (0.6ms) commit transaction
889
- Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE "trees"."forest_id" = ? AND "trees"."id" = 7 LIMIT 1 [["forest_id", 4]]
890
- Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE "trees"."forest_id" = ? AND "trees"."id" = 8 LIMIT 1 [["forest_id", 4]]
891
1048
   (0.0ms) begin transaction
892
- SQL (0.2ms) INSERT INTO "forests" DEFAULT VALUES
1049
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1418736369.503295 WHERE "trees"."id" = 12
1050
+  (0.6ms) commit transaction
1051
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."forest_id" = ? AND (biggest = 't') LIMIT 1 [["forest_id", 8]]
1052
+  (0.0ms) begin transaction
1053
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
893
1054
   (0.5ms) commit transaction
894
1055
   (0.0ms) begin transaction
895
- SQL (0.2ms) INSERT INTO "trees" ("biggest", "forest_id") VALUES (?, ?) [["biggest", true], ["forest_id", 5]]
1056
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418736369.50775 WHERE "integer_models"."id" = 31
1057
+  (0.6ms) commit transaction
1058
+ IntegerModel Load (0.1ms) SELECT "integer_models".* FROM "integer_models" WHERE (integer_models.deleted_at > 0)
1059
+  (0.1ms) begin transaction
1060
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
1061
+  (1.4ms) commit transaction
1062
+ IntegerModel Load (0.2ms) SELECT "integer_models".* FROM "integer_models" WHERE (integer_models.deleted_at > 0)
1063
+  (1.4ms) DROP TABLE "decimal_models"
1064
+  (1.0ms) CREATE TABLE "decimal_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" decimal DEFAULT 0, "integer_model_id" integer)
1065
+  (0.9ms) DROP TABLE "integer_models"
1066
+  (0.8ms) CREATE TABLE "integer_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0)
1067
+  (1.0ms) DROP TABLE "forests"
1068
+  (1.2ms) CREATE TABLE "forests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0)
1069
+  (1.1ms) DROP TABLE "trees"
1070
+  (1.0ms) CREATE TABLE "trees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "deleted_at" integer DEFAULT 0, "forest_id" integer, "park_id" integer, "biggest" boolean DEFAULT 'f')
1071
+  (1.0ms) DROP TABLE "parks"
1072
+  (1.2ms) CREATE TABLE "parks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "forest_id" integer)
1073
+  (0.1ms) SELECT version FROM "schema_migrations"
1074
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20141217163758')
1075
+  (0.1ms) begin transaction
1076
+ SQL (0.3ms) INSERT INTO "forests" DEFAULT VALUES
1077
+  (0.9ms) commit transaction
1078
+  (0.1ms) begin transaction
1079
+ SQL (0.7ms) INSERT INTO "trees" ("biggest", "forest_id") VALUES (?, ?) [["biggest", true], ["forest_id", 1]]
1080
+  (1.0ms) commit transaction
1081
+  (0.1ms) begin transaction
1082
+ SQL (0.4ms) UPDATE "trees" SET "deleted_at" = 1418805478.849537 WHERE "trees"."id" = 1
1083
+  (1.0ms) commit transaction
1084
+ Tree Load (0.3ms) SELECT "trees".* FROM "trees" WHERE "trees"."forest_id" = ? AND "trees"."biggest" = 't' LIMIT 1 [["forest_id", 1]]
1085
+  (0.1ms) begin transaction
1086
+ SQL (0.3ms) INSERT INTO "forests" DEFAULT VALUES
1087
+  (0.9ms) commit transaction
1088
+  (0.1ms) begin transaction
1089
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "forest_id") VALUES (?, ?) [["biggest", true], ["forest_id", 2]]
1090
+  (1.0ms) commit transaction
1091
+  (0.1ms) begin transaction
1092
+ SQL (0.3ms) UPDATE "trees" SET "deleted_at" = 1418805478.876453 WHERE "trees"."id" = 2
1093
+  (0.9ms) commit transaction
1094
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE ("trees".deleted_at = 0) AND "trees"."forest_id" = ? AND "trees"."biggest" = 't' LIMIT 1 [["forest_id", 2]]
1095
+  (0.1ms) begin transaction
1096
+ SQL (0.3ms) INSERT INTO "forests" DEFAULT VALUES
1097
+  (0.8ms) commit transaction
1098
+  (0.1ms) begin transaction
1099
+ SQL (0.3ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 3]]
1100
+  (0.8ms) commit transaction
1101
+  (0.0ms) begin transaction
1102
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1418805478.894057 WHERE "trees"."id" = 3
1103
+  (1.0ms) commit transaction
1104
+  (0.1ms) begin transaction
1105
+ SQL (0.3ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 3]]
1106
+  (0.8ms) commit transaction
1107
+ Tree Exists (0.3ms) SELECT 1 AS one FROM "trees" WHERE "trees"."forest_id" = ? AND "trees"."id" = 3 LIMIT 1 [["forest_id", 3]]
1108
+ Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE "trees"."forest_id" = ? AND "trees"."id" = 4 LIMIT 1 [["forest_id", 3]]
1109
+  (0.1ms) begin transaction
1110
+ SQL (0.3ms) INSERT INTO "forests" DEFAULT VALUES
1111
+  (0.9ms) commit transaction
1112
+  (0.1ms) begin transaction
1113
+ SQL (0.2ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 4]]
1114
+  (0.9ms) commit transaction
1115
+  (0.0ms) begin transaction
1116
+ SQL (0.3ms) UPDATE "trees" SET "deleted_at" = 1418805478.922431 WHERE "trees"."id" = 5
1117
+  (0.9ms) commit transaction
1118
+ Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE ("trees".deleted_at = 0) AND "trees"."forest_id" = ? LIMIT 1 [["forest_id", 4]]
1119
+  (0.1ms) begin transaction
1120
+ SQL (0.3ms) INSERT INTO "forests" DEFAULT VALUES
1121
+  (0.8ms) commit transaction
1122
+  (0.1ms) begin transaction
1123
+ SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1418805478.956316 WHERE "forests"."id" = 5
1124
+  (0.7ms) commit transaction
1125
+  (0.0ms) begin transaction
1126
+ SQL (0.2ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 5]]
1127
+  (0.6ms) commit transaction
1128
+ Forest Load (0.2ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = ? LIMIT 1 [["id", 5]]
1129
+  (0.1ms) begin transaction
1130
+ SQL (0.3ms) INSERT INTO "forests" DEFAULT VALUES
1131
+  (0.7ms) commit transaction
1132
+  (0.1ms) begin transaction
1133
+ SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1418805478.966366 WHERE "forests"."id" = 6
896
1134
   (0.6ms) commit transaction
897
1135
   (0.0ms) begin transaction
898
- SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1423328467.578242 WHERE "trees"."id" = 9
1136
+ SQL (0.2ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 6]]
899
1137
   (0.6ms) commit transaction
900
- Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE ("trees".deleted_at = 0) AND "trees"."forest_id" = ? AND "trees"."biggest" = 't' LIMIT 1 [["forest_id", 5]]
1138
+ Forest Load (0.2ms) SELECT "forests".* FROM "forests" WHERE ("forests".deleted_at = 0) AND "forests"."id" = ? LIMIT 1 [["id", 6]]
901
1139
   (0.0ms) begin transaction
902
- SQL (0.2ms) INSERT INTO "forests" DEFAULT VALUES
903
-  (0.7ms) commit transaction
1140
+ SQL (0.3ms) INSERT INTO "parks" DEFAULT VALUES
1141
+  (0.8ms) commit transaction
1142
+  (0.1ms) begin transaction
1143
+ SQL (0.2ms) INSERT INTO "trees" ("biggest", "park_id") VALUES (?, ?) [["biggest", true], ["park_id", 1]]
1144
+  (0.9ms) commit transaction
1145
+  (0.0ms) begin transaction
1146
+ SQL (0.3ms) UPDATE "trees" SET "deleted_at" = 1418805478.981244 WHERE "trees"."id" = 8
1147
+  (0.9ms) commit transaction
1148
+ Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."park_id" = ? AND "trees"."biggest" = 't' LIMIT 1 [["park_id", 1]]
1149
+  (0.1ms) begin transaction
1150
+ SQL (0.2ms) INSERT INTO "parks" DEFAULT VALUES
1151
+  (0.9ms) commit transaction
904
1152
   (0.0ms) begin transaction
905
- SQL (0.2ms) INSERT INTO "trees" ("biggest", "forest_id") VALUES (?, ?) [["biggest", true], ["forest_id", 6]]
906
-  (0.8ms) commit transaction
1153
+ SQL (0.3ms) INSERT INTO "trees" ("biggest", "park_id") VALUES (?, ?) [["biggest", true], ["park_id", 2]]
1154
+  (0.7ms) commit transaction
907
1155
   (0.0ms) begin transaction
908
- SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1423328467.584412 WHERE "trees"."id" = 10
1156
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1418805478.989703 WHERE "trees"."id" = 9
909
1157
   (0.7ms) commit transaction
910
- Tree Load (0.1ms) SELECT "trees".* FROM "trees" WHERE "trees"."forest_id" = ? AND "trees"."biggest" = 't' LIMIT 1 [["forest_id", 6]]
1158
+ Tree Load (0.2ms) SELECT "trees".* FROM "trees" WHERE ("trees".deleted_at = 0) AND "trees"."park_id" = ? AND "trees"."biggest" = 't' LIMIT 1 [["park_id", 2]]
911
1159
   (0.1ms) begin transaction
912
- SQL (0.2ms) INSERT INTO "forests" DEFAULT VALUES
913
-  (0.7ms) commit transaction
1160
+ SQL (0.2ms) INSERT INTO "parks" DEFAULT VALUES
1161
+  (0.9ms) commit transaction
1162
+  (0.1ms) begin transaction
1163
+ SQL (0.3ms) INSERT INTO "trees" ("park_id") VALUES (?) [["park_id", 3]]
1164
+  (0.9ms) commit transaction
1165
+  (0.1ms) begin transaction
1166
+ SQL (0.3ms) UPDATE "trees" SET "deleted_at" = 1418805478.999976 WHERE "trees"."id" = 10
1167
+  (0.9ms) commit transaction
1168
+  (0.1ms) begin transaction
1169
+ SQL (0.3ms) INSERT INTO "trees" ("park_id") VALUES (?) [["park_id", 3]]
1170
+  (0.9ms) commit transaction
1171
+ Tree Exists (0.2ms) SELECT 1 AS one FROM "trees" WHERE "trees"."park_id" = ? AND "trees"."id" = 10 LIMIT 1 [["park_id", 3]]
1172
+ Tree Exists (0.1ms) SELECT 1 AS one FROM "trees" WHERE "trees"."park_id" = ? AND "trees"."id" = 11 LIMIT 1 [["park_id", 3]]
1173
+  (0.1ms) begin transaction
1174
+ SQL (0.3ms) INSERT INTO "parks" DEFAULT VALUES
1175
+  (0.9ms) commit transaction
914
1176
   (0.0ms) begin transaction
915
- SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1423328467.58897 WHERE "forests"."id" = 7
1177
+ SQL (0.3ms) INSERT INTO "trees" ("park_id") VALUES (?) [["park_id", 4]]
916
1178
   (0.6ms) commit transaction
917
1179
   (0.0ms) begin transaction
918
- SQL (0.2ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 7]]
919
-  (0.7ms) commit transaction
920
- Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE ("forests".deleted_at = 0) AND "forests"."id" = ? LIMIT 1 [["id", 7]]
1180
+ SQL (0.2ms) UPDATE "trees" SET "deleted_at" = 1418805479.013805 WHERE "trees"."id" = 12
1181
+  (0.6ms) commit transaction
1182
+ Tree Exists (0.2ms) SELECT 1 AS one FROM "trees" WHERE ("trees".deleted_at = 0) AND "trees"."park_id" = ? LIMIT 1 [["park_id", 4]]
921
1183
   (0.1ms) begin transaction
922
1184
  SQL (0.2ms) INSERT INTO "forests" DEFAULT VALUES
1185
+  (0.6ms) commit transaction
1186
+  (0.0ms) begin transaction
1187
+ SQL (0.3ms) UPDATE "forests" SET "deleted_at" = 1418805479.02001 WHERE "forests"."id" = 7
1188
+  (0.5ms) commit transaction
1189
+  (0.1ms) begin transaction
1190
+ SQL (0.4ms) INSERT INTO "parks" DEFAULT VALUES
923
1191
   (0.7ms) commit transaction
924
1192
   (0.0ms) begin transaction
925
- SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1423328467.595415 WHERE "forests"."id" = 8
1193
+ SQL (0.2ms) UPDATE "parks" SET "forest_id" = ? WHERE "parks"."id" = 5 [["forest_id", 7]]
926
1194
   (0.6ms) commit transaction
1195
+ Park Load (0.1ms) SELECT "parks".* FROM "parks" WHERE "parks"."id" = ? LIMIT 1 [["id", 5]]
1196
+ Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = ? LIMIT 1 [["id", 7]]
927
1197
   (0.0ms) begin transaction
928
- SQL (0.2ms) INSERT INTO "trees" ("forest_id") VALUES (?) [["forest_id", 8]]
929
-  (0.6ms) commit transaction
930
- Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE "forests"."id" = ? LIMIT 1 [["id", 8]]
931
-  (0.0ms) begin transaction
932
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
933
-  (0.7ms) commit transaction
1198
+ SQL (0.2ms) INSERT INTO "forests" DEFAULT VALUES
1199
+  (0.5ms) commit transaction
934
1200
   (0.0ms) begin transaction
935
- SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1423328467.600551 WHERE "integer_models"."id" = 17
1201
+ SQL (0.2ms) UPDATE "forests" SET "deleted_at" = 1418805479.031347 WHERE "forests"."id" = 8
936
1202
   (0.6ms) commit transaction
937
-  (0.0ms) begin transaction
938
- SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
1203
+  (0.1ms) begin transaction
1204
+ SQL (0.2ms) INSERT INTO "parks" DEFAULT VALUES
939
1205
   (0.6ms) commit transaction
940
1206
   (0.0ms) begin transaction
941
- SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1423328467.603192 WHERE "integer_models"."id" = 18
1207
+ SQL (0.2ms) UPDATE "parks" SET "forest_id" = ? WHERE "parks"."id" = 6 [["forest_id", 8]]
942
1208
   (0.6ms) commit transaction
943
-  (0.0ms) begin transaction
944
- SQL (0.0ms) INSERT INTO "decimal_models" DEFAULT VALUES
945
-  (0.0ms) commit transaction
1209
+ Park Load (0.1ms) SELECT "parks".* FROM "parks" WHERE "parks"."id" = ? LIMIT 1 [["id", 6]]
1210
+ Forest Load (0.1ms) SELECT "forests".* FROM "forests" WHERE ("forests".deleted_at = 0) AND "forests"."id" = ? LIMIT 1 [["id", 8]]
1211
+  (0.1ms) begin transaction
1212
+ SQL (0.4ms) INSERT INTO "integer_models" DEFAULT VALUES
1213
+  (0.8ms) commit transaction
1214
+  (0.1ms) begin transaction
1215
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418805479.045743 WHERE "integer_models"."id" = 1
1216
+  (1.0ms) commit transaction
1217
+  (0.1ms) begin transaction
1218
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
1219
+  (0.8ms) commit transaction
1220
+  (0.1ms) begin transaction
1221
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418805479.050546 WHERE "integer_models"."id" = 2
1222
+  (0.9ms) commit transaction
1223
+  (0.1ms) begin transaction
1224
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
1225
+  (0.9ms) commit transaction
1226
+  (0.1ms) begin transaction
1227
+ SQL (0.3ms) UPDATE "integer_models" SET "deleted_at" = 1418805479.055099 WHERE "integer_models"."id" = 3
1228
+  (0.9ms) commit transaction
1229
+  (0.1ms) begin transaction
1230
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
1231
+  (1.0ms) commit transaction
1232
+  (0.1ms) begin transaction
1233
+ SQL (0.3ms) UPDATE "integer_models" SET "deleted_at" = 1418805479.060178 WHERE "integer_models"."id" = 4
1234
+  (1.0ms) commit transaction
1235
+  (0.1ms) begin transaction
1236
+ SQL (0.3ms) INSERT INTO "decimal_models" DEFAULT VALUES
1237
+  (1.0ms) commit transaction
946
1238
   (0.0ms) begin transaction
947
- SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1423328467.604445 WHERE "decimal_models"."id" = 4
1239
+ SQL (0.0ms) INSERT INTO "decimal_models" DEFAULT VALUES
948
1240
   (0.0ms) commit transaction
949
1241
   (0.0ms) begin transaction
950
- SQL (0.0ms) INSERT INTO "integer_models" DEFAULT VALUES
1242
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1418805479.0 WHERE "decimal_models"."id" = 2
951
1243
   (0.0ms) commit transaction
952
1244
   (0.0ms) begin transaction
953
- SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1423328467.604445 WHERE "integer_models"."id" = 19
1245
+ SQL (0.0ms) INSERT INTO "integer_models" DEFAULT VALUES
954
1246
   (0.0ms) commit transaction
955
-  (0.0ms) SELECT deleted_at FROM "decimal_models" WHERE id = 4
956
-  (0.0ms) SELECT deleted_at FROM "integer_models" WHERE id = 19
957
1247
   (0.0ms) begin transaction
958
- SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
959
-  (0.7ms) commit transaction
960
-  (0.0ms) begin transaction
961
- SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1423328467.612503 WHERE "integer_models"."id" = 20
1248
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1418805479.0 WHERE "integer_models"."id" = 5
1249
+  (0.0ms) commit transaction
1250
+  (0.1ms) begin transaction
1251
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
962
1252
   (0.6ms) commit transaction
963
1253
   (0.0ms) begin transaction
964
- SQL (0.1ms) INSERT INTO "decimal_models" DEFAULT VALUES
1254
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418805479.082751 WHERE "integer_models"."id" = 6
965
1255
   (0.6ms) commit transaction
966
1256
   (0.0ms) begin transaction
967
1257
  SQL (0.0ms) INSERT INTO "decimal_models" DEFAULT VALUES
968
1258
   (0.0ms) commit transaction
969
1259
   (0.0ms) begin transaction
970
- SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1423328468.0 WHERE "decimal_models"."id" = 6
1260
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1418805479.084215 WHERE "decimal_models"."id" = 3
971
1261
   (0.0ms) commit transaction
972
1262
   (0.0ms) begin transaction
973
1263
  SQL (0.0ms) INSERT INTO "integer_models" DEFAULT VALUES
974
1264
   (0.0ms) commit transaction
975
1265
   (0.0ms) begin transaction
976
- SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1423328468.0 WHERE "integer_models"."id" = 21
1266
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1418805479.084215 WHERE "integer_models"."id" = 7
977
1267
   (0.0ms) commit transaction
1268
+  (0.0ms) SELECT deleted_at FROM "decimal_models" WHERE id = 3
1269
+  (0.0ms) SELECT deleted_at FROM "integer_models" WHERE id = 7
978
1270
   (0.0ms) begin transaction
979
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
980
-  (0.5ms) commit transaction
1271
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
1272
+  (0.7ms) commit transaction
981
1273
   (0.0ms) begin transaction
982
- SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1423328467.621443 WHERE "integer_models"."id" = 22
983
-  (0.4ms) commit transaction
984
-  (0.0ms) begin transaction
985
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
986
-  (0.6ms) commit transaction
1274
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418805479.094007 WHERE "integer_models"."id" = 8
1275
+  (0.5ms) commit transaction
1276
+ SQL (0.7ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 8
987
1277
   (0.0ms) begin transaction
988
- SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1423328467.623771 WHERE "integer_models"."id" = 23
1278
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
989
1279
   (0.5ms) commit transaction
990
1280
   (0.0ms) begin transaction
991
- SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
1281
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418805479.097792 WHERE "integer_models"."id" = 9
992
1282
   (0.5ms) commit transaction
1283
+ SQL (0.8ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 9
1284
+  (0.2ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 9
993
1285
   (0.0ms) begin transaction
994
- SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1423328467.626324 WHERE "integer_models"."id" = 24
995
-  (0.7ms) commit transaction
1286
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
1287
+  (0.6ms) commit transaction
1288
+  (0.0ms) begin transaction
1289
+ SQL (0.2ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = ? [["id", 10]]
1290
+  (0.7ms) commit transaction
1291
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 10
996
1292
   (0.0ms) begin transaction
997
1293
  SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
998
-  (0.6ms) commit transaction
1294
+  (0.5ms) commit transaction
999
1295
   (0.0ms) begin transaction
1000
- SQL (0.2ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = ? [["id", 25]]
1001
-  (0.5ms) commit transaction
1296
+ SQL (0.2ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = ? [["id", 11]]
1297
+  (0.6ms) commit transaction
1298
+  (0.1ms) begin transaction
1299
+ SQL (0.5ms) INSERT INTO "integer_models" DEFAULT VALUES
1300
+  (0.7ms) commit transaction
1301
+ SQL (0.9ms) UPDATE "integer_models" SET "deleted_at" = 1418805479.109003 WHERE "integer_models"."id" = 12
1302
+  (0.1ms) begin transaction
1303
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
1304
+  (0.8ms) commit transaction
1305
+ SQL (0.8ms) UPDATE "integer_models" SET "deleted_at" = 1418805479.113082 WHERE "integer_models"."id" = 13
1002
1306
   (0.0ms) begin transaction
1003
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
1307
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
1308
+  (1.0ms) commit transaction
1309
+ SQL (1.2ms) UPDATE "integer_models" SET "deleted_at" = 1418805479.11703 WHERE "integer_models"."id" = 14
1310
+  (0.1ms) begin transaction
1311
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
1312
+  (0.9ms) commit transaction
1313
+ SQL (1.1ms) UPDATE "integer_models" SET "deleted_at" = 1418805479.121614 WHERE "integer_models"."id" = 15
1314
+  (0.1ms) begin transaction
1315
+ SQL (0.3ms) INSERT INTO "decimal_models" DEFAULT VALUES
1004
1316
   (0.7ms) commit transaction
1005
1317
   (0.0ms) begin transaction
1006
- SQL (0.1ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = ? [["id", 26]]
1007
-  (0.5ms) commit transaction
1008
-  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 26
1318
+ SQL (0.0ms) INSERT INTO "decimal_models" DEFAULT VALUES
1319
+  (0.0ms) commit transaction
1320
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1418805479.0 WHERE "decimal_models"."id" = 5
1009
1321
   (0.0ms) begin transaction
1010
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
1011
-  (0.6ms) commit transaction
1012
-  (0.0ms) begin transaction
1013
- SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1423328467.634143 WHERE "integer_models"."id" = 27
1014
-  (0.6ms) commit transaction
1322
+ SQL (0.0ms) INSERT INTO "integer_models" DEFAULT VALUES
1323
+  (0.0ms) commit transaction
1324
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1418805479.0 WHERE "integer_models"."id" = 16
1325
+  (0.0ms) begin transaction
1326
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
1327
+  (1.0ms) commit transaction
1328
+ SQL (1.1ms) UPDATE "integer_models" SET "deleted_at" = 1418805479.135503 WHERE "integer_models"."id" = 17
1015
1329
   (0.0ms) begin transaction
1016
-  (0.0ms) rollback transaction
1330
+ SQL (0.0ms) INSERT INTO "decimal_models" DEFAULT VALUES
1331
+  (0.0ms) commit transaction
1332
+ SQL (0.0ms) UPDATE "decimal_models" SET "deleted_at" = 1418805479.137272 WHERE "decimal_models"."id" = 6
1017
1333
   (0.0ms) begin transaction
1018
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
1334
+ SQL (0.0ms) INSERT INTO "integer_models" DEFAULT VALUES
1335
+  (0.0ms) commit transaction
1336
+ SQL (0.0ms) UPDATE "integer_models" SET "deleted_at" = 1418805479.137272 WHERE "integer_models"."id" = 18
1337
+  (0.0ms) SELECT deleted_at FROM "decimal_models" WHERE id = 6
1338
+  (0.0ms) SELECT deleted_at FROM "integer_models" WHERE id = 18
1339
+  (0.1ms) begin transaction
1340
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
1019
1341
   (0.6ms) commit transaction
1020
-  (0.0ms) begin transaction
1021
- SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1423328467.637315 WHERE "integer_models"."id" = 28
1342
+ SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 1418805479.147189 WHERE "integer_models"."id" = 19
1343
+ SQL (0.7ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 19
1344
+  (0.1ms) begin transaction
1345
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
1346
+  (0.5ms) commit transaction
1347
+ SQL (0.6ms) UPDATE "integer_models" SET "deleted_at" = 1418805479.151164 WHERE "integer_models"."id" = 20
1348
+ SQL (0.6ms) DELETE FROM "integer_models" WHERE "integer_models"."id" = 20
1349
+  (0.1ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 20
1350
+  (0.1ms) begin transaction
1351
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
1022
1352
   (0.6ms) commit transaction
1023
- SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 28
1353
+ SQL (1.0ms) DELETE FROM "integer_models" WHERE ("integer_models".deleted_at = 0) AND "integer_models"."id" = 21
1354
+  (0.2ms) SELECT COUNT(*) FROM "integer_models" WHERE id = 21
1355
+  (0.0ms) begin transaction
1356
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
1357
+  (0.6ms) commit transaction
1358
+ SQL (0.7ms) DELETE FROM "integer_models" WHERE ("integer_models".deleted_at = 0) AND "integer_models"."id" = 22
1359
+  (0.0ms) begin transaction
1360
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
1361
+  (0.5ms) commit transaction
1024
1362
   (0.0ms) begin transaction
1363
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418805479.162166 WHERE "integer_models"."id" = 23
1364
+  (0.5ms) commit transaction
1365
+ SQL (0.8ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 23
1366
+  (0.1ms) begin transaction
1025
1367
  SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
1026
-  (0.6ms) commit transaction
1368
+  (0.5ms) commit transaction
1027
1369
   (0.0ms) begin transaction
1028
- SQL (0.1ms) UPDATE "integer_models" SET "deleted_at" = 1423328467.641214 WHERE "integer_models"."id" = 29
1029
-  (0.6ms) commit transaction
1030
- SQL (0.5ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 29
1370
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418805479.167145 WHERE "integer_models"."id" = 24
1371
+  (0.5ms) commit transaction
1372
+ SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 24
1031
1373
   (0.0ms) begin transaction
1032
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
1374
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
1375
+  (0.5ms) commit transaction
1376
+  (0.0ms) begin transaction
1377
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418805479.170829 WHERE "integer_models"."id" = 25
1378
+  (0.5ms) commit transaction
1379
+ SQL (1.2ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 25
1380
+  (0.1ms) begin transaction
1381
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
1382
+  (0.9ms) commit transaction
1383
+  (0.1ms) begin transaction
1384
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418805479.177459 WHERE "integer_models"."id" = 26
1033
1385
   (0.6ms) commit transaction
1386
+ SQL (0.8ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 26
1387
+  (0.1ms) SELECT deleted_at FROM "integer_models" WHERE id = 26
1034
1388
   (0.0ms) begin transaction
1035
- SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1423328467.64443 WHERE "integer_models"."id" = 30
1036
-  (0.6ms) commit transaction
1037
- SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 30
1389
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
1390
+  (0.8ms) commit transaction
1391
+  (0.1ms) begin transaction
1392
+ SQL (0.3ms) UPDATE "integer_models" SET "deleted_at" = 1418805479.182726 WHERE "integer_models"."id" = 27
1393
+  (1.0ms) commit transaction
1394
+ IntegerModel Load (0.2ms) SELECT "integer_models".* FROM "integer_models" WHERE (integer_models.deleted_at > 0)
1395
+  (0.1ms) begin transaction
1396
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
1397
+  (0.7ms) commit transaction
1398
+ IntegerModel Load (0.2ms) SELECT "integer_models".* FROM "integer_models" WHERE (integer_models.deleted_at > 0)
1399
+  (0.1ms) begin transaction
1400
+ SQL (0.3ms) INSERT INTO "integer_models" DEFAULT VALUES
1401
+  (0.9ms) commit transaction
1038
1402
   (0.0ms) begin transaction
1039
- SQL (0.1ms) INSERT INTO "integer_models" DEFAULT VALUES
1040
-  (0.7ms) commit transaction
1041
-  (0.0ms) begin transaction
1042
- SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1423328467.648362 WHERE "integer_models"."id" = 31
1043
-  (0.8ms) commit transaction
1044
- SQL (0.7ms) UPDATE "integer_models" SET "deleted_at" = 0 WHERE "integer_models"."id" = 31
1045
-  (0.1ms) SELECT deleted_at FROM "integer_models" WHERE id = 31
1403
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
1404
+  (1.0ms) commit transaction
1405
+  (0.1ms) begin transaction
1406
+ SQL (0.3ms) UPDATE "integer_models" SET "deleted_at" = 1418805479.195139 WHERE "integer_models"."id" = 30
1407
+  (0.9ms) commit transaction
1408
+  (0.1ms) begin transaction
1409
+ SQL (0.4ms) INSERT INTO "integer_models" DEFAULT VALUES
1410
+  (0.9ms) commit transaction
1411
+  (0.1ms) begin transaction
1412
+ SQL (0.2ms) UPDATE "integer_models" SET "deleted_at" = 1418805479.20257 WHERE "integer_models"."id" = 31
1413
+  (0.7ms) commit transaction
1414
+  (0.0ms) begin transaction
1415
+ SQL (0.2ms) INSERT INTO "integer_models" DEFAULT VALUES
1416
+  (0.9ms) commit transaction
1417
+ IntegerModel Load (0.2ms) SELECT "integer_models".* FROM "integer_models"