hertz 0.1.0 → 1.0.0

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,2618 +1,386 @@
1
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
2
-  (106.2ms) DROP DATABASE IF EXISTS "hertz_test"
3
-  (259.5ms) CREATE DATABASE "hertz_test" ENCODING = 'utf8'
4
- SQL (0.6ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
5
-  (4.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
6
-  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
7
-  (0.3ms) SELECT version FROM "schema_migrations"
8
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
9
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
10
- ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
11
-  (106.9ms) DROP DATABASE IF EXISTS "hertz_test"
12
-  (265.0ms) CREATE DATABASE "hertz_test" ENCODING = 'utf8'
13
- SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
14
- SQL (19.1ms) CREATE EXTENSION IF NOT EXISTS "hstore"
15
-  (6.7ms) CREATE TABLE "hertz_notifications" ("id" serial primary key, "type" character varying NOT NULL, "receiver_type" character varying NOT NULL, "receiver_id" integer NOT NULL, "meta" hstore DEFAULT '' NOT NULL, "read_at" timestamp, "created_at" timestamp NOT NULL) 
16
-  (3.1ms) CREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
17
-  (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
18
-  (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
19
-  (0.4ms) SELECT version FROM "schema_migrations"
20
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160415175837')
21
-  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160415175358')
22
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
23
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
24
-  (1.2ms) ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
25
-  (2.5ms)  SELECT schemaname || '.' || tablename
1
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
2
+  (0.6ms) ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
3
+  (1.6ms)  SELECT schemaname || '.' || tablename
26
4
  FROM pg_tables
27
5
  WHERE
28
6
  tablename !~ '_prt_' AND
29
7
  tablename <> 'schema_migrations' AND
30
8
  schemaname = ANY (current_schemas(false))
31
9
  
32
-  (2.9ms) select table_name from information_schema.views where table_schema = 'hertz_test'
33
-  (11.0ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
10
+  (1.7ms) select table_name from information_schema.views where table_schema = 'hertz_test'
11
+  (10.9ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
34
12
   (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
35
13
   (0.2ms) BEGIN
36
14
   (0.2ms) COMMIT
37
-  (0.1ms) BEGIN
38
-  (0.5ms) ROLLBACK
39
-  (0.2ms) BEGIN
40
-  (0.2ms) COMMIT
41
-  (0.3ms) BEGIN
42
-  (0.6ms) ROLLBACK
43
-  (0.3ms) BEGIN
44
-  (0.2ms) COMMIT
45
-  (0.2ms) BEGIN
46
-  (0.3ms) ROLLBACK
47
-  (0.2ms) BEGIN
48
-  (0.2ms) COMMIT
49
-  (0.2ms) BEGIN
50
-  (0.2ms) ROLLBACK
51
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
52
-  (1.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
53
-  (2.6ms)  SELECT schemaname || '.' || tablename
54
- FROM pg_tables
55
- WHERE
56
- tablename !~ '_prt_' AND
57
- tablename <> 'schema_migrations' AND
58
- schemaname = ANY (current_schemas(false))
59
- 
60
-  (2.0ms) select table_name from information_schema.views where table_schema = 'hertz_test'
61
-  (15.4ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
62
-  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
63
-  (0.2ms) BEGIN
64
-  (0.2ms) COMMIT
65
-  (0.2ms) BEGIN
66
-  (0.4ms) ROLLBACK
67
-  (0.2ms) BEGIN
68
-  (0.2ms) COMMIT
69
-  (0.2ms) BEGIN
70
-  (0.2ms) ROLLBACK
71
-  (0.2ms) BEGIN
72
-  (0.2ms) COMMIT
73
-  (0.2ms) BEGIN
74
-  (0.2ms) ROLLBACK
75
-  (0.4ms) BEGIN
76
-  (0.5ms) COMMIT
77
-  (0.3ms) BEGIN
78
-  (0.6ms) ROLLBACK
79
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
80
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
81
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
82
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
83
-  (1.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
84
-  (2.3ms)  SELECT schemaname || '.' || tablename
85
- FROM pg_tables
86
- WHERE
87
- tablename !~ '_prt_' AND
88
- tablename <> 'schema_migrations' AND
89
- schemaname = ANY (current_schemas(false))
90
- 
91
-  (1.5ms) select table_name from information_schema.views where table_schema = 'hertz_test'
92
-  (8.5ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
93
-  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
94
-  (0.5ms) BEGIN
95
-  (0.3ms) COMMIT
96
-  (0.2ms) BEGIN
97
-  (0.4ms) ROLLBACK
98
-  (0.6ms) BEGIN
99
-  (0.4ms) COMMIT
100
-  (0.6ms) BEGIN
101
-  (0.4ms) ROLLBACK
102
-  (0.2ms) BEGIN
103
-  (0.2ms) COMMIT
104
-  (0.2ms) BEGIN
105
-  (0.2ms) ROLLBACK
106
-  (0.2ms) BEGIN
107
-  (0.2ms) COMMIT
108
-  (0.2ms) BEGIN
109
-  (0.2ms) ROLLBACK
110
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
111
-  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
112
-  (2.5ms)  SELECT schemaname || '.' || tablename
113
- FROM pg_tables
114
- WHERE
115
- tablename !~ '_prt_' AND
116
- tablename <> 'schema_migrations' AND
117
- schemaname = ANY (current_schemas(false))
118
- 
119
-  (2.0ms) select table_name from information_schema.views where table_schema = 'hertz_test'
120
-  (9.2ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
121
-  (1.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
122
-  (0.4ms) BEGIN
123
-  (0.5ms) COMMIT
124
-  (0.3ms) BEGIN
125
-  (0.5ms) ROLLBACK
126
-  (0.6ms) BEGIN
127
-  (0.4ms) COMMIT
128
-  (0.9ms) BEGIN
129
-  (0.6ms) ROLLBACK
130
-  (0.2ms) BEGIN
131
-  (0.2ms) COMMIT
132
-  (0.2ms) BEGIN
133
-  (0.2ms) ROLLBACK
134
-  (0.2ms) BEGIN
135
-  (0.2ms) COMMIT
136
-  (0.2ms) BEGIN
137
-  (0.2ms) ROLLBACK
138
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
139
-  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
140
-  (2.3ms)  SELECT schemaname || '.' || tablename
141
- FROM pg_tables
142
- WHERE
143
- tablename !~ '_prt_' AND
144
- tablename <> 'schema_migrations' AND
145
- schemaname = ANY (current_schemas(false))
146
- 
147
-  (1.8ms) select table_name from information_schema.views where table_schema = 'hertz_test'
148
-  (8.7ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
149
-  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
150
-  (0.9ms) BEGIN
151
-  (0.4ms) COMMIT
152
-  (0.3ms) BEGIN
153
-  (0.5ms) ROLLBACK
154
-  (0.2ms) BEGIN
155
-  (0.1ms) COMMIT
156
-  (0.2ms) BEGIN
157
-  (0.2ms) SAVEPOINT active_record_1
158
- SQL (0.7ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-15 20:22:31.885617"], ["updated_at", "2016-04-15 20:22:31.885617"]]
159
- SQL (0.5ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-15 20:22:31.883238"], ["receiver_id", 1], ["created_at", "2016-04-15 20:22:31.889873"]]
160
-  (0.2ms) RELEASE SAVEPOINT active_record_1
161
-  (0.2ms) ROLLBACK
162
-  (0.4ms) BEGIN
163
-  (0.3ms) COMMIT
164
-  (0.1ms) BEGIN
165
-  (0.6ms) ROLLBACK
166
-  (0.2ms) BEGIN
167
-  (0.1ms) COMMIT
168
-  (0.1ms) BEGIN
169
-  (0.1ms) SAVEPOINT active_record_1
170
- SQL (1.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-15 20:22:31.919731"], ["updated_at", "2016-04-15 20:22:31.919731"]]
171
- SQL (0.6ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 2], ["created_at", "2016-04-15 20:22:31.922987"]]
172
-  (0.3ms) RELEASE SAVEPOINT active_record_1
173
-  (0.3ms) ROLLBACK
174
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
175
-  (1.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
176
-  (2.2ms)  SELECT schemaname || '.' || tablename
177
- FROM pg_tables
178
- WHERE
179
- tablename !~ '_prt_' AND
180
- tablename <> 'schema_migrations' AND
181
- schemaname = ANY (current_schemas(false))
182
- 
183
-  (1.6ms) select table_name from information_schema.views where table_schema = 'hertz_test'
184
-  (8.3ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
185
-  (0.7ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
186
-  (0.6ms) BEGIN
187
-  (0.3ms) COMMIT
188
-  (0.2ms) BEGIN
189
-  (0.4ms) SAVEPOINT active_record_1
190
- SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-15 20:22:59.945915"], ["updated_at", "2016-04-15 20:22:59.945915"]]
191
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-15 20:22:59.943190"], ["receiver_id", 1], ["created_at", "2016-04-15 20:22:59.950076"]]
192
-  (0.2ms) RELEASE SAVEPOINT active_record_1
193
-  (0.2ms) SAVEPOINT active_record_1
194
- SQL (0.4ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 1]]
195
-  (0.3ms) RELEASE SAVEPOINT active_record_1
196
-  (0.3ms) ROLLBACK
197
-  (0.2ms) BEGIN
198
-  (0.2ms) COMMIT
199
-  (0.2ms) BEGIN
200
-  (0.2ms) ROLLBACK
201
-  (0.2ms) BEGIN
202
-  (0.2ms) COMMIT
203
-  (0.2ms) BEGIN
204
-  (0.2ms) ROLLBACK
205
-  (0.2ms) BEGIN
206
-  (0.2ms) COMMIT
207
-  (0.2ms) BEGIN
208
-  (0.3ms) SAVEPOINT active_record_1
209
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-15 20:22:59.970004"], ["updated_at", "2016-04-15 20:22:59.970004"]]
210
- SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 2], ["created_at", "2016-04-15 20:22:59.971288"]]
211
-  (0.1ms) RELEASE SAVEPOINT active_record_1
212
-  (0.1ms) SAVEPOINT active_record_1
213
- SQL (0.3ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-15 20:22:59.973599"], ["id", 2]]
214
-  (0.2ms) RELEASE SAVEPOINT active_record_1
215
-  (0.2ms) ROLLBACK
216
- ActiveRecord::SchemaMigration Load (3.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
217
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
218
-  (3.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
219
-  (2.3ms)  SELECT schemaname || '.' || tablename
220
- FROM pg_tables
221
- WHERE
222
- tablename !~ '_prt_' AND
223
- tablename <> 'schema_migrations' AND
224
- schemaname = ANY (current_schemas(false))
225
- 
226
-  (5.3ms) select table_name from information_schema.views where table_schema = 'hertz_test'
227
-  (9.4ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
228
-  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
229
-  (0.4ms) BEGIN
230
-  (0.3ms) COMMIT
231
15
   (0.3ms) BEGIN
232
-  (0.6ms) ROLLBACK
233
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
234
-  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
235
-  (1.1ms)  SELECT schemaname || '.' || tablename
236
- FROM pg_tables
237
- WHERE
238
- tablename !~ '_prt_' AND
239
- tablename <> 'schema_migrations' AND
240
- schemaname = ANY (current_schemas(false))
241
- 
242
-  (2.0ms) select table_name from information_schema.views where table_schema = 'hertz_test'
243
-  (7.4ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
244
-  (0.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
245
-  (0.6ms) BEGIN
246
-  (0.3ms) COMMIT
247
-  (0.2ms) BEGIN
248
-  (0.3ms) ROLLBACK
249
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
250
-  (0.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
251
-  (2.3ms)  SELECT schemaname || '.' || tablename
252
- FROM pg_tables
253
- WHERE
254
- tablename !~ '_prt_' AND
255
- tablename <> 'schema_migrations' AND
256
- schemaname = ANY (current_schemas(false))
257
- 
258
-  (2.0ms) select table_name from information_schema.views where table_schema = 'hertz_test'
259
-  (7.4ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
260
-  (0.8ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
261
-  (0.8ms) BEGIN
262
-  (0.3ms) COMMIT
263
-  (0.2ms) BEGIN
264
-  (0.4ms) ROLLBACK
265
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
266
-  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
267
-  (2.2ms)  SELECT schemaname || '.' || tablename
268
- FROM pg_tables
269
- WHERE
270
- tablename !~ '_prt_' AND
271
- tablename <> 'schema_migrations' AND
272
- schemaname = ANY (current_schemas(false))
273
- 
274
-  (2.1ms) select table_name from information_schema.views where table_schema = 'hertz_test'
275
-  (8.2ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
276
-  (0.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
277
-  (0.4ms) BEGIN
278
-  (0.3ms) COMMIT
279
-  (0.2ms) BEGIN
16
+ Rendered hertz/notification_mailer/test_notification.html.erb (1.0ms)
17
+
18
+ Hertz::NotificationMailer#notification_email: processed outbound mail in 12.4ms
280
19
   (0.4ms) ROLLBACK
281
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
282
-  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
283
-  (2.4ms)  SELECT schemaname || '.' || tablename
284
- FROM pg_tables
285
- WHERE
286
- tablename !~ '_prt_' AND
287
- tablename <> 'schema_migrations' AND
288
- schemaname = ANY (current_schemas(false))
289
- 
290
-  (2.0ms) select table_name from information_schema.views where table_schema = 'hertz_test'
291
-  (8.3ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
292
-  (0.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
293
-  (0.5ms) BEGIN
294
-  (0.3ms) COMMIT
295
-  (0.2ms) BEGIN
296
-  (0.3ms) ROLLBACK
297
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
298
-  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
299
-  (1.2ms)  SELECT schemaname || '.' || tablename
300
- FROM pg_tables
301
- WHERE
302
- tablename !~ '_prt_' AND
303
- tablename <> 'schema_migrations' AND
304
- schemaname = ANY (current_schemas(false))
305
- 
306
-  (2.2ms) select table_name from information_schema.views where table_schema = 'hertz_test'
307
-  (8.3ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
308
-  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
309
20
   (0.3ms) BEGIN
310
21
   (0.3ms) COMMIT
311
22
   (0.2ms) BEGIN
312
-  (0.4ms) ROLLBACK
313
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
314
-  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
315
-  (1.4ms)  SELECT schemaname || '.' || tablename
316
- FROM pg_tables
317
- WHERE
318
- tablename !~ '_prt_' AND
319
- tablename <> 'schema_migrations' AND
320
- schemaname = ANY (current_schemas(false))
321
- 
322
-  (2.0ms) select table_name from information_schema.views where table_schema = 'hertz_test'
323
-  (8.8ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
324
-  (2.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
325
-  (0.7ms) BEGIN
326
-  (0.5ms) COMMIT
327
-  (0.2ms) BEGIN
328
-  (0.8ms) ROLLBACK
329
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
330
-  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
331
-  (1.8ms)  SELECT schemaname || '.' || tablename
332
- FROM pg_tables
333
- WHERE
334
- tablename !~ '_prt_' AND
335
- tablename <> 'schema_migrations' AND
336
- schemaname = ANY (current_schemas(false))
337
- 
338
-  (2.2ms) select table_name from information_schema.views where table_schema = 'hertz_test'
339
-  (7.4ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
340
-  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
341
-  (0.4ms) BEGIN
342
-  (0.2ms) COMMIT
343
-  (0.2ms) BEGIN
344
-  (0.3ms) ROLLBACK
345
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
346
-  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
347
-  (1.1ms)  SELECT schemaname || '.' || tablename
348
- FROM pg_tables
349
- WHERE
350
- tablename !~ '_prt_' AND
351
- tablename <> 'schema_migrations' AND
352
- schemaname = ANY (current_schemas(false))
353
- 
354
-  (1.1ms) select table_name from information_schema.views where table_schema = 'hertz_test'
355
-  (10.0ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
356
-  (0.9ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
357
-  (0.6ms) BEGIN
358
-  (0.2ms) COMMIT
359
-  (0.5ms) BEGIN
360
-  (0.3ms) SAVEPOINT active_record_1
361
- SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:51:08.918937"], ["updated_at", "2016-04-17 10:51:08.918937"]]
362
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2016-04-17 10:51:08.924245"]]
363
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
364
-  (0.2ms) ROLLBACK
365
-  (0.2ms) BEGIN
366
-  (0.2ms) COMMIT
367
-  (0.2ms) BEGIN
368
-  (0.3ms) ROLLBACK
369
-  (0.1ms) BEGIN
370
-  (0.2ms) COMMIT
371
-  (0.1ms) BEGIN
372
-  (0.3ms) ROLLBACK
373
-  (0.3ms) BEGIN
374
-  (0.2ms) COMMIT
375
-  (0.2ms) BEGIN
376
-  (0.4ms) SAVEPOINT active_record_1
377
- SQL (1.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:51:08.962119"], ["updated_at", "2016-04-17 10:51:08.962119"]]
378
- SQL (0.6ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-17 10:51:08.960858"], ["receiver_id", 2], ["created_at", "2016-04-17 10:51:08.965090"]]
379
-  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1
380
-  (0.4ms) ROLLBACK
381
-  (0.2ms) BEGIN
382
-  (0.2ms) COMMIT
383
-  (0.3ms) BEGIN
384
-  (0.3ms) SAVEPOINT active_record_1
385
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:51:08.979124"], ["updated_at", "2016-04-17 10:51:08.979124"]]
386
- SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-17 10:51:08.980467"]]
387
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
388
-  (0.1ms) ROLLBACK
389
-  (0.2ms) BEGIN
390
-  (0.2ms) COMMIT
391
-  (0.2ms) BEGIN
392
-  (0.6ms) SAVEPOINT active_record_1
393
- SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:51:08.993418"], ["updated_at", "2016-04-17 10:51:08.993418"]]
394
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 4], ["created_at", "2016-04-17 10:51:08.995697"]]
395
-  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
396
23
   (0.5ms) ROLLBACK
397
-  (0.5ms) BEGIN
398
-  (0.4ms) COMMIT
399
-  (0.4ms) BEGIN
24
+  (1.2ms) BEGIN
25
+  (3.0ms) COMMIT
26
+  (1.3ms) BEGIN
400
27
   (0.3ms) SAVEPOINT active_record_1
401
- SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:51:09.009422"], ["updated_at", "2016-04-17 10:51:09.009422"]]
402
-  (0.4ms) RELEASE SAVEPOINT active_record_1
403
-  (0.2ms) SAVEPOINT active_record_1
404
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 5], ["receiver_type", "User"], ["created_at", "2016-04-17 10:51:09.013083"]]
405
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
406
-  (0.3ms) ROLLBACK
407
-  (0.2ms) BEGIN
408
-  (0.1ms) COMMIT
409
-  (0.4ms) BEGIN
410
-  (0.2ms) SAVEPOINT active_record_1
411
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:51:09.022212"], ["updated_at", "2016-04-17 10:51:09.022212"]]
412
-  (0.2ms) RELEASE SAVEPOINT active_record_1
413
-  (0.3ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
414
-  (0.1ms) SAVEPOINT active_record_1
415
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 6], ["receiver_type", "User"], ["created_at", "2016-04-17 10:51:09.048544"]]
416
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
417
-  (0.2ms) ROLLBACK
418
-  (0.3ms) BEGIN
419
-  (0.3ms) COMMIT
420
-  (0.2ms) BEGIN
421
-  (0.4ms) ROLLBACK
422
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
423
-  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
424
-  (2.3ms)  SELECT schemaname || '.' || tablename
425
- FROM pg_tables
426
- WHERE
427
- tablename !~ '_prt_' AND
428
- tablename <> 'schema_migrations' AND
429
- schemaname = ANY (current_schemas(false))
430
- 
431
-  (1.9ms) select table_name from information_schema.views where table_schema = 'hertz_test'
432
-  (9.0ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
433
-  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
434
-  (0.4ms) BEGIN
435
-  (0.2ms) COMMIT
436
-  (0.2ms) BEGIN
437
-  (0.7ms) ROLLBACK
438
-  (0.2ms) BEGIN
439
-  (0.2ms) COMMIT
440
-  (0.2ms) BEGIN
441
-  (0.3ms) SAVEPOINT active_record_1
442
- SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:51:24.087190"], ["updated_at", "2016-04-17 10:51:24.087190"]]
443
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2016-04-17 10:51:24.091722"]]
444
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
445
-  (0.5ms) ROLLBACK
446
-  (0.2ms) BEGIN
447
-  (0.2ms) COMMIT
448
-  (0.2ms) BEGIN
449
-  (0.3ms) SAVEPOINT active_record_1
450
- SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:51:24.111107"], ["updated_at", "2016-04-17 10:51:24.111107"]]
451
- SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 2], ["created_at", "2016-04-17 10:51:24.112546"]]
452
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
453
-  (0.2ms) ROLLBACK
454
-  (0.2ms) BEGIN
455
-  (0.2ms) COMMIT
456
-  (0.2ms) BEGIN
457
-  (0.2ms) SAVEPOINT active_record_1
458
- SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:51:24.121244"], ["updated_at", "2016-04-17 10:51:24.121244"]]
459
- SQL (0.9ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-17 10:51:24.122635"]]
460
-  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1
461
-  (0.7ms) ROLLBACK
462
-  (0.2ms) BEGIN
463
-  (0.2ms) COMMIT
464
-  (0.2ms) BEGIN
465
-  (0.5ms) ROLLBACK
466
-  (0.4ms) BEGIN
467
-  (0.4ms) COMMIT
468
-  (1.3ms) BEGIN
469
-  (0.3ms) ROLLBACK
470
-  (0.1ms) BEGIN
471
-  (0.1ms) COMMIT
472
-  (0.1ms) BEGIN
473
-  (0.2ms) SAVEPOINT active_record_1
474
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:51:24.156069"], ["updated_at", "2016-04-17 10:51:24.156069"]]
475
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-17 10:51:24.155341"], ["receiver_id", 4], ["created_at", "2016-04-17 10:51:24.157495"]]
476
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
477
-  (0.1ms) ROLLBACK
478
-  (0.4ms) BEGIN
479
-  (0.3ms) COMMIT
480
-  (0.2ms) BEGIN
481
-  (0.4ms) SAVEPOINT active_record_1
482
- SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:51:24.170389"], ["updated_at", "2016-04-17 10:51:24.170389"]]
483
-  (0.3ms) RELEASE SAVEPOINT active_record_1
484
-  (0.3ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 5], ["receiver_type", "User"]]
485
-  (0.2ms) SAVEPOINT active_record_1
486
- SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 5], ["receiver_type", "User"], ["created_at", "2016-04-17 10:51:24.190666"]]
487
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
488
-  (0.2ms) ROLLBACK
489
-  (0.2ms) BEGIN
490
-  (0.2ms) COMMIT
491
-  (0.3ms) BEGIN
492
-  (0.3ms) SAVEPOINT active_record_1
493
- SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:51:24.205493"], ["updated_at", "2016-04-17 10:51:24.205493"]]
494
-  (0.2ms) RELEASE SAVEPOINT active_record_1
495
-  (0.4ms) SAVEPOINT active_record_1
496
- SQL (0.8ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 6], ["receiver_type", "User"], ["created_at", "2016-04-17 10:51:24.209665"]]
497
-  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
498
-  (0.6ms) ROLLBACK
499
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
500
-  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
501
-  (2.1ms)  SELECT schemaname || '.' || tablename
502
- FROM pg_tables
503
- WHERE
504
- tablename !~ '_prt_' AND
505
- tablename <> 'schema_migrations' AND
506
- schemaname = ANY (current_schemas(false))
507
- 
508
-  (2.3ms) select table_name from information_schema.views where table_schema = 'hertz_test'
509
-  (7.8ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
510
-  (0.8ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
511
-  (0.5ms) BEGIN
512
-  (0.2ms) COMMIT
513
-  (0.2ms) BEGIN
514
-  (0.5ms) SAVEPOINT active_record_1
515
- SQL (1.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:51:31.998264"], ["updated_at", "2016-04-17 10:51:31.998264"]]
516
-  (0.4ms) RELEASE SAVEPOINT active_record_1
517
-  (0.5ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
518
-  (0.2ms) SAVEPOINT active_record_1
519
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2016-04-17 10:51:32.032935"]]
520
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
521
-  (0.2ms) ROLLBACK
522
-  (0.2ms) BEGIN
523
-  (0.1ms) COMMIT
524
-  (0.2ms) BEGIN
525
-  (0.2ms) SAVEPOINT active_record_1
526
- SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:51:32.066353"], ["updated_at", "2016-04-17 10:51:32.066353"]]
527
-  (0.2ms) RELEASE SAVEPOINT active_record_1
528
-  (0.3ms) SAVEPOINT active_record_1
529
- SQL (1.1ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2016-04-17 10:51:32.070156"]]
530
-  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1
531
-  (0.5ms) ROLLBACK
532
-  (0.4ms) BEGIN
533
-  (0.2ms) COMMIT
534
-  (0.2ms) BEGIN
535
-  (0.5ms) ROLLBACK
536
-  (0.2ms) BEGIN
537
-  (0.2ms) COMMIT
538
-  (0.2ms) BEGIN
539
-  (0.2ms) SAVEPOINT active_record_1
540
- SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:51:32.117042"], ["updated_at", "2016-04-17 10:51:32.117042"]]
541
- SQL (0.7ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-17 10:51:32.118553"]]
542
-  (0.2ms) RELEASE SAVEPOINT active_record_1
543
-  (0.2ms) ROLLBACK
544
-  (0.3ms) BEGIN
545
-  (0.2ms) COMMIT
546
-  (0.2ms) BEGIN
547
-  (0.3ms) SAVEPOINT active_record_1
548
- SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:51:32.145232"], ["updated_at", "2016-04-17 10:51:32.145232"]]
549
- SQL (0.8ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 4], ["created_at", "2016-04-17 10:51:32.146960"]]
550
-  (0.7ms) RELEASE SAVEPOINT active_record_1
551
-  (0.4ms) SAVEPOINT active_record_1
552
- SQL (0.3ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-17 10:51:32.153826"], ["id", 4]]
553
-  (0.3ms) RELEASE SAVEPOINT active_record_1
554
-  (0.2ms) ROLLBACK
555
-  (0.1ms) BEGIN
556
-  (0.1ms) COMMIT
557
-  (0.1ms) BEGIN
558
-  (0.7ms) SAVEPOINT active_record_1
559
- SQL (0.8ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:51:32.171113"], ["updated_at", "2016-04-17 10:51:32.171113"]]
560
- SQL (0.8ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 5], ["created_at", "2016-04-17 10:51:32.175385"]]
561
-  (0.7ms) RELEASE SAVEPOINT active_record_1
562
-  (0.4ms) SAVEPOINT active_record_1
563
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:51:32.183241"], ["updated_at", "2016-04-17 10:51:32.183241"]]
564
- SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-17 10:51:32.181569"], ["receiver_id", 6], ["created_at", "2016-04-17 10:51:32.184853"]]
565
-  (0.2ms) RELEASE SAVEPOINT active_record_1
566
- Hertz::Notification Load (0.4ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
567
-  (0.2ms) ROLLBACK
568
-  (0.3ms) BEGIN
569
-  (0.2ms) COMMIT
570
-  (0.1ms) BEGIN
571
-  (0.3ms) ROLLBACK
572
-  (0.3ms) BEGIN
573
-  (0.3ms) COMMIT
574
-  (1.2ms) BEGIN
575
-  (0.3ms) SAVEPOINT active_record_1
576
- SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:51:32.201215"], ["updated_at", "2016-04-17 10:51:32.201215"]]
577
- SQL (0.9ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-17 10:51:32.200270"], ["receiver_id", 7], ["created_at", "2016-04-17 10:51:32.204145"]]
578
-  (0.3ms) RELEASE SAVEPOINT active_record_1
579
-  (0.2ms) SAVEPOINT active_record_1
580
- SQL (0.4ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 7]]
581
-  (0.3ms) RELEASE SAVEPOINT active_record_1
582
-  (0.2ms) ROLLBACK
583
-  (0.2ms) BEGIN
584
-  (0.2ms) COMMIT
585
-  (0.3ms) BEGIN
586
-  (0.6ms) ROLLBACK
587
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
588
-  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
589
-  (2.4ms)  SELECT schemaname || '.' || tablename
590
- FROM pg_tables
591
- WHERE
592
- tablename !~ '_prt_' AND
593
- tablename <> 'schema_migrations' AND
594
- schemaname = ANY (current_schemas(false))
595
- 
596
-  (1.8ms) select table_name from information_schema.views where table_schema = 'hertz_test'
597
-  (8.3ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
598
-  (1.0ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
599
-  (0.6ms) BEGIN
600
-  (0.2ms) COMMIT
601
-  (0.2ms) BEGIN
602
-  (0.5ms) SAVEPOINT active_record_1
603
- SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:52:05.073017"], ["updated_at", "2016-04-17 10:52:05.073017"]]
604
-  (0.3ms) RELEASE SAVEPOINT active_record_1
605
-  (0.3ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
606
-  (0.3ms) SAVEPOINT active_record_1
607
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2016-04-17 10:52:05.104798"]]
608
-  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
609
-  (0.2ms) ROLLBACK
610
-  (0.3ms) BEGIN
611
-  (0.2ms) COMMIT
612
-  (0.2ms) BEGIN
613
-  (0.3ms) SAVEPOINT active_record_1
614
- SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:52:05.138469"], ["updated_at", "2016-04-17 10:52:05.138469"]]
615
-  (0.2ms) RELEASE SAVEPOINT active_record_1
616
-  (0.2ms) SAVEPOINT active_record_1
617
- SQL (0.8ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2016-04-17 10:52:05.141807"]]
618
-  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1
619
-  (0.5ms) ROLLBACK
620
-  (0.3ms) BEGIN
621
-  (0.2ms) COMMIT
622
-  (0.2ms) BEGIN
623
-  (0.3ms) ROLLBACK
624
-  (0.3ms) BEGIN
625
-  (0.2ms) COMMIT
626
-  (0.2ms) BEGIN
627
-  (0.3ms) SAVEPOINT active_record_1
628
- SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:52:05.198512"], ["updated_at", "2016-04-17 10:52:05.198512"]]
629
- SQL (0.6ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-17 10:52:05.201051"]]
630
-  (0.4ms) RELEASE SAVEPOINT active_record_1
631
-  (0.2ms) ROLLBACK
632
-  (0.5ms) BEGIN
633
-  (0.4ms) COMMIT
634
-  (0.4ms) BEGIN
635
-  (0.3ms) SAVEPOINT active_record_1
636
- SQL (0.7ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:52:05.214147"], ["updated_at", "2016-04-17 10:52:05.214147"]]
637
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 4], ["created_at", "2016-04-17 10:52:05.216551"]]
638
-  (0.3ms) RELEASE SAVEPOINT active_record_1
639
-  (0.6ms) SAVEPOINT active_record_1
640
- SQL (0.9ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:52:05.221993"], ["updated_at", "2016-04-17 10:52:05.221993"]]
641
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-17 10:52:05.220279"], ["receiver_id", 5], ["created_at", "2016-04-17 10:52:05.225508"]]
642
-  (0.6ms) RELEASE SAVEPOINT active_record_1
643
- Hertz::Notification Load (0.4ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
644
-  (0.3ms) ROLLBACK
645
-  (0.2ms) BEGIN
646
-  (0.2ms) COMMIT
647
-  (0.2ms) BEGIN
648
-  (0.2ms) ROLLBACK
649
-  (0.1ms) BEGIN
650
-  (0.3ms) COMMIT
651
-  (0.2ms) BEGIN
652
-  (0.1ms) ROLLBACK
653
-  (0.2ms) BEGIN
654
-  (0.3ms) COMMIT
655
-  (0.2ms) BEGIN
656
-  (0.4ms) SAVEPOINT active_record_1
657
- SQL (0.7ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:52:05.246777"], ["updated_at", "2016-04-17 10:52:05.246777"]]
658
- SQL (0.7ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-17 10:52:05.244787"], ["receiver_id", 6], ["created_at", "2016-04-17 10:52:05.249497"]]
659
-  (0.6ms) RELEASE SAVEPOINT active_record_1
660
-  (0.2ms) SAVEPOINT active_record_1
661
- SQL (0.3ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 6]]
662
-  (0.2ms) RELEASE SAVEPOINT active_record_1
663
-  (0.2ms) ROLLBACK
664
-  (0.2ms) BEGIN
665
-  (0.2ms) COMMIT
666
-  (0.2ms) BEGIN
667
-  (0.2ms) SAVEPOINT active_record_1
668
- SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:52:05.265971"], ["updated_at", "2016-04-17 10:52:05.265971"]]
669
- SQL (0.8ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 7], ["created_at", "2016-04-17 10:52:05.268996"]]
670
-  (0.6ms) RELEASE SAVEPOINT active_record_1
671
-  (0.4ms) SAVEPOINT active_record_1
672
- SQL (0.8ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-17 10:52:05.274273"], ["id", 7]]
673
-  (0.3ms) RELEASE SAVEPOINT active_record_1
674
-  (0.2ms) ROLLBACK
675
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
676
-  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
677
-  (1.2ms)  SELECT schemaname || '.' || tablename
678
- FROM pg_tables
679
- WHERE
680
- tablename !~ '_prt_' AND
681
- tablename <> 'schema_migrations' AND
682
- schemaname = ANY (current_schemas(false))
683
- 
684
-  (1.0ms) select table_name from information_schema.views where table_schema = 'hertz_test'
685
-  (8.0ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
686
-  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
687
-  (0.6ms) BEGIN
688
-  (0.3ms) COMMIT
689
-  (0.3ms) BEGIN
690
-  (0.5ms) SAVEPOINT active_record_1
691
- SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:52:15.802321"], ["updated_at", "2016-04-17 10:52:15.802321"]]
692
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2016-04-17 10:52:15.806605"]]
693
-  (0.2ms) RELEASE SAVEPOINT active_record_1
694
-  (0.2ms) ROLLBACK
695
-  (0.2ms) BEGIN
696
-  (0.1ms) COMMIT
697
-  (0.2ms) BEGIN
698
-  (0.2ms) ROLLBACK
699
-  (0.1ms) BEGIN
700
-  (0.1ms) COMMIT
701
-  (0.1ms) BEGIN
702
-  (0.2ms) SAVEPOINT active_record_1
703
- SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:52:15.817353"], ["updated_at", "2016-04-17 10:52:15.817353"]]
704
- SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-17 10:52:15.816737"], ["receiver_id", 2], ["created_at", "2016-04-17 10:52:15.818642"]]
705
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
706
-  (0.2ms) ROLLBACK
707
-  (0.4ms) BEGIN
708
-  (0.2ms) COMMIT
709
-  (0.2ms) BEGIN
710
-  (0.2ms) SAVEPOINT active_record_1
711
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:52:15.854604"], ["updated_at", "2016-04-17 10:52:15.854604"]]
712
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-17 10:52:15.855859"]]
713
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
714
-  (0.2ms) ROLLBACK
715
-  (0.2ms) BEGIN
716
-  (0.2ms) COMMIT
717
-  (0.1ms) BEGIN
718
-  (0.6ms) ROLLBACK
719
-  (0.3ms) BEGIN
720
-  (0.2ms) COMMIT
721
-  (0.2ms) BEGIN
722
-  (0.4ms) SAVEPOINT active_record_1
723
- SQL (0.9ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:52:15.882462"], ["updated_at", "2016-04-17 10:52:15.882462"]]
724
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 4], ["created_at", "2016-04-17 10:52:15.885809"]]
725
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
726
-  (0.2ms) ROLLBACK
727
-  (0.7ms) BEGIN
728
-  (0.5ms) COMMIT
729
-  (0.7ms) BEGIN
730
-  (0.3ms) ROLLBACK
731
-  (0.3ms) BEGIN
732
-  (0.2ms) COMMIT
733
-  (0.2ms) BEGIN
734
-  (0.2ms) SAVEPOINT active_record_1
735
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:52:15.922377"], ["updated_at", "2016-04-17 10:52:15.922377"]]
736
-  (0.2ms) RELEASE SAVEPOINT active_record_1
737
-  (0.2ms) SAVEPOINT active_record_1
738
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 5], ["receiver_type", "User"], ["created_at", "2016-04-17 10:52:15.925202"]]
739
-  (0.6ms) RELEASE SAVEPOINT active_record_1
740
- Hertz::Notification Load (0.4ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 5], ["receiver_type", "User"]]
741
-  (0.3ms) ROLLBACK
742
-  (0.1ms) BEGIN
743
-  (0.4ms) COMMIT
744
-  (0.2ms) BEGIN
745
-  (0.2ms) SAVEPOINT active_record_1
746
- SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:52:15.960407"], ["updated_at", "2016-04-17 10:52:15.960407"]]
747
-  (0.2ms) RELEASE SAVEPOINT active_record_1
748
-  (0.2ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
749
-  (0.1ms) SAVEPOINT active_record_1
750
- SQL (0.8ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 6], ["receiver_type", "User"], ["created_at", "2016-04-17 10:52:15.964843"]]
751
-  (0.2ms) RELEASE SAVEPOINT active_record_1
752
-  (0.2ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
753
-  (0.2ms) ROLLBACK
754
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
755
-  (1.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
756
-  (2.5ms)  SELECT schemaname || '.' || tablename
757
- FROM pg_tables
758
- WHERE
759
- tablename !~ '_prt_' AND
760
- tablename <> 'schema_migrations' AND
761
- schemaname = ANY (current_schemas(false))
762
- 
763
-  (1.5ms) select table_name from information_schema.views where table_schema = 'hertz_test'
764
-  (10.5ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
765
-  (0.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
766
-  (0.6ms) BEGIN
767
-  (0.2ms) COMMIT
768
-  (0.2ms) BEGIN
769
-  (0.4ms) SAVEPOINT active_record_1
770
- SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:52:47.649455"], ["updated_at", "2016-04-17 10:52:47.649455"]]
771
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2016-04-17 10:52:47.653721"]]
772
-  (0.2ms) RELEASE SAVEPOINT active_record_1
773
-  (0.2ms) ROLLBACK
774
-  (0.2ms) BEGIN
775
-  (0.2ms) COMMIT
776
-  (0.2ms) BEGIN
777
-  (0.2ms) SAVEPOINT active_record_1
778
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:52:47.660280"], ["updated_at", "2016-04-17 10:52:47.660280"]]
779
- SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-17 10:52:47.659652"], ["receiver_id", 2], ["created_at", "2016-04-17 10:52:47.661636"]]
780
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
781
-  (0.2ms) ROLLBACK
782
-  (0.5ms) BEGIN
783
-  (0.5ms) COMMIT
784
-  (0.4ms) BEGIN
785
-  (0.4ms) ROLLBACK
786
-  (0.2ms) BEGIN
787
-  (0.2ms) COMMIT
788
-  (0.2ms) BEGIN
789
-  (0.2ms) SAVEPOINT active_record_1
790
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:52:47.703616"], ["updated_at", "2016-04-17 10:52:47.703616"]]
791
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-17 10:52:47.705036"]]
792
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
793
-  (0.2ms) ROLLBACK
794
-  (0.5ms) BEGIN
795
-  (0.3ms) COMMIT
796
-  (0.5ms) BEGIN
797
-  (0.4ms) ROLLBACK
798
-  (0.3ms) BEGIN
799
-  (0.2ms) COMMIT
800
-  (0.2ms) BEGIN
801
-  (0.5ms) SAVEPOINT active_record_1
802
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:52:47.732716"], ["updated_at", "2016-04-17 10:52:47.732716"]]
803
- SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 4], ["created_at", "2016-04-17 10:52:47.734294"]]
804
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
805
-  (1.4ms) ROLLBACK
806
-  (0.5ms) BEGIN
807
-  (0.3ms) COMMIT
808
-  (0.2ms) BEGIN
809
-  (0.3ms) SAVEPOINT active_record_1
810
- SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:52:47.758452"], ["updated_at", "2016-04-17 10:52:47.758452"]]
811
-  (0.2ms) RELEASE SAVEPOINT active_record_1
812
-  (0.4ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 5], ["receiver_type", "User"]]
813
-  (0.2ms) SAVEPOINT active_record_1
814
- SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 5], ["receiver_type", "User"], ["created_at", "2016-04-17 10:52:47.779639"]]
815
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
816
-  (0.1ms) ROLLBACK
817
-  (0.3ms) BEGIN
818
-  (0.2ms) COMMIT
819
-  (0.1ms) BEGIN
820
-  (0.1ms) SAVEPOINT active_record_1
821
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:52:47.803212"], ["updated_at", "2016-04-17 10:52:47.803212"]]
822
-  (0.1ms) RELEASE SAVEPOINT active_record_1
823
-  (0.2ms) SAVEPOINT active_record_1
824
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 6], ["receiver_type", "User"], ["created_at", "2016-04-17 10:52:47.806402"]]
825
-  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1
826
-  (0.2ms) ROLLBACK
827
-  (0.4ms) BEGIN
828
-  (0.2ms) COMMIT
829
-  (0.3ms) BEGIN
830
-  (0.7ms) ROLLBACK
831
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
832
-  (1.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
833
-  (2.4ms)  SELECT schemaname || '.' || tablename
834
- FROM pg_tables
835
- WHERE
836
- tablename !~ '_prt_' AND
837
- tablename <> 'schema_migrations' AND
838
- schemaname = ANY (current_schemas(false))
839
- 
840
-  (1.5ms) select table_name from information_schema.views where table_schema = 'hertz_test'
841
-  (8.2ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
842
-  (0.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
843
-  (1.0ms) BEGIN
844
-  (0.2ms) COMMIT
845
-  (0.3ms) BEGIN
846
-  (0.4ms) SAVEPOINT active_record_1
847
- SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:52:54.392193"], ["updated_at", "2016-04-17 10:52:54.392193"]]
848
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2016-04-17 10:52:54.396598"]]
849
-  (0.2ms) RELEASE SAVEPOINT active_record_1
850
-  (0.2ms) ROLLBACK
851
-  (0.2ms) BEGIN
852
-  (0.2ms) COMMIT
853
-  (0.1ms) BEGIN
854
-  (0.2ms) SAVEPOINT active_record_1
855
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:52:54.403134"], ["updated_at", "2016-04-17 10:52:54.403134"]]
856
- SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-17 10:52:54.402479"], ["receiver_id", 2], ["created_at", "2016-04-17 10:52:54.404360"]]
857
-  (0.2ms) RELEASE SAVEPOINT active_record_1
858
-  (0.2ms) SAVEPOINT active_record_1
859
- SQL (0.4ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 2]]
860
-  (0.2ms) RELEASE SAVEPOINT active_record_1
861
-  (0.2ms) ROLLBACK
862
-  (0.2ms) BEGIN
863
-  (0.1ms) COMMIT
864
-  (0.2ms) BEGIN
865
-  (0.2ms) ROLLBACK
866
-  (0.2ms) BEGIN
867
-  (0.1ms) COMMIT
868
-  (0.2ms) BEGIN
869
-  (0.2ms) ROLLBACK
870
-  (0.2ms) BEGIN
871
-  (0.2ms) COMMIT
872
-  (0.2ms) BEGIN
873
-  (0.2ms) SAVEPOINT active_record_1
874
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:52:54.422470"], ["updated_at", "2016-04-17 10:52:54.422470"]]
875
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-17 10:52:54.423924"]]
876
-  (0.2ms) RELEASE SAVEPOINT active_record_1
877
-  (0.2ms) SAVEPOINT active_record_1
878
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:52:54.426909"], ["updated_at", "2016-04-17 10:52:54.426909"]]
879
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-17 10:52:54.426320"], ["receiver_id", 4], ["created_at", "2016-04-17 10:52:54.427999"]]
880
-  (0.2ms) RELEASE SAVEPOINT active_record_1
881
- Hertz::Notification Load (0.4ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
882
-  (0.2ms) ROLLBACK
883
-  (0.2ms) BEGIN
884
-  (0.1ms) COMMIT
885
-  (0.1ms) BEGIN
886
-  (0.2ms) SAVEPOINT active_record_1
887
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:52:54.435566"], ["updated_at", "2016-04-17 10:52:54.435566"]]
888
- SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 5], ["created_at", "2016-04-17 10:52:54.436772"]]
889
-  (0.1ms) RELEASE SAVEPOINT active_record_1
890
-  (0.3ms) SAVEPOINT active_record_1
891
- SQL (0.4ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-17 10:52:54.438636"], ["id", 5]]
892
-  (0.2ms) RELEASE SAVEPOINT active_record_1
893
-  (0.2ms) ROLLBACK
894
-  (0.2ms) BEGIN
895
-  (0.2ms) COMMIT
896
-  (0.2ms) BEGIN
897
-  (0.6ms) ROLLBACK
898
-  (0.2ms) BEGIN
899
-  (0.1ms) COMMIT
900
-  (0.1ms) BEGIN
901
-  (0.2ms) SAVEPOINT active_record_1
902
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:52:54.455469"], ["updated_at", "2016-04-17 10:52:54.455469"]]
903
-  (0.2ms) RELEASE SAVEPOINT active_record_1
904
-  (0.4ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
905
-  (0.2ms) SAVEPOINT active_record_1
906
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 6], ["receiver_type", "User"], ["created_at", "2016-04-17 10:52:54.469307"]]
907
-  (0.2ms) RELEASE SAVEPOINT active_record_1
908
-  (0.3ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
909
-  (0.3ms) ROLLBACK
910
-  (0.6ms) BEGIN
911
-  (0.5ms) COMMIT
912
-  (0.3ms) BEGIN
913
-  (0.4ms) SAVEPOINT active_record_1
914
- SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 10:52:54.480124"], ["updated_at", "2016-04-17 10:52:54.480124"]]
915
-  (0.5ms) RELEASE SAVEPOINT active_record_1
916
-  (0.2ms) SAVEPOINT active_record_1
917
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 7], ["receiver_type", "User"], ["created_at", "2016-04-17 10:52:54.484758"]]
918
-  (0.2ms) RELEASE SAVEPOINT active_record_1
919
- Hertz::Notification Load (0.3ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 7], ["receiver_type", "User"]]
920
-  (0.2ms) ROLLBACK
921
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
922
-  (1.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
923
-  (2.2ms)  SELECT schemaname || '.' || tablename
924
- FROM pg_tables
925
- WHERE
926
- tablename !~ '_prt_' AND
927
- tablename <> 'schema_migrations' AND
928
- schemaname = ANY (current_schemas(false))
929
- 
930
-  (2.1ms) select table_name from information_schema.views where table_schema = 'hertz_test'
931
-  (8.2ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
932
-  (0.7ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
933
-  (0.5ms) BEGIN
934
-  (0.3ms) COMMIT
935
-  (0.3ms) BEGIN
936
-  (0.3ms) SAVEPOINT active_record_1
937
- SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 11:33:21.245475"], ["updated_at", "2016-04-17 11:33:21.245475"]]
938
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2016-04-17 11:33:21.250192"]]
939
-  (0.2ms) RELEASE SAVEPOINT active_record_1
940
-  (0.2ms) ROLLBACK
941
-  (0.1ms) BEGIN
942
-  (0.2ms) COMMIT
943
-  (0.1ms) BEGIN
944
-  (0.2ms) SAVEPOINT active_record_1
945
- SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 11:33:21.255840"], ["updated_at", "2016-04-17 11:33:21.255840"]]
946
- SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 2], ["created_at", "2016-04-17 11:33:21.257084"]]
947
-  (0.2ms) RELEASE SAVEPOINT active_record_1
948
-  (0.2ms) SAVEPOINT active_record_1
949
- SQL (0.5ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-17 11:33:21.260876"], ["id", 2]]
950
-  (0.2ms) RELEASE SAVEPOINT active_record_1
951
-  (0.2ms) ROLLBACK
952
-  (0.2ms) BEGIN
953
-  (0.2ms) COMMIT
954
-  (0.2ms) BEGIN
955
-  (0.3ms) ROLLBACK
956
-  (0.2ms) BEGIN
957
-  (0.2ms) COMMIT
958
-  (0.1ms) BEGIN
959
-  (0.2ms) ROLLBACK
960
-  (0.2ms) BEGIN
961
-  (0.2ms) COMMIT
962
-  (0.2ms) BEGIN
963
-  (0.2ms) SAVEPOINT active_record_1
964
- SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 11:33:21.275803"], ["updated_at", "2016-04-17 11:33:21.275803"]]
965
- SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-17 11:33:21.277075"]]
966
-  (0.2ms) RELEASE SAVEPOINT active_record_1
967
-  (0.2ms) SAVEPOINT active_record_1
968
- SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 11:33:21.279822"], ["updated_at", "2016-04-17 11:33:21.279822"]]
969
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-17 11:33:21.279109"], ["receiver_id", 4], ["created_at", "2016-04-17 11:33:21.281375"]]
970
-  (0.2ms) RELEASE SAVEPOINT active_record_1
971
- Hertz::Notification Load (0.5ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
972
-  (0.2ms) ROLLBACK
973
-  (0.5ms) BEGIN
974
-  (0.4ms) COMMIT
975
-  (0.3ms) BEGIN
976
-  (0.5ms) SAVEPOINT active_record_1
977
- SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 11:33:21.296077"], ["updated_at", "2016-04-17 11:33:21.296077"]]
978
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-17 11:33:21.294816"], ["receiver_id", 5], ["created_at", "2016-04-17 11:33:21.299232"]]
979
-  (0.2ms) RELEASE SAVEPOINT active_record_1
980
-  (0.2ms) SAVEPOINT active_record_1
981
- SQL (0.3ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 5]]
982
-  (0.2ms) RELEASE SAVEPOINT active_record_1
983
-  (0.2ms) ROLLBACK
984
-  (0.2ms) BEGIN
985
-  (0.2ms) COMMIT
986
-  (0.2ms) BEGIN
987
-  (0.2ms) SAVEPOINT active_record_1
988
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 11:33:21.307770"], ["updated_at", "2016-04-17 11:33:21.307770"]]
989
-  (0.2ms) RELEASE SAVEPOINT active_record_1
990
-  (0.3ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
991
-  (0.3ms) SAVEPOINT active_record_1
992
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 6], ["receiver_type", "User"], ["created_at", "2016-04-17 11:33:21.324092"]]
993
-  (0.2ms) RELEASE SAVEPOINT active_record_1
994
-  (0.3ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
995
-  (0.2ms) ROLLBACK
996
-  (0.4ms) BEGIN
997
-  (0.5ms) COMMIT
998
-  (0.7ms) BEGIN
999
-  (0.5ms) SAVEPOINT active_record_1
1000
- SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 11:33:21.334806"], ["updated_at", "2016-04-17 11:33:21.334806"]]
1001
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1002
-  (0.2ms) SAVEPOINT active_record_1
1003
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 7], ["receiver_type", "User"], ["created_at", "2016-04-17 11:33:21.339721"]]
1004
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1005
- Hertz::Notification Load (0.3ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 7], ["receiver_type", "User"]]
1006
-  (0.3ms) ROLLBACK
1007
-  (0.2ms) BEGIN
1008
-  (0.1ms) COMMIT
1009
-  (0.2ms) BEGIN
1010
-  (0.3ms) ROLLBACK
1011
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1012
-  (0.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
1013
-  (2.3ms)  SELECT schemaname || '.' || tablename
1014
- FROM pg_tables
1015
- WHERE
1016
- tablename !~ '_prt_' AND
1017
- tablename <> 'schema_migrations' AND
1018
- schemaname = ANY (current_schemas(false))
1019
- 
1020
-  (2.0ms) select table_name from information_schema.views where table_schema = 'hertz_test'
1021
-  (6.2ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
1022
-  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
1023
-  (0.5ms) BEGIN
1024
-  (0.4ms) COMMIT
1025
-  (0.3ms) BEGIN
1026
-  (0.5ms) ROLLBACK
1027
-  (0.3ms) BEGIN
1028
-  (0.2ms) COMMIT
1029
-  (0.2ms) BEGIN
1030
-  (0.3ms) SAVEPOINT active_record_1
1031
- SQL (1.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 11:35:14.664363"], ["updated_at", "2016-04-17 11:35:14.664363"]]
1032
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1033
-  (0.3ms) SAVEPOINT active_record_1
1034
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2016-04-17 11:35:14.677614"]]
1035
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1036
- Hertz::Notification Load (0.3ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
1037
-  (0.2ms) ROLLBACK
1038
-  (0.2ms) BEGIN
1039
-  (0.2ms) COMMIT
1040
-  (0.2ms) BEGIN
1041
-  (0.2ms) SAVEPOINT active_record_1
1042
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 11:35:14.697057"], ["updated_at", "2016-04-17 11:35:14.697057"]]
1043
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1044
-  (0.3ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 2], ["receiver_type", "User"]]
1045
-  (0.2ms) SAVEPOINT active_record_1
1046
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2016-04-17 11:35:14.704608"]]
1047
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1048
-  (0.3ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 2], ["receiver_type", "User"]]
1049
-  (0.2ms) ROLLBACK
1050
-  (0.2ms) BEGIN
1051
-  (0.2ms) COMMIT
1052
-  (0.2ms) BEGIN
1053
-  (0.2ms) SAVEPOINT active_record_1
1054
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 11:35:14.711976"], ["updated_at", "2016-04-17 11:35:14.711976"]]
1055
- SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-17 11:35:14.713369"]]
1056
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1057
-  (0.2ms) ROLLBACK
1058
-  (0.2ms) BEGIN
1059
-  (0.2ms) COMMIT
1060
-  (0.2ms) BEGIN
1061
-  (0.2ms) SAVEPOINT active_record_1
1062
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 11:35:14.719968"], ["updated_at", "2016-04-17 11:35:14.719968"]]
1063
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 4], ["created_at", "2016-04-17 11:35:14.721878"]]
1064
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1065
-  (0.2ms) SAVEPOINT active_record_1
1066
- SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 11:35:14.726424"], ["updated_at", "2016-04-17 11:35:14.726424"]]
1067
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-17 11:35:14.725323"], ["receiver_id", 5], ["created_at", "2016-04-17 11:35:14.728330"]]
1068
-  (0.6ms) RELEASE SAVEPOINT active_record_1
1069
- Hertz::Notification Load (1.0ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
1070
-  (0.5ms) ROLLBACK
1071
-  (0.2ms) BEGIN
1072
-  (0.2ms) COMMIT
1073
-  (0.2ms) BEGIN
1074
-  (0.3ms) ROLLBACK
1075
-  (0.2ms) BEGIN
1076
-  (0.2ms) COMMIT
1077
-  (0.2ms) BEGIN
1078
-  (0.3ms) ROLLBACK
1079
-  (0.2ms) BEGIN
1080
-  (0.2ms) COMMIT
1081
-  (0.2ms) BEGIN
1082
-  (0.2ms) SAVEPOINT active_record_1
1083
- SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 11:35:14.746620"], ["updated_at", "2016-04-17 11:35:14.746620"]]
1084
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 6], ["created_at", "2016-04-17 11:35:14.748290"]]
1085
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1086
-  (0.2ms) SAVEPOINT active_record_1
1087
- SQL (0.5ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-17 11:35:14.751151"], ["id", 6]]
1088
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1089
-  (0.2ms) ROLLBACK
1090
-  (0.2ms) BEGIN
1091
-  (0.2ms) COMMIT
1092
-  (0.2ms) BEGIN
1093
-  (0.6ms) SAVEPOINT active_record_1
1094
- SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 11:35:14.766768"], ["updated_at", "2016-04-17 11:35:14.766768"]]
1095
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-17 11:35:14.765176"], ["receiver_id", 7], ["created_at", "2016-04-17 11:35:14.769760"]]
1096
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1097
-  (0.1ms) SAVEPOINT active_record_1
1098
- SQL (0.3ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 7]]
1099
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1100
-  (0.2ms) ROLLBACK
1101
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1102
-  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
1103
-  (2.0ms)  SELECT schemaname || '.' || tablename
1104
- FROM pg_tables
1105
- WHERE
1106
- tablename !~ '_prt_' AND
1107
- tablename <> 'schema_migrations' AND
1108
- schemaname = ANY (current_schemas(false))
1109
- 
1110
-  (2.1ms) select table_name from information_schema.views where table_schema = 'hertz_test'
1111
-  (7.3ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
1112
-  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
1113
-  (0.2ms) BEGIN
1114
-  (0.2ms) COMMIT
1115
-  (0.2ms) BEGIN
1116
-  (0.5ms) ROLLBACK
1117
-  (0.3ms) BEGIN
1118
-  (0.1ms) COMMIT
1119
-  (0.2ms) BEGIN
1120
-  (0.9ms) SAVEPOINT active_record_1
1121
- SQL (0.8ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 11:39:03.512013"], ["updated_at", "2016-04-17 11:39:03.512013"]]
1122
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1123
-  (0.4ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
1124
-  (0.2ms) SAVEPOINT active_record_1
1125
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2016-04-17 11:39:03.544066"]]
1126
-  (0.4ms) RELEASE SAVEPOINT active_record_1
1127
-  (0.3ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
1128
-  (0.4ms) ROLLBACK
1129
-  (0.3ms) BEGIN
1130
-  (0.3ms) COMMIT
1131
-  (0.1ms) BEGIN
1132
-  (0.1ms) SAVEPOINT active_record_1
1133
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 11:39:03.552766"], ["updated_at", "2016-04-17 11:39:03.552766"]]
1134
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1135
-  (0.2ms) SAVEPOINT active_record_1
1136
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2016-04-17 11:39:03.556754"]]
1137
-  (0.4ms) RELEASE SAVEPOINT active_record_1
1138
- Hertz::Notification Load (0.4ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 2], ["receiver_type", "User"]]
1139
-  (0.7ms) ROLLBACK
1140
-  (0.1ms) BEGIN
1141
-  (0.1ms) COMMIT
1142
-  (0.1ms) BEGIN
1143
-  (0.2ms) SAVEPOINT active_record_1
1144
- SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 11:39:03.579795"], ["updated_at", "2016-04-17 11:39:03.579795"]]
1145
- SQL (0.5ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-17 11:39:03.581408"]]
1146
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1147
-  (0.1ms) ROLLBACK
1148
-  (0.1ms) BEGIN
1149
-  (0.6ms) COMMIT
1150
-  (1.1ms) BEGIN
1151
-  (0.4ms) ROLLBACK
1152
-  (0.2ms) BEGIN
1153
-  (0.2ms) COMMIT
1154
-  (0.1ms) BEGIN
1155
-  (0.2ms) SAVEPOINT active_record_1
1156
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 11:39:03.600224"], ["updated_at", "2016-04-17 11:39:03.600224"]]
1157
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 4], ["created_at", "2016-04-17 11:39:03.602450"]]
1158
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1159
-  (0.2ms) SAVEPOINT active_record_1
1160
- SQL (0.5ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-17 11:39:03.605606"], ["id", 4]]
1161
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1162
-  (0.2ms) ROLLBACK
1163
-  (0.5ms) BEGIN
1164
-  (1.8ms) COMMIT
1165
-  (0.4ms) BEGIN
1166
-  (0.5ms) ROLLBACK
1167
-  (0.3ms) BEGIN
1168
-  (0.2ms) COMMIT
1169
-  (0.2ms) BEGIN
1170
-  (0.4ms) SAVEPOINT active_record_1
1171
- SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 11:39:03.635119"], ["updated_at", "2016-04-17 11:39:03.635119"]]
1172
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-17 11:39:03.633551"], ["receiver_id", 5], ["created_at", "2016-04-17 11:39:03.637238"]]
1173
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1174
-  (0.5ms) SAVEPOINT active_record_1
1175
- SQL (1.0ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 5]]
1176
-  (0.4ms) RELEASE SAVEPOINT active_record_1
1177
-  (0.4ms) ROLLBACK
1178
-  (1.2ms) BEGIN
1179
-  (0.5ms) COMMIT
1180
-  (0.4ms) BEGIN
1181
-  (0.6ms) SAVEPOINT active_record_1
1182
- SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 11:39:03.660091"], ["updated_at", "2016-04-17 11:39:03.660091"]]
1183
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 6], ["created_at", "2016-04-17 11:39:03.663108"]]
1184
-  (0.4ms) RELEASE SAVEPOINT active_record_1
1185
-  (0.5ms) SAVEPOINT active_record_1
1186
- SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-17 11:39:03.669311"], ["updated_at", "2016-04-17 11:39:03.669311"]]
1187
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-17 11:39:03.668186"], ["receiver_id", 7], ["created_at", "2016-04-17 11:39:03.671419"]]
1188
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1189
- Hertz::Notification Load (0.4ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
1190
-  (0.4ms) ROLLBACK
1191
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
1192
-  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
1193
-  (1.1ms)  SELECT schemaname || '.' || tablename
1194
- FROM pg_tables
1195
- WHERE
1196
- tablename !~ '_prt_' AND
1197
- tablename <> 'schema_migrations' AND
1198
- schemaname = ANY (current_schemas(false))
1199
- 
1200
-  (1.9ms) select table_name from information_schema.views where table_schema = 'hertz_test'
1201
-  (6.8ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
1202
-  (0.7ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
1203
-  (0.5ms) BEGIN
1204
-  (0.2ms) COMMIT
1205
-  (0.2ms) BEGIN
1206
-  (0.2ms) SAVEPOINT active_record_1
1207
- SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 10:04:31.587601"], ["updated_at", "2016-04-18 10:04:31.587601"]]
1208
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1209
-  (0.5ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
1210
-  (0.2ms) SAVEPOINT active_record_1
1211
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2016-04-18 10:04:31.616159"]]
1212
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1213
-  (0.3ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
1214
-  (0.2ms) ROLLBACK
1215
-  (0.2ms) BEGIN
1216
-  (0.3ms) COMMIT
1217
-  (0.2ms) BEGIN
1218
-  (0.2ms) SAVEPOINT active_record_1
1219
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 10:04:31.623337"], ["updated_at", "2016-04-18 10:04:31.623337"]]
1220
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1221
-  (0.2ms) SAVEPOINT active_record_1
1222
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2016-04-18 10:04:31.626131"]]
1223
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1224
- Hertz::Notification Load (0.3ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 2], ["receiver_type", "User"]]
1225
-  (0.2ms) ROLLBACK
1226
-  (0.2ms) BEGIN
1227
-  (0.2ms) COMMIT
1228
-  (0.2ms) BEGIN
1229
-  (0.3ms) SAVEPOINT active_record_1
1230
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 10:04:31.644885"], ["updated_at", "2016-04-18 10:04:31.644885"]]
1231
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-18 10:04:31.646748"]]
1232
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1233
-  (0.3ms) ROLLBACK
1234
-  (0.2ms) BEGIN
1235
-  (0.6ms) COMMIT
1236
-  (0.2ms) BEGIN
1237
-  (0.3ms) ROLLBACK
1238
-  (0.5ms) BEGIN
1239
-  (0.5ms) COMMIT
1240
-  (0.4ms) BEGIN
1241
-  (0.5ms) SAVEPOINT active_record_1
1242
- SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 10:04:31.662218"], ["updated_at", "2016-04-18 10:04:31.662218"]]
1243
- SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-18 10:04:31.661070"], ["receiver_id", 4], ["created_at", "2016-04-18 10:04:31.664432"]]
1244
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1245
-  (0.2ms) SAVEPOINT active_record_1
1246
- SQL (0.3ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 4]]
1247
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1248
-  (0.2ms) ROLLBACK
1249
-  (0.2ms) BEGIN
1250
-  (0.2ms) COMMIT
1251
-  (0.2ms) BEGIN
1252
-  (0.3ms) SAVEPOINT active_record_1
1253
- SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 10:04:31.678326"], ["updated_at", "2016-04-18 10:04:31.678326"]]
1254
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 5], ["created_at", "2016-04-18 10:04:31.679993"]]
1255
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1256
-  (0.2ms) SAVEPOINT active_record_1
1257
- SQL (0.5ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-18 10:04:31.682872"], ["id", 5]]
1258
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1259
-  (0.4ms) ROLLBACK
1260
-  (0.5ms) BEGIN
1261
-  (0.5ms) COMMIT
1262
-  (1.0ms) BEGIN
1263
-  (0.4ms) ROLLBACK
1264
-  (0.2ms) BEGIN
1265
-  (0.2ms) COMMIT
1266
-  (0.2ms) BEGIN
1267
-  (0.2ms) SAVEPOINT active_record_1
1268
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 10:04:31.699599"], ["updated_at", "2016-04-18 10:04:31.699599"]]
1269
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 6], ["created_at", "2016-04-18 10:04:31.701181"]]
1270
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1271
-  (0.2ms) SAVEPOINT active_record_1
1272
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 10:04:31.704562"], ["updated_at", "2016-04-18 10:04:31.704562"]]
1273
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-18 10:04:31.703758"], ["receiver_id", 7], ["created_at", "2016-04-18 10:04:31.705826"]]
1274
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1275
- Hertz::Notification Load (0.3ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
1276
-  (0.2ms) ROLLBACK
1277
-  (0.2ms) BEGIN
1278
-  (0.2ms) COMMIT
1279
-  (0.1ms) BEGIN
1280
-  (0.6ms) ROLLBACK
1281
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
1282
-  (0.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
1283
-  (1.9ms)  SELECT schemaname || '.' || tablename
1284
- FROM pg_tables
1285
- WHERE
1286
- tablename !~ '_prt_' AND
1287
- tablename <> 'schema_migrations' AND
1288
- schemaname = ANY (current_schemas(false))
1289
- 
1290
-  (1.3ms) select table_name from information_schema.views where table_schema = 'hertz_test'
1291
-  (10.6ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
1292
-  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
1293
-  (0.2ms) BEGIN
1294
-  (0.2ms) COMMIT
1295
-  (0.2ms) BEGIN
1296
-  (0.3ms) SAVEPOINT active_record_1
1297
- SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 12:08:52.178969"], ["updated_at", "2016-04-18 12:08:52.178969"]]
1298
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2016-04-18 12:08:52.183591"]]
1299
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1300
-  (0.4ms) ROLLBACK
1301
-  (0.2ms) BEGIN
1302
-  (0.2ms) COMMIT
1303
-  (0.2ms) BEGIN
1304
-  (0.2ms) SAVEPOINT active_record_1
1305
- SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 12:08:52.190476"], ["updated_at", "2016-04-18 12:08:52.190476"]]
1306
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 2], ["created_at", "2016-04-18 12:08:52.191910"]]
1307
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1308
-  (0.2ms) SAVEPOINT active_record_1
1309
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 12:08:52.194890"], ["updated_at", "2016-04-18 12:08:52.194890"]]
1310
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-18 12:08:52.194205"], ["receiver_id", 3], ["created_at", "2016-04-18 12:08:52.196035"]]
1311
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1312
- Hertz::Notification Load (0.5ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
1313
-  (0.3ms) ROLLBACK
1314
-  (0.2ms) BEGIN
1315
-  (0.2ms) COMMIT
1316
-  (0.3ms) BEGIN
1317
-  (0.2ms) SAVEPOINT active_record_1
1318
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 12:08:52.204147"], ["updated_at", "2016-04-18 12:08:52.204147"]]
1319
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-18 12:08:52.203467"], ["receiver_id", 4], ["created_at", "2016-04-18 12:08:52.205553"]]
1320
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1321
-  (0.2ms) SAVEPOINT active_record_1
1322
- SQL (0.3ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 4]]
1323
-  (0.4ms) RELEASE SAVEPOINT active_record_1
1324
-  (0.3ms) ROLLBACK
1325
-  (0.2ms) BEGIN
1326
-  (0.2ms) COMMIT
1327
-  (0.2ms) BEGIN
1328
-  (0.2ms) SAVEPOINT active_record_1
1329
- SQL (0.8ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 12:08:52.222708"], ["updated_at", "2016-04-18 12:08:52.222708"]]
1330
- SQL (0.7ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 5], ["created_at", "2016-04-18 12:08:52.226024"]]
1331
-  (0.4ms) RELEASE SAVEPOINT active_record_1
1332
-  (0.4ms) SAVEPOINT active_record_1
1333
- SQL (0.5ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-18 12:08:52.231677"], ["id", 5]]
1334
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1335
-  (0.2ms) ROLLBACK
1336
-  (0.5ms) BEGIN
1337
-  (0.2ms) COMMIT
1338
-  (0.2ms) BEGIN
1339
-  (0.2ms) ROLLBACK
1340
-  (0.2ms) BEGIN
1341
-  (0.2ms) COMMIT
1342
-  (0.3ms) BEGIN
1343
-  (0.2ms) ROLLBACK
1344
-  (0.2ms) BEGIN
1345
-  (0.2ms) COMMIT
1346
-  (0.2ms) BEGIN
1347
-  (0.4ms) ROLLBACK
1348
-  (0.4ms) BEGIN
1349
-  (0.4ms) COMMIT
1350
-  (0.7ms) BEGIN
1351
-  (0.4ms) SAVEPOINT active_record_1
1352
- SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 12:08:52.262161"], ["updated_at", "2016-04-18 12:08:52.262161"]]
1353
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1354
-  (0.2ms) SAVEPOINT active_record_1
1355
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 6], ["receiver_type", "User"], ["created_at", "2016-04-18 12:08:52.266714"]]
1356
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1357
- Hertz::Notification Load (0.4ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
1358
-  (0.3ms) ROLLBACK
1359
-  (0.6ms) BEGIN
1360
-  (0.4ms) COMMIT
1361
-  (0.3ms) BEGIN
1362
-  (0.5ms) SAVEPOINT active_record_1
1363
- SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 12:08:52.294059"], ["updated_at", "2016-04-18 12:08:52.294059"]]
1364
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1365
-  (0.3ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 7], ["receiver_type", "User"]]
1366
-  (0.3ms) SAVEPOINT active_record_1
1367
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 7], ["receiver_type", "User"], ["created_at", "2016-04-18 12:08:52.300754"]]
1368
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1369
-  (0.4ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 7], ["receiver_type", "User"]]
1370
-  (0.3ms) ROLLBACK
1371
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
1372
-  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
1373
-  (1.5ms)  SELECT schemaname || '.' || tablename
1374
- FROM pg_tables
1375
- WHERE
1376
- tablename !~ '_prt_' AND
1377
- tablename <> 'schema_migrations' AND
1378
- schemaname = ANY (current_schemas(false))
1379
- 
1380
-  (1.5ms) select table_name from information_schema.views where table_schema = 'hertz_test'
1381
-  (6.2ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
1382
-  (0.7ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
1383
-  (0.5ms) BEGIN
1384
-  (0.2ms) COMMIT
1385
-  (0.2ms) BEGIN
1386
-  (0.4ms) SAVEPOINT active_record_1
1387
- SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 12:09:10.692352"], ["updated_at", "2016-04-18 12:09:10.692352"]]
1388
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1389
-  (0.3ms) SAVEPOINT active_record_1
1390
- SQL (0.5ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2016-04-18 12:09:10.709903"]]
1391
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1392
- Hertz::Notification Load (0.3ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
1393
-  (0.3ms) ROLLBACK
1394
-  (0.2ms) BEGIN
1395
-  (0.2ms) COMMIT
1396
-  (0.2ms) BEGIN
1397
-  (0.2ms) SAVEPOINT active_record_1
1398
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 12:09:10.727430"], ["updated_at", "2016-04-18 12:09:10.727430"]]
1399
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1400
-  (0.3ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 2], ["receiver_type", "User"]]
1401
-  (0.3ms) SAVEPOINT active_record_1
1402
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2016-04-18 12:09:10.733837"]]
1403
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1404
-  (0.3ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 2], ["receiver_type", "User"]]
1405
-  (0.2ms) ROLLBACK
1406
-  (0.2ms) BEGIN
1407
-  (0.2ms) COMMIT
1408
-  (0.3ms) BEGIN
1409
-  (0.3ms) ROLLBACK
1410
-  (0.2ms) BEGIN
1411
-  (0.2ms) COMMIT
1412
-  (0.2ms) BEGIN
1413
-  (0.6ms) SAVEPOINT active_record_1
1414
- SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 12:09:10.765282"], ["updated_at", "2016-04-18 12:09:10.765282"]]
1415
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-18 12:09:10.768412"]]
1416
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1417
-  (0.2ms) ROLLBACK
1418
-  (0.2ms) BEGIN
1419
-  (0.2ms) COMMIT
1420
-  (0.2ms) BEGIN
1421
-  (0.2ms) ROLLBACK
1422
-  (0.3ms) BEGIN
1423
-  (0.2ms) COMMIT
1424
-  (0.2ms) BEGIN
1425
-  (0.2ms) SAVEPOINT active_record_1
1426
- SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 12:09:10.779024"], ["updated_at", "2016-04-18 12:09:10.779024"]]
1427
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 4], ["created_at", "2016-04-18 12:09:10.780791"]]
1428
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1429
-  (0.2ms) SAVEPOINT active_record_1
1430
- SQL (0.9ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-18 12:09:10.783731"], ["id", 4]]
1431
-  (0.6ms) RELEASE SAVEPOINT active_record_1
1432
-  (0.3ms) ROLLBACK
1433
-  (0.3ms) BEGIN
1434
-  (0.3ms) COMMIT
1435
-  (0.2ms) BEGIN
1436
-  (0.2ms) ROLLBACK
1437
-  (0.2ms) BEGIN
1438
-  (0.3ms) COMMIT
1439
-  (0.2ms) BEGIN
1440
-  (0.2ms) SAVEPOINT active_record_1
1441
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 12:09:10.806738"], ["updated_at", "2016-04-18 12:09:10.806738"]]
1442
- SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 5], ["created_at", "2016-04-18 12:09:10.808206"]]
1443
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1444
-  (0.2ms) SAVEPOINT active_record_1
1445
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 12:09:10.812123"], ["updated_at", "2016-04-18 12:09:10.812123"]]
1446
- SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-18 12:09:10.811466"], ["receiver_id", 6], ["created_at", "2016-04-18 12:09:10.813598"]]
1447
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1448
- Hertz::Notification Load (0.4ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
1449
-  (0.3ms) ROLLBACK
1450
-  (0.1ms) BEGIN
1451
-  (0.2ms) COMMIT
1452
-  (0.2ms) BEGIN
1453
-  (0.2ms) SAVEPOINT active_record_1
1454
- SQL (0.8ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 12:09:10.823727"], ["updated_at", "2016-04-18 12:09:10.823727"]]
1455
- SQL (0.7ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-18 12:09:10.822737"], ["receiver_id", 7], ["created_at", "2016-04-18 12:09:10.827631"]]
1456
-  (0.4ms) RELEASE SAVEPOINT active_record_1
1457
-  (0.2ms) SAVEPOINT active_record_1
1458
- SQL (0.4ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 7]]
1459
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1460
-  (0.2ms) ROLLBACK
1461
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
1462
-  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
1463
-  (2.1ms)  SELECT schemaname || '.' || tablename
1464
- FROM pg_tables
1465
- WHERE
1466
- tablename !~ '_prt_' AND
1467
- tablename <> 'schema_migrations' AND
1468
- schemaname = ANY (current_schemas(false))
1469
- 
1470
-  (3.1ms) select table_name from information_schema.views where table_schema = 'hertz_test'
1471
-  (5.0ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
1472
-  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
1473
-  (0.2ms) BEGIN
1474
-  (0.1ms) COMMIT
1475
-  (0.1ms) BEGIN
1476
-  (0.4ms) ROLLBACK
1477
-  (0.2ms) BEGIN
1478
-  (0.2ms) COMMIT
1479
-  (0.2ms) BEGIN
1480
-  (0.5ms) SAVEPOINT active_record_1
1481
- SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 12:09:28.408793"], ["updated_at", "2016-04-18 12:09:28.408793"]]
1482
- SQL (0.5ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2016-04-18 12:09:28.413842"]]
1483
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1484
-  (0.2ms) ROLLBACK
1485
-  (0.2ms) BEGIN
1486
-  (0.1ms) COMMIT
1487
-  (0.2ms) BEGIN
1488
-  (0.3ms) SAVEPOINT active_record_1
1489
- SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 12:09:28.421350"], ["updated_at", "2016-04-18 12:09:28.421350"]]
1490
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-18 12:09:28.420351"], ["receiver_id", 2], ["created_at", "2016-04-18 12:09:28.423869"]]
1491
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1492
-  (0.5ms) SAVEPOINT active_record_1
1493
- SQL (0.4ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 2]]
1494
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1495
-  (0.2ms) ROLLBACK
1496
-  (0.2ms) BEGIN
1497
-  (0.1ms) COMMIT
1498
-  (0.1ms) BEGIN
1499
-  (0.2ms) SAVEPOINT active_record_1
1500
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 12:09:28.447168"], ["updated_at", "2016-04-18 12:09:28.447168"]]
1501
- SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-18 12:09:28.448681"]]
1502
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1503
-  (0.3ms) SAVEPOINT active_record_1
1504
- SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 12:09:28.452585"], ["updated_at", "2016-04-18 12:09:28.452585"]]
1505
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-18 12:09:28.451568"], ["receiver_id", 4], ["created_at", "2016-04-18 12:09:28.454585"]]
1506
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1507
- Hertz::Notification Load (1.3ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
1508
-  (0.5ms) ROLLBACK
1509
-  (0.3ms) BEGIN
1510
-  (0.2ms) COMMIT
1511
-  (0.2ms) BEGIN
1512
-  (0.2ms) SAVEPOINT active_record_1
1513
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 12:09:28.470208"], ["updated_at", "2016-04-18 12:09:28.470208"]]
1514
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 5], ["created_at", "2016-04-18 12:09:28.472009"]]
1515
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1516
-  (0.1ms) SAVEPOINT active_record_1
1517
- SQL (0.3ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-18 12:09:28.474720"], ["id", 5]]
1518
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1519
-  (0.2ms) ROLLBACK
1520
-  (0.1ms) BEGIN
1521
-  (0.2ms) COMMIT
1522
-  (0.1ms) BEGIN
1523
-  (0.2ms) ROLLBACK
1524
-  (0.1ms) BEGIN
1525
-  (0.1ms) COMMIT
1526
-  (0.1ms) BEGIN
1527
-  (0.1ms) ROLLBACK
1528
-  (0.1ms) BEGIN
1529
-  (0.2ms) COMMIT
1530
-  (0.2ms) BEGIN
1531
-  (0.1ms) SAVEPOINT active_record_1
1532
- SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 12:09:28.487577"], ["updated_at", "2016-04-18 12:09:28.487577"]]
1533
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1534
-  (0.2ms) SAVEPOINT active_record_1
1535
- SQL (0.7ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 6], ["receiver_type", "User"], ["created_at", "2016-04-18 12:09:28.492252"]]
1536
-  (0.5ms) RELEASE SAVEPOINT active_record_1
1537
- Hertz::Notification Load (0.3ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
1538
-  (0.2ms) ROLLBACK
1539
-  (0.2ms) BEGIN
1540
-  (0.1ms) COMMIT
1541
-  (0.1ms) BEGIN
1542
-  (0.2ms) SAVEPOINT active_record_1
1543
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 12:09:28.518315"], ["updated_at", "2016-04-18 12:09:28.518315"]]
1544
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1545
-  (0.3ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 7], ["receiver_type", "User"]]
1546
-  (0.3ms) SAVEPOINT active_record_1
1547
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 7], ["receiver_type", "User"], ["created_at", "2016-04-18 12:09:28.523950"]]
1548
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1549
-  (0.3ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 7], ["receiver_type", "User"]]
1550
-  (0.3ms) ROLLBACK
1551
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
1552
-  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
1553
-  (2.1ms)  SELECT schemaname || '.' || tablename
1554
- FROM pg_tables
1555
- WHERE
1556
- tablename !~ '_prt_' AND
1557
- tablename <> 'schema_migrations' AND
1558
- schemaname = ANY (current_schemas(false))
1559
- 
1560
-  (1.1ms) select table_name from information_schema.views where table_schema = 'hertz_test'
1561
-  (6.0ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
1562
-  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
1563
-  (0.2ms) BEGIN
1564
-  (0.2ms) COMMIT
1565
-  (0.1ms) BEGIN
1566
-  (0.4ms) ROLLBACK
1567
-  (0.2ms) BEGIN
1568
-  (0.2ms) COMMIT
1569
-  (0.1ms) BEGIN
1570
-  (0.6ms) ROLLBACK
1571
-  (0.3ms) BEGIN
1572
-  (0.3ms) COMMIT
1573
-  (0.2ms) BEGIN
1574
-  (0.2ms) SAVEPOINT active_record_1
1575
- SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 12:14:37.878406"], ["updated_at", "2016-04-18 12:14:37.878406"]]
1576
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1577
-  (0.5ms) SAVEPOINT active_record_1
1578
- SQL (1.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2016-04-18 12:14:37.891344"]]
1579
-  (0.5ms) RELEASE SAVEPOINT active_record_1
1580
- Hertz::Notification Load (0.3ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
1581
-  (0.2ms) ROLLBACK
1582
-  (0.2ms) BEGIN
1583
-  (0.1ms) COMMIT
1584
-  (0.2ms) BEGIN
1585
-  (0.2ms) SAVEPOINT active_record_1
1586
- SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 12:14:37.917550"], ["updated_at", "2016-04-18 12:14:37.917550"]]
1587
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1588
-  (0.3ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 2], ["receiver_type", "User"]]
1589
-  (0.2ms) SAVEPOINT active_record_1
1590
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2016-04-18 12:14:37.925808"]]
1591
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1592
-  (0.2ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 2], ["receiver_type", "User"]]
1593
-  (0.2ms) ROLLBACK
1594
-  (0.2ms) BEGIN
1595
-  (0.2ms) COMMIT
1596
-  (0.2ms) BEGIN
1597
-  (0.2ms) SAVEPOINT active_record_1
1598
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 12:14:37.933665"], ["updated_at", "2016-04-18 12:14:37.933665"]]
1599
- SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-18 12:14:37.934983"]]
1600
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1601
-  (0.2ms) ROLLBACK
1602
-  (0.2ms) BEGIN
1603
-  (0.1ms) COMMIT
1604
-  (0.1ms) BEGIN
1605
-  (0.3ms) ROLLBACK
1606
-  (0.2ms) BEGIN
1607
-  (0.2ms) COMMIT
1608
-  (0.2ms) BEGIN
1609
-  (0.3ms) SAVEPOINT active_record_1
1610
- SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 12:14:37.946029"], ["updated_at", "2016-04-18 12:14:37.946029"]]
1611
- SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-18 12:14:37.945125"], ["receiver_id", 4], ["created_at", "2016-04-18 12:14:37.948132"]]
1612
-  (0.7ms) RELEASE SAVEPOINT active_record_1
1613
-  (0.5ms) SAVEPOINT active_record_1
1614
- SQL (0.4ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 4]]
1615
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1616
-  (0.2ms) ROLLBACK
1617
-  (0.2ms) BEGIN
1618
-  (0.2ms) COMMIT
1619
-  (0.2ms) BEGIN
1620
-  (0.2ms) SAVEPOINT active_record_1
1621
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 12:14:37.967932"], ["updated_at", "2016-04-18 12:14:37.967932"]]
1622
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 5], ["created_at", "2016-04-18 12:14:37.969247"]]
1623
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1624
-  (0.3ms) SAVEPOINT active_record_1
1625
- SQL (0.4ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-18 12:14:37.972288"], ["id", 5]]
1626
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1627
-  (0.3ms) ROLLBACK
1628
-  (0.2ms) BEGIN
1629
-  (0.3ms) COMMIT
1630
-  (0.2ms) BEGIN
1631
-  (0.3ms) ROLLBACK
1632
-  (0.2ms) BEGIN
1633
-  (0.3ms) COMMIT
1634
-  (1.2ms) BEGIN
1635
-  (0.6ms) SAVEPOINT active_record_1
1636
- SQL (0.8ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 12:14:37.987417"], ["updated_at", "2016-04-18 12:14:37.987417"]]
1637
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 6], ["created_at", "2016-04-18 12:14:37.991028"]]
1638
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1639
-  (0.2ms) SAVEPOINT active_record_1
1640
- SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-18 12:14:37.995537"], ["updated_at", "2016-04-18 12:14:37.995537"]]
1641
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-18 12:14:37.994897"], ["receiver_id", 7], ["created_at", "2016-04-18 12:14:37.997063"]]
1642
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1643
- Hertz::Notification Load (0.4ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
1644
-  (0.2ms) ROLLBACK
1645
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1646
-  (113.2ms) DROP DATABASE IF EXISTS "hertz_test"
1647
-  (273.4ms) CREATE DATABASE "hertz_test" ENCODING = 'utf8'
1648
- SQL (0.7ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1649
- SQL (21.8ms) CREATE EXTENSION IF NOT EXISTS "hstore"
1650
-  (6.8ms) CREATE TABLE "hertz_notifications" ("id" serial primary key, "type" character varying NOT NULL, "receiver_type" character varying NOT NULL, "receiver_id" integer NOT NULL, "meta" hstore DEFAULT '' NOT NULL, "read_at" timestamp, "created_at" timestamp NOT NULL) 
1651
-  (4.9ms) CREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying NOT NULL)
1652
-  (2.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
1653
-  (2.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1654
-  (0.4ms) SELECT version FROM "schema_migrations"
1655
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160418122437')
1656
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160415175358')
1657
-  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160415175837')
1658
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
1659
-  (0.5ms) ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
1660
-  (1.2ms) SELECT schemaname || '.' || tablename
1661
- FROM pg_tables
1662
- WHERE
1663
- tablename !~ '_prt_' AND
1664
- tablename <> 'schema_migrations' AND
1665
- schemaname = ANY (current_schemas(false))
1666
-
1667
-  (1.4ms) select table_name from information_schema.views where table_schema = 'hertz_test'
1668
-  (7.7ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
1669
-  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
1670
-  (0.2ms) BEGIN
1671
-  (0.2ms) COMMIT
1672
-  (0.2ms) BEGIN
1673
-  (0.2ms) ROLLBACK
1674
-  (0.2ms) BEGIN
1675
-  (0.1ms) COMMIT
1676
-  (0.1ms) BEGIN
1677
-  (0.2ms) ROLLBACK
1678
-  (0.2ms) BEGIN
1679
-  (0.1ms) COMMIT
1680
-  (0.2ms) BEGIN
1681
-  (0.2ms) ROLLBACK
1682
-  (0.6ms) BEGIN
1683
-  (0.2ms) COMMIT
1684
-  (0.2ms) BEGIN
1685
-  (0.4ms) ROLLBACK
1686
-  (0.3ms) BEGIN
1687
-  (0.4ms) COMMIT
1688
-  (0.3ms) BEGIN
1689
-  (0.7ms) ROLLBACK
1690
-  (0.2ms) BEGIN
1691
-  (0.2ms) COMMIT
1692
-  (0.1ms) BEGIN
1693
-  (0.2ms) ROLLBACK
1694
-  (0.4ms) BEGIN
1695
-  (0.3ms) COMMIT
1696
-  (0.3ms) BEGIN
1697
-  (0.4ms) ROLLBACK
1698
-  (0.2ms) BEGIN
1699
-  (0.2ms) COMMIT
1700
-  (0.2ms) BEGIN
1701
-  (0.4ms) ROLLBACK
1702
-  (0.2ms) BEGIN
1703
-  (0.2ms) COMMIT
1704
-  (0.2ms) BEGIN
1705
-  (0.4ms) ROLLBACK
1706
-  (0.2ms) BEGIN
1707
-  (0.2ms) COMMIT
1708
-  (0.2ms) BEGIN
1709
-  (0.6ms) ROLLBACK
1710
-  (0.2ms) BEGIN
1711
-  (0.2ms) COMMIT
1712
-  (0.2ms) BEGIN
1713
-  (0.7ms) ROLLBACK
1714
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1715
-  (1.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
1716
-  (2.4ms)  SELECT schemaname || '.' || tablename
1717
- FROM pg_tables
1718
- WHERE
1719
- tablename !~ '_prt_' AND
1720
- tablename <> 'schema_migrations' AND
1721
- schemaname = ANY (current_schemas(false))
1722
- 
1723
-  (1.5ms) select table_name from information_schema.views where table_schema = 'hertz_test'
1724
-  (11.0ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
1725
-  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
1726
-  (0.3ms) BEGIN
1727
-  (0.1ms) COMMIT
1728
-  (0.1ms) BEGIN
1729
-  (0.4ms) SAVEPOINT active_record_1
1730
- SQL (0.7ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "clifford_beer@nienow.com"], ["created_at", "2016-04-18 12:27:17.210690"], ["updated_at", "2016-04-18 12:27:17.210690"]]
1731
- SQL (0.5ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2016-04-18 12:27:17.215633"]]
1732
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1733
-  (0.2ms) ROLLBACK
1734
-  (0.2ms) BEGIN
1735
-  (0.2ms) COMMIT
1736
-  (0.2ms) BEGIN
1737
-  (0.2ms) SAVEPOINT active_record_1
1738
- SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "uriah@schuster.name"], ["created_at", "2016-04-18 12:27:17.222789"], ["updated_at", "2016-04-18 12:27:17.222789"]]
1739
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 2], ["created_at", "2016-04-18 12:27:17.224195"]]
1740
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1741
-  (0.2ms) SAVEPOINT active_record_1
1742
- SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "addison@crooks.net"], ["created_at", "2016-04-18 12:27:17.227217"], ["updated_at", "2016-04-18 12:27:17.227217"]]
1743
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-18 12:27:17.226507"], ["receiver_id", 3], ["created_at", "2016-04-18 12:27:17.228444"]]
1744
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1745
- Hertz::Notification Load (0.5ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
1746
-  (0.2ms) ROLLBACK
1747
-  (0.2ms) BEGIN
1748
-  (0.2ms) COMMIT
1749
-  (0.2ms) BEGIN
1750
-  (0.2ms) ROLLBACK
1751
-  (0.2ms) BEGIN
1752
-  (0.2ms) COMMIT
1753
-  (0.2ms) BEGIN
1754
-  (0.2ms) ROLLBACK
1755
-  (0.2ms) BEGIN
1756
-  (0.2ms) COMMIT
1757
-  (0.2ms) BEGIN
1758
-  (0.3ms) SAVEPOINT active_record_1
1759
- SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "lottie.howell@nicolahields.net"], ["created_at", "2016-04-18 12:27:17.244264"], ["updated_at", "2016-04-18 12:27:17.244264"]]
1760
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 4], ["created_at", "2016-04-18 12:27:17.245768"]]
1761
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1762
-  (0.3ms) SAVEPOINT active_record_1
1763
- SQL (0.4ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-18 12:27:17.247991"], ["id", 4]]
1764
-  (0.5ms) RELEASE SAVEPOINT active_record_1
1765
-  (0.6ms) ROLLBACK
1766
-  (0.4ms) BEGIN
1767
-  (0.3ms) COMMIT
1768
-  (0.4ms) BEGIN
1769
-  (0.3ms) SAVEPOINT active_record_1
1770
- SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "melany.kuhic@johns.org"], ["created_at", "2016-04-18 12:27:17.265431"], ["updated_at", "2016-04-18 12:27:17.265431"]]
1771
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-18 12:27:17.264538"], ["receiver_id", 5], ["created_at", "2016-04-18 12:27:17.266969"]]
1772
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1773
-  (0.2ms) SAVEPOINT active_record_1
1774
- SQL (0.3ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 5]]
1775
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1776
-  (0.2ms) ROLLBACK
1777
-  (0.2ms) BEGIN
1778
-  (0.2ms) COMMIT
1779
-  (0.2ms) BEGIN
1780
-
1781
- Hertz::NotificationMailer#notification_email: processed outbound mail in 6.3ms
1782
-  (0.3ms) ROLLBACK
1783
-  (0.3ms) BEGIN
1784
-  (0.2ms) COMMIT
1785
-  (0.3ms) BEGIN
1786
-  (0.3ms) ROLLBACK
1787
-  (0.2ms) BEGIN
1788
-  (0.2ms) COMMIT
1789
-  (0.2ms) BEGIN
1790
-  (0.4ms) ROLLBACK
1791
-  (0.4ms) BEGIN
1792
-  (0.6ms) COMMIT
1793
-  (0.2ms) BEGIN
1794
-  (0.5ms) SAVEPOINT active_record_1
1795
- SQL (0.7ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "rosendo@deckow.name"], ["created_at", "2016-04-18 12:27:17.462338"], ["updated_at", "2016-04-18 12:27:17.462338"]]
1796
-  (0.5ms) RELEASE SAVEPOINT active_record_1
1797
-  (0.4ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
1798
-  (0.2ms) SAVEPOINT active_record_1
1799
- SQL (0.6ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 6], ["receiver_type", "User"], ["created_at", "2016-04-18 12:27:17.478464"]]
1800
-  (0.5ms) RELEASE SAVEPOINT active_record_1
1801
-  (0.6ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
1802
-  (0.3ms) ROLLBACK
1803
-  (0.3ms) BEGIN
1804
-  (0.4ms) COMMIT
1805
-  (0.4ms) BEGIN
1806
-  (0.4ms) SAVEPOINT active_record_1
1807
- SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "jettie.moen@mayert.co"], ["created_at", "2016-04-18 12:27:17.492050"], ["updated_at", "2016-04-18 12:27:17.492050"]]
1808
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1809
-  (0.5ms) SAVEPOINT active_record_1
1810
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 7], ["receiver_type", "User"], ["created_at", "2016-04-18 12:27:17.496448"]]
1811
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1812
- Hertz::Notification Load (0.6ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 7], ["receiver_type", "User"]]
1813
-  (0.7ms) ROLLBACK
1814
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
1815
-  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
1816
-  (2.0ms)  SELECT schemaname || '.' || tablename
1817
- FROM pg_tables
1818
- WHERE
1819
- tablename !~ '_prt_' AND
1820
- tablename <> 'schema_migrations' AND
1821
- schemaname = ANY (current_schemas(false))
1822
- 
1823
-  (1.4ms) select table_name from information_schema.views where table_schema = 'hertz_test'
1824
-  (10.4ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
1825
-  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
1826
-  (0.4ms) BEGIN
1827
-  (0.2ms) COMMIT
1828
-  (0.3ms) BEGIN
1829
-  (0.4ms) SAVEPOINT active_record_1
1830
- SQL (0.7ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "gwen.wolff@heeltrantow.info"], ["created_at", "2016-04-18 12:28:54.961679"], ["updated_at", "2016-04-18 12:28:54.961679"]]
1831
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2016-04-18 12:28:54.966449"]]
1832
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1833
-  (0.3ms) ROLLBACK
1834
-  (0.2ms) BEGIN
1835
-  (0.2ms) COMMIT
1836
-  (0.2ms) BEGIN
1837
-  (0.2ms) ROLLBACK
1838
-  (0.2ms) BEGIN
1839
-  (0.1ms) COMMIT
1840
-  (0.2ms) BEGIN
1841
-  (0.3ms) ROLLBACK
1842
-  (0.3ms) BEGIN
1843
-  (0.2ms) COMMIT
1844
-  (0.2ms) BEGIN
1845
-  (0.2ms) SAVEPOINT active_record_1
1846
- SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "jon_abshire@brownhomenick.co"], ["created_at", "2016-04-18 12:28:54.980291"], ["updated_at", "2016-04-18 12:28:54.980291"]]
1847
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 2], ["created_at", "2016-04-18 12:28:54.981605"]]
1848
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1849
-  (0.2ms) SAVEPOINT active_record_1
1850
- SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "darwin@robertsgreen.com"], ["created_at", "2016-04-18 12:28:54.985999"], ["updated_at", "2016-04-18 12:28:54.985999"]]
1851
- SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-18 12:28:54.985409"], ["receiver_id", 3], ["created_at", "2016-04-18 12:28:54.987217"]]
1852
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1853
- Hertz::Notification Load (0.4ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
1854
-  (0.2ms) ROLLBACK
1855
-  (0.2ms) BEGIN
1856
-  (0.2ms) COMMIT
1857
-  (0.2ms) BEGIN
1858
-  (0.2ms) SAVEPOINT active_record_1
1859
- SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "maddison@gislason.org"], ["created_at", "2016-04-18 12:28:54.994824"], ["updated_at", "2016-04-18 12:28:54.994824"]]
1860
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-18 12:28:54.994125"], ["receiver_id", 4], ["created_at", "2016-04-18 12:28:54.996014"]]
1861
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1862
-  (0.1ms) SAVEPOINT active_record_1
1863
- SQL (0.4ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 4]]
1864
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1865
-  (0.4ms) ROLLBACK
1866
-  (0.4ms) BEGIN
1867
-  (0.3ms) COMMIT
1868
-  (0.3ms) BEGIN
1869
-  (0.4ms) SAVEPOINT active_record_1
1870
- SQL (0.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "stephania@steuber.io"], ["created_at", "2016-04-18 12:28:55.012811"], ["updated_at", "2016-04-18 12:28:55.012811"]]
1871
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 5], ["created_at", "2016-04-18 12:28:55.014979"]]
1872
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1873
-  (0.2ms) SAVEPOINT active_record_1
1874
- SQL (0.3ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-18 12:28:55.017327"], ["id", 5]]
1875
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1876
-  (0.4ms) ROLLBACK
1877
-  (0.2ms) BEGIN
1878
-  (0.2ms) COMMIT
1879
-  (0.2ms) BEGIN
1880
-  (0.2ms) ROLLBACK
1881
-  (0.2ms) BEGIN
1882
-  (0.2ms) COMMIT
1883
-  (0.2ms) BEGIN
1884
-  (0.3ms) ROLLBACK
1885
-  (0.2ms) BEGIN
1886
-  (0.2ms) COMMIT
1887
-  (0.2ms) BEGIN
1888
-
1889
- Hertz::NotificationMailer#notification_email: processed outbound mail in 7.9ms
1890
-  (0.4ms) ROLLBACK
1891
-  (0.2ms) BEGIN
1892
-  (0.2ms) COMMIT
1893
-  (0.2ms) BEGIN
1894
-  (0.2ms) SAVEPOINT active_record_1
1895
- SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "estell@fritschwilkinson.io"], ["created_at", "2016-04-18 12:28:55.207770"], ["updated_at", "2016-04-18 12:28:55.207770"]]
1896
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1897
-  (0.6ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
1898
-  (0.7ms) SAVEPOINT active_record_1
1899
- SQL (0.5ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 6], ["receiver_type", "User"], ["created_at", "2016-04-18 12:28:55.223595"]]
1900
-  (0.9ms) RELEASE SAVEPOINT active_record_1
1901
-  (0.7ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
1902
-  (0.3ms) ROLLBACK
1903
-  (0.2ms) BEGIN
1904
-  (0.2ms) COMMIT
1905
-  (0.1ms) BEGIN
1906
-  (0.1ms) SAVEPOINT active_record_1
1907
- SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "danny_little@crooksdibbert.org"], ["created_at", "2016-04-18 12:28:55.235362"], ["updated_at", "2016-04-18 12:28:55.235362"]]
1908
-  (0.6ms) RELEASE SAVEPOINT active_record_1
1909
-  (0.2ms) SAVEPOINT active_record_1
1910
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 7], ["receiver_type", "User"], ["created_at", "2016-04-18 12:28:55.238279"]]
1911
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1912
- Hertz::Notification Load (0.4ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 7], ["receiver_type", "User"]]
1913
-  (0.6ms) ROLLBACK
1914
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
1915
-  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
1916
-  (2.3ms)  SELECT schemaname || '.' || tablename
1917
- FROM pg_tables
1918
- WHERE
1919
- tablename !~ '_prt_' AND
1920
- tablename <> 'schema_migrations' AND
1921
- schemaname = ANY (current_schemas(false))
1922
- 
1923
-  (1.6ms) select table_name from information_schema.views where table_schema = 'hertz_test'
1924
-  (11.1ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
1925
-  (0.7ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
1926
-  (0.6ms) BEGIN
1927
-  (0.2ms) COMMIT
1928
-  (0.2ms) BEGIN
1929
-  (0.3ms) SAVEPOINT active_record_1
1930
- SQL (0.6ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "sydnie.braun@oberbrunner.co"], ["created_at", "2016-04-18 12:30:56.763036"], ["updated_at", "2016-04-18 12:30:56.763036"]]
1931
- SQL (0.5ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2016-04-18 12:30:56.767317"]]
1932
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1933
-  (0.3ms) ROLLBACK
1934
-  (0.2ms) BEGIN
1935
-  (0.2ms) COMMIT
1936
-  (0.2ms) BEGIN
1937
-  (0.2ms) ROLLBACK
1938
-  (0.2ms) BEGIN
1939
-  (0.2ms) COMMIT
1940
-  (0.2ms) BEGIN
1941
-  (0.2ms) ROLLBACK
1942
-  (0.2ms) BEGIN
1943
-  (0.2ms) COMMIT
1944
-  (0.2ms) BEGIN
1945
-  (0.2ms) SAVEPOINT active_record_1
1946
- SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "jermaine_toy@shanahanjerde.name"], ["created_at", "2016-04-18 12:30:56.782412"], ["updated_at", "2016-04-18 12:30:56.782412"]]
1947
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 2], ["created_at", "2016-04-18 12:30:56.783827"]]
1948
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1949
-  (0.3ms) SAVEPOINT active_record_1
1950
- SQL (0.4ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-18 12:30:56.786167"], ["id", 2]]
1951
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1952
-  (0.3ms) ROLLBACK
1953
-  (0.2ms) BEGIN
1954
-  (0.2ms) COMMIT
1955
-  (0.2ms) BEGIN
1956
-  (0.2ms) SAVEPOINT active_record_1
1957
- SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "jameson.connelly@nikolauspollich.biz"], ["created_at", "2016-04-18 12:30:56.796466"], ["updated_at", "2016-04-18 12:30:56.796466"]]
1958
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-18 12:30:56.797958"]]
1959
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1960
-  (0.3ms) SAVEPOINT active_record_1
1961
- SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "annalise.parisian@spencerstamm.net"], ["created_at", "2016-04-18 12:30:56.801844"], ["updated_at", "2016-04-18 12:30:56.801844"]]
1962
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-18 12:30:56.800903"], ["receiver_id", 4], ["created_at", "2016-04-18 12:30:56.803103"]]
1963
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1964
- Hertz::Notification Load (1.0ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
1965
-  (0.6ms) ROLLBACK
1966
-  (0.3ms) BEGIN
1967
-  (0.3ms) COMMIT
1968
-  (0.2ms) BEGIN
1969
-  (0.4ms) SAVEPOINT active_record_1
1970
- SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "dallas.white@gerlachmetz.com"], ["created_at", "2016-04-18 12:30:56.817048"], ["updated_at", "2016-04-18 12:30:56.817048"]]
1971
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-18 12:30:56.816028"], ["receiver_id", 5], ["created_at", "2016-04-18 12:30:56.818521"]]
1972
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1973
-  (0.2ms) SAVEPOINT active_record_1
1974
- SQL (0.3ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 5]]
1975
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1976
-  (0.2ms) ROLLBACK
1977
-  (0.2ms) BEGIN
1978
-  (0.2ms) COMMIT
1979
-  (0.2ms) BEGIN
1980
-  (0.2ms) SAVEPOINT active_record_1
1981
- SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "sienna_okon@lesch.name"], ["created_at", "2016-04-18 12:30:56.826407"], ["updated_at", "2016-04-18 12:30:56.826407"]]
1982
-  (0.4ms) RELEASE SAVEPOINT active_record_1
1983
-  (0.2ms) SAVEPOINT active_record_1
1984
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 6], ["receiver_type", "User"], ["created_at", "2016-04-18 12:30:56.829006"]]
1985
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1986
- Hertz::Notification Load (0.4ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
1987
-  (0.3ms) ROLLBACK
1988
-  (0.2ms) BEGIN
1989
-  (0.2ms) COMMIT
1990
-  (0.2ms) BEGIN
1991
-  (0.2ms) SAVEPOINT active_record_1
1992
- SQL (0.2ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "roel.skiles@schuppe.name"], ["created_at", "2016-04-18 12:30:56.850610"], ["updated_at", "2016-04-18 12:30:56.850610"]]
1993
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1994
-  (0.2ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 7], ["receiver_type", "User"]]
1995
-  (0.2ms) SAVEPOINT active_record_1
1996
- SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 7], ["receiver_type", "User"], ["created_at", "2016-04-18 12:30:56.854800"]]
1997
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1998
-  (0.2ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 7], ["receiver_type", "User"]]
1999
-  (0.2ms) ROLLBACK
2000
-  (0.2ms) BEGIN
2001
-  (0.2ms) COMMIT
2002
-  (0.2ms) BEGIN
2003
-
2004
- Hertz::NotificationMailer#notification_email: processed outbound mail in 7.6ms
2005
-  (0.3ms) ROLLBACK
2006
-  (0.2ms) BEGIN
2007
-  (0.2ms) COMMIT
2008
-  (0.2ms) BEGIN
2009
-  (0.3ms) ROLLBACK
2010
-  (0.3ms) BEGIN
2011
-  (0.2ms) COMMIT
2012
-  (0.1ms) BEGIN
2013
-  (0.5ms) ROLLBACK
2014
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
2015
-  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
2016
-  (2.3ms)  SELECT schemaname || '.' || tablename
2017
- FROM pg_tables
2018
- WHERE
2019
- tablename !~ '_prt_' AND
2020
- tablename <> 'schema_migrations' AND
2021
- schemaname = ANY (current_schemas(false))
2022
- 
2023
-  (2.3ms) select table_name from information_schema.views where table_schema = 'hertz_test'
2024
-  (12.2ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
2025
-  (0.7ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
2026
-  (0.5ms) BEGIN
2027
-  (0.2ms) COMMIT
2028
-  (0.1ms) BEGIN
2029
-  (0.3ms) SAVEPOINT active_record_1
2030
- SQL (0.6ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "rhiannon@gerlach.name"], ["created_at", "2016-04-18 12:31:28.930530"], ["updated_at", "2016-04-18 12:31:28.930530"]]
2031
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2016-04-18 12:31:28.935043"]]
2032
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2033
-  (0.3ms) ROLLBACK
2034
-  (0.2ms) BEGIN
2035
-  (0.2ms) COMMIT
2036
-  (0.2ms) BEGIN
2037
-  (0.3ms) ROLLBACK
2038
-  (0.2ms) BEGIN
2039
-  (0.2ms) COMMIT
2040
-  (0.2ms) BEGIN
2041
-  (0.3ms) SAVEPOINT active_record_1
2042
- SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "buck_doyle@lebsack.biz"], ["created_at", "2016-04-18 12:31:28.947703"], ["updated_at", "2016-04-18 12:31:28.947703"]]
2043
- SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-18 12:31:28.946929"], ["receiver_id", 2], ["created_at", "2016-04-18 12:31:28.949118"]]
2044
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2045
-  (0.2ms) SAVEPOINT active_record_1
2046
- SQL (0.4ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 2]]
2047
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2048
-  (0.3ms) ROLLBACK
2049
-  (0.2ms) BEGIN
2050
-  (0.2ms) COMMIT
2051
-  (0.2ms) BEGIN
2052
-  (0.2ms) ROLLBACK
2053
-  (0.2ms) BEGIN
2054
-  (0.2ms) COMMIT
2055
-  (0.2ms) BEGIN
2056
-  (0.2ms) SAVEPOINT active_record_1
2057
- SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "eliseo@brown.io"], ["created_at", "2016-04-18 12:31:28.963980"], ["updated_at", "2016-04-18 12:31:28.963980"]]
2058
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-18 12:31:28.965415"]]
2059
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2060
-  (0.3ms) SAVEPOINT active_record_1
2061
- SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "raoul_schowalter@rolfson.org"], ["created_at", "2016-04-18 12:31:28.968738"], ["updated_at", "2016-04-18 12:31:28.968738"]]
2062
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-18 12:31:28.968000"], ["receiver_id", 4], ["created_at", "2016-04-18 12:31:28.970165"]]
2063
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2064
- Hertz::Notification Load (0.8ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
2065
-  (0.6ms) ROLLBACK
2066
-  (0.3ms) BEGIN
2067
-  (0.2ms) COMMIT
2068
-  (0.2ms) BEGIN
2069
-  (0.3ms) SAVEPOINT active_record_1
2070
- SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "chelsey.kirlin@haag.biz"], ["created_at", "2016-04-18 12:31:28.983131"], ["updated_at", "2016-04-18 12:31:28.983131"]]
2071
- SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 5], ["created_at", "2016-04-18 12:31:28.984594"]]
2072
-  (0.3ms) RELEASE SAVEPOINT active_record_1
2073
-  (0.3ms) SAVEPOINT active_record_1
2074
- SQL (0.3ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-18 12:31:28.986766"], ["id", 5]]
2075
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2076
-  (0.2ms) ROLLBACK
2077
-  (0.2ms) BEGIN
2078
-  (0.2ms) COMMIT
2079
-  (0.2ms) BEGIN
2080
-
2081
- Hertz::NotificationMailer#notification_email: processed outbound mail in 5.8ms
2082
-  (0.3ms) ROLLBACK
2083
-  (0.2ms) BEGIN
2084
-  (0.2ms) COMMIT
2085
-  (0.2ms) BEGIN
2086
-  (0.3ms) ROLLBACK
2087
-  (0.2ms) BEGIN
2088
-  (0.2ms) COMMIT
2089
-  (0.1ms) BEGIN
2090
-  (0.2ms) SAVEPOINT active_record_1
2091
- SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "kira_moen@mayert.biz"], ["created_at", "2016-04-18 12:31:29.171005"], ["updated_at", "2016-04-18 12:31:29.171005"]]
2092
-  (0.4ms) RELEASE SAVEPOINT active_record_1
2093
-  (0.5ms) SAVEPOINT active_record_1
2094
- SQL (0.5ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 6], ["receiver_type", "User"], ["created_at", "2016-04-18 12:31:29.176034"]]
2095
-  (0.5ms) RELEASE SAVEPOINT active_record_1
2096
- Hertz::Notification Load (0.3ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
2097
-  (0.2ms) ROLLBACK
2098
-  (0.2ms) BEGIN
2099
-  (0.1ms) COMMIT
2100
-  (0.2ms) BEGIN
2101
-  (0.2ms) SAVEPOINT active_record_1
2102
- SQL (0.2ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "hugh@goyette.io"], ["created_at", "2016-04-18 12:31:29.198006"], ["updated_at", "2016-04-18 12:31:29.198006"]]
2103
-  (0.4ms) RELEASE SAVEPOINT active_record_1
2104
-  (0.6ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 7], ["receiver_type", "User"]]
2105
-  (0.4ms) SAVEPOINT active_record_1
2106
- SQL (0.7ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 7], ["receiver_type", "User"], ["created_at", "2016-04-18 12:31:29.205822"]]
2107
-  (0.7ms) RELEASE SAVEPOINT active_record_1
2108
-  (0.6ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 7], ["receiver_type", "User"]]
2109
-  (0.3ms) ROLLBACK
2110
-  (0.2ms) BEGIN
2111
-  (0.2ms) COMMIT
2112
-  (0.2ms) BEGIN
2113
-  (0.4ms) ROLLBACK
2114
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
2115
-  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
2116
-  (2.4ms)  SELECT schemaname || '.' || tablename
2117
- FROM pg_tables
2118
- WHERE
2119
- tablename !~ '_prt_' AND
2120
- tablename <> 'schema_migrations' AND
2121
- schemaname = ANY (current_schemas(false))
2122
- 
2123
-  (2.8ms) select table_name from information_schema.views where table_schema = 'hertz_test'
2124
-  (12.2ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
2125
-  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
2126
-  (0.3ms) BEGIN
2127
-  (0.2ms) COMMIT
2128
-  (0.2ms) BEGIN
2129
-  (0.4ms) SAVEPOINT active_record_1
2130
- SQL (0.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "tabitha@abbott.co"], ["created_at", "2016-04-18 12:33:43.408440"], ["updated_at", "2016-04-18 12:33:43.408440"]]
2131
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2132
-  (0.3ms) SAVEPOINT active_record_1
2133
- SQL (0.5ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2016-04-18 12:33:43.424784"]]
2134
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2135
- Hertz::Notification Load (0.4ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
2136
-  (0.4ms) ROLLBACK
2137
-  (0.2ms) BEGIN
2138
-  (0.3ms) COMMIT
2139
-  (0.2ms) BEGIN
2140
-  (0.2ms) SAVEPOINT active_record_1
2141
- SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "taurean@christiansenwalter.info"], ["created_at", "2016-04-18 12:33:43.442425"], ["updated_at", "2016-04-18 12:33:43.442425"]]
2142
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2143
-  (0.3ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 2], ["receiver_type", "User"]]
2144
-  (0.2ms) SAVEPOINT active_record_1
2145
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2016-04-18 12:33:43.448583"]]
2146
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2147
-  (0.3ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 2], ["receiver_type", "User"]]
2148
-  (0.2ms) ROLLBACK
2149
-  (0.2ms) BEGIN
2150
-  (0.2ms) COMMIT
2151
-  (0.2ms) BEGIN
2152
- Rendered hertz/notification_mailer/test_notification.html.erb (1.4ms)
2153
-
2154
- Hertz::NotificationMailer#notification_email: processed outbound mail in 15.8ms
2155
-  (0.3ms) ROLLBACK
2156
-  (0.2ms) BEGIN
2157
-  (0.2ms) COMMIT
2158
-  (0.2ms) BEGIN
2159
-  (0.3ms) SAVEPOINT active_record_1
2160
- SQL (0.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "katelin@treutel.biz"], ["created_at", "2016-04-18 12:33:43.670175"], ["updated_at", "2016-04-18 12:33:43.670175"]]
2161
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-18 12:33:43.672145"]]
2162
-  (0.5ms) RELEASE SAVEPOINT active_record_1
2163
-  (0.4ms) ROLLBACK
2164
-  (0.6ms) BEGIN
2165
-  (0.3ms) COMMIT
2166
-  (0.2ms) BEGIN
2167
-  (1.0ms) ROLLBACK
2168
-  (0.2ms) BEGIN
2169
-  (0.2ms) COMMIT
2170
-  (0.2ms) BEGIN
2171
-  (0.6ms) SAVEPOINT active_record_1
2172
- SQL (0.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "ada@strackeborer.com"], ["created_at", "2016-04-18 12:33:43.691223"], ["updated_at", "2016-04-18 12:33:43.691223"]]
2173
- SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-18 12:33:43.690086"], ["receiver_id", 4], ["created_at", "2016-04-18 12:33:43.692746"]]
2174
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2175
-  (0.2ms) SAVEPOINT active_record_1
2176
- SQL (0.8ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 4]]
2177
-  (0.6ms) RELEASE SAVEPOINT active_record_1
2178
-  (0.6ms) ROLLBACK
2179
-  (0.2ms) BEGIN
2180
-  (0.2ms) COMMIT
2181
-  (0.2ms) BEGIN
2182
-  (0.4ms) SAVEPOINT active_record_1
2183
- SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "arnoldo_borer@quitzonrunte.net"], ["created_at", "2016-04-18 12:33:43.713440"], ["updated_at", "2016-04-18 12:33:43.713440"]]
2184
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 5], ["created_at", "2016-04-18 12:33:43.715163"]]
2185
-  (0.7ms) RELEASE SAVEPOINT active_record_1
2186
-  (0.6ms) SAVEPOINT active_record_1
2187
- SQL (0.6ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "judah@jacobs.biz"], ["created_at", "2016-04-18 12:33:43.722182"], ["updated_at", "2016-04-18 12:33:43.722182"]]
2188
- SQL (0.5ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-18 12:33:43.720507"], ["receiver_id", 6], ["created_at", "2016-04-18 12:33:43.724621"]]
2189
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2190
- Hertz::Notification Load (0.4ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
2191
-  (0.2ms) ROLLBACK
2192
-  (0.2ms) BEGIN
2193
-  (0.2ms) COMMIT
2194
-  (0.2ms) BEGIN
2195
-  (0.2ms) SAVEPOINT active_record_1
2196
- SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "norval_runte@quigley.io"], ["created_at", "2016-04-18 12:33:43.732576"], ["updated_at", "2016-04-18 12:33:43.732576"]]
2197
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 7], ["created_at", "2016-04-18 12:33:43.733977"]]
2198
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2199
-  (0.3ms) SAVEPOINT active_record_1
2200
- SQL (0.4ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-18 12:33:43.737434"], ["id", 7]]
2201
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2202
-  (0.2ms) ROLLBACK
2203
-  (0.3ms) BEGIN
2204
-  (0.3ms) COMMIT
2205
-  (0.4ms) BEGIN
2206
-  (0.5ms) ROLLBACK
2207
-  (0.3ms) BEGIN
2208
-  (0.2ms) COMMIT
2209
-  (0.2ms) BEGIN
2210
-  (0.2ms) ROLLBACK
2211
-  (0.2ms) BEGIN
2212
-  (0.2ms) COMMIT
2213
-  (0.2ms) BEGIN
2214
-  (0.2ms) ROLLBACK
2215
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
2216
-  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
2217
-  (2.0ms)  SELECT schemaname || '.' || tablename
2218
- FROM pg_tables
2219
- WHERE
2220
- tablename !~ '_prt_' AND
2221
- tablename <> 'schema_migrations' AND
2222
- schemaname = ANY (current_schemas(false))
2223
- 
2224
-  (1.7ms) select table_name from information_schema.views where table_schema = 'hertz_test'
2225
-  (10.1ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
2226
-  (1.0ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
2227
-  (0.3ms) BEGIN
2228
-  (0.1ms) COMMIT
2229
-  (0.1ms) BEGIN
2230
- Rendered hertz/notification_mailer/test_notification.html.erb (1.3ms)
2231
-
2232
- Hertz::NotificationMailer#notification_email: processed outbound mail in 13.3ms
2233
-  (0.5ms) ROLLBACK
2234
-  (0.2ms) BEGIN
2235
-  (0.2ms) COMMIT
2236
-  (0.1ms) BEGIN
2237
-  (0.2ms) SAVEPOINT active_record_1
2238
- SQL (0.6ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "murl@quitzoncrooks.biz"], ["created_at", "2016-04-18 12:34:04.526952"], ["updated_at", "2016-04-18 12:34:04.526952"]]
2239
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2240
-  (0.2ms) SAVEPOINT active_record_1
2241
- SQL (0.5ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2016-04-18 12:34:04.533831"]]
2242
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2243
- Hertz::Notification Load (0.4ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
2244
-  (0.3ms) ROLLBACK
2245
-  (0.2ms) BEGIN
2246
-  (0.2ms) COMMIT
2247
-  (0.1ms) BEGIN
2248
-  (0.2ms) SAVEPOINT active_record_1
2249
- SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "maude@miller.com"], ["created_at", "2016-04-18 12:34:04.550980"], ["updated_at", "2016-04-18 12:34:04.550980"]]
2250
-  (0.3ms) RELEASE SAVEPOINT active_record_1
2251
-  (0.3ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 2], ["receiver_type", "User"]]
2252
-  (0.3ms) SAVEPOINT active_record_1
2253
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2016-04-18 12:34:04.558093"]]
2254
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2255
-  (0.3ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 2], ["receiver_type", "User"]]
2256
-  (0.3ms) ROLLBACK
2257
-  (0.2ms) BEGIN
2258
-  (0.2ms) COMMIT
2259
-  (0.2ms) BEGIN
2260
-  (0.5ms) ROLLBACK
2261
-  (0.3ms) BEGIN
2262
-  (0.2ms) COMMIT
2263
-  (0.2ms) BEGIN
2264
-  (0.3ms) ROLLBACK
2265
-  (0.2ms) BEGIN
2266
-  (0.3ms) COMMIT
2267
-  (0.2ms) BEGIN
2268
-  (0.2ms) SAVEPOINT active_record_1
2269
- SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "madeline_windler@stroman.biz"], ["created_at", "2016-04-18 12:34:04.589407"], ["updated_at", "2016-04-18 12:34:04.589407"]]
2270
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-18 12:34:04.590919"]]
2271
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2272
-  (0.2ms) ROLLBACK
2273
-  (0.2ms) BEGIN
2274
-  (0.2ms) COMMIT
2275
-  (0.2ms) BEGIN
2276
-  (0.2ms) SAVEPOINT active_record_1
2277
- SQL (0.9ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "deven@toy.info"], ["created_at", "2016-04-18 12:34:04.596804"], ["updated_at", "2016-04-18 12:34:04.596804"]]
2278
- SQL (1.1ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 4], ["created_at", "2016-04-18 12:34:04.599604"]]
2279
-  (0.5ms) RELEASE SAVEPOINT active_record_1
2280
-  (0.5ms) SAVEPOINT active_record_1
2281
- SQL (0.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "katheryn.little@bartellschuster.name"], ["created_at", "2016-04-18 12:34:04.607250"], ["updated_at", "2016-04-18 12:34:04.607250"]]
2282
- SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-18 12:34:04.605789"], ["receiver_id", 5], ["created_at", "2016-04-18 12:34:04.608957"]]
2283
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2284
- Hertz::Notification Load (0.4ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
2285
-  (0.2ms) ROLLBACK
2286
-  (0.2ms) BEGIN
2287
-  (0.2ms) COMMIT
2288
-  (0.2ms) BEGIN
2289
-  (0.2ms) SAVEPOINT active_record_1
2290
- SQL (0.6ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "cade.thompson@schimmel.co"], ["created_at", "2016-04-18 12:34:04.616497"], ["updated_at", "2016-04-18 12:34:04.616497"]]
2291
- SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-18 12:34:04.615857"], ["receiver_id", 6], ["created_at", "2016-04-18 12:34:04.618864"]]
2292
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2293
-  (0.4ms) SAVEPOINT active_record_1
2294
- SQL (0.3ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 6]]
2295
-  (0.4ms) RELEASE SAVEPOINT active_record_1
2296
-  (0.5ms) ROLLBACK
2297
-  (0.5ms) BEGIN
2298
-  (0.3ms) COMMIT
2299
-  (0.2ms) BEGIN
2300
-  (0.4ms) ROLLBACK
2301
-  (0.3ms) BEGIN
2302
-  (0.2ms) COMMIT
2303
-  (0.2ms) BEGIN
2304
-  (0.2ms) ROLLBACK
2305
-  (0.2ms) BEGIN
2306
-  (0.1ms) COMMIT
2307
-  (0.2ms) BEGIN
2308
-  (0.2ms) SAVEPOINT active_record_1
2309
- SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "mable.barrows@shanahan.net"], ["created_at", "2016-04-18 12:34:04.643829"], ["updated_at", "2016-04-18 12:34:04.643829"]]
2310
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 7], ["created_at", "2016-04-18 12:34:04.645197"]]
2311
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2312
-  (0.3ms) SAVEPOINT active_record_1
2313
- SQL (0.4ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-18 12:34:04.647824"], ["id", 7]]
2314
-  (0.3ms) RELEASE SAVEPOINT active_record_1
2315
-  (0.2ms) ROLLBACK
2316
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
2317
-  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
2318
-  (1.1ms)  SELECT schemaname || '.' || tablename
2319
- FROM pg_tables
2320
- WHERE
2321
- tablename !~ '_prt_' AND
2322
- tablename <> 'schema_migrations' AND
2323
- schemaname = ANY (current_schemas(false))
2324
- 
2325
-  (1.5ms) select table_name from information_schema.views where table_schema = 'hertz_test'
2326
-  (20.2ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
2327
-  (0.9ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
2328
-  (0.6ms) BEGIN
2329
-  (0.3ms) COMMIT
2330
-  (0.2ms) BEGIN
2331
-  (0.4ms) SAVEPOINT active_record_1
2332
- SQL (0.7ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "alexandro_ruel@crist.com"], ["created_at", "2016-04-18 14:40:07.153132"], ["updated_at", "2016-04-18 14:40:07.153132"]]
2333
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2016-04-18 14:40:07.157580"]]
2334
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2335
-  (0.3ms) ROLLBACK
2336
-  (0.3ms) BEGIN
2337
-  (0.2ms) COMMIT
2338
-  (0.2ms) BEGIN
2339
-  (0.3ms) SAVEPOINT active_record_1
2340
- SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "chelsea@kuphal.io"], ["created_at", "2016-04-18 14:40:07.164893"], ["updated_at", "2016-04-18 14:40:07.164893"]]
2341
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 2], ["created_at", "2016-04-18 14:40:07.166349"]]
2342
-  (0.3ms) RELEASE SAVEPOINT active_record_1
2343
-  (0.2ms) SAVEPOINT active_record_1
2344
- SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "valerie_breitenberg@williamson.org"], ["created_at", "2016-04-18 14:40:07.169882"], ["updated_at", "2016-04-18 14:40:07.169882"]]
2345
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-18 14:40:07.169251"], ["receiver_id", 3], ["created_at", "2016-04-18 14:40:07.171205"]]
2346
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2347
- Hertz::Notification Load (0.5ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
2348
-  (0.2ms) ROLLBACK
2349
-  (0.2ms) BEGIN
2350
-  (0.2ms) COMMIT
2351
-  (0.2ms) BEGIN
2352
-  (0.2ms) SAVEPOINT active_record_1
2353
- SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "bertha_moriette@grimes.net"], ["created_at", "2016-04-18 14:40:07.180448"], ["updated_at", "2016-04-18 14:40:07.180448"]]
2354
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-18 14:40:07.179728"], ["receiver_id", 4], ["created_at", "2016-04-18 14:40:07.182157"]]
2355
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2356
-  (0.2ms) SAVEPOINT active_record_1
2357
- SQL (0.3ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 4]]
28
+ SQL (0.8ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "mike_roberts@braunjohnston.name"], ["created_at", "2016-05-08 08:57:57.682543"], ["updated_at", "2016-05-08 08:57:57.682543"]]
29
+ SQL (1.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2016-05-08 08:57:57.687486"]]
2358
30
   (0.3ms) RELEASE SAVEPOINT active_record_1
2359
-  (0.2ms) ROLLBACK
2360
-  (0.2ms) BEGIN
2361
-  (0.2ms) COMMIT
2362
-  (0.2ms) BEGIN
2363
-  (0.5ms) SAVEPOINT active_record_1
2364
- SQL (1.0ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "marian.fisher@murray.net"], ["created_at", "2016-04-18 14:40:07.198152"], ["updated_at", "2016-04-18 14:40:07.198152"]]
2365
- SQL (0.7ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 5], ["created_at", "2016-04-18 14:40:07.202283"]]
2366
-  (0.5ms) RELEASE SAVEPOINT active_record_1
2367
-  (0.3ms) SAVEPOINT active_record_1
2368
- SQL (0.4ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-18 14:40:07.206670"], ["id", 5]]
2369
-  (0.3ms) RELEASE SAVEPOINT active_record_1
2370
-  (0.2ms) ROLLBACK
2371
-  (0.2ms) BEGIN
2372
-  (0.3ms) COMMIT
2373
-  (0.3ms) BEGIN
2374
-  (0.2ms) ROLLBACK
2375
-  (0.2ms) BEGIN
2376
-  (0.3ms) COMMIT
2377
-  (0.2ms) BEGIN
2378
-  (0.2ms) ROLLBACK
2379
-  (0.2ms) BEGIN
2380
-  (0.2ms) COMMIT
2381
-  (0.2ms) BEGIN
2382
-  (0.3ms) ROLLBACK
2383
-  (0.2ms) BEGIN
2384
-  (0.2ms) COMMIT
2385
-  (0.2ms) BEGIN
2386
- Rendered hertz/notification_mailer/test_notification.html.erb (1.2ms)
2387
-
2388
- Hertz::NotificationMailer#notification_email: processed outbound mail in 16.8ms
2389
-  (0.3ms) ROLLBACK
2390
-  (0.2ms) BEGIN
2391
-  (0.2ms) COMMIT
2392
-  (0.2ms) BEGIN
2393
-  (0.2ms) SAVEPOINT active_record_1
2394
- SQL (0.6ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "alysha@rohan.net"], ["created_at", "2016-04-18 14:40:07.406200"], ["updated_at", "2016-04-18 14:40:07.406200"]]
2395
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2396
-  (0.2ms) SAVEPOINT active_record_1
2397
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 6], ["receiver_type", "User"], ["created_at", "2016-04-18 14:40:07.409302"]]
2398
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2399
- Hertz::Notification Load (0.3ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
2400
-  (0.2ms) ROLLBACK
2401
-  (0.2ms) BEGIN
2402
-  (0.2ms) COMMIT
2403
-  (0.2ms) BEGIN
2404
-  (0.2ms) SAVEPOINT active_record_1
2405
- SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "thurman_kautzer@zulauf.biz"], ["created_at", "2016-04-18 14:40:07.426364"], ["updated_at", "2016-04-18 14:40:07.426364"]]
2406
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2407
-  (0.4ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 7], ["receiver_type", "User"]]
2408
-  (0.3ms) SAVEPOINT active_record_1
2409
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 7], ["receiver_type", "User"], ["created_at", "2016-04-18 14:40:07.430861"]]
2410
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2411
-  (0.3ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 7], ["receiver_type", "User"]]
2412
-  (0.3ms) ROLLBACK
2413
-  (0.2ms) BEGIN
2414
-  (0.2ms) COMMIT
2415
-  (0.2ms) BEGIN
2416
-  (0.2ms) ROLLBACK
2417
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
2418
-  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
2419
-  (1.2ms)  SELECT schemaname || '.' || tablename
2420
- FROM pg_tables
2421
- WHERE
2422
- tablename !~ '_prt_' AND
2423
- tablename <> 'schema_migrations' AND
2424
- schemaname = ANY (current_schemas(false))
2425
- 
2426
-  (1.0ms) select table_name from information_schema.views where table_schema = 'hertz_test'
2427
-  (6.4ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
2428
-  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
2429
-  (0.2ms) BEGIN
2430
-  (0.3ms) COMMIT
2431
-  (0.2ms) BEGIN
2432
-  (0.4ms) SAVEPOINT active_record_1
2433
- SQL (0.6ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "maggie@barrows.co"], ["created_at", "2016-04-18 14:58:00.766412"], ["updated_at", "2016-04-18 14:58:00.766412"]]
2434
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2435
-  (0.4ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
2436
-  (0.3ms) SAVEPOINT active_record_1
2437
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2016-04-18 14:58:00.792017"]]
2438
-  (0.3ms) RELEASE SAVEPOINT active_record_1
2439
-  (0.3ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
2440
31
   (0.3ms) ROLLBACK
2441
-  (0.2ms) BEGIN
32
+  (0.6ms) BEGIN
2442
33
   (0.2ms) COMMIT
2443
34
   (0.2ms) BEGIN
35
+  (0.4ms) SAVEPOINT active_record_1
36
+ SQL (0.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "kurt@boehm.net"], ["created_at", "2016-05-08 08:57:57.696993"], ["updated_at", "2016-05-08 08:57:57.696993"]]
37
+ SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 2], ["created_at", "2016-05-08 08:57:57.698815"]]
38
+  (0.4ms) RELEASE SAVEPOINT active_record_1
2444
39
   (0.3ms) SAVEPOINT active_record_1
2445
- SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "jacynthe.spinka@sanford.net"], ["created_at", "2016-04-18 14:58:00.799157"], ["updated_at", "2016-04-18 14:58:00.799157"]]
2446
-  (0.3ms) RELEASE SAVEPOINT active_record_1
2447
-  (0.2ms) SAVEPOINT active_record_1
2448
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2016-04-18 14:58:00.802060"]]
40
+ SQL (0.8ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "allan@mueller.info"], ["created_at", "2016-05-08 08:57:57.703030"], ["updated_at", "2016-05-08 08:57:57.703030"]]
41
+ SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-05-08 08:57:57.702160"], ["receiver_id", 3], ["created_at", "2016-05-08 08:57:57.705189"]]
2449
42
   (0.3ms) RELEASE SAVEPOINT active_record_1
2450
- Hertz::Notification Load (0.4ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 2], ["receiver_type", "User"]]
2451
-  (0.3ms) ROLLBACK
2452
-  (0.2ms) BEGIN
2453
-  (0.2ms) COMMIT
2454
-  (0.2ms) BEGIN
43
+ Hertz::Notification Load (0.5ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
2455
44
   (0.3ms) ROLLBACK
2456
45
   (0.3ms) BEGIN
2457
-  (0.2ms) COMMIT
46
+  (0.3ms) COMMIT
2458
47
   (0.2ms) BEGIN
2459
48
   (0.3ms) SAVEPOINT active_record_1
2460
- SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "gust.simonis@kozey.net"], ["created_at", "2016-04-18 14:58:00.824867"], ["updated_at", "2016-04-18 14:58:00.824867"]]
2461
- SQL (0.5ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-18 14:58:00.826599"]]
49
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "cory@brakusvolkman.org"], ["created_at", "2016-05-08 08:57:57.714748"], ["updated_at", "2016-05-08 08:57:57.714748"]]
50
+ SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-05-08 08:57:57.714057"], ["receiver_id", 4], ["created_at", "2016-05-08 08:57:57.716131"]]
51
+  (0.2ms) RELEASE SAVEPOINT active_record_1
52
+  (0.3ms) SAVEPOINT active_record_1
53
+ SQL (1.0ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 4]]
54
+  (0.6ms) RELEASE SAVEPOINT active_record_1
55
+  (1.0ms) ROLLBACK
56
+  (2.5ms) BEGIN
57
+  (0.8ms) COMMIT
58
+  (1.6ms) BEGIN
59
+  (0.7ms) ROLLBACK
60
+  (0.3ms) BEGIN
61
+  (0.2ms) COMMIT
62
+  (0.2ms) BEGIN
63
+  (0.3ms) SAVEPOINT active_record_1
64
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "mateo_lang@mitchell.org"], ["created_at", "2016-05-08 08:57:57.744663"], ["updated_at", "2016-05-08 08:57:57.744663"]]
65
+ SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 5], ["created_at", "2016-05-08 08:57:57.746242"]]
66
+  (0.3ms) RELEASE SAVEPOINT active_record_1
67
+  (0.2ms) SAVEPOINT active_record_1
68
+ SQL (0.4ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-05-08 08:57:57.748336"], ["id", 5]]
2462
69
   (0.2ms) RELEASE SAVEPOINT active_record_1
2463
70
   (0.2ms) ROLLBACK
2464
71
   (0.2ms) BEGIN
2465
-  (0.2ms) COMMIT
2466
-  (0.5ms) BEGIN
2467
-  (0.6ms) ROLLBACK
2468
-  (0.3ms) BEGIN
2469
-  (0.2ms) COMMIT
72
+  (0.7ms) COMMIT
2470
73
   (0.2ms) BEGIN
2471
74
   (0.3ms) ROLLBACK
2472
75
   (0.2ms) BEGIN
76
+  (0.3ms) COMMIT
77
+  (0.2ms) BEGIN
78
+  (0.5ms) ROLLBACK
79
+  (0.2ms) BEGIN
2473
80
   (0.2ms) COMMIT
2474
81
   (0.2ms) BEGIN
2475
-  (0.2ms) SAVEPOINT active_record_1
2476
- SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "federico@nolan.net"], ["created_at", "2016-04-18 14:58:00.844554"], ["updated_at", "2016-04-18 14:58:00.844554"]]
2477
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 4], ["created_at", "2016-04-18 14:58:00.845885"]]
2478
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2479
-  (0.2ms) SAVEPOINT active_record_1
2480
- SQL (0.4ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-18 14:58:00.848057"], ["id", 4]]
2481
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2482
-  (0.2ms) ROLLBACK
2483
-  (0.1ms) BEGIN
2484
-  (0.2ms) COMMIT
2485
-  (0.2ms) BEGIN
2486
-  (0.2ms) SAVEPOINT active_record_1
2487
- SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "eden.dibbert@breitenbergleannon.name"], ["created_at", "2016-04-18 14:58:00.858608"], ["updated_at", "2016-04-18 14:58:00.858608"]]
2488
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 5], ["created_at", "2016-04-18 14:58:00.860442"]]
82
+  (0.3ms) SAVEPOINT active_record_1
83
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "retta@heathcote.org"], ["created_at", "2016-05-08 08:57:57.762738"], ["updated_at", "2016-05-08 08:57:57.762738"]]
2489
84
   (0.2ms) RELEASE SAVEPOINT active_record_1
2490
-  (0.7ms) SAVEPOINT active_record_1
2491
- SQL (0.8ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "mariela@aufderhar.co"], ["created_at", "2016-04-18 14:58:00.866352"], ["updated_at", "2016-04-18 14:58:00.866352"]]
2492
- SQL (0.5ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-18 14:58:00.864328"], ["receiver_id", 6], ["created_at", "2016-04-18 14:58:00.869164"]]
85
+  (0.3ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
86
+  (0.3ms) SAVEPOINT active_record_1
87
+ SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 6], ["receiver_type", "User"], ["created_at", "2016-05-08 08:57:57.773577"]]
2493
88
   (0.3ms) RELEASE SAVEPOINT active_record_1
2494
- Hertz::Notification Load (0.3ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
2495
-  (0.3ms) ROLLBACK
89
+  (0.4ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
90
+  (0.2ms) ROLLBACK
2496
91
   (0.2ms) BEGIN
2497
92
   (0.2ms) COMMIT
2498
93
   (0.2ms) BEGIN
2499
94
   (0.2ms) SAVEPOINT active_record_1
2500
- SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "yasmeen@rath.biz"], ["created_at", "2016-04-18 14:58:00.877965"], ["updated_at", "2016-04-18 14:58:00.877965"]]
2501
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-18 14:58:00.877349"], ["receiver_id", 7], ["created_at", "2016-04-18 14:58:00.879141"]]
2502
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2503
-  (0.2ms) SAVEPOINT active_record_1
2504
- SQL (0.3ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 7]]
95
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "jerrod.dicki@larson.name"], ["created_at", "2016-05-08 08:57:57.780359"], ["updated_at", "2016-05-08 08:57:57.780359"]]
2505
96
   (0.2ms) RELEASE SAVEPOINT active_record_1
97
+  (0.2ms) SAVEPOINT active_record_1
98
+ SQL (1.5ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 7], ["receiver_type", "User"], ["created_at", "2016-05-08 08:57:57.783114"]]
99
+  (0.3ms) RELEASE SAVEPOINT active_record_1
100
+ Hertz::Notification Load (0.3ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 7], ["receiver_type", "User"]]
2506
101
   (0.2ms) ROLLBACK
2507
-  (0.2ms) BEGIN
2508
-  (0.2ms) COMMIT
2509
-  (0.2ms) BEGIN
2510
-  (0.2ms) ROLLBACK
2511
-  (0.2ms) BEGIN
2512
-  (0.2ms) COMMIT
2513
-  (0.2ms) BEGIN
2514
- Rendered hertz/notification_mailer/test_notification.html.erb (1.1ms)
2515
-
2516
- Hertz::NotificationMailer#notification_email: processed outbound mail in 11.5ms
2517
-  (0.3ms) ROLLBACK
2518
- ActiveRecord::SchemaMigration Load (1.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
2519
-  (2.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
2520
-  (1.4ms)  SELECT schemaname || '.' || tablename
102
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
103
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
104
+  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
105
+  (4.8ms)  SELECT schemaname || '.' || tablename
2521
106
  FROM pg_tables
2522
107
  WHERE
2523
108
  tablename !~ '_prt_' AND
2524
109
  tablename <> 'schema_migrations' AND
2525
110
  schemaname = ANY (current_schemas(false))
2526
111
  
2527
-  (4.7ms) select table_name from information_schema.views where table_schema = 'hertz_test'
2528
-  (16.8ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
112
+  (3.7ms) select table_name from information_schema.views where table_schema = 'hertz_test'
113
+  (23.6ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
2529
114
   (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
2530
-  (0.3ms) BEGIN
2531
-  (0.2ms) COMMIT
2532
115
   (0.2ms) BEGIN
2533
-  (0.4ms) SAVEPOINT active_record_1
2534
- SQL (0.7ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "nayeli.hoeger@crona.io"], ["created_at", "2016-04-20 08:35:39.795523"], ["updated_at", "2016-04-20 08:35:39.795523"]]
2535
-  (0.3ms) RELEASE SAVEPOINT active_record_1
2536
-  (0.4ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
2537
-  (0.3ms) SAVEPOINT active_record_1
2538
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2016-04-20 08:35:39.832689"]]
116
+  (0.2ms) COMMIT
117
+  (0.1ms) BEGIN
118
+  (0.3ms) ROLLBACK
119
+  (1.2ms) BEGIN
120
+  (1.8ms) COMMIT
121
+  (0.3ms) BEGIN
122
+  (0.2ms) SAVEPOINT active_record_1
123
+ SQL (0.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "theresa@mayer.co"], ["created_at", "2016-05-08 09:42:59.820995"], ["updated_at", "2016-05-08 09:42:59.820995"]]
2539
124
   (0.2ms) RELEASE SAVEPOINT active_record_1
2540
125
   (0.3ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
2541
-  (0.3ms) ROLLBACK
126
+  (0.1ms) SAVEPOINT active_record_1
127
+ SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2016-05-08 09:42:59.837958"]]
128
+  (0.1ms) RELEASE SAVEPOINT active_record_1
129
+  (0.2ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
130
+  (0.2ms) ROLLBACK
2542
131
   (0.2ms) BEGIN
2543
-  (0.2ms) COMMIT
132
+  (0.1ms) COMMIT
133
+  (0.1ms) BEGIN
134
+  (0.1ms) SAVEPOINT active_record_1
135
+ SQL (0.2ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "lionel.murphy@blanda.io"], ["created_at", "2016-05-08 09:42:59.844332"], ["updated_at", "2016-05-08 09:42:59.844332"]]
136
+  (0.1ms) RELEASE SAVEPOINT active_record_1
137
+  (0.1ms) SAVEPOINT active_record_1
138
+ SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2016-05-08 09:42:59.847061"]]
139
+  (0.1ms) RELEASE SAVEPOINT active_record_1
140
+ Hertz::Notification Load (0.2ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 2], ["receiver_type", "User"]]
141
+  (0.2ms) ROLLBACK
142
+  (0.1ms) BEGIN
143
+  (0.1ms) COMMIT
144
+  (0.1ms) BEGIN
145
+  (0.1ms) SAVEPOINT active_record_1
146
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "josefina@reinger.net"], ["created_at", "2016-05-08 09:42:59.856179"], ["updated_at", "2016-05-08 09:42:59.856179"]]
147
+ SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-05-08 09:42:59.857535"]]
148
+  (0.1ms) RELEASE SAVEPOINT active_record_1
149
+  (0.1ms) ROLLBACK
150
+  (0.1ms) BEGIN
151
+  (0.1ms) COMMIT
152
+  (0.1ms) BEGIN
153
+  (0.1ms) ROLLBACK
154
+  (0.2ms) BEGIN
155
+  (0.1ms) COMMIT
156
+  (0.1ms) BEGIN
157
+  (0.1ms) ROLLBACK
158
+  (0.1ms) BEGIN
159
+  (0.1ms) COMMIT
160
+  (0.1ms) BEGIN
161
+  (0.2ms) SAVEPOINT active_record_1
162
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "peyton@stamm.co"], ["created_at", "2016-05-08 09:42:59.869951"], ["updated_at", "2016-05-08 09:42:59.869951"]]
163
+ SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-05-08 09:42:59.868270"], ["receiver_id", 4], ["created_at", "2016-05-08 09:42:59.872125"]]
164
+  (0.3ms) RELEASE SAVEPOINT active_record_1
165
+  (0.2ms) SAVEPOINT active_record_1
166
+ SQL (0.5ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 4]]
167
+  (1.0ms) RELEASE SAVEPOINT active_record_1
168
+  (0.3ms) ROLLBACK
2544
169
   (0.2ms) BEGIN
170
+  (1.5ms) COMMIT
171
+  (1.4ms) BEGIN
172
+  (0.1ms) SAVEPOINT active_record_1
173
+ SQL (0.2ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "fern.hackett@doyle.name"], ["created_at", "2016-05-08 09:42:59.895981"], ["updated_at", "2016-05-08 09:42:59.895981"]]
174
+ SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 5], ["created_at", "2016-05-08 09:42:59.897512"]]
175
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2545
176
   (0.2ms) SAVEPOINT active_record_1
2546
- SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "leanne@franecki.io"], ["created_at", "2016-04-20 08:35:39.839618"], ["updated_at", "2016-04-20 08:35:39.839618"]]
2547
-  (0.2ms) RELEASE SAVEPOINT active_record_1
177
+ SQL (0.4ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "carroll.dubuque@hillchroeder.net"], ["created_at", "2016-05-08 09:42:59.900473"], ["updated_at", "2016-05-08 09:42:59.900473"]]
178
+ SQL (0.5ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-05-08 09:42:59.899860"], ["receiver_id", 6], ["created_at", "2016-05-08 09:42:59.903226"]]
179
+  (0.7ms) RELEASE SAVEPOINT active_record_1
180
+ Hertz::Notification Load (0.4ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
181
+  (0.2ms) ROLLBACK
182
+  (0.1ms) BEGIN
183
+  (0.1ms) COMMIT
184
+  (0.1ms) BEGIN
185
+  (0.8ms) SAVEPOINT active_record_1
186
+ SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "beth@wolf.com"], ["created_at", "2016-05-08 09:42:59.914130"], ["updated_at", "2016-05-08 09:42:59.914130"]]
187
+ SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 7], ["created_at", "2016-05-08 09:42:59.918024"]]
188
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2548
189
   (0.2ms) SAVEPOINT active_record_1
2549
- SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2016-04-20 08:35:39.842217"]]
2550
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2551
- Hertz::Notification Load (0.3ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 2], ["receiver_type", "User"]]
2552
-  (0.3ms) ROLLBACK
2553
-  (0.2ms) BEGIN
2554
-  (0.2ms) COMMIT
2555
-  (0.2ms) BEGIN
2556
-  (0.5ms) ROLLBACK
2557
-  (0.6ms) BEGIN
2558
-  (0.4ms) COMMIT
190
+ SQL (0.4ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-05-08 09:42:59.921735"], ["id", 7]]
191
+  (0.1ms) RELEASE SAVEPOINT active_record_1
192
+  (0.1ms) ROLLBACK
193
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
194
+  (106.8ms) DROP DATABASE IF EXISTS "hertz_test"
195
+  (367.6ms) CREATE DATABASE "hertz_test" ENCODING = 'utf8'
196
+ SQL (0.6ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
197
+ SQL (30.4ms) CREATE EXTENSION IF NOT EXISTS "hstore"
198
+  (9.5ms) CREATE TABLE "hertz_notifications" ("id" serial primary key, "type" character varying NOT NULL, "receiver_type" character varying NOT NULL, "receiver_id" integer NOT NULL, "meta" hstore DEFAULT '' NOT NULL, "read_at" timestamp, "created_at" timestamp NOT NULL) 
199
+  (5.8ms) CREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
200
+  (4.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
201
+  (4.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
202
+  (0.6ms) SELECT version FROM "schema_migrations"
203
+  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160508094342')
204
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20160415175837')
205
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20160415175358')
206
+  (3.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20160418122437')
207
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
208
+  (0.4ms) ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
209
+  (2.3ms) SELECT schemaname || '.' || tablename
210
+ FROM pg_tables
211
+ WHERE
212
+ tablename !~ '_prt_' AND
213
+ tablename <> 'schema_migrations' AND
214
+ schemaname = ANY (current_schemas(false))
215
+
216
+  (2.5ms) select table_name from information_schema.views where table_schema = 'hertz_test'
217
+  (22.6ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
218
+  (1.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
219
+  (0.3ms) BEGIN
220
+  (0.3ms) COMMIT
2559
221
   (0.2ms) BEGIN
2560
-  (0.3ms) ROLLBACK
222
+  (0.2ms) ROLLBACK
223
+  (0.1ms) BEGIN
224
+  (0.1ms) COMMIT
2561
225
   (0.3ms) BEGIN
2562
-  (0.2ms) COMMIT
226
+  (0.2ms) SAVEPOINT active_record_1
227
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-05-08 09:44:03.802237"], ["updated_at", "2016-05-08 09:44:03.802237"]]
228
+ SQL (0.6ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2016-05-08 09:44:03.807237"]]
229
+  (0.4ms) RELEASE SAVEPOINT active_record_1
230
+  (1.1ms) ROLLBACK
2563
231
   (0.2ms) BEGIN
2564
- Rendered hertz/notification_mailer/test_notification.html.erb (1.6ms)
2565
-
2566
- Hertz::NotificationMailer#notification_email: processed outbound mail in 18.0ms
232
+  (0.1ms) COMMIT
233
+  (0.1ms) BEGIN
2567
234
   (0.3ms) ROLLBACK
2568
235
   (0.2ms) BEGIN
2569
-  (0.2ms) COMMIT
2570
-  (0.2ms) BEGIN
2571
-  (0.2ms) SAVEPOINT active_record_1
2572
- SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "danika.kutch@collier.name"], ["created_at", "2016-04-20 08:35:40.078990"], ["updated_at", "2016-04-20 08:35:40.078990"]]
2573
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-20 08:35:40.080311"]]
236
+  (0.1ms) COMMIT
237
+  (0.1ms) BEGIN
238
+  (0.1ms) ROLLBACK
239
+  (0.1ms) BEGIN
240
+  (0.1ms) COMMIT
241
+  (0.1ms) BEGIN
242
+  (0.1ms) SAVEPOINT active_record_1
243
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-05-08 09:44:03.828470"], ["updated_at", "2016-05-08 09:44:03.828470"]]
244
+ SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 2], ["created_at", "2016-05-08 09:44:03.830017"]]
245
+  (0.1ms) RELEASE SAVEPOINT active_record_1
246
+  (0.1ms) SAVEPOINT active_record_1
247
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-05-08 09:44:03.833328"], ["updated_at", "2016-05-08 09:44:03.833328"]]
248
+ SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-05-08 09:44:03.832604"], ["receiver_id", 3], ["created_at", "2016-05-08 09:44:03.835174"]]
249
+  (0.2ms) RELEASE SAVEPOINT active_record_1
250
+ Hertz::Notification Load (1.8ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
251
+  (0.1ms) ROLLBACK
252
+  (0.1ms) BEGIN
253
+  (0.1ms) COMMIT
254
+  (0.1ms) BEGIN
255
+  (0.3ms) SAVEPOINT active_record_1
256
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-05-08 09:44:03.847493"], ["updated_at", "2016-05-08 09:44:03.847493"]]
257
+ SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-05-08 09:44:03.846419"], ["receiver_id", 4], ["created_at", "2016-05-08 09:44:03.850016"]]
258
+  (0.1ms) RELEASE SAVEPOINT active_record_1
259
+  (0.1ms) SAVEPOINT active_record_1
260
+ SQL (0.2ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 4]]
261
+  (0.1ms) RELEASE SAVEPOINT active_record_1
262
+  (0.1ms) ROLLBACK
263
+  (0.4ms) BEGIN
264
+  (0.7ms) COMMIT
265
+  (0.1ms) BEGIN
266
+  (0.1ms) SAVEPOINT active_record_1
267
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-05-08 09:44:03.866348"], ["updated_at", "2016-05-08 09:44:03.866348"]]
268
+ SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 5], ["created_at", "2016-05-08 09:44:03.867947"]]
2574
269
   (0.2ms) RELEASE SAVEPOINT active_record_1
270
+  (0.2ms) SAVEPOINT active_record_1
271
+ SQL (0.5ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-05-08 09:44:03.870491"], ["id", 5]]
272
+  (0.2ms) RELEASE SAVEPOINT active_record_1
273
+  (0.1ms) ROLLBACK
274
+  (0.1ms) BEGIN
275
+  (0.1ms) COMMIT
276
+  (0.1ms) BEGIN
277
+  (0.1ms) SAVEPOINT active_record_1
278
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-05-08 09:44:03.879831"], ["updated_at", "2016-05-08 09:44:03.879831"]]
279
+  (0.7ms) RELEASE SAVEPOINT active_record_1
280
+  (0.2ms) SAVEPOINT active_record_1
281
+ SQL (0.2ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 6], ["receiver_type", "User"], ["created_at", "2016-05-08 09:44:03.886666"]]
282
+  (0.2ms) RELEASE SAVEPOINT active_record_1
283
+ Hertz::Notification Load (0.4ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
2575
284
   (0.2ms) ROLLBACK
2576
-  (0.2ms) BEGIN
2577
-  (0.2ms) COMMIT
2578
-  (0.2ms) BEGIN
285
+  (0.1ms) BEGIN
286
+  (0.1ms) COMMIT
287
+  (0.1ms) BEGIN
2579
288
   (0.2ms) SAVEPOINT active_record_1
2580
- SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "noah_gusikowski@feest.net"], ["created_at", "2016-04-20 08:35:40.086463"], ["updated_at", "2016-04-20 08:35:40.086463"]]
2581
- SQL (0.5ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 4], ["created_at", "2016-04-20 08:35:40.087720"]]
2582
-  (0.2ms) RELEASE SAVEPOINT active_record_1
289
+ SQL (1.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-05-08 09:44:03.920255"], ["updated_at", "2016-05-08 09:44:03.920255"]]
290
+  (0.2ms) RELEASE SAVEPOINT active_record_1
291
+  (0.3ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 7], ["receiver_type", "User"]]
2583
292
   (0.2ms) SAVEPOINT active_record_1
2584
- SQL (0.4ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-20 08:35:40.090713"], ["id", 4]]
293
+ SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 7], ["receiver_type", "User"], ["created_at", "2016-05-08 09:44:03.929978"]]
2585
294
   (0.2ms) RELEASE SAVEPOINT active_record_1
2586
-  (0.2ms) ROLLBACK
295
+  (0.4ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 7], ["receiver_type", "User"]]
296
+  (0.5ms) ROLLBACK
297
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
298
+  (7.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
299
+  (1.4ms)  SELECT schemaname || '.' || tablename
300
+ FROM pg_tables
301
+ WHERE
302
+ tablename !~ '_prt_' AND
303
+ tablename <> 'schema_migrations' AND
304
+ schemaname = ANY (current_schemas(false))
305
+ 
306
+  (1.4ms) select table_name from information_schema.views where table_schema = 'hertz_test'
307
+  (9.8ms) TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
308
+  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
2587
309
   (0.2ms) BEGIN
2588
310
   (0.2ms) COMMIT
2589
311
   (0.2ms) BEGIN
312
+  (0.8ms) SAVEPOINT active_record_1
313
+ SQL (3.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-05-08 09:44:40.578060"], ["updated_at", "2016-05-08 09:44:40.578060"]]
314
+  (0.3ms) RELEASE SAVEPOINT active_record_1
315
+  (0.5ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
316
+  (0.3ms) SAVEPOINT active_record_1
317
+ SQL (0.6ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2016-05-08 09:44:40.620014"]]
318
+  (0.3ms) RELEASE SAVEPOINT active_record_1
319
+  (0.4ms) SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
320
+  (0.5ms) ROLLBACK
321
+  (0.3ms) BEGIN
322
+  (0.3ms) COMMIT
323
+  (0.3ms) BEGIN
324
+  (0.3ms) SAVEPOINT active_record_1
325
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-05-08 09:44:40.628528"], ["updated_at", "2016-05-08 09:44:40.628528"]]
326
+  (0.3ms) RELEASE SAVEPOINT active_record_1
327
+  (0.3ms) SAVEPOINT active_record_1
328
+ SQL (0.5ms) INSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2016-05-08 09:44:40.631941"]]
329
+  (0.3ms) RELEASE SAVEPOINT active_record_1
330
+ Hertz::Notification Load (0.5ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 2], ["receiver_type", "User"]]
331
+  (0.5ms) ROLLBACK
332
+  (0.3ms) BEGIN
333
+  (0.3ms) COMMIT
334
+  (0.3ms) BEGIN
335
+  (1.5ms) ROLLBACK
336
+  (0.4ms) BEGIN
337
+  (0.8ms) COMMIT
338
+  (2.8ms) BEGIN
339
+  (0.8ms) SAVEPOINT active_record_1
340
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-05-08 09:44:40.665470"], ["updated_at", "2016-05-08 09:44:40.665470"]]
341
+ SQL (0.5ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-05-08 09:44:40.667555"]]
342
+  (0.1ms) RELEASE SAVEPOINT active_record_1
343
+  (0.1ms) ROLLBACK
344
+  (0.1ms) BEGIN
345
+  (0.2ms) COMMIT
346
+  (0.1ms) BEGIN
347
+  (0.2ms) SAVEPOINT active_record_1
348
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-05-08 09:44:40.675373"], ["updated_at", "2016-05-08 09:44:40.675373"]]
349
+ SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 4], ["created_at", "2016-05-08 09:44:40.677479"]]
350
+  (0.3ms) RELEASE SAVEPOINT active_record_1
351
+  (0.1ms) SAVEPOINT active_record_1
352
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-05-08 09:44:40.681590"], ["updated_at", "2016-05-08 09:44:40.681590"]]
353
+ SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-05-08 09:44:40.680667"], ["receiver_id", 5], ["created_at", "2016-05-08 09:44:40.683379"]]
354
+  (0.1ms) RELEASE SAVEPOINT active_record_1
355
+ Hertz::Notification Load (0.3ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
2590
356
   (0.2ms) ROLLBACK
2591
357
   (0.2ms) BEGIN
2592
358
   (0.2ms) COMMIT
359
+  (0.1ms) BEGIN
360
+  (0.3ms) ROLLBACK
361
+  (1.7ms) BEGIN
362
+  (0.3ms) COMMIT
2593
363
   (0.2ms) BEGIN
2594
-  (0.2ms) SAVEPOINT active_record_1
2595
- SQL (0.5ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "virginie@strosin.name"], ["created_at", "2016-04-20 08:35:40.106442"], ["updated_at", "2016-04-20 08:35:40.106442"]]
2596
- SQL (0.6ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 5], ["created_at", "2016-04-20 08:35:40.108455"]]
2597
-  (0.7ms) RELEASE SAVEPOINT active_record_1
2598
-  (0.7ms) SAVEPOINT active_record_1
2599
- SQL (0.6ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "santino@gusikowski.info"], ["created_at", "2016-04-20 08:35:40.116578"], ["updated_at", "2016-04-20 08:35:40.116578"]]
2600
- SQL (0.4ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-20 08:35:40.114689"], ["receiver_id", 6], ["created_at", "2016-04-20 08:35:40.119063"]]
2601
-  (0.3ms) RELEASE SAVEPOINT active_record_1
2602
- Hertz::Notification Load (0.4ms) SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
2603
-  (0.2ms) ROLLBACK
2604
-  (0.2ms) BEGIN
2605
-  (0.2ms) COMMIT
2606
-  (0.2ms) BEGIN
2607
-  (0.2ms) ROLLBACK
2608
-  (0.2ms) BEGIN
2609
-  (0.2ms) COMMIT
364
+  (0.8ms) SAVEPOINT active_record_1
365
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-05-08 09:44:40.706615"], ["updated_at", "2016-05-08 09:44:40.706615"]]
366
+ SQL (0.5ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 6], ["created_at", "2016-05-08 09:44:40.708803"]]
367
+  (0.4ms) RELEASE SAVEPOINT active_record_1
368
+  (0.3ms) SAVEPOINT active_record_1
369
+ SQL (3.8ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-05-08 09:44:40.711782"], ["id", 6]]
370
+  (1.0ms) RELEASE SAVEPOINT active_record_1
371
+  (1.9ms) ROLLBACK
372
+  (0.7ms) BEGIN
373
+  (1.1ms) COMMIT
374
+  (1.2ms) BEGIN
375
+  (0.3ms) ROLLBACK
376
+  (0.3ms) BEGIN
377
+  (0.3ms) COMMIT
2610
378
   (0.3ms) BEGIN
2611
379
   (0.3ms) SAVEPOINT active_record_1
2612
- SQL (0.3ms) INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "janis_howell@hyattferry.org"], ["created_at", "2016-04-20 08:35:40.130799"], ["updated_at", "2016-04-20 08:35:40.130799"]]
2613
- SQL (0.3ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-04-20 08:35:40.129969"], ["receiver_id", 7], ["created_at", "2016-04-20 08:35:40.132306"]]
2614
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2615
-  (0.2ms) SAVEPOINT active_record_1
2616
- SQL (0.4ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 7]]
2617
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2618
-  (0.2ms) ROLLBACK
380
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-05-08 09:44:40.749248"], ["updated_at", "2016-05-08 09:44:40.749248"]]
381
+ SQL (0.5ms) INSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["type", "Hertz::Notification"], ["receiver_type", "User"], ["read_at", "2016-05-08 09:44:40.748411"], ["receiver_id", 7], ["created_at", "2016-05-08 09:44:40.750785"]]
382
+  (0.8ms) RELEASE SAVEPOINT active_record_1
383
+  (0.3ms) SAVEPOINT active_record_1
384
+ SQL (1.2ms) UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 7]]
385
+  (2.2ms) RELEASE SAVEPOINT active_record_1
386
+  (0.7ms) ROLLBACK