hertz 0.1.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -43
- data/lib/generators/hertz/templates/initializer.rb +0 -2
- data/lib/hertz/version.rb +1 -1
- data/lib/hertz.rb +0 -8
- data/spec/dummy/app/models/test_notification.rb +0 -5
- data/spec/dummy/config/database.yml +1 -10
- data/spec/dummy/config/initializers/hertz.rb +0 -2
- data/spec/dummy/db/migrate/20160508094342_remove_email_from_users.rb +5 -0
- data/spec/dummy/db/schema.rb +1 -2
- data/spec/dummy/log/development.log +28 -112
- data/spec/dummy/log/test.log +311 -2543
- data/spec/examples.txt +11 -13
- data/spec/factories/users.rb +0 -1
- data/spec/{lib/hertz → hertz}/notifiable_spec.rb +0 -0
- data/spec/{lib/hertz → hertz}/notification_deliverer_spec.rb +1 -1
- metadata +43 -51
- data/app/mailers/hertz/notification_mailer.rb +0 -24
- data/lib/hertz/courier/base.rb +0 -10
- data/lib/hertz/courier/email.rb +0 -10
- data/lib/tasks/hertz_tasks.rake +0 -4
- data/spec/dummy/app/mailers/application_mailer.rb +0 -2
- data/spec/lib/hertz/courier/email_spec.rb +0 -26
- data/spec/mailers/notification_mailer_spec.rb +0 -13
data/spec/dummy/log/test.log
CHANGED
@@ -1,2618 +1,386 @@
|
|
1
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.
|
2
|
-
[1m[
|
3
|
-
[1m[
|
4
|
-
[1m[36mSQL (0.6ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
5
|
-
[1m[35m (4.2ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
6
|
-
[1m[36m (2.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
7
|
-
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
8
|
-
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
9
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.5ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
10
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
11
|
-
[1m[36m (106.9ms)[0m [1mDROP DATABASE IF EXISTS "hertz_test"[0m
|
12
|
-
[1m[35m (265.0ms)[0m CREATE DATABASE "hertz_test" ENCODING = 'utf8'
|
13
|
-
[1m[36mSQL (0.5ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
14
|
-
[1m[35mSQL (19.1ms)[0m CREATE EXTENSION IF NOT EXISTS "hstore"
|
15
|
-
[1m[36m (6.7ms)[0m [1mCREATE 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) [0m
|
16
|
-
[1m[35m (3.1ms)[0m CREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
17
|
-
[1m[36m (2.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
18
|
-
[1m[35m (2.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
19
|
-
[1m[36m (0.4ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
20
|
-
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160415175837')
|
21
|
-
[1m[36m (0.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160415175358')[0m
|
22
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
23
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
24
|
-
[1m[35m (1.2ms)[0m ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
|
25
|
-
[1m[36m (2.5ms)[0m [1m SELECT schemaname || '.' || tablename
|
1
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2
|
+
[1m[35m (0.6ms)[0m ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
|
3
|
+
[1m[36m (1.6ms)[0m [1m 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
|
[0m
|
32
|
-
[1m[35m (
|
33
|
-
[1m[36m (
|
10
|
+
[1m[35m (1.7ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
11
|
+
[1m[36m (10.9ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
34
12
|
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
35
13
|
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
36
14
|
[1m[35m (0.2ms)[0m COMMIT
|
37
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
38
|
-
[1m[35m (0.5ms)[0m ROLLBACK
|
39
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
40
|
-
[1m[35m (0.2ms)[0m COMMIT
|
41
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
42
|
-
[1m[35m (0.6ms)[0m ROLLBACK
|
43
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
44
|
-
[1m[35m (0.2ms)[0m COMMIT
|
45
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
46
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
47
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
48
|
-
[1m[35m (0.2ms)[0m COMMIT
|
49
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
50
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
51
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
52
|
-
[1m[35m (1.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
53
|
-
[1m[36m (2.6ms)[0m [1m 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
|
-
[0m
|
60
|
-
[1m[35m (2.0ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
61
|
-
[1m[36m (15.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
62
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
63
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
64
|
-
[1m[35m (0.2ms)[0m COMMIT
|
65
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
66
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
67
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
68
|
-
[1m[35m (0.2ms)[0m COMMIT
|
69
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
70
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
71
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
72
|
-
[1m[35m (0.2ms)[0m COMMIT
|
73
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
74
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
75
|
-
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
76
|
-
[1m[35m (0.5ms)[0m COMMIT
|
77
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
78
|
-
[1m[35m (0.6ms)[0m ROLLBACK
|
79
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
80
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
81
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
82
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
83
|
-
[1m[35m (1.0ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
84
|
-
[1m[36m (2.3ms)[0m [1m 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
|
-
[0m
|
91
|
-
[1m[35m (1.5ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
92
|
-
[1m[36m (8.5ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
93
|
-
[1m[35m (1.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
94
|
-
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
95
|
-
[1m[35m (0.3ms)[0m COMMIT
|
96
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
97
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
98
|
-
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
99
|
-
[1m[35m (0.4ms)[0m COMMIT
|
100
|
-
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
101
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
102
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
103
|
-
[1m[35m (0.2ms)[0m COMMIT
|
104
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
105
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
106
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
107
|
-
[1m[35m (0.2ms)[0m COMMIT
|
108
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
109
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
110
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
111
|
-
[1m[35m (0.8ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
112
|
-
[1m[36m (2.5ms)[0m [1m 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
|
-
[0m
|
119
|
-
[1m[35m (2.0ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
120
|
-
[1m[36m (9.2ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
121
|
-
[1m[35m (1.4ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
122
|
-
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
123
|
-
[1m[35m (0.5ms)[0m COMMIT
|
124
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
125
|
-
[1m[35m (0.5ms)[0m ROLLBACK
|
126
|
-
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
127
|
-
[1m[35m (0.4ms)[0m COMMIT
|
128
|
-
[1m[36m (0.9ms)[0m [1mBEGIN[0m
|
129
|
-
[1m[35m (0.6ms)[0m ROLLBACK
|
130
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
131
|
-
[1m[35m (0.2ms)[0m COMMIT
|
132
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
133
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
134
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
135
|
-
[1m[35m (0.2ms)[0m COMMIT
|
136
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
137
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
138
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
139
|
-
[1m[35m (0.9ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
140
|
-
[1m[36m (2.3ms)[0m [1m 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
|
-
[0m
|
147
|
-
[1m[35m (1.8ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
148
|
-
[1m[36m (8.7ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
149
|
-
[1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
150
|
-
[1m[36m (0.9ms)[0m [1mBEGIN[0m
|
151
|
-
[1m[35m (0.4ms)[0m COMMIT
|
152
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
153
|
-
[1m[35m (0.5ms)[0m ROLLBACK
|
154
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
155
|
-
[1m[35m (0.1ms)[0m COMMIT
|
156
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
157
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
158
|
-
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-15 20:22:31.885617"], ["updated_at", "2016-04-15 20:22:31.885617"]]
|
159
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
161
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
162
|
-
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
163
|
-
[1m[35m (0.3ms)[0m COMMIT
|
164
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
165
|
-
[1m[35m (0.6ms)[0m ROLLBACK
|
166
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
167
|
-
[1m[35m (0.1ms)[0m COMMIT
|
168
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
169
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
170
|
-
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-15 20:22:31.919731"], ["updated_at", "2016-04-15 20:22:31.919731"]]
|
171
|
-
[1m[35mSQL (0.6ms)[0m 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
|
-
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
173
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
174
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
175
|
-
[1m[35m (1.0ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
176
|
-
[1m[36m (2.2ms)[0m [1m 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
|
-
[0m
|
183
|
-
[1m[35m (1.6ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
184
|
-
[1m[36m (8.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
185
|
-
[1m[35m (0.7ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
186
|
-
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
187
|
-
[1m[35m (0.3ms)[0m COMMIT
|
188
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
189
|
-
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
190
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-15 20:22:59.945915"], ["updated_at", "2016-04-15 20:22:59.945915"]]
|
191
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
193
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
194
|
-
[1m[36mSQL (0.4ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", nil], ["id", 1]]
|
195
|
-
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
196
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
197
|
-
[1m[35m (0.2ms)[0m BEGIN
|
198
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
199
|
-
[1m[35m (0.2ms)[0m BEGIN
|
200
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
201
|
-
[1m[35m (0.2ms)[0m BEGIN
|
202
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
203
|
-
[1m[35m (0.2ms)[0m BEGIN
|
204
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
205
|
-
[1m[35m (0.2ms)[0m BEGIN
|
206
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
207
|
-
[1m[35m (0.2ms)[0m BEGIN
|
208
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
209
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 2], ["created_at", "2016-04-15 20:22:59.971288"]]
|
211
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
212
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
213
|
-
[1m[35mSQL (0.3ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-15 20:22:59.973599"], ["id", 2]]
|
214
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
215
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
216
|
-
[1m[36mActiveRecord::SchemaMigration Load (3.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
217
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
218
|
-
[1m[35m (3.5ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
219
|
-
[1m[36m (2.3ms)[0m [1m 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
|
-
[0m
|
226
|
-
[1m[35m (5.3ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
227
|
-
[1m[36m (9.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
228
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
229
|
-
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
230
|
-
[1m[35m (0.3ms)[0m COMMIT
|
231
15
|
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
[1m[36m (1.1ms)[0m [1m 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
|
-
[0m
|
242
|
-
[1m[35m (2.0ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
243
|
-
[1m[36m (7.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
244
|
-
[1m[35m (0.6ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
245
|
-
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
246
|
-
[1m[35m (0.3ms)[0m COMMIT
|
247
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
248
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
249
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
250
|
-
[1m[35m (0.6ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
251
|
-
[1m[36m (2.3ms)[0m [1m 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
|
-
[0m
|
258
|
-
[1m[35m (2.0ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
259
|
-
[1m[36m (7.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
260
|
-
[1m[35m (0.8ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
261
|
-
[1m[36m (0.8ms)[0m [1mBEGIN[0m
|
262
|
-
[1m[35m (0.3ms)[0m COMMIT
|
263
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
264
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
265
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
266
|
-
[1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
267
|
-
[1m[36m (2.2ms)[0m [1m 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
|
-
[0m
|
274
|
-
[1m[35m (2.1ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
275
|
-
[1m[36m (8.2ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
276
|
-
[1m[35m (0.6ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
277
|
-
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
278
|
-
[1m[35m (0.3ms)[0m COMMIT
|
279
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
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
|
[1m[35m (0.4ms)[0m ROLLBACK
|
281
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
282
|
-
[1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
283
|
-
[1m[36m (2.4ms)[0m [1m 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
|
-
[0m
|
290
|
-
[1m[35m (2.0ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
291
|
-
[1m[36m (8.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
292
|
-
[1m[35m (0.6ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
293
|
-
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
294
|
-
[1m[35m (0.3ms)[0m COMMIT
|
295
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
296
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
297
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
298
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
299
|
-
[1m[36m (1.2ms)[0m [1m 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
|
-
[0m
|
306
|
-
[1m[35m (2.2ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
307
|
-
[1m[36m (8.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
308
|
-
[1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
309
20
|
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
310
21
|
[1m[35m (0.3ms)[0m COMMIT
|
311
22
|
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
312
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
313
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
314
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
315
|
-
[1m[36m (1.4ms)[0m [1m 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
|
-
[0m
|
322
|
-
[1m[35m (2.0ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
323
|
-
[1m[36m (8.8ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
324
|
-
[1m[35m (2.4ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
325
|
-
[1m[36m (0.7ms)[0m [1mBEGIN[0m
|
326
|
-
[1m[35m (0.5ms)[0m COMMIT
|
327
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
328
|
-
[1m[35m (0.8ms)[0m ROLLBACK
|
329
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
330
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
331
|
-
[1m[36m (1.8ms)[0m [1m 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
|
-
[0m
|
338
|
-
[1m[35m (2.2ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
339
|
-
[1m[36m (7.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
340
|
-
[1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
341
|
-
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
342
|
-
[1m[35m (0.2ms)[0m COMMIT
|
343
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
344
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
345
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
346
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
347
|
-
[1m[36m (1.1ms)[0m [1m 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
|
-
[0m
|
354
|
-
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
355
|
-
[1m[36m (10.0ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
356
|
-
[1m[35m (0.9ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
357
|
-
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
358
|
-
[1m[35m (0.2ms)[0m COMMIT
|
359
|
-
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
360
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
361
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 10:51:08.918937"], ["updated_at", "2016-04-17 10:51:08.918937"]]
|
362
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
364
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
365
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
366
|
-
[1m[35m (0.2ms)[0m COMMIT
|
367
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
368
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
369
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
370
|
-
[1m[35m (0.2ms)[0m COMMIT
|
371
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
372
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
373
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
374
|
-
[1m[35m (0.2ms)[0m COMMIT
|
375
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
376
|
-
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
377
|
-
[1m[36mSQL (1.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 10:51:08.962119"], ["updated_at", "2016-04-17 10:51:08.962119"]]
|
378
|
-
[1m[35mSQL (0.6ms)[0m 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
|
-
[1m[36m (0.6ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
380
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
381
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
382
|
-
[1m[35m (0.2ms)[0m COMMIT
|
383
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
384
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
385
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 10:51:08.979124"], ["updated_at", "2016-04-17 10:51:08.979124"]]
|
386
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
388
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
389
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
390
|
-
[1m[35m (0.2ms)[0m COMMIT
|
391
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
392
|
-
[1m[35m (0.6ms)[0m SAVEPOINT active_record_1
|
393
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 10:51:08.993418"], ["updated_at", "2016-04-17 10:51:08.993418"]]
|
394
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
396
23
|
[1m[35m (0.5ms)[0m ROLLBACK
|
397
|
-
[1m[36m (
|
398
|
-
[1m[35m (
|
399
|
-
[1m[36m (
|
24
|
+
[1m[36m (1.2ms)[0m [1mBEGIN[0m
|
25
|
+
[1m[35m (3.0ms)[0m COMMIT
|
26
|
+
[1m[36m (1.3ms)[0m [1mBEGIN[0m
|
400
27
|
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
401
|
-
[1m[36mSQL (0.
|
402
|
-
[1m[
|
403
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
404
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
406
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
407
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
408
|
-
[1m[35m (0.1ms)[0m COMMIT
|
409
|
-
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
410
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
411
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 10:51:09.022212"], ["updated_at", "2016-04-17 10:51:09.022212"]]
|
412
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
413
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 6], ["receiver_type", "User"]]
|
414
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
415
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 6], ["receiver_type", "User"], ["created_at", "2016-04-17 10:51:09.048544"]]
|
416
|
-
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
417
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
418
|
-
[1m[35m (0.3ms)[0m BEGIN
|
419
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
420
|
-
[1m[35m (0.2ms)[0m BEGIN
|
421
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
422
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
423
|
-
[1m[35m (0.8ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
424
|
-
[1m[36m (2.3ms)[0m [1m 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
|
-
[0m
|
431
|
-
[1m[35m (1.9ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
432
|
-
[1m[36m (9.0ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
433
|
-
[1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
434
|
-
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
435
|
-
[1m[35m (0.2ms)[0m COMMIT
|
436
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
437
|
-
[1m[35m (0.7ms)[0m ROLLBACK
|
438
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
439
|
-
[1m[35m (0.2ms)[0m COMMIT
|
440
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
441
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
442
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 10:51:24.087190"], ["updated_at", "2016-04-17 10:51:24.087190"]]
|
443
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
445
|
-
[1m[35m (0.5ms)[0m ROLLBACK
|
446
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
447
|
-
[1m[35m (0.2ms)[0m COMMIT
|
448
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
449
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
450
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 10:51:24.111107"], ["updated_at", "2016-04-17 10:51:24.111107"]]
|
451
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
453
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
454
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
455
|
-
[1m[35m (0.2ms)[0m COMMIT
|
456
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
457
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
458
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 10:51:24.121244"], ["updated_at", "2016-04-17 10:51:24.121244"]]
|
459
|
-
[1m[35mSQL (0.9ms)[0m 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
|
-
[1m[36m (0.6ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
461
|
-
[1m[35m (0.7ms)[0m ROLLBACK
|
462
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
463
|
-
[1m[35m (0.2ms)[0m COMMIT
|
464
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
465
|
-
[1m[35m (0.5ms)[0m ROLLBACK
|
466
|
-
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
467
|
-
[1m[35m (0.4ms)[0m COMMIT
|
468
|
-
[1m[36m (1.3ms)[0m [1mBEGIN[0m
|
469
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
470
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
471
|
-
[1m[35m (0.1ms)[0m COMMIT
|
472
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
473
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
474
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 10:51:24.156069"], ["updated_at", "2016-04-17 10:51:24.156069"]]
|
475
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
477
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
478
|
-
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
479
|
-
[1m[35m (0.3ms)[0m COMMIT
|
480
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
481
|
-
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
482
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 10:51:24.170389"], ["updated_at", "2016-04-17 10:51:24.170389"]]
|
483
|
-
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
484
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 5], ["receiver_type", "User"]]
|
485
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
486
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 5], ["receiver_type", "User"], ["created_at", "2016-04-17 10:51:24.190666"]]
|
487
|
-
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
488
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
489
|
-
[1m[35m (0.2ms)[0m BEGIN
|
490
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
491
|
-
[1m[35m (0.3ms)[0m BEGIN
|
492
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
493
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
495
|
-
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
496
|
-
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 6], ["receiver_type", "User"], ["created_at", "2016-04-17 10:51:24.209665"]]
|
497
|
-
[1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
498
|
-
[1m[36m (0.6ms)[0m [1mROLLBACK[0m
|
499
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
500
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
501
|
-
[1m[36m (2.1ms)[0m [1m 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
|
-
[0m
|
508
|
-
[1m[35m (2.3ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
509
|
-
[1m[36m (7.8ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
510
|
-
[1m[35m (0.8ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
511
|
-
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
512
|
-
[1m[35m (0.2ms)[0m COMMIT
|
513
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
514
|
-
[1m[35m (0.5ms)[0m SAVEPOINT active_record_1
|
515
|
-
[1m[36mSQL (1.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 10:51:31.998264"], ["updated_at", "2016-04-17 10:51:31.998264"]]
|
516
|
-
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
517
|
-
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
518
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
519
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2016-04-17 10:51:32.032935"]]
|
520
|
-
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
521
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
522
|
-
[1m[35m (0.2ms)[0m BEGIN
|
523
|
-
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
524
|
-
[1m[35m (0.2ms)[0m BEGIN
|
525
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
526
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
528
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
529
|
-
[1m[36mSQL (1.1ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2016-04-17 10:51:32.070156"]]
|
530
|
-
[1m[35m (0.7ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
531
|
-
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
532
|
-
[1m[35m (0.4ms)[0m BEGIN
|
533
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
534
|
-
[1m[35m (0.2ms)[0m BEGIN
|
535
|
-
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
536
|
-
[1m[35m (0.2ms)[0m BEGIN
|
537
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
538
|
-
[1m[35m (0.2ms)[0m BEGIN
|
539
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
540
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-17 10:51:32.118553"]]
|
542
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
543
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
544
|
-
[1m[35m (0.3ms)[0m BEGIN
|
545
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
546
|
-
[1m[35m (0.2ms)[0m BEGIN
|
547
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
548
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 4], ["created_at", "2016-04-17 10:51:32.146960"]]
|
550
|
-
[1m[35m (0.7ms)[0m RELEASE SAVEPOINT active_record_1
|
551
|
-
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
552
|
-
[1m[35mSQL (0.3ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-17 10:51:32.153826"], ["id", 4]]
|
553
|
-
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
554
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
555
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
556
|
-
[1m[35m (0.1ms)[0m COMMIT
|
557
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
558
|
-
[1m[35m (0.7ms)[0m SAVEPOINT active_record_1
|
559
|
-
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 10:51:32.171113"], ["updated_at", "2016-04-17 10:51:32.171113"]]
|
560
|
-
[1m[35mSQL (0.8ms)[0m 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
|
-
[1m[36m (0.7ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
562
|
-
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
563
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 10:51:32.183241"], ["updated_at", "2016-04-17 10:51:32.183241"]]
|
564
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
566
|
-
[1m[35mHertz::Notification Load (0.4ms)[0m SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
|
567
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
568
|
-
[1m[35m (0.3ms)[0m BEGIN
|
569
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
570
|
-
[1m[35m (0.1ms)[0m BEGIN
|
571
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
572
|
-
[1m[35m (0.3ms)[0m BEGIN
|
573
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
574
|
-
[1m[35m (1.2ms)[0m BEGIN
|
575
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
576
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
579
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
580
|
-
[1m[35mSQL (0.4ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 7]]
|
581
|
-
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
582
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
583
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
584
|
-
[1m[35m (0.2ms)[0m COMMIT
|
585
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
586
|
-
[1m[35m (0.6ms)[0m ROLLBACK
|
587
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
588
|
-
[1m[35m (0.8ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
589
|
-
[1m[36m (2.4ms)[0m [1m 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
|
-
[0m
|
596
|
-
[1m[35m (1.8ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
597
|
-
[1m[36m (8.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
598
|
-
[1m[35m (1.0ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
599
|
-
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
600
|
-
[1m[35m (0.2ms)[0m COMMIT
|
601
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
602
|
-
[1m[35m (0.5ms)[0m SAVEPOINT active_record_1
|
603
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 10:52:05.073017"], ["updated_at", "2016-04-17 10:52:05.073017"]]
|
604
|
-
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
605
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
606
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
607
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2016-04-17 10:52:05.104798"]]
|
608
|
-
[1m[35m (0.3ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
609
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
610
|
-
[1m[35m (0.3ms)[0m BEGIN
|
611
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
612
|
-
[1m[35m (0.2ms)[0m BEGIN
|
613
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
614
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
616
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
617
|
-
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2016-04-17 10:52:05.141807"]]
|
618
|
-
[1m[35m (0.6ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
619
|
-
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
620
|
-
[1m[35m (0.3ms)[0m BEGIN
|
621
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
622
|
-
[1m[35m (0.2ms)[0m BEGIN
|
623
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
624
|
-
[1m[35m (0.3ms)[0m BEGIN
|
625
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
626
|
-
[1m[35m (0.2ms)[0m BEGIN
|
627
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
628
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-17 10:52:05.201051"]]
|
630
|
-
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
631
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
632
|
-
[1m[35m (0.5ms)[0m BEGIN
|
633
|
-
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
634
|
-
[1m[35m (0.4ms)[0m BEGIN
|
635
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
636
|
-
[1m[35mSQL (0.7ms)[0m 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
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 4], ["created_at", "2016-04-17 10:52:05.216551"]]
|
638
|
-
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
639
|
-
[1m[36m (0.6ms)[0m [1mSAVEPOINT active_record_1[0m
|
640
|
-
[1m[35mSQL (0.9ms)[0m 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
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.6ms)[0m RELEASE SAVEPOINT active_record_1
|
643
|
-
[1m[36mHertz::Notification Load (0.4ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)[0m
|
644
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
645
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
646
|
-
[1m[35m (0.2ms)[0m COMMIT
|
647
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
648
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
649
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
650
|
-
[1m[35m (0.3ms)[0m COMMIT
|
651
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
652
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
653
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
654
|
-
[1m[35m (0.3ms)[0m COMMIT
|
655
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
656
|
-
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
657
|
-
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 10:52:05.246777"], ["updated_at", "2016-04-17 10:52:05.246777"]]
|
658
|
-
[1m[35mSQL (0.7ms)[0m 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
|
-
[1m[36m (0.6ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
660
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
661
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", nil], ["id", 6]]
|
662
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
663
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
664
|
-
[1m[35m (0.2ms)[0m BEGIN
|
665
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
666
|
-
[1m[35m (0.2ms)[0m BEGIN
|
667
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
668
|
-
[1m[35mSQL (0.6ms)[0m 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
|
-
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 7], ["created_at", "2016-04-17 10:52:05.268996"]]
|
670
|
-
[1m[35m (0.6ms)[0m RELEASE SAVEPOINT active_record_1
|
671
|
-
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
672
|
-
[1m[35mSQL (0.8ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-17 10:52:05.274273"], ["id", 7]]
|
673
|
-
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
674
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
675
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
676
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
677
|
-
[1m[36m (1.2ms)[0m [1m 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
|
-
[0m
|
684
|
-
[1m[35m (1.0ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
685
|
-
[1m[36m (8.0ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
686
|
-
[1m[35m (1.2ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
687
|
-
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
688
|
-
[1m[35m (0.3ms)[0m COMMIT
|
689
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
690
|
-
[1m[35m (0.5ms)[0m SAVEPOINT active_record_1
|
691
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 10:52:15.802321"], ["updated_at", "2016-04-17 10:52:15.802321"]]
|
692
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
694
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
695
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
696
|
-
[1m[35m (0.1ms)[0m COMMIT
|
697
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
698
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
699
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
700
|
-
[1m[35m (0.1ms)[0m COMMIT
|
701
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
702
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
703
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 10:52:15.817353"], ["updated_at", "2016-04-17 10:52:15.817353"]]
|
704
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
706
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
707
|
-
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
708
|
-
[1m[35m (0.2ms)[0m COMMIT
|
709
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
710
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
711
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 10:52:15.854604"], ["updated_at", "2016-04-17 10:52:15.854604"]]
|
712
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
714
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
715
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
716
|
-
[1m[35m (0.2ms)[0m COMMIT
|
717
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
718
|
-
[1m[35m (0.6ms)[0m ROLLBACK
|
719
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
720
|
-
[1m[35m (0.2ms)[0m COMMIT
|
721
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
722
|
-
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
723
|
-
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 10:52:15.882462"], ["updated_at", "2016-04-17 10:52:15.882462"]]
|
724
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
726
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
727
|
-
[1m[36m (0.7ms)[0m [1mBEGIN[0m
|
728
|
-
[1m[35m (0.5ms)[0m COMMIT
|
729
|
-
[1m[36m (0.7ms)[0m [1mBEGIN[0m
|
730
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
731
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
732
|
-
[1m[35m (0.2ms)[0m COMMIT
|
733
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
734
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
735
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 10:52:15.922377"], ["updated_at", "2016-04-17 10:52:15.922377"]]
|
736
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
737
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
738
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.6ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
740
|
-
[1m[35mHertz::Notification Load (0.4ms)[0m 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
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
742
|
-
[1m[35m (0.1ms)[0m BEGIN
|
743
|
-
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
744
|
-
[1m[35m (0.2ms)[0m BEGIN
|
745
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
746
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
748
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
|
749
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
750
|
-
[1m[35mSQL (0.8ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
752
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
|
753
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
754
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
755
|
-
[1m[35m (1.0ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
756
|
-
[1m[36m (2.5ms)[0m [1m 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
|
-
[0m
|
763
|
-
[1m[35m (1.5ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
764
|
-
[1m[36m (10.5ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
765
|
-
[1m[35m (0.6ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
766
|
-
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
767
|
-
[1m[35m (0.2ms)[0m COMMIT
|
768
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
769
|
-
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
770
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 10:52:47.649455"], ["updated_at", "2016-04-17 10:52:47.649455"]]
|
771
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
773
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
774
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
775
|
-
[1m[35m (0.2ms)[0m COMMIT
|
776
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
777
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
778
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 10:52:47.660280"], ["updated_at", "2016-04-17 10:52:47.660280"]]
|
779
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
781
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
782
|
-
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
783
|
-
[1m[35m (0.5ms)[0m COMMIT
|
784
|
-
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
785
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
786
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
787
|
-
[1m[35m (0.2ms)[0m COMMIT
|
788
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
789
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
790
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 10:52:47.703616"], ["updated_at", "2016-04-17 10:52:47.703616"]]
|
791
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
793
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
794
|
-
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
795
|
-
[1m[35m (0.3ms)[0m COMMIT
|
796
|
-
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
797
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
798
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
799
|
-
[1m[35m (0.2ms)[0m COMMIT
|
800
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
801
|
-
[1m[35m (0.5ms)[0m SAVEPOINT active_record_1
|
802
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 10:52:47.732716"], ["updated_at", "2016-04-17 10:52:47.732716"]]
|
803
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
805
|
-
[1m[35m (1.4ms)[0m ROLLBACK
|
806
|
-
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
807
|
-
[1m[35m (0.3ms)[0m COMMIT
|
808
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
809
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
810
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 10:52:47.758452"], ["updated_at", "2016-04-17 10:52:47.758452"]]
|
811
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
812
|
-
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 5], ["receiver_type", "User"]]
|
813
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
814
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 5], ["receiver_type", "User"], ["created_at", "2016-04-17 10:52:47.779639"]]
|
815
|
-
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
816
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
817
|
-
[1m[35m (0.3ms)[0m BEGIN
|
818
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
819
|
-
[1m[35m (0.1ms)[0m BEGIN
|
820
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
821
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
823
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
824
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 6], ["receiver_type", "User"], ["created_at", "2016-04-17 10:52:47.806402"]]
|
825
|
-
[1m[35m (0.8ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
826
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
827
|
-
[1m[35m (0.4ms)[0m BEGIN
|
828
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
829
|
-
[1m[35m (0.3ms)[0m BEGIN
|
830
|
-
[1m[36m (0.7ms)[0m [1mROLLBACK[0m
|
831
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
832
|
-
[1m[35m (1.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
833
|
-
[1m[36m (2.4ms)[0m [1m 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
|
-
[0m
|
840
|
-
[1m[35m (1.5ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
841
|
-
[1m[36m (8.2ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
842
|
-
[1m[35m (0.6ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
843
|
-
[1m[36m (1.0ms)[0m [1mBEGIN[0m
|
844
|
-
[1m[35m (0.2ms)[0m COMMIT
|
845
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
846
|
-
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
847
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 10:52:54.392193"], ["updated_at", "2016-04-17 10:52:54.392193"]]
|
848
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
850
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
851
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
852
|
-
[1m[35m (0.2ms)[0m COMMIT
|
853
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
854
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
855
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 10:52:54.403134"], ["updated_at", "2016-04-17 10:52:54.403134"]]
|
856
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
858
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
859
|
-
[1m[36mSQL (0.4ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", nil], ["id", 2]]
|
860
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
861
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
862
|
-
[1m[35m (0.2ms)[0m BEGIN
|
863
|
-
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
864
|
-
[1m[35m (0.2ms)[0m BEGIN
|
865
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
866
|
-
[1m[35m (0.2ms)[0m BEGIN
|
867
|
-
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
868
|
-
[1m[35m (0.2ms)[0m BEGIN
|
869
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
870
|
-
[1m[35m (0.2ms)[0m BEGIN
|
871
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
872
|
-
[1m[35m (0.2ms)[0m BEGIN
|
873
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
874
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-17 10:52:54.423924"]]
|
876
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
877
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
878
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
881
|
-
[1m[36mHertz::Notification Load (0.4ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)[0m
|
882
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
883
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
884
|
-
[1m[35m (0.1ms)[0m COMMIT
|
885
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
886
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
887
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 10:52:54.435566"], ["updated_at", "2016-04-17 10:52:54.435566"]]
|
888
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
890
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
891
|
-
[1m[36mSQL (0.4ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", "2016-04-17 10:52:54.438636"], ["id", 5]]
|
892
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
893
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
894
|
-
[1m[35m (0.2ms)[0m BEGIN
|
895
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
896
|
-
[1m[35m (0.2ms)[0m BEGIN
|
897
|
-
[1m[36m (0.6ms)[0m [1mROLLBACK[0m
|
898
|
-
[1m[35m (0.2ms)[0m BEGIN
|
899
|
-
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
900
|
-
[1m[35m (0.1ms)[0m BEGIN
|
901
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
902
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
904
|
-
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
|
905
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
906
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
908
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
|
909
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
910
|
-
[1m[35m (0.6ms)[0m BEGIN
|
911
|
-
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
912
|
-
[1m[35m (0.3ms)[0m BEGIN
|
913
|
-
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
914
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36m (0.5ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
916
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
917
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 7], ["receiver_type", "User"], ["created_at", "2016-04-17 10:52:54.484758"]]
|
918
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
919
|
-
[1m[36mHertz::Notification Load (0.3ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 7], ["receiver_type", "User"]]
|
920
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
921
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
922
|
-
[1m[35m (1.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
923
|
-
[1m[36m (2.2ms)[0m [1m 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
|
-
[0m
|
930
|
-
[1m[35m (2.1ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
931
|
-
[1m[36m (8.2ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
932
|
-
[1m[35m (0.7ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
933
|
-
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
934
|
-
[1m[35m (0.3ms)[0m COMMIT
|
935
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
936
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
937
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 11:33:21.245475"], ["updated_at", "2016-04-17 11:33:21.245475"]]
|
938
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
940
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
941
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
942
|
-
[1m[35m (0.2ms)[0m COMMIT
|
943
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
944
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
945
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 11:33:21.255840"], ["updated_at", "2016-04-17 11:33:21.255840"]]
|
946
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
948
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
949
|
-
[1m[36mSQL (0.5ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", "2016-04-17 11:33:21.260876"], ["id", 2]]
|
950
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
951
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
952
|
-
[1m[35m (0.2ms)[0m BEGIN
|
953
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
954
|
-
[1m[35m (0.2ms)[0m BEGIN
|
955
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
956
|
-
[1m[35m (0.2ms)[0m BEGIN
|
957
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
958
|
-
[1m[35m (0.1ms)[0m BEGIN
|
959
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
960
|
-
[1m[35m (0.2ms)[0m BEGIN
|
961
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
962
|
-
[1m[35m (0.2ms)[0m BEGIN
|
963
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
964
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-17 11:33:21.277075"]]
|
966
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
967
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
968
|
-
[1m[35mSQL (0.6ms)[0m 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
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
971
|
-
[1m[36mHertz::Notification Load (0.5ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)[0m
|
972
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
973
|
-
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
974
|
-
[1m[35m (0.4ms)[0m COMMIT
|
975
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
976
|
-
[1m[35m (0.5ms)[0m SAVEPOINT active_record_1
|
977
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 11:33:21.296077"], ["updated_at", "2016-04-17 11:33:21.296077"]]
|
978
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
980
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
981
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", nil], ["id", 5]]
|
982
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
983
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
984
|
-
[1m[35m (0.2ms)[0m BEGIN
|
985
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
986
|
-
[1m[35m (0.2ms)[0m BEGIN
|
987
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
988
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
990
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
|
991
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
992
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
994
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
|
995
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
996
|
-
[1m[35m (0.4ms)[0m BEGIN
|
997
|
-
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
998
|
-
[1m[35m (0.7ms)[0m BEGIN
|
999
|
-
[1m[36m (0.5ms)[0m [1mSAVEPOINT active_record_1[0m
|
1000
|
-
[1m[35mSQL (0.6ms)[0m 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
|
-
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1002
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1003
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 7], ["receiver_type", "User"], ["created_at", "2016-04-17 11:33:21.339721"]]
|
1004
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1005
|
-
[1m[36mHertz::Notification Load (0.3ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 7], ["receiver_type", "User"]]
|
1006
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1007
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1008
|
-
[1m[35m (0.1ms)[0m COMMIT
|
1009
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1010
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1011
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1012
|
-
[1m[35m (0.7ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1013
|
-
[1m[36m (2.3ms)[0m [1m 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
|
-
[0m
|
1020
|
-
[1m[35m (2.0ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
1021
|
-
[1m[36m (6.2ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1022
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1023
|
-
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
1024
|
-
[1m[35m (0.4ms)[0m COMMIT
|
1025
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1026
|
-
[1m[35m (0.5ms)[0m ROLLBACK
|
1027
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1028
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1029
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1030
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
1031
|
-
[1m[36mSQL (1.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 11:35:14.664363"], ["updated_at", "2016-04-17 11:35:14.664363"]]
|
1032
|
-
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
1033
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
1034
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1036
|
-
[1m[35mHertz::Notification Load (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1038
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1039
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1040
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1041
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1042
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1044
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 2], ["receiver_type", "User"]]
|
1045
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1046
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1048
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 2], ["receiver_type", "User"]]
|
1049
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1050
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1051
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1052
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1053
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1054
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-17 11:35:14.713369"]]
|
1056
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1057
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1058
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1059
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1060
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1061
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1062
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 4], ["created_at", "2016-04-17 11:35:14.721878"]]
|
1064
|
-
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
1065
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1066
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.6ms)[0m RELEASE SAVEPOINT active_record_1
|
1069
|
-
[1m[36mHertz::Notification Load (1.0ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)[0m
|
1070
|
-
[1m[35m (0.5ms)[0m ROLLBACK
|
1071
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1072
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1073
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1074
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1075
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1076
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1077
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1078
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1079
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1080
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1081
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1082
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1083
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 11:35:14.746620"], ["updated_at", "2016-04-17 11:35:14.746620"]]
|
1084
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1086
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1087
|
-
[1m[36mSQL (0.5ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", "2016-04-17 11:35:14.751151"], ["id", 6]]
|
1088
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1089
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1090
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1091
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1092
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1093
|
-
[1m[36m (0.6ms)[0m [1mSAVEPOINT active_record_1[0m
|
1094
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
1097
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1098
|
-
[1m[35mSQL (0.3ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 7]]
|
1099
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1100
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1101
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1102
|
-
[1m[35m (0.8ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1103
|
-
[1m[36m (2.0ms)[0m [1m 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
|
-
[0m
|
1110
|
-
[1m[35m (2.1ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
1111
|
-
[1m[36m (7.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1112
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1113
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1114
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1115
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1116
|
-
[1m[35m (0.5ms)[0m ROLLBACK
|
1117
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1118
|
-
[1m[35m (0.1ms)[0m COMMIT
|
1119
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1120
|
-
[1m[35m (0.9ms)[0m SAVEPOINT active_record_1
|
1121
|
-
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 11:39:03.512013"], ["updated_at", "2016-04-17 11:39:03.512013"]]
|
1122
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1123
|
-
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
1124
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1125
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2016-04-17 11:39:03.544066"]]
|
1126
|
-
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
1127
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
1128
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
1129
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1130
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1131
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1132
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1133
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 11:39:03.552766"], ["updated_at", "2016-04-17 11:39:03.552766"]]
|
1134
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1135
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1136
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1138
|
-
[1m[35mHertz::Notification Load (0.4ms)[0m 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
|
-
[1m[36m (0.7ms)[0m [1mROLLBACK[0m
|
1140
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1141
|
-
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
1142
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1143
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1144
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-17 11:39:03.581408"]]
|
1146
|
-
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
1147
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1148
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1149
|
-
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
1150
|
-
[1m[35m (1.1ms)[0m BEGIN
|
1151
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
1152
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1153
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1154
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1155
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1156
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 4], ["created_at", "2016-04-17 11:39:03.602450"]]
|
1158
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1159
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1160
|
-
[1m[35mSQL (0.5ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-17 11:39:03.605606"], ["id", 4]]
|
1161
|
-
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1162
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1163
|
-
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
1164
|
-
[1m[35m (1.8ms)[0m COMMIT
|
1165
|
-
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
1166
|
-
[1m[35m (0.5ms)[0m ROLLBACK
|
1167
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1168
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1169
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1170
|
-
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
1171
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-17 11:39:03.635119"], ["updated_at", "2016-04-17 11:39:03.635119"]]
|
1172
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1174
|
-
[1m[35m (0.5ms)[0m SAVEPOINT active_record_1
|
1175
|
-
[1m[36mSQL (1.0ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", nil], ["id", 5]]
|
1176
|
-
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
1177
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
1178
|
-
[1m[35m (1.2ms)[0m BEGIN
|
1179
|
-
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
1180
|
-
[1m[35m (0.4ms)[0m BEGIN
|
1181
|
-
[1m[36m (0.6ms)[0m [1mSAVEPOINT active_record_1[0m
|
1182
|
-
[1m[35mSQL (0.6ms)[0m 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
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 6], ["created_at", "2016-04-17 11:39:03.663108"]]
|
1184
|
-
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
1185
|
-
[1m[36m (0.5ms)[0m [1mSAVEPOINT active_record_1[0m
|
1186
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
1189
|
-
[1m[36mHertz::Notification Load (0.4ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)[0m
|
1190
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
1191
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1192
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1193
|
-
[1m[36m (1.1ms)[0m [1m 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
|
-
[0m
|
1200
|
-
[1m[35m (1.9ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
1201
|
-
[1m[36m (6.8ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1202
|
-
[1m[35m (0.7ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1203
|
-
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
1204
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1205
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1206
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1207
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-18 10:04:31.587601"], ["updated_at", "2016-04-18 10:04:31.587601"]]
|
1208
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1209
|
-
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
1210
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1211
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2016-04-18 10:04:31.616159"]]
|
1212
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1213
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
1214
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1215
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1216
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1217
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1218
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1219
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-18 10:04:31.623337"], ["updated_at", "2016-04-18 10:04:31.623337"]]
|
1220
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1221
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1222
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1224
|
-
[1m[35mHertz::Notification Load (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1226
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1227
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1228
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1229
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
1230
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-18 10:04:31.646748"]]
|
1232
|
-
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
1233
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1234
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1235
|
-
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
1236
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1237
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1238
|
-
[1m[35m (0.5ms)[0m BEGIN
|
1239
|
-
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
1240
|
-
[1m[35m (0.4ms)[0m BEGIN
|
1241
|
-
[1m[36m (0.5ms)[0m [1mSAVEPOINT active_record_1[0m
|
1242
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
1245
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1246
|
-
[1m[35mSQL (0.3ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 4]]
|
1247
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1248
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1249
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1250
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1251
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1252
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
1253
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-18 10:04:31.678326"], ["updated_at", "2016-04-18 10:04:31.678326"]]
|
1254
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1256
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1257
|
-
[1m[36mSQL (0.5ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", "2016-04-18 10:04:31.682872"], ["id", 5]]
|
1258
|
-
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
1259
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
1260
|
-
[1m[35m (0.5ms)[0m BEGIN
|
1261
|
-
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
1262
|
-
[1m[35m (1.0ms)[0m BEGIN
|
1263
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
1264
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1265
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1266
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1267
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1268
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 6], ["created_at", "2016-04-18 10:04:31.701181"]]
|
1270
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1271
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1272
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1275
|
-
[1m[36mHertz::Notification Load (0.3ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)[0m
|
1276
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1277
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1278
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1279
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1280
|
-
[1m[35m (0.6ms)[0m ROLLBACK
|
1281
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1282
|
-
[1m[35m (0.6ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1283
|
-
[1m[36m (1.9ms)[0m [1m 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
|
-
[0m
|
1290
|
-
[1m[35m (1.3ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
1291
|
-
[1m[36m (10.6ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1292
|
-
[1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1293
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1294
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1295
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1296
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
1297
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-18 12:08:52.178969"], ["updated_at", "2016-04-18 12:08:52.178969"]]
|
1298
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1300
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
1301
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1302
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1303
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1304
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1305
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-18 12:08:52.190476"], ["updated_at", "2016-04-18 12:08:52.190476"]]
|
1306
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1308
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1309
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-18 12:08:52.194890"], ["updated_at", "2016-04-18 12:08:52.194890"]]
|
1310
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1312
|
-
[1m[35mHertz::Notification Load (0.5ms)[0m SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
|
1313
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1314
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1315
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1316
|
-
[1m[35m (0.3ms)[0m BEGIN
|
1317
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1318
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1321
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1322
|
-
[1m[35mSQL (0.3ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 4]]
|
1323
|
-
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1324
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1325
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1326
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1327
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1328
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1329
|
-
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-18 12:08:52.222708"], ["updated_at", "2016-04-18 12:08:52.222708"]]
|
1330
|
-
[1m[35mSQL (0.7ms)[0m 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
|
-
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1332
|
-
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
1333
|
-
[1m[36mSQL (0.5ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", "2016-04-18 12:08:52.231677"], ["id", 5]]
|
1334
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1335
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1336
|
-
[1m[35m (0.5ms)[0m BEGIN
|
1337
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1338
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1339
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1340
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1341
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1342
|
-
[1m[35m (0.3ms)[0m BEGIN
|
1343
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1344
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1345
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1346
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1347
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
1348
|
-
[1m[35m (0.4ms)[0m BEGIN
|
1349
|
-
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1350
|
-
[1m[35m (0.7ms)[0m BEGIN
|
1351
|
-
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
1352
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1354
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1355
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 6], ["receiver_type", "User"], ["created_at", "2016-04-18 12:08:52.266714"]]
|
1356
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1357
|
-
[1m[36mHertz::Notification Load (0.4ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 6], ["receiver_type", "User"]]
|
1358
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1359
|
-
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
1360
|
-
[1m[35m (0.4ms)[0m COMMIT
|
1361
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1362
|
-
[1m[35m (0.5ms)[0m SAVEPOINT active_record_1
|
1363
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-18 12:08:52.294059"], ["updated_at", "2016-04-18 12:08:52.294059"]]
|
1364
|
-
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
1365
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 7], ["receiver_type", "User"]]
|
1366
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
1367
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 7], ["receiver_type", "User"], ["created_at", "2016-04-18 12:08:52.300754"]]
|
1368
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1369
|
-
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 7], ["receiver_type", "User"]]
|
1370
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1371
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1372
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1373
|
-
[1m[36m (1.5ms)[0m [1m 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
|
-
[0m
|
1380
|
-
[1m[35m (1.5ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
1381
|
-
[1m[36m (6.2ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1382
|
-
[1m[35m (0.7ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1383
|
-
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
1384
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1385
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1386
|
-
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
1387
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-18 12:09:10.692352"], ["updated_at", "2016-04-18 12:09:10.692352"]]
|
1388
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1389
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
1390
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1392
|
-
[1m[35mHertz::Notification Load (0.3ms)[0m 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
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1394
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1395
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1396
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1397
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1398
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1400
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 2], ["receiver_type", "User"]]
|
1401
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
1402
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1404
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 2], ["receiver_type", "User"]]
|
1405
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1406
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1407
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1408
|
-
[1m[35m (0.3ms)[0m BEGIN
|
1409
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1410
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1411
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1412
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1413
|
-
[1m[36m (0.6ms)[0m [1mSAVEPOINT active_record_1[0m
|
1414
|
-
[1m[35mSQL (0.6ms)[0m 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
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-18 12:09:10.768412"]]
|
1416
|
-
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
1417
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1418
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1419
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1420
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1421
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1422
|
-
[1m[35m (0.3ms)[0m BEGIN
|
1423
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1424
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1425
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1426
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 4], ["created_at", "2016-04-18 12:09:10.780791"]]
|
1428
|
-
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
1429
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1430
|
-
[1m[35mSQL (0.9ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-18 12:09:10.783731"], ["id", 4]]
|
1431
|
-
[1m[36m (0.6ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1432
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1433
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1434
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1435
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1436
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1437
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1438
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1439
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1440
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1441
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-18 12:09:10.806738"], ["updated_at", "2016-04-18 12:09:10.806738"]]
|
1442
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1444
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1445
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-18 12:09:10.812123"], ["updated_at", "2016-04-18 12:09:10.812123"]]
|
1446
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1448
|
-
[1m[35mHertz::Notification Load (0.4ms)[0m SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
|
1449
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1450
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1451
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1452
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1453
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1454
|
-
[1m[35mSQL (0.8ms)[0m 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
|
-
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
1457
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1458
|
-
[1m[35mSQL (0.4ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 7]]
|
1459
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1460
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1461
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1462
|
-
[1m[35m (0.8ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1463
|
-
[1m[36m (2.1ms)[0m [1m 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
|
-
[0m
|
1470
|
-
[1m[35m (3.1ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
1471
|
-
[1m[36m (5.0ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1472
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1473
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1474
|
-
[1m[35m (0.1ms)[0m COMMIT
|
1475
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1476
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
1477
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1478
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1479
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1480
|
-
[1m[35m (0.5ms)[0m SAVEPOINT active_record_1
|
1481
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-18 12:09:28.408793"], ["updated_at", "2016-04-18 12:09:28.408793"]]
|
1482
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1484
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1485
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1486
|
-
[1m[35m (0.1ms)[0m COMMIT
|
1487
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1488
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
1489
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-18 12:09:28.421350"], ["updated_at", "2016-04-18 12:09:28.421350"]]
|
1490
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1492
|
-
[1m[35m (0.5ms)[0m SAVEPOINT active_record_1
|
1493
|
-
[1m[36mSQL (0.4ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", nil], ["id", 2]]
|
1494
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1495
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1496
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1497
|
-
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
1498
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1499
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1500
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-18 12:09:28.448681"]]
|
1502
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1503
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
1504
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1507
|
-
[1m[36mHertz::Notification Load (1.3ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)[0m
|
1508
|
-
[1m[35m (0.5ms)[0m ROLLBACK
|
1509
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1510
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1511
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1512
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1513
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-18 12:09:28.470208"], ["updated_at", "2016-04-18 12:09:28.470208"]]
|
1514
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1516
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1517
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", "2016-04-18 12:09:28.474720"], ["id", 5]]
|
1518
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1519
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1520
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1521
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1522
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1523
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1524
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1525
|
-
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
1526
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1527
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1528
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1529
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1530
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1531
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1532
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1534
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1535
|
-
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 6], ["receiver_type", "User"], ["created_at", "2016-04-18 12:09:28.492252"]]
|
1536
|
-
[1m[35m (0.5ms)[0m RELEASE SAVEPOINT active_record_1
|
1537
|
-
[1m[36mHertz::Notification Load (0.3ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 6], ["receiver_type", "User"]]
|
1538
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1539
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1540
|
-
[1m[35m (0.1ms)[0m COMMIT
|
1541
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1542
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1543
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-18 12:09:28.518315"], ["updated_at", "2016-04-18 12:09:28.518315"]]
|
1544
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1545
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 7], ["receiver_type", "User"]]
|
1546
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
1547
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 7], ["receiver_type", "User"], ["created_at", "2016-04-18 12:09:28.523950"]]
|
1548
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1549
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 7], ["receiver_type", "User"]]
|
1550
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1551
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1552
|
-
[1m[35m (0.9ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1553
|
-
[1m[36m (2.1ms)[0m [1m 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
|
-
[0m
|
1560
|
-
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
1561
|
-
[1m[36m (6.0ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1562
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1563
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1564
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1565
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1566
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
1567
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1568
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1569
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1570
|
-
[1m[35m (0.6ms)[0m ROLLBACK
|
1571
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1572
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1573
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1574
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1575
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-18 12:14:37.878406"], ["updated_at", "2016-04-18 12:14:37.878406"]]
|
1576
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1577
|
-
[1m[36m (0.5ms)[0m [1mSAVEPOINT active_record_1[0m
|
1578
|
-
[1m[35mSQL (1.3ms)[0m 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
|
-
[1m[36m (0.5ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1580
|
-
[1m[35mHertz::Notification Load (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1582
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1583
|
-
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
1584
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1585
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1586
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1588
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 2], ["receiver_type", "User"]]
|
1589
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1590
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1592
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 2], ["receiver_type", "User"]]
|
1593
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1594
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1595
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1596
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1597
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1598
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-18 12:14:37.934983"]]
|
1600
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1601
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1602
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1603
|
-
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
1604
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1605
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1606
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1607
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1608
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1609
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
1610
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.7ms)[0m RELEASE SAVEPOINT active_record_1
|
1613
|
-
[1m[36m (0.5ms)[0m [1mSAVEPOINT active_record_1[0m
|
1614
|
-
[1m[35mSQL (0.4ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 4]]
|
1615
|
-
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1616
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1617
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1618
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1619
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1620
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1621
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-04-18 12:14:37.967932"], ["updated_at", "2016-04-18 12:14:37.967932"]]
|
1622
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1624
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
1625
|
-
[1m[36mSQL (0.4ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", "2016-04-18 12:14:37.972288"], ["id", 5]]
|
1626
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1627
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1628
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1629
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1630
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1631
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1632
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1633
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1634
|
-
[1m[35m (1.2ms)[0m BEGIN
|
1635
|
-
[1m[36m (0.6ms)[0m [1mSAVEPOINT active_record_1[0m
|
1636
|
-
[1m[35mSQL (0.8ms)[0m 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
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 6], ["created_at", "2016-04-18 12:14:37.991028"]]
|
1638
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1639
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1640
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1643
|
-
[1m[36mHertz::Notification Load (0.4ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)[0m
|
1644
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1645
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1646
|
-
[1m[36m (113.2ms)[0m [1mDROP DATABASE IF EXISTS "hertz_test"[0m
|
1647
|
-
[1m[35m (273.4ms)[0m CREATE DATABASE "hertz_test" ENCODING = 'utf8'
|
1648
|
-
[1m[36mSQL (0.7ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1649
|
-
[1m[35mSQL (21.8ms)[0m CREATE EXTENSION IF NOT EXISTS "hstore"
|
1650
|
-
[1m[36m (6.8ms)[0m [1mCREATE 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) [0m
|
1651
|
-
[1m[35m (4.9ms)[0m CREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying NOT NULL)
|
1652
|
-
[1m[36m (2.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
1653
|
-
[1m[35m (2.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1654
|
-
[1m[36m (0.4ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1655
|
-
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160418122437')
|
1656
|
-
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160415175358')[0m
|
1657
|
-
[1m[35m (0.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160415175837')
|
1658
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1659
|
-
[1m[36m (0.5ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
1660
|
-
[1m[35m (1.2ms)[0m 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
|
-
[1m[36m (1.4ms)[0m [1mselect table_name from information_schema.views where table_schema = 'hertz_test'[0m
|
1668
|
-
[1m[35m (7.7ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1669
|
-
[1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1670
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1671
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1672
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1673
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1674
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1675
|
-
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
1676
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1677
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1678
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1679
|
-
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
1680
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1681
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1682
|
-
[1m[35m (0.6ms)[0m BEGIN
|
1683
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1684
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1685
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
1686
|
-
[1m[35m (0.3ms)[0m BEGIN
|
1687
|
-
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1688
|
-
[1m[35m (0.3ms)[0m BEGIN
|
1689
|
-
[1m[36m (0.7ms)[0m [1mROLLBACK[0m
|
1690
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1691
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1692
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1693
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1694
|
-
[1m[35m (0.4ms)[0m BEGIN
|
1695
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1696
|
-
[1m[35m (0.3ms)[0m BEGIN
|
1697
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
1698
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1699
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1700
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1701
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
1702
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1703
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1704
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1705
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
1706
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1707
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1708
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1709
|
-
[1m[36m (0.6ms)[0m [1mROLLBACK[0m
|
1710
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1711
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1712
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1713
|
-
[1m[36m (0.7ms)[0m [1mROLLBACK[0m
|
1714
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1715
|
-
[1m[35m (1.0ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1716
|
-
[1m[36m (2.4ms)[0m [1m 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
|
-
[0m
|
1723
|
-
[1m[35m (1.5ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
1724
|
-
[1m[36m (11.0ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1725
|
-
[1m[35m (1.2ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1726
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1727
|
-
[1m[35m (0.1ms)[0m COMMIT
|
1728
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1729
|
-
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
1730
|
-
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "clifford_beer@nienow.com"], ["created_at", "2016-04-18 12:27:17.210690"], ["updated_at", "2016-04-18 12:27:17.210690"]]
|
1731
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1733
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1734
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1735
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1736
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1737
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1738
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "uriah@schuster.name"], ["created_at", "2016-04-18 12:27:17.222789"], ["updated_at", "2016-04-18 12:27:17.222789"]]
|
1739
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1741
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1742
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "addison@crooks.net"], ["created_at", "2016-04-18 12:27:17.227217"], ["updated_at", "2016-04-18 12:27:17.227217"]]
|
1743
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1745
|
-
[1m[35mHertz::Notification Load (0.5ms)[0m SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
|
1746
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1747
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1748
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1749
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1750
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1751
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1752
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1753
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1754
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1755
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1756
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1757
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1758
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
1759
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 4], ["created_at", "2016-04-18 12:27:17.245768"]]
|
1761
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1762
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
1763
|
-
[1m[35mSQL (0.4ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-18 12:27:17.247991"], ["id", 4]]
|
1764
|
-
[1m[36m (0.5ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1765
|
-
[1m[35m (0.6ms)[0m ROLLBACK
|
1766
|
-
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
1767
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1768
|
-
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
1769
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
1770
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "melany.kuhic@johns.org"], ["created_at", "2016-04-18 12:27:17.265431"], ["updated_at", "2016-04-18 12:27:17.265431"]]
|
1771
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1773
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1774
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", nil], ["id", 5]]
|
1775
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1776
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1777
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1778
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1779
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1780
|
-
|
1781
|
-
Hertz::NotificationMailer#notification_email: processed outbound mail in 6.3ms
|
1782
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1783
|
-
[1m[35m (0.3ms)[0m BEGIN
|
1784
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1785
|
-
[1m[35m (0.3ms)[0m BEGIN
|
1786
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1787
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1788
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1789
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1790
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
1791
|
-
[1m[35m (0.4ms)[0m BEGIN
|
1792
|
-
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
1793
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1794
|
-
[1m[36m (0.5ms)[0m [1mSAVEPOINT active_record_1[0m
|
1795
|
-
[1m[35mSQL (0.7ms)[0m 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
|
-
[1m[36m (0.5ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1797
|
-
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
|
1798
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1799
|
-
[1m[35mSQL (0.6ms)[0m 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
|
-
[1m[36m (0.5ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1801
|
-
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
|
1802
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1803
|
-
[1m[35m (0.3ms)[0m BEGIN
|
1804
|
-
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1805
|
-
[1m[35m (0.4ms)[0m BEGIN
|
1806
|
-
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
1807
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1809
|
-
[1m[35m (0.5ms)[0m SAVEPOINT active_record_1
|
1810
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 7], ["receiver_type", "User"], ["created_at", "2016-04-18 12:27:17.496448"]]
|
1811
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1812
|
-
[1m[36mHertz::Notification Load (0.6ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 7], ["receiver_type", "User"]]
|
1813
|
-
[1m[35m (0.7ms)[0m ROLLBACK
|
1814
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1815
|
-
[1m[35m (0.9ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1816
|
-
[1m[36m (2.0ms)[0m [1m 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
|
-
[0m
|
1823
|
-
[1m[35m (1.4ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
1824
|
-
[1m[36m (10.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1825
|
-
[1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1826
|
-
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
1827
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1828
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1829
|
-
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
1830
|
-
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "gwen.wolff@heeltrantow.info"], ["created_at", "2016-04-18 12:28:54.961679"], ["updated_at", "2016-04-18 12:28:54.961679"]]
|
1831
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1833
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1834
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1835
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1836
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1837
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1838
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1839
|
-
[1m[35m (0.1ms)[0m COMMIT
|
1840
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1841
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1842
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1843
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1844
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1845
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1846
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "jon_abshire@brownhomenick.co"], ["created_at", "2016-04-18 12:28:54.980291"], ["updated_at", "2016-04-18 12:28:54.980291"]]
|
1847
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1849
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1850
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "darwin@robertsgreen.com"], ["created_at", "2016-04-18 12:28:54.985999"], ["updated_at", "2016-04-18 12:28:54.985999"]]
|
1851
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1853
|
-
[1m[35mHertz::Notification Load (0.4ms)[0m SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
|
1854
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1855
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1856
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1857
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1858
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1859
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1862
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1863
|
-
[1m[35mSQL (0.4ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 4]]
|
1864
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1865
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
1866
|
-
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
1867
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1868
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1869
|
-
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
1870
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "stephania@steuber.io"], ["created_at", "2016-04-18 12:28:55.012811"], ["updated_at", "2016-04-18 12:28:55.012811"]]
|
1871
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1873
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1874
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", "2016-04-18 12:28:55.017327"], ["id", 5]]
|
1875
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1876
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
1877
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1878
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1879
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1880
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1881
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1882
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1883
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1884
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1885
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1886
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1887
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1888
|
-
|
1889
|
-
Hertz::NotificationMailer#notification_email: processed outbound mail in 7.9ms
|
1890
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
1891
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1892
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1893
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1894
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1895
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1897
|
-
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
|
1898
|
-
[1m[36m (0.7ms)[0m [1mSAVEPOINT active_record_1[0m
|
1899
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36m (0.9ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1901
|
-
[1m[35m (0.7ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
|
1902
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1903
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1904
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1905
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1906
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1907
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.6ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1909
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1910
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 7], ["receiver_type", "User"], ["created_at", "2016-04-18 12:28:55.238279"]]
|
1911
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1912
|
-
[1m[36mHertz::Notification Load (0.4ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 7], ["receiver_type", "User"]]
|
1913
|
-
[1m[35m (0.6ms)[0m ROLLBACK
|
1914
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1915
|
-
[1m[35m (0.8ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1916
|
-
[1m[36m (2.3ms)[0m [1m 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
|
-
[0m
|
1923
|
-
[1m[35m (1.6ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
1924
|
-
[1m[36m (11.1ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1925
|
-
[1m[35m (0.7ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1926
|
-
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
1927
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1928
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1929
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
1930
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "sydnie.braun@oberbrunner.co"], ["created_at", "2016-04-18 12:30:56.763036"], ["updated_at", "2016-04-18 12:30:56.763036"]]
|
1931
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1933
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1934
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1935
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1936
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1937
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1938
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1939
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1940
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1941
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
1942
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1943
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1944
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1945
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1946
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "jermaine_toy@shanahanjerde.name"], ["created_at", "2016-04-18 12:30:56.782412"], ["updated_at", "2016-04-18 12:30:56.782412"]]
|
1947
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1949
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
1950
|
-
[1m[36mSQL (0.4ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", "2016-04-18 12:30:56.786167"], ["id", 2]]
|
1951
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1952
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1953
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1954
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1955
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1956
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1957
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-18 12:30:56.797958"]]
|
1959
|
-
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
1960
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
1961
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
1964
|
-
[1m[36mHertz::Notification Load (1.0ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)[0m
|
1965
|
-
[1m[35m (0.6ms)[0m ROLLBACK
|
1966
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1967
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1968
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1969
|
-
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
1970
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "dallas.white@gerlachmetz.com"], ["created_at", "2016-04-18 12:30:56.817048"], ["updated_at", "2016-04-18 12:30:56.817048"]]
|
1971
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1973
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1974
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", nil], ["id", 5]]
|
1975
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1976
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1977
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1978
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1979
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1980
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1981
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1983
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1984
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 6], ["receiver_type", "User"], ["created_at", "2016-04-18 12:30:56.829006"]]
|
1985
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1986
|
-
[1m[36mHertz::Notification Load (0.4ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 6], ["receiver_type", "User"]]
|
1987
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
1988
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1989
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1990
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1991
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1992
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "roel.skiles@schuppe.name"], ["created_at", "2016-04-18 12:30:56.850610"], ["updated_at", "2016-04-18 12:30:56.850610"]]
|
1993
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1994
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 7], ["receiver_type", "User"]]
|
1995
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1996
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 7], ["receiver_type", "User"], ["created_at", "2016-04-18 12:30:56.854800"]]
|
1997
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1998
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 7], ["receiver_type", "User"]]
|
1999
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
2000
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2001
|
-
[1m[35m (0.2ms)[0m COMMIT
|
2002
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2003
|
-
|
2004
|
-
Hertz::NotificationMailer#notification_email: processed outbound mail in 7.6ms
|
2005
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
2006
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2007
|
-
[1m[35m (0.2ms)[0m COMMIT
|
2008
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2009
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
2010
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
2011
|
-
[1m[35m (0.2ms)[0m COMMIT
|
2012
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2013
|
-
[1m[35m (0.5ms)[0m ROLLBACK
|
2014
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2015
|
-
[1m[35m (0.9ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
2016
|
-
[1m[36m (2.3ms)[0m [1m 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
|
-
[0m
|
2023
|
-
[1m[35m (2.3ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
2024
|
-
[1m[36m (12.2ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
2025
|
-
[1m[35m (0.7ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
2026
|
-
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
2027
|
-
[1m[35m (0.2ms)[0m COMMIT
|
2028
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2029
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
2030
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "rhiannon@gerlach.name"], ["created_at", "2016-04-18 12:31:28.930530"], ["updated_at", "2016-04-18 12:31:28.930530"]]
|
2031
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2033
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
2034
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2035
|
-
[1m[35m (0.2ms)[0m COMMIT
|
2036
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2037
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
2038
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2039
|
-
[1m[35m (0.2ms)[0m COMMIT
|
2040
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2041
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
2042
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "buck_doyle@lebsack.biz"], ["created_at", "2016-04-18 12:31:28.947703"], ["updated_at", "2016-04-18 12:31:28.947703"]]
|
2043
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2045
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2046
|
-
[1m[36mSQL (0.4ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", nil], ["id", 2]]
|
2047
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2048
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2049
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2050
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2051
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2052
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2053
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2054
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2055
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2056
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2057
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-18 12:31:28.965415"]]
|
2059
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2060
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
2061
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2064
|
-
[1m[36mHertz::Notification Load (0.8ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)[0m
|
2065
|
-
[1m[35m (0.6ms)[0m ROLLBACK
|
2066
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
2067
|
-
[1m[35m (0.2ms)[0m COMMIT
|
2068
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2069
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
2070
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "chelsey.kirlin@haag.biz"], ["created_at", "2016-04-18 12:31:28.983131"], ["updated_at", "2016-04-18 12:31:28.983131"]]
|
2071
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2073
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
2074
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", "2016-04-18 12:31:28.986766"], ["id", 5]]
|
2075
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2076
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2077
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2078
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2079
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2080
|
-
|
2081
|
-
Hertz::NotificationMailer#notification_email: processed outbound mail in 5.8ms
|
2082
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2083
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2084
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2085
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2086
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2087
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2088
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2089
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2090
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2091
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2093
|
-
[1m[35m (0.5ms)[0m SAVEPOINT active_record_1
|
2094
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 6], ["receiver_type", "User"], ["created_at", "2016-04-18 12:31:29.176034"]]
|
2095
|
-
[1m[35m (0.5ms)[0m RELEASE SAVEPOINT active_record_1
|
2096
|
-
[1m[36mHertz::Notification Load (0.3ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 6], ["receiver_type", "User"]]
|
2097
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
2098
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2099
|
-
[1m[35m (0.1ms)[0m COMMIT
|
2100
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2101
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2102
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "hugh@goyette.io"], ["created_at", "2016-04-18 12:31:29.198006"], ["updated_at", "2016-04-18 12:31:29.198006"]]
|
2103
|
-
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
2104
|
-
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 7], ["receiver_type", "User"]]
|
2105
|
-
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
2106
|
-
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 7], ["receiver_type", "User"], ["created_at", "2016-04-18 12:31:29.205822"]]
|
2107
|
-
[1m[35m (0.7ms)[0m RELEASE SAVEPOINT active_record_1
|
2108
|
-
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 7], ["receiver_type", "User"]]
|
2109
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
2110
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2111
|
-
[1m[35m (0.2ms)[0m COMMIT
|
2112
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2113
|
-
[1m[35m (0.4ms)[0m ROLLBACK
|
2114
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2115
|
-
[1m[35m (0.9ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
2116
|
-
[1m[36m (2.4ms)[0m [1m 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
|
-
[0m
|
2123
|
-
[1m[35m (2.8ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
2124
|
-
[1m[36m (12.2ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
2125
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
2126
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
2127
|
-
[1m[35m (0.2ms)[0m COMMIT
|
2128
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2129
|
-
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
2130
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "tabitha@abbott.co"], ["created_at", "2016-04-18 12:33:43.408440"], ["updated_at", "2016-04-18 12:33:43.408440"]]
|
2131
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2132
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
2133
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2135
|
-
[1m[35mHertz::Notification Load (0.4ms)[0m 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
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
2137
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2138
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2139
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2140
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2141
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2143
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 2], ["receiver_type", "User"]]
|
2144
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2145
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2147
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 2], ["receiver_type", "User"]]
|
2148
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2149
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2150
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2151
|
-
[1m[35m (0.2ms)[0m 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
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2156
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2157
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2158
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2159
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
2160
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-18 12:33:43.672145"]]
|
2162
|
-
[1m[35m (0.5ms)[0m RELEASE SAVEPOINT active_record_1
|
2163
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
2164
|
-
[1m[35m (0.6ms)[0m BEGIN
|
2165
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2166
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2167
|
-
[1m[36m (1.0ms)[0m [1mROLLBACK[0m
|
2168
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2169
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2170
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2171
|
-
[1m[36m (0.6ms)[0m [1mSAVEPOINT active_record_1[0m
|
2172
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2175
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2176
|
-
[1m[35mSQL (0.8ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 4]]
|
2177
|
-
[1m[36m (0.6ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2178
|
-
[1m[35m (0.6ms)[0m ROLLBACK
|
2179
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2180
|
-
[1m[35m (0.2ms)[0m COMMIT
|
2181
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2182
|
-
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
2183
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "arnoldo_borer@quitzonrunte.net"], ["created_at", "2016-04-18 12:33:43.713440"], ["updated_at", "2016-04-18 12:33:43.713440"]]
|
2184
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.7ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2186
|
-
[1m[35m (0.6ms)[0m SAVEPOINT active_record_1
|
2187
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "judah@jacobs.biz"], ["created_at", "2016-04-18 12:33:43.722182"], ["updated_at", "2016-04-18 12:33:43.722182"]]
|
2188
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2190
|
-
[1m[35mHertz::Notification Load (0.4ms)[0m SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
|
2191
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2192
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2193
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2194
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2195
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2196
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 7], ["created_at", "2016-04-18 12:33:43.733977"]]
|
2198
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2199
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
2200
|
-
[1m[35mSQL (0.4ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-18 12:33:43.737434"], ["id", 7]]
|
2201
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2202
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
2203
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
2204
|
-
[1m[35m (0.3ms)[0m COMMIT
|
2205
|
-
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
2206
|
-
[1m[35m (0.5ms)[0m ROLLBACK
|
2207
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
2208
|
-
[1m[35m (0.2ms)[0m COMMIT
|
2209
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2210
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
2211
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2212
|
-
[1m[35m (0.2ms)[0m COMMIT
|
2213
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2214
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
2215
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2216
|
-
[1m[35m (0.8ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
2217
|
-
[1m[36m (2.0ms)[0m [1m 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
|
-
[0m
|
2224
|
-
[1m[35m (1.7ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
2225
|
-
[1m[36m (10.1ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
2226
|
-
[1m[35m (1.0ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
2227
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
2228
|
-
[1m[35m (0.1ms)[0m COMMIT
|
2229
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2230
|
-
Rendered hertz/notification_mailer/test_notification.html.erb (1.3ms)
|
2231
|
-
|
2232
|
-
Hertz::NotificationMailer#notification_email: processed outbound mail in 13.3ms
|
2233
|
-
[1m[35m (0.5ms)[0m ROLLBACK
|
2234
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2235
|
-
[1m[35m (0.2ms)[0m COMMIT
|
2236
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2237
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2238
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "murl@quitzoncrooks.biz"], ["created_at", "2016-04-18 12:34:04.526952"], ["updated_at", "2016-04-18 12:34:04.526952"]]
|
2239
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2240
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2241
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2243
|
-
[1m[35mHertz::Notification Load (0.4ms)[0m 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
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2245
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2246
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2247
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2248
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2249
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2251
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 2], ["receiver_type", "User"]]
|
2252
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
2253
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2255
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 2], ["receiver_type", "User"]]
|
2256
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2257
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2258
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2259
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2260
|
-
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
2261
|
-
[1m[35m (0.3ms)[0m BEGIN
|
2262
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2263
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2264
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2265
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2266
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2267
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2268
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2269
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-04-18 12:34:04.590919"]]
|
2271
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2272
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2273
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2274
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2275
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2276
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2277
|
-
[1m[35mSQL (0.9ms)[0m 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
|
-
[1m[36mSQL (1.1ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 4], ["created_at", "2016-04-18 12:34:04.599604"]]
|
2279
|
-
[1m[35m (0.5ms)[0m RELEASE SAVEPOINT active_record_1
|
2280
|
-
[1m[36m (0.5ms)[0m [1mSAVEPOINT active_record_1[0m
|
2281
|
-
[1m[35mSQL (0.5ms)[0m 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
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2284
|
-
[1m[36mHertz::Notification Load (0.4ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)[0m
|
2285
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
2286
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2287
|
-
[1m[35m (0.2ms)[0m COMMIT
|
2288
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2289
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2290
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "cade.thompson@schimmel.co"], ["created_at", "2016-04-18 12:34:04.616497"], ["updated_at", "2016-04-18 12:34:04.616497"]]
|
2291
|
-
[1m[35mSQL (0.2ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2293
|
-
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
2294
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", nil], ["id", 6]]
|
2295
|
-
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
2296
|
-
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
2297
|
-
[1m[35m (0.5ms)[0m BEGIN
|
2298
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2299
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2300
|
-
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
2301
|
-
[1m[35m (0.3ms)[0m BEGIN
|
2302
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2303
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2304
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2305
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2306
|
-
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2307
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2308
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2309
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 7], ["created_at", "2016-04-18 12:34:04.645197"]]
|
2311
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2312
|
-
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
2313
|
-
[1m[35mSQL (0.4ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-18 12:34:04.647824"], ["id", 7]]
|
2314
|
-
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2315
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
2316
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2317
|
-
[1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
2318
|
-
[1m[36m (1.1ms)[0m [1m 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
|
-
[0m
|
2325
|
-
[1m[35m (1.5ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
2326
|
-
[1m[36m (20.2ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
2327
|
-
[1m[35m (0.9ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
2328
|
-
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
2329
|
-
[1m[35m (0.3ms)[0m COMMIT
|
2330
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2331
|
-
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
2332
|
-
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "alexandro_ruel@crist.com"], ["created_at", "2016-04-18 14:40:07.153132"], ["updated_at", "2016-04-18 14:40:07.153132"]]
|
2333
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2335
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
2336
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
2337
|
-
[1m[35m (0.2ms)[0m COMMIT
|
2338
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2339
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
2340
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "chelsea@kuphal.io"], ["created_at", "2016-04-18 14:40:07.164893"], ["updated_at", "2016-04-18 14:40:07.164893"]]
|
2341
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2343
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2344
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "valerie_breitenberg@williamson.org"], ["created_at", "2016-04-18 14:40:07.169882"], ["updated_at", "2016-04-18 14:40:07.169882"]]
|
2345
|
-
[1m[35mSQL (0.4ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2347
|
-
[1m[35mHertz::Notification Load (0.5ms)[0m SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
|
2348
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2349
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2350
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2351
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2352
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2353
|
-
[1m[35mSQL (0.3ms)[0m 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
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2356
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2357
|
-
[1m[35mSQL (0.3ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 4]]
|
28
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "mike_roberts@braunjohnston.name"], ["created_at", "2016-05-08 08:57:57.682543"], ["updated_at", "2016-05-08 08:57:57.682543"]]
|
29
|
+
[1m[35mSQL (1.2ms)[0m 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
|
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2359
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
2360
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2361
|
-
[1m[35m (0.2ms)[0m COMMIT
|
2362
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2363
|
-
[1m[35m (0.5ms)[0m SAVEPOINT active_record_1
|
2364
|
-
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "marian.fisher@murray.net"], ["created_at", "2016-04-18 14:40:07.198152"], ["updated_at", "2016-04-18 14:40:07.198152"]]
|
2365
|
-
[1m[35mSQL (0.7ms)[0m 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
|
-
[1m[36m (0.5ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2367
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
2368
|
-
[1m[36mSQL (0.4ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", "2016-04-18 14:40:07.206670"], ["id", 5]]
|
2369
|
-
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
2370
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2371
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2372
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2373
|
-
[1m[35m (0.3ms)[0m BEGIN
|
2374
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2375
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2376
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2377
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2378
|
-
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2379
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2380
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2381
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2382
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2383
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2384
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2385
|
-
[1m[35m (0.2ms)[0m 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
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2390
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2391
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2392
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2393
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2394
|
-
[1m[35mSQL (0.6ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2396
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2397
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 6], ["receiver_type", "User"], ["created_at", "2016-04-18 14:40:07.409302"]]
|
2398
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2399
|
-
[1m[36mHertz::Notification Load (0.3ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 6], ["receiver_type", "User"]]
|
2400
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
2401
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2402
|
-
[1m[35m (0.2ms)[0m COMMIT
|
2403
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2404
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2405
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "thurman_kautzer@zulauf.biz"], ["created_at", "2016-04-18 14:40:07.426364"], ["updated_at", "2016-04-18 14:40:07.426364"]]
|
2406
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2407
|
-
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 7], ["receiver_type", "User"]]
|
2408
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
2409
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 7], ["receiver_type", "User"], ["created_at", "2016-04-18 14:40:07.430861"]]
|
2410
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2411
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 7], ["receiver_type", "User"]]
|
2412
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
2413
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2414
|
-
[1m[35m (0.2ms)[0m COMMIT
|
2415
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2416
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
2417
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2418
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
2419
|
-
[1m[36m (1.2ms)[0m [1m 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
|
-
[0m
|
2426
|
-
[1m[35m (1.0ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
2427
|
-
[1m[36m (6.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
2428
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
2429
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2430
|
-
[1m[35m (0.3ms)[0m COMMIT
|
2431
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2432
|
-
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
2433
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "maggie@barrows.co"], ["created_at", "2016-04-18 14:58:00.766412"], ["updated_at", "2016-04-18 14:58:00.766412"]]
|
2434
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2435
|
-
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
2436
|
-
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
2437
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2016-04-18 14:58:00.792017"]]
|
2438
|
-
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
2439
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
2440
31
|
[1m[35m (0.3ms)[0m ROLLBACK
|
2441
|
-
[1m[36m (0.
|
32
|
+
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
2442
33
|
[1m[35m (0.2ms)[0m COMMIT
|
2443
34
|
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
35
|
+
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
36
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "kurt@boehm.net"], ["created_at", "2016-05-08 08:57:57.696993"], ["updated_at", "2016-05-08 08:57:57.696993"]]
|
37
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2444
39
|
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
2445
|
-
[1m[36mSQL (0.
|
2446
|
-
[1m[
|
2447
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2448
|
-
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "allan@mueller.info"], ["created_at", "2016-05-08 08:57:57.703030"], ["updated_at", "2016-05-08 08:57:57.703030"]]
|
41
|
+
[1m[35mSQL (0.4ms)[0m 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
|
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2450
|
-
[1m[35mHertz::Notification Load (0.
|
2451
|
-
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2452
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2453
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2454
|
-
[1m[35m (0.2ms)[0m BEGIN
|
43
|
+
[1m[35mHertz::Notification Load (0.5ms)[0m SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
|
2455
44
|
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2456
45
|
[1m[35m (0.3ms)[0m BEGIN
|
2457
|
-
[1m[36m (0.
|
46
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2458
47
|
[1m[35m (0.2ms)[0m BEGIN
|
2459
48
|
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
2460
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "
|
2461
|
-
[1m[36mSQL (0.
|
49
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
52
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
53
|
+
[1m[35mSQL (1.0ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 4]]
|
54
|
+
[1m[36m (0.6ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
55
|
+
[1m[35m (1.0ms)[0m ROLLBACK
|
56
|
+
[1m[36m (2.5ms)[0m [1mBEGIN[0m
|
57
|
+
[1m[35m (0.8ms)[0m COMMIT
|
58
|
+
[1m[36m (1.6ms)[0m [1mBEGIN[0m
|
59
|
+
[1m[35m (0.7ms)[0m ROLLBACK
|
60
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
61
|
+
[1m[35m (0.2ms)[0m COMMIT
|
62
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
63
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
64
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "mateo_lang@mitchell.org"], ["created_at", "2016-05-08 08:57:57.744663"], ["updated_at", "2016-05-08 08:57:57.744663"]]
|
65
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
68
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", "2016-05-08 08:57:57.748336"], ["id", 5]]
|
2462
69
|
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2463
70
|
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2464
71
|
[1m[35m (0.2ms)[0m BEGIN
|
2465
|
-
[1m[36m (0.
|
2466
|
-
[1m[35m (0.5ms)[0m BEGIN
|
2467
|
-
[1m[36m (0.6ms)[0m [1mROLLBACK[0m
|
2468
|
-
[1m[35m (0.3ms)[0m BEGIN
|
2469
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
72
|
+
[1m[36m (0.7ms)[0m [1mCOMMIT[0m
|
2470
73
|
[1m[35m (0.2ms)[0m BEGIN
|
2471
74
|
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2472
75
|
[1m[35m (0.2ms)[0m BEGIN
|
76
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
77
|
+
[1m[35m (0.2ms)[0m BEGIN
|
78
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
79
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2473
80
|
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2474
81
|
[1m[35m (0.2ms)[0m BEGIN
|
2475
|
-
[1m[36m (0.
|
2476
|
-
[1m[35mSQL (0.
|
2477
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 4], ["created_at", "2016-04-18 14:58:00.845885"]]
|
2478
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2479
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2480
|
-
[1m[35mSQL (0.4ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-04-18 14:58:00.848057"], ["id", 4]]
|
2481
|
-
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2482
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
2483
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2484
|
-
[1m[35m (0.2ms)[0m COMMIT
|
2485
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2486
|
-
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2487
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "eden.dibbert@breitenbergleannon.name"], ["created_at", "2016-04-18 14:58:00.858608"], ["updated_at", "2016-04-18 14:58:00.858608"]]
|
2488
|
-
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
83
|
+
[1m[35mSQL (0.4ms)[0m 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
|
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2490
|
-
[1m[35m (0.
|
2491
|
-
[1m[
|
2492
|
-
[1m[35mSQL (0.
|
85
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
|
86
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
87
|
+
[1m[35mSQL (0.3ms)[0m 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
|
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2494
|
-
[1m[
|
2495
|
-
[1m[36m (0.
|
89
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 6], ["receiver_type", "User"]]
|
90
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2496
91
|
[1m[35m (0.2ms)[0m BEGIN
|
2497
92
|
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2498
93
|
[1m[35m (0.2ms)[0m BEGIN
|
2499
94
|
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2500
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["email", "
|
2501
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
-
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2503
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2504
|
-
[1m[35mSQL (0.3ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 7]]
|
95
|
+
[1m[35mSQL (0.3ms)[0m 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
|
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
97
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
98
|
+
[1m[36mSQL (1.5ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 7], ["receiver_type", "User"], ["created_at", "2016-05-08 08:57:57.783114"]]
|
99
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
100
|
+
[1m[36mHertz::Notification Load (0.3ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 7], ["receiver_type", "User"]]
|
2506
101
|
[1m[35m (0.2ms)[0m ROLLBACK
|
2507
|
-
[1m[
|
2508
|
-
[1m[
|
2509
|
-
[1m[
|
2510
|
-
[1m[
|
2511
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2512
|
-
[1m[35m (0.2ms)[0m COMMIT
|
2513
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2514
|
-
Rendered hertz/notification_mailer/test_notification.html.erb (1.1ms)
|
2515
|
-
|
2516
|
-
Hertz::NotificationMailer#notification_email: processed outbound mail in 11.5ms
|
2517
|
-
[1m[35m (0.3ms)[0m ROLLBACK
|
2518
|
-
[1m[36mActiveRecord::SchemaMigration Load (1.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2519
|
-
[1m[35m (2.3ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
2520
|
-
[1m[36m (1.4ms)[0m [1m SELECT schemaname || '.' || tablename
|
102
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
103
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
104
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
105
|
+
[1m[36m (4.8ms)[0m [1m 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
|
[0m
|
2527
|
-
[1m[35m (
|
2528
|
-
[1m[36m (
|
112
|
+
[1m[35m (3.7ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
113
|
+
[1m[36m (23.6ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
2529
114
|
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
2530
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
2531
|
-
[1m[35m (0.2ms)[0m COMMIT
|
2532
115
|
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2533
|
-
[1m[35m (0.
|
2534
|
-
[1m[
|
2535
|
-
[1m[35m (0.3ms)[0m
|
2536
|
-
[1m[36m (
|
2537
|
-
[1m[35m (
|
2538
|
-
[1m[
|
116
|
+
[1m[35m (0.2ms)[0m COMMIT
|
117
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
118
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
119
|
+
[1m[36m (1.2ms)[0m [1mBEGIN[0m
|
120
|
+
[1m[35m (1.8ms)[0m COMMIT
|
121
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
122
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
123
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "theresa@mayer.co"], ["created_at", "2016-05-08 09:42:59.820995"], ["updated_at", "2016-05-08 09:42:59.820995"]]
|
2539
124
|
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2540
125
|
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
2541
|
-
[1m[35m (0.
|
126
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
127
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2016-05-08 09:42:59.837958"]]
|
128
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
129
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
130
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
2542
131
|
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2543
|
-
[1m[35m (0.
|
132
|
+
[1m[35m (0.1ms)[0m COMMIT
|
133
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
134
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
135
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "lionel.murphy@blanda.io"], ["created_at", "2016-05-08 09:42:59.844332"], ["updated_at", "2016-05-08 09:42:59.844332"]]
|
136
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
137
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
138
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
140
|
+
[1m[35mHertz::Notification Load (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
142
|
+
[1m[35m (0.1ms)[0m BEGIN
|
143
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
144
|
+
[1m[35m (0.1ms)[0m BEGIN
|
145
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
146
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-05-08 09:42:59.857535"]]
|
148
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
149
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
150
|
+
[1m[35m (0.1ms)[0m BEGIN
|
151
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
152
|
+
[1m[35m (0.1ms)[0m BEGIN
|
153
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
154
|
+
[1m[35m (0.2ms)[0m BEGIN
|
155
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
156
|
+
[1m[35m (0.1ms)[0m BEGIN
|
157
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
158
|
+
[1m[35m (0.1ms)[0m BEGIN
|
159
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
160
|
+
[1m[35m (0.1ms)[0m BEGIN
|
161
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
162
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
165
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
166
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 4]]
|
167
|
+
[1m[36m (1.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
168
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
2544
169
|
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
170
|
+
[1m[35m (1.5ms)[0m COMMIT
|
171
|
+
[1m[36m (1.4ms)[0m [1mBEGIN[0m
|
172
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
173
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "fern.hackett@doyle.name"], ["created_at", "2016-05-08 09:42:59.895981"], ["updated_at", "2016-05-08 09:42:59.895981"]]
|
174
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2545
176
|
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
2546
|
-
[1m[36mSQL (0.
|
2547
|
-
[1m[
|
177
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["email", "carroll.dubuque@hillchroeder.net"], ["created_at", "2016-05-08 09:42:59.900473"], ["updated_at", "2016-05-08 09:42:59.900473"]]
|
178
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.7ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
180
|
+
[1m[35mHertz::Notification Load (0.4ms)[0m SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
|
181
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
182
|
+
[1m[35m (0.1ms)[0m BEGIN
|
183
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
184
|
+
[1m[35m (0.1ms)[0m BEGIN
|
185
|
+
[1m[36m (0.8ms)[0m [1mSAVEPOINT active_record_1[0m
|
186
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 7], ["created_at", "2016-05-08 09:42:59.918024"]]
|
188
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2548
189
|
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2549
|
-
[1m[35mSQL (0.
|
2550
|
-
[1m[36m (0.
|
2551
|
-
[1m[
|
2552
|
-
[1m[
|
2553
|
-
[1m[
|
2554
|
-
[1m[
|
2555
|
-
[1m[
|
2556
|
-
[1m[
|
2557
|
-
[1m[
|
2558
|
-
[1m[
|
190
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-05-08 09:42:59.921735"], ["id", 7]]
|
191
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
192
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
193
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
194
|
+
[1m[36m (106.8ms)[0m [1mDROP DATABASE IF EXISTS "hertz_test"[0m
|
195
|
+
[1m[35m (367.6ms)[0m CREATE DATABASE "hertz_test" ENCODING = 'utf8'
|
196
|
+
[1m[36mSQL (0.6ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
197
|
+
[1m[35mSQL (30.4ms)[0m CREATE EXTENSION IF NOT EXISTS "hstore"
|
198
|
+
[1m[36m (9.5ms)[0m [1mCREATE 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) [0m
|
199
|
+
[1m[35m (5.8ms)[0m CREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
200
|
+
[1m[36m (4.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
201
|
+
[1m[35m (4.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
202
|
+
[1m[36m (0.6ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
203
|
+
[1m[35m (1.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160508094342')
|
204
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160415175837')[0m
|
205
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160415175358')
|
206
|
+
[1m[36m (3.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160418122437')[0m
|
207
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.6ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
208
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
209
|
+
[1m[35m (2.3ms)[0m 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
|
+
[1m[36m (2.5ms)[0m [1mselect table_name from information_schema.views where table_schema = 'hertz_test'[0m
|
217
|
+
[1m[35m (22.6ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
218
|
+
[1m[36m (1.6ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
219
|
+
[1m[35m (0.3ms)[0m BEGIN
|
220
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2559
221
|
[1m[35m (0.2ms)[0m BEGIN
|
2560
|
-
[1m[36m (0.
|
222
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
223
|
+
[1m[35m (0.1ms)[0m BEGIN
|
224
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2561
225
|
[1m[35m (0.3ms)[0m BEGIN
|
2562
|
-
[1m[36m (0.2ms)[0m [
|
226
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
227
|
+
[1m[35mSQL (0.6ms)[0m 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
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2016-05-08 09:44:03.807237"]]
|
229
|
+
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
230
|
+
[1m[36m (1.1ms)[0m [1mROLLBACK[0m
|
2563
231
|
[1m[35m (0.2ms)[0m BEGIN
|
2564
|
-
|
2565
|
-
|
2566
|
-
Hertz::NotificationMailer#notification_email: processed outbound mail in 18.0ms
|
232
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
233
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2567
234
|
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
2568
235
|
[1m[35m (0.2ms)[0m BEGIN
|
2569
|
-
[1m[36m (0.
|
2570
|
-
[1m[35m (0.
|
2571
|
-
[1m[36m (0.
|
2572
|
-
[1m[
|
2573
|
-
[1m[
|
236
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
237
|
+
[1m[35m (0.1ms)[0m BEGIN
|
238
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
239
|
+
[1m[35m (0.1ms)[0m BEGIN
|
240
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
241
|
+
[1m[35m (0.1ms)[0m BEGIN
|
242
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
243
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 2], ["created_at", "2016-05-08 09:44:03.830017"]]
|
245
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
246
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
247
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
250
|
+
[1m[36mHertz::Notification Load (1.8ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)[0m
|
251
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
252
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
253
|
+
[1m[35m (0.1ms)[0m COMMIT
|
254
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
255
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
256
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-05-08 09:44:03.847493"], ["updated_at", "2016-05-08 09:44:03.847493"]]
|
257
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
259
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
260
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", nil], ["id", 4]]
|
261
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
262
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
263
|
+
[1m[35m (0.4ms)[0m BEGIN
|
264
|
+
[1m[36m (0.7ms)[0m [1mCOMMIT[0m
|
265
|
+
[1m[35m (0.1ms)[0m BEGIN
|
266
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
267
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 5], ["created_at", "2016-05-08 09:44:03.867947"]]
|
2574
269
|
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
270
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
271
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-05-08 09:44:03.870491"], ["id", 5]]
|
272
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
273
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
274
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
275
|
+
[1m[35m (0.1ms)[0m COMMIT
|
276
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
277
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
278
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-05-08 09:44:03.879831"], ["updated_at", "2016-05-08 09:44:03.879831"]]
|
279
|
+
[1m[35m (0.7ms)[0m RELEASE SAVEPOINT active_record_1
|
280
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
281
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
283
|
+
[1m[35mHertz::Notification Load (0.4ms)[0m 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
|
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
2576
|
-
[1m[35m (0.
|
2577
|
-
[1m[36m (0.
|
2578
|
-
[1m[35m (0.
|
285
|
+
[1m[35m (0.1ms)[0m BEGIN
|
286
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
287
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2579
288
|
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2580
|
-
[1m[35mSQL (
|
2581
|
-
[1m[
|
2582
|
-
[1m[35m (0.
|
289
|
+
[1m[35mSQL (1.4ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
291
|
+
[1m[35m (0.3ms)[0m 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
|
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2584
|
-
[1m[35mSQL (0.4ms)[0m
|
293
|
+
[1m[35mSQL (0.4ms)[0m 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
|
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2586
|
-
[1m[35m (0.
|
295
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 7], ["receiver_type", "User"]]
|
296
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
297
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
298
|
+
[1m[35m (7.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
299
|
+
[1m[36m (1.4ms)[0m [1m 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
|
+
[0m
|
306
|
+
[1m[35m (1.4ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
307
|
+
[1m[36m (9.8ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
308
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
2587
309
|
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2588
310
|
[1m[35m (0.2ms)[0m COMMIT
|
2589
311
|
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
312
|
+
[1m[35m (0.8ms)[0m SAVEPOINT active_record_1
|
313
|
+
[1m[36mSQL (3.6ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-05-08 09:44:40.578060"], ["updated_at", "2016-05-08 09:44:40.578060"]]
|
314
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
315
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
316
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
317
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_id", "receiver_type", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2016-05-08 09:44:40.620014"]]
|
318
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
319
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
320
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
321
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
322
|
+
[1m[35m (0.3ms)[0m COMMIT
|
323
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
324
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
325
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-05-08 09:44:40.628528"], ["updated_at", "2016-05-08 09:44:40.628528"]]
|
326
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
327
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
328
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
330
|
+
[1m[35mHertz::Notification Load (0.5ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
332
|
+
[1m[35m (0.3ms)[0m BEGIN
|
333
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
334
|
+
[1m[35m (0.3ms)[0m BEGIN
|
335
|
+
[1m[36m (1.5ms)[0m [1mROLLBACK[0m
|
336
|
+
[1m[35m (0.4ms)[0m BEGIN
|
337
|
+
[1m[36m (0.8ms)[0m [1mCOMMIT[0m
|
338
|
+
[1m[35m (2.8ms)[0m BEGIN
|
339
|
+
[1m[36m (0.8ms)[0m [1mSAVEPOINT active_record_1[0m
|
340
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 3], ["created_at", "2016-05-08 09:44:40.667555"]]
|
342
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
343
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
344
|
+
[1m[35m (0.1ms)[0m BEGIN
|
345
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
346
|
+
[1m[35m (0.1ms)[0m BEGIN
|
347
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
348
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 4], ["created_at", "2016-05-08 09:44:40.677479"]]
|
350
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
351
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
352
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
355
|
+
[1m[36mHertz::Notification Load (0.3ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)[0m
|
2590
356
|
[1m[35m (0.2ms)[0m ROLLBACK
|
2591
357
|
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2592
358
|
[1m[35m (0.2ms)[0m COMMIT
|
359
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
360
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
361
|
+
[1m[36m (1.7ms)[0m [1mBEGIN[0m
|
362
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2593
363
|
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2594
|
-
[1m[35m (0.
|
2595
|
-
[1m[36mSQL (0.
|
2596
|
-
[1m[35mSQL (0.
|
2597
|
-
[1m[36m (0.
|
2598
|
-
[1m[35m (0.
|
2599
|
-
[1m[36mSQL (
|
2600
|
-
[1m[
|
2601
|
-
[1m[36m (
|
2602
|
-
[1m[
|
2603
|
-
[1m[36m (
|
2604
|
-
[1m[35m (
|
2605
|
-
[1m[36m (0.
|
2606
|
-
[1m[35m (0.
|
2607
|
-
[1m[36m (0.
|
2608
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2609
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
364
|
+
[1m[35m (0.8ms)[0m SAVEPOINT active_record_1
|
365
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-05-08 09:44:40.706615"], ["updated_at", "2016-05-08 09:44:40.706615"]]
|
366
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
368
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
369
|
+
[1m[36mSQL (3.8ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", "2016-05-08 09:44:40.711782"], ["id", 6]]
|
370
|
+
[1m[35m (1.0ms)[0m RELEASE SAVEPOINT active_record_1
|
371
|
+
[1m[36m (1.9ms)[0m [1mROLLBACK[0m
|
372
|
+
[1m[35m (0.7ms)[0m BEGIN
|
373
|
+
[1m[36m (1.1ms)[0m [1mCOMMIT[0m
|
374
|
+
[1m[35m (1.2ms)[0m BEGIN
|
375
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
376
|
+
[1m[35m (0.3ms)[0m BEGIN
|
377
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2610
378
|
[1m[35m (0.3ms)[0m BEGIN
|
2611
379
|
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
2612
|
-
[1m[35mSQL (0.
|
2613
|
-
[1m[36mSQL (0.
|
2614
|
-
[1m[35m (0.
|
2615
|
-
[1m[36m (0.
|
2616
|
-
[1m[35mSQL (
|
2617
|
-
[1m[36m (
|
2618
|
-
[1m[35m (0.
|
380
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "hertz_notifications" ("type", "receiver_type", "read_at", "receiver_id", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
+
[1m[35m (0.8ms)[0m RELEASE SAVEPOINT active_record_1
|
383
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
384
|
+
[1m[35mSQL (1.2ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 7]]
|
385
|
+
[1m[36m (2.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
386
|
+
[1m[35m (0.7ms)[0m ROLLBACK
|