hertz 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +21 -5
- data/Rakefile +4 -28
- data/lib/hertz/notifiable.rb +12 -7
- data/lib/hertz/version.rb +1 -1
- data/spec/dummy/config/application.rb +0 -4
- data/spec/dummy/config/environments/test.rb +2 -2
- data/spec/dummy/log/development.log +55 -112
- data/spec/dummy/log/test.log +217 -2422
- data/spec/examples.txt +18 -16
- data/spec/hertz/notifiable_spec.rb +23 -4
- metadata +65 -59
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c8e68503e096686df34154aa408c9be5c6da1b2
|
4
|
+
data.tar.gz: 29e1f953432781ae90ce94c4df6b852eb51874ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71e5878ddeb33fb7624b16856773816ed0179703f749cca80ad5ee54b68ccec2657318f3f508a83b582612e6adbc320dbbf1933c6049d0e5a73fc346add26cf6
|
7
|
+
data.tar.gz: b096290f7a0dd92c9769d741e9c9001ef4020a91e2caf37d1be73deb6c5767af7d7da696f757ba5e07f27ac8d2d99f66f4fe6033569893456516d51ce0e4f228
|
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# Hertz
|
2
2
|
|
3
|
-
[![Gem Version](https://
|
4
|
-
[![Dependency Status](https://
|
5
|
-
[![Code Climate](https://
|
3
|
+
[![Gem Version](https://img.shields.io/gem/v/hertz.svg?maxAge=3600&style=flat-square)](https://rubygems.org/gems/hertz)
|
4
|
+
[![Dependency Status](https://img.shields.io/gemnasium/alessandro1997/hertz.svg?maxAge=3600&style=flat-square)](https://gemnasium.com/github.com/alessandro1997/hertz)
|
5
|
+
[![Code Climate](https://img.shields.io/codeclimate/github/alessandro1997/hertz.svg?maxAge=3600&style=flat-square)](https://codeclimate.com/github/alessandro1997/hertz)
|
6
6
|
|
7
7
|
Hertz is a Ruby on Rails engine for sending in-app notifications to your users.
|
8
8
|
|
@@ -125,8 +125,9 @@ the type you use when attaching it.
|
|
125
125
|
You can use `#notify` for notifying a user:
|
126
126
|
|
127
127
|
```ruby
|
128
|
-
|
129
|
-
|
128
|
+
user.notify(CommentNotification.new(meta: { comment_id: comment.id }))
|
129
|
+
# or
|
130
|
+
user.notify(CommentNotification, comment_id: comment.id)
|
130
131
|
```
|
131
132
|
|
132
133
|
You can access a user's notifications with `#notifications`:
|
@@ -143,6 +144,21 @@ notification.mark_as_read
|
|
143
144
|
notification.mark_as_unread
|
144
145
|
```
|
145
146
|
|
147
|
+
### Tracking delivery status
|
148
|
+
|
149
|
+
Hertz provides an API couriers can use to mark the notification as delivered.
|
150
|
+
This allows you to know which couriers have successfully delivered your
|
151
|
+
notifications and helps prevent double deliveries:
|
152
|
+
|
153
|
+
```ruby
|
154
|
+
notification.delivered_with?(:email) # => false
|
155
|
+
notification.mark_delivered_with(:email) # => Hertz::Delivery
|
156
|
+
notification.delivered_with?(:email) # => true
|
157
|
+
```
|
158
|
+
|
159
|
+
Hertz does not enforce usage of the delivery API in any way, so some couriers
|
160
|
+
might not take advantage of it.
|
161
|
+
|
146
162
|
## Available couriers
|
147
163
|
|
148
164
|
- [hertz-courier-twilio](https://github.com/alessandro1997/hertz-courier-twilio):
|
data/Rakefile
CHANGED
@@ -1,30 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
rescue LoadError
|
4
|
-
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
5
|
-
end
|
1
|
+
require "bundler/gem_tasks"
|
2
|
+
require "rspec/core/rake_task"
|
6
3
|
|
7
|
-
|
4
|
+
RSpec::Core::RakeTask.new(:spec)
|
8
5
|
|
9
|
-
|
10
|
-
rdoc.rdoc_dir = 'rdoc'
|
11
|
-
rdoc.title = 'Hertz'
|
12
|
-
rdoc.options << '--line-numbers'
|
13
|
-
rdoc.rdoc_files.include('README.rdoc')
|
14
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
15
|
-
end
|
16
|
-
|
17
|
-
APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
|
18
|
-
load 'rails/tasks/engine.rake'
|
19
|
-
load 'rails/tasks/statistics.rake'
|
20
|
-
|
21
|
-
Bundler::GemHelper.install_tasks
|
22
|
-
|
23
|
-
Rake::TestTask.new(:spec) do |t|
|
24
|
-
t.libs << 'lib'
|
25
|
-
t.libs << 'spec'
|
26
|
-
t.pattern = 'spec/**/*_spec.rb'
|
27
|
-
t.verbose = false
|
28
|
-
end
|
29
|
-
|
30
|
-
task default: :spec
|
6
|
+
task :default => :spec
|
data/lib/hertz/notifiable.rb
CHANGED
@@ -2,20 +2,25 @@
|
|
2
2
|
module Hertz
|
3
3
|
module Notifiable
|
4
4
|
def self.included(base)
|
5
|
-
base.class_eval
|
5
|
+
base.class_eval do
|
6
6
|
has_many :notifications,
|
7
7
|
class_name: 'Hertz::Notification',
|
8
8
|
as: :receiver,
|
9
9
|
inverse_of: :receiver,
|
10
10
|
dependent: :destroy
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
def notify(notification_or_klass, meta = {})
|
15
|
+
notification = if notification_or_klass.is_a?(Class)
|
16
|
+
notification_or_klass.new(meta: meta)
|
17
|
+
else
|
18
|
+
notification_or_klass
|
19
|
+
end
|
11
20
|
|
12
|
-
|
13
|
-
notification.receiver = self
|
14
|
-
notification.save!
|
21
|
+
notification.receiver = self
|
15
22
|
|
16
|
-
|
17
|
-
end
|
18
|
-
RUBY
|
23
|
+
notifications << notification
|
19
24
|
end
|
20
25
|
end
|
21
26
|
end
|
data/lib/hertz/version.rb
CHANGED
@@ -18,9 +18,5 @@ module Dummy
|
|
18
18
|
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
19
19
|
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
20
20
|
# config.i18n.default_locale = :de
|
21
|
-
|
22
|
-
# Do not swallow errors in after_commit/after_rollback callbacks.
|
23
|
-
config.active_record.raise_in_transactional_callbacks = true
|
24
21
|
end
|
25
22
|
end
|
26
|
-
|
@@ -13,8 +13,8 @@ Rails.application.configure do
|
|
13
13
|
config.eager_load = false
|
14
14
|
|
15
15
|
# Configure static file server for tests with Cache-Control for performance.
|
16
|
-
config.
|
17
|
-
config.
|
16
|
+
config.public_file_server.enabled = true
|
17
|
+
config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' }
|
18
18
|
|
19
19
|
# Show full error reports and disable caching.
|
20
20
|
config.consider_all_requests_local = true
|
@@ -1,118 +1,61 @@
|
|
1
|
-
[1m[
|
2
|
-
[1m[35mSQL (
|
3
|
-
[1m[
|
4
|
-
[1m[35m (1.
|
5
|
-
[1m[
|
6
|
-
[1m[35m (
|
7
|
-
[1m[
|
8
|
-
[1m[35m (
|
9
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160418122437')[0m
|
10
|
-
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160415175358')
|
11
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160415175837')[0m
|
12
|
-
[1m[35mSQL (0.2ms)[0m CREATE EXTENSION IF NOT EXISTS "plpgsql"
|
13
|
-
[1m[36mSQL (9.3ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
14
|
-
[1m[35m (3.0ms)[0m CREATE TABLE "hertz_notifications" ("id" serial primary key, "type" character varying NOT NULL, "receiver_type" character varying NOT NULL, "receiver_id" integer NOT NULL, "meta" hstore DEFAULT '' NOT NULL, "read_at" timestamp, "created_at" timestamp NOT NULL)
|
15
|
-
[1m[36m (1.4ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
16
|
-
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
17
|
-
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
18
|
-
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
19
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160508094342')[0m
|
20
|
-
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160418122437')
|
21
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160415175358')[0m
|
22
|
-
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160415175837')
|
23
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
24
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
25
|
-
Migrating to CreateHertzNotificationDeliveries (20160627084119)
|
26
|
-
[1m[35m (0.2ms)[0m BEGIN
|
27
|
-
[1m[36m (12.7ms)[0m [1mCREATE TABLE "hertz_notification_deliveries" ("id" serial primary key, "notification_id" integer NOT NULL, "courier" character varying NOT NULL, "created_at" timestamp NOT NULL) [0m
|
28
|
-
[1m[35m (0.9ms)[0m CREATE INDEX "index_hertz_notification_deliveries_on_notification_id" ON "hertz_notification_deliveries" ("notification_id")
|
29
|
-
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_hertz_notification_deliveries_on_notification_and_courier" ON "hertz_notification_deliveries" ("notification_id", "courier")[0m
|
30
|
-
[1m[35m (2.8ms)[0m ALTER TABLE "hertz_notification_deliveries" ADD CONSTRAINT "fk_rails_68c880ead4"
|
1
|
+
[1m[35mSQL (1.1ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
2
|
+
[1m[35mSQL (12.8ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
3
|
+
[1m[35m (6.5ms)[0m [1m[35mCREATE TABLE "hertz_deliveries" ("id" serial primary key, "notification_id" integer NOT NULL, "courier" character varying NOT NULL, "created_at" timestamp NOT NULL)[0m
|
4
|
+
[1m[35m (1.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_hertz_notification_deliveries_on_notification_and_courier" ON "hertz_deliveries" USING btree ("notification_id", "courier")[0m
|
5
|
+
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_hertz_deliveries_on_notification_id" ON "hertz_deliveries" USING btree ("notification_id")[0m
|
6
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE 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
|
7
|
+
[1m[35m (1.9ms)[0m [1m[35mCREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
8
|
+
[1m[35m (3.2ms)[0m [1m[35mALTER TABLE "hertz_deliveries" ADD CONSTRAINT "fk_rails_eefe07f4cd"
|
31
9
|
FOREIGN KEY ("notification_id")
|
32
10
|
REFERENCES "hertz_notifications" ("id")
|
33
|
-
ON DELETE CASCADE
|
34
|
-
[1m[
|
35
|
-
[1m[35m (0.
|
36
|
-
[1m[
|
37
|
-
[1m[35m (
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
44
|
-
WHERE c.contype = 'f'
|
45
|
-
AND t1.relname = 'hertz_notification_deliveries'
|
46
|
-
AND t3.nspname = ANY (current_schemas(false))
|
47
|
-
ORDER BY c.conname
|
11
|
+
ON DELETE CASCADE[0m
|
12
|
+
[1m[35m (5.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
|
13
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
|
14
|
+
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20160628084413')[0m
|
15
|
+
[1m[35m (0.4ms)[0m [1m[32mINSERT INTO schema_migrations (version) VALUES
|
16
|
+
('20160508094342'),
|
17
|
+
('20160418122437'),
|
18
|
+
('20160415175358'),
|
19
|
+
('20160415175837'),
|
20
|
+
('20160627084119');
|
48
21
|
|
49
|
-
[1m[36m (1.2ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
50
|
-
FROM pg_constraint c
|
51
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
52
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
53
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
54
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
55
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
56
|
-
WHERE c.contype = 'f'
|
57
|
-
AND t1.relname = 'hertz_notifications'
|
58
|
-
AND t3.nspname = ANY (current_schemas(false))
|
59
|
-
ORDER BY c.conname
|
60
22
|
[0m
|
61
|
-
[1m[35m (
|
62
|
-
FROM
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
[1m[
|
74
|
-
|
75
|
-
[1m[35m (
|
76
|
-
[1m[
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
[1m[
|
81
|
-
[1m[35m (0.3ms)[0m
|
82
|
-
[1m[
|
83
|
-
[1m[35m (
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
90
|
-
WHERE c.contype = 'f'
|
91
|
-
AND t1.relname = 'hertz_deliveries'
|
92
|
-
AND t3.nspname = ANY (current_schemas(false))
|
93
|
-
ORDER BY c.conname
|
23
|
+
[1m[35m (2.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
24
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
|
25
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
26
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", 2017-01-19 15:22:12 UTC], ["updated_at", 2017-01-19 15:22:12 UTC]]
|
27
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
28
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
|
29
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
30
|
+
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
31
|
+
[1m[35mSQL (0.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
32
|
+
[1m[35mSQL (10.1ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
33
|
+
[1m[35m (5.2ms)[0m [1m[35mCREATE TABLE "hertz_deliveries" ("id" serial primary key, "notification_id" integer NOT NULL, "courier" character varying NOT NULL, "created_at" timestamp NOT NULL)[0m
|
34
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_hertz_notification_deliveries_on_notification_and_courier" ON "hertz_deliveries" USING btree ("notification_id", "courier")[0m
|
35
|
+
[1m[35m (2.8ms)[0m [1m[35mCREATE INDEX "index_hertz_deliveries_on_notification_id" ON "hertz_deliveries" USING btree ("notification_id")[0m
|
36
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE 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
|
37
|
+
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
38
|
+
[1m[35m (1.4ms)[0m [1m[35mALTER TABLE "hertz_deliveries" ADD CONSTRAINT "fk_rails_eefe07f4cd"
|
39
|
+
FOREIGN KEY ("notification_id")
|
40
|
+
REFERENCES "hertz_notifications" ("id")
|
41
|
+
ON DELETE CASCADE[0m
|
42
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
|
43
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
|
44
|
+
[1m[35m (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20160628084413')[0m
|
45
|
+
[1m[35m (0.4ms)[0m [1m[32mINSERT INTO schema_migrations (version) VALUES
|
46
|
+
('20160508094342'),
|
47
|
+
('20160418122437'),
|
48
|
+
('20160415175358'),
|
49
|
+
('20160415175837'),
|
50
|
+
('20160627084119');
|
94
51
|
|
95
|
-
[1m[36m (1.4ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
96
|
-
FROM pg_constraint c
|
97
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
98
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
99
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
100
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
101
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
102
|
-
WHERE c.contype = 'f'
|
103
|
-
AND t1.relname = 'hertz_notifications'
|
104
|
-
AND t3.nspname = ANY (current_schemas(false))
|
105
|
-
ORDER BY c.conname
|
106
52
|
[0m
|
107
|
-
[1m[35m (
|
108
|
-
FROM
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
AND t3.nspname = ANY (current_schemas(false))
|
117
|
-
ORDER BY c.conname
|
118
|
-
|
53
|
+
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
54
|
+
[1m[36mActiveRecord::InternalMetadata Load (2.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
|
55
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
56
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", 2017-01-19 15:22:12 UTC], ["updated_at", 2017-01-19 15:22:12 UTC]]
|
57
|
+
[1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
|
58
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
|
59
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
60
|
+
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
61
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
data/spec/dummy/log/test.log
CHANGED
@@ -1,2422 +1,217 @@
|
|
1
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [
|
2
|
-
[1m[35m (0.2ms)[0m
|
3
|
-
[1m[
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
[1m[35m (
|
13
|
-
[1m[
|
14
|
-
[1m[35m (
|
15
|
-
[1m[
|
16
|
-
[1m[35m (
|
17
|
-
[1m[
|
18
|
-
[1m[35m (0.
|
19
|
-
[1m[
|
20
|
-
[1m[35m (
|
21
|
-
[1m[
|
22
|
-
[1m[35m (0.
|
23
|
-
[1m[
|
24
|
-
[1m[
|
25
|
-
[1m[
|
26
|
-
[1m[
|
27
|
-
[1m[
|
28
|
-
[1m[35m (0.1ms)[0m
|
29
|
-
[1m[
|
30
|
-
[1m[35m (0.
|
31
|
-
[1m[
|
32
|
-
[1m[
|
33
|
-
[1m[
|
34
|
-
[1m[35m (
|
35
|
-
[1m[
|
36
|
-
[1m[
|
37
|
-
[1m[
|
38
|
-
[1m[35m (0.
|
39
|
-
[1m[
|
40
|
-
[1m[35m (0.
|
41
|
-
[1m[
|
42
|
-
[1m[35m (0.1ms)[0m
|
43
|
-
[1m[
|
44
|
-
[1m[35m (0.
|
45
|
-
[1m[
|
46
|
-
[1m[
|
47
|
-
[1m[
|
48
|
-
[1m[35m (
|
49
|
-
[1m[
|
50
|
-
[1m[35m (0.
|
51
|
-
[1m[
|
52
|
-
[1m[35m (0.1ms)[0m
|
53
|
-
[1m[
|
54
|
-
[1m[
|
55
|
-
[1m[
|
56
|
-
[1m[35m (0.1ms)[0m
|
57
|
-
[1m[
|
58
|
-
[1m[
|
59
|
-
[1m[
|
60
|
-
[1m[
|
61
|
-
[1m[
|
62
|
-
[1m[35m (0.
|
63
|
-
[1m[
|
64
|
-
[1m[35m (0.
|
65
|
-
[1m[
|
66
|
-
[1m[35m (
|
67
|
-
[1m[
|
68
|
-
[1m[35m (0.
|
69
|
-
[1m[
|
70
|
-
[1m[35m (0.1ms)[0m
|
71
|
-
[1m[
|
72
|
-
[1m[
|
73
|
-
[1m[
|
74
|
-
[1m[
|
75
|
-
[1m[
|
76
|
-
[1m[
|
77
|
-
[1m[
|
78
|
-
[1m[35m (0.
|
79
|
-
[1m[
|
80
|
-
[1m[35m (0.
|
81
|
-
[1m[
|
82
|
-
[1m[35m (
|
83
|
-
[1m[
|
84
|
-
[1m[
|
85
|
-
[1m[
|
86
|
-
[1m[35m (0.1ms)[0m
|
87
|
-
[1m[
|
88
|
-
[1m[
|
89
|
-
[1m[
|
90
|
-
[1m[35m (0.1ms)[0m
|
91
|
-
[1m[
|
92
|
-
[1m[35m (0.
|
93
|
-
[1m[
|
94
|
-
[1m[35m (0.2ms)[0m
|
95
|
-
[1m[
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
[0m
|
102
|
-
[1m[
|
103
|
-
[1m[
|
104
|
-
[1m[35m (0.1ms)[0m
|
105
|
-
[1m[
|
106
|
-
[1m[35m (0.
|
107
|
-
[1m[
|
108
|
-
[1m[35m (0.
|
109
|
-
[1m[
|
110
|
-
[1m[
|
111
|
-
[1m[
|
112
|
-
[1m[35m (0.
|
113
|
-
[1m[
|
114
|
-
[1m[35m (0.1ms)[0m
|
115
|
-
[1m[
|
116
|
-
[1m[
|
117
|
-
[1m[
|
118
|
-
[1m[
|
119
|
-
[1m[
|
120
|
-
[1m[
|
121
|
-
[1m[
|
122
|
-
[1m[
|
123
|
-
[1m[
|
124
|
-
[1m[35m (0.
|
125
|
-
[1m[
|
126
|
-
[1m[35m (
|
127
|
-
[1m[
|
128
|
-
[1m[
|
129
|
-
[1m[
|
130
|
-
[1m[35m (0.1ms)[0m
|
131
|
-
[1m[
|
132
|
-
[1m[35mSQL (0.
|
133
|
-
[1m[
|
134
|
-
[1m[35m (0.1ms)[0m
|
135
|
-
[1m[
|
136
|
-
[1m[35m (0.
|
137
|
-
[1m[
|
138
|
-
[1m[35m (0.
|
139
|
-
[1m[
|
140
|
-
[1m[35m (
|
141
|
-
[1m[
|
142
|
-
[1m[
|
143
|
-
[1m[
|
144
|
-
[1m[35m (0.1ms)[0m
|
145
|
-
[1m[
|
146
|
-
[1m[
|
147
|
-
[1m[
|
148
|
-
[1m[
|
149
|
-
[1m[
|
150
|
-
[1m[
|
151
|
-
[1m[
|
152
|
-
[1m[
|
153
|
-
[1m[
|
154
|
-
[1m[35m (0.
|
155
|
-
[1m[
|
156
|
-
[1m[35m (
|
157
|
-
[1m[
|
158
|
-
[1m[35m (0.
|
159
|
-
[1m[
|
160
|
-
[1m[
|
161
|
-
[1m[
|
162
|
-
[1m[35m (0.
|
163
|
-
[1m[
|
164
|
-
[1m[
|
165
|
-
[1m[
|
166
|
-
[1m[
|
167
|
-
[1m[
|
168
|
-
[1m[35m (0.
|
169
|
-
[1m[
|
170
|
-
[1m[35m (
|
171
|
-
[1m[
|
172
|
-
[1m[35m (0.
|
173
|
-
[1m[
|
174
|
-
[1m[35m (0.1ms)[0m
|
175
|
-
[1m[
|
176
|
-
[1m[35m (0.
|
177
|
-
[1m[
|
178
|
-
[1m[35m (0.1ms)[0m
|
179
|
-
[1m[
|
180
|
-
[1m[35m (0.
|
181
|
-
[1m[
|
182
|
-
[1m[35m (0.1ms)[0m
|
183
|
-
[1m[
|
184
|
-
[1m[35m (0.
|
185
|
-
[1m[
|
186
|
-
[1m[35m (0.
|
187
|
-
[1m[
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
[0m
|
194
|
-
[1m[
|
195
|
-
[1m[
|
196
|
-
[1m[35m (0.2ms)[0m
|
197
|
-
[1m[
|
198
|
-
[1m[35m (
|
199
|
-
[1m[
|
200
|
-
[1m[35m (
|
201
|
-
[1m[
|
202
|
-
[1m[
|
203
|
-
[1m[
|
204
|
-
[1m[35m (0.1ms)[0m
|
205
|
-
[1m[
|
206
|
-
[1m[35m (0.
|
207
|
-
[1m[
|
208
|
-
[1m[35mSQL (0.
|
209
|
-
[1m[
|
210
|
-
[1m[
|
211
|
-
[1m[
|
212
|
-
[1m[
|
213
|
-
[1m[
|
214
|
-
[1m[35m (
|
215
|
-
[1m[
|
216
|
-
[1m[35m (0.
|
217
|
-
[1m[
|
218
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 13:31:51.982019"], ["updated_at", "2016-06-25 13:31:51.982019"]]
|
219
|
-
[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", 1], ["created_at", "2016-06-25 13:31:51.982945"]]
|
220
|
-
[1m[35m (0.3ms)[0m COMMIT
|
221
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
222
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 13:31:51.984761"], ["updated_at", "2016-06-25 13:31:51.984761"]]
|
223
|
-
[1m[36mSQL (0.1ms)[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-06-25 13:31:51.984434"], ["receiver_id", 2], ["created_at", "2016-06-25 13:31:51.985423"]]
|
224
|
-
[1m[35m (0.3ms)[0m COMMIT
|
225
|
-
[1m[36mHertz::Notification Load (0.2ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)[0m
|
226
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
227
|
-
[1m[36m (2.2ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
228
|
-
[1m[35m (0.1ms)[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.1ms)[0m [1mBEGIN[0m
|
230
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 13:31:51.992740"], ["updated_at", "2016-06-25 13:31:51.992740"]]
|
231
|
-
[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-06-25 13:31:51.992292"], ["receiver_id", 1], ["created_at", "2016-06-25 13:31:51.993706"]]
|
232
|
-
[1m[35m (0.3ms)[0m COMMIT
|
233
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
234
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 1]]
|
235
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
236
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
237
|
-
[1m[36m (2.2ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
238
|
-
[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
|
239
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
240
|
-
[1m[35m (2.8ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
241
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
242
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
243
|
-
[1m[36m (2.2ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
244
|
-
[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
|
245
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
246
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 13:31:52.012695"], ["updated_at", "2016-06-25 13:31:52.012695"]]
|
247
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
248
|
-
[1m[35m (0.1ms)[0m BEGIN
|
249
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 13:31:52.014544"]]
|
250
|
-
[1m[35m (0.2ms)[0m COMMIT
|
251
|
-
[1m[36mHertz::Notification Load (0.2ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
252
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
253
|
-
[1m[36m (2.6ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
254
|
-
[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
|
255
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
256
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 13:31:52.027397"], ["updated_at", "2016-06-25 13:31:52.027397"]]
|
257
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
258
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
259
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
260
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 13:31:52.030519"]]
|
261
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
262
|
-
[1m[35m (0.1ms)[0m BEGIN
|
263
|
-
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
264
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
265
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
266
|
-
[1m[35m (2.6ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
267
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
268
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
269
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
270
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
271
|
-
FROM pg_tables
|
272
|
-
WHERE
|
273
|
-
tablename !~ '_prt_' AND
|
274
|
-
tablename <> 'schema_migrations' AND
|
275
|
-
schemaname = ANY (current_schemas(false))
|
276
|
-
[0m
|
277
|
-
[1m[35m (0.7ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
278
|
-
[1m[36m (3.1ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
279
|
-
[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
|
280
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
281
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 13:43:02.561241"], ["updated_at", "2016-06-25 13:43:02.561241"]]
|
282
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
283
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
284
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
285
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 13:43:02.584593"]]
|
286
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
287
|
-
[1m[35m (0.1ms)[0m BEGIN
|
288
|
-
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
289
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
290
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
291
|
-
[1m[35m (2.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
292
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
293
|
-
[1m[35m (0.1ms)[0m BEGIN
|
294
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 13:43:02.592589"], ["updated_at", "2016-06-25 13:43:02.592589"]]
|
295
|
-
[1m[35m (0.3ms)[0m COMMIT
|
296
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
297
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 13:43:02.594640"]]
|
298
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
299
|
-
[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", 1], ["receiver_type", "User"]]
|
300
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
301
|
-
[1m[35m (2.5ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
302
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
303
|
-
[1m[35m (0.1ms)[0m BEGIN
|
304
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 13:43:02.609207"], ["updated_at", "2016-06-25 13:43:02.609207"]]
|
305
|
-
[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", 1], ["created_at", "2016-06-25 13:43:02.610290"]]
|
306
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
307
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
308
|
-
[1m[36m (2.5ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
309
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
310
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
311
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 13:43:02.617504"], ["updated_at", "2016-06-25 13:43:02.617504"]]
|
312
|
-
[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-06-25 13:43:02.617084"], ["receiver_id", 1], ["created_at", "2016-06-25 13:43:02.618488"]]
|
313
|
-
[1m[35m (0.4ms)[0m COMMIT
|
314
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
315
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 1]]
|
316
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
317
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
318
|
-
[1m[36m (2.2ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
319
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
320
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
321
|
-
[1m[35m (2.1ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
322
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
323
|
-
[1m[35m (0.1ms)[0m BEGIN
|
324
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 13:43:02.634105"], ["updated_at", "2016-06-25 13:43:02.634105"]]
|
325
|
-
[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", 1], ["created_at", "2016-06-25 13:43:02.634987"]]
|
326
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
327
|
-
[1m[35m (0.1ms)[0m BEGIN
|
328
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", "2016-06-25 13:43:02.636404"], ["id", 1]]
|
329
|
-
[1m[35m (0.3ms)[0m COMMIT
|
330
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
331
|
-
[1m[35m (2.2ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
332
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
333
|
-
[1m[35m (0.1ms)[0m BEGIN
|
334
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 13:43:02.642971"], ["updated_at", "2016-06-25 13:43:02.642971"]]
|
335
|
-
[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-06-25 13:43:02.643980"]]
|
336
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
337
|
-
[1m[35m (0.1ms)[0m BEGIN
|
338
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 13:43:02.646316"], ["updated_at", "2016-06-25 13:43:02.646316"]]
|
339
|
-
[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-06-25 13:43:02.645886"], ["receiver_id", 2], ["created_at", "2016-06-25 13:43:02.647106"]]
|
340
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
341
|
-
[1m[35mHertz::Notification Load (0.2ms)[0m SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
|
342
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
343
|
-
[1m[35m (2.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
344
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
345
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
346
|
-
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
347
|
-
[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
|
348
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
349
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
350
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
351
|
-
FROM pg_tables
|
352
|
-
WHERE
|
353
|
-
tablename !~ '_prt_' AND
|
354
|
-
tablename <> 'schema_migrations' AND
|
355
|
-
schemaname = ANY (current_schemas(false))
|
356
|
-
[0m
|
357
|
-
[1m[35m (0.7ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
358
|
-
[1m[36m (3.6ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
359
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
|
360
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
361
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
|
362
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
363
|
-
FROM pg_tables
|
364
|
-
WHERE
|
365
|
-
tablename !~ '_prt_' AND
|
366
|
-
tablename <> 'schema_migrations' AND
|
367
|
-
schemaname = ANY (current_schemas(false))
|
368
|
-
[0m
|
369
|
-
[1m[35m (0.8ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
370
|
-
[1m[36m (3.9ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
371
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
372
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
373
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "hertz_notifications" ("type", "created_at") VALUES ($1, $2) RETURNING "id" [["type", "Hertz::TestNotification"], ["created_at", "2016-06-25 13:46:47.183078"]]
|
374
|
-
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
375
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
376
|
-
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
377
|
-
[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
|
378
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
379
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
380
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
381
|
-
FROM pg_tables
|
382
|
-
WHERE
|
383
|
-
tablename !~ '_prt_' AND
|
384
|
-
tablename <> 'schema_migrations' AND
|
385
|
-
schemaname = ANY (current_schemas(false))
|
386
|
-
[0m
|
387
|
-
[1m[35m (0.7ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
388
|
-
[1m[36m (2.8ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
389
|
-
[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
|
390
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
391
|
-
[1m[35m (2.7ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
392
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
393
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
394
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
395
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
396
|
-
FROM pg_tables
|
397
|
-
WHERE
|
398
|
-
tablename !~ '_prt_' AND
|
399
|
-
tablename <> 'schema_migrations' AND
|
400
|
-
schemaname = ANY (current_schemas(false))
|
401
|
-
[0m
|
402
|
-
[1m[35m (0.7ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
403
|
-
[1m[36m (3.7ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
404
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
405
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
406
|
-
[1m[35m (2.9ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
407
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
408
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
409
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
410
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
411
|
-
FROM pg_tables
|
412
|
-
WHERE
|
413
|
-
tablename !~ '_prt_' AND
|
414
|
-
tablename <> 'schema_migrations' AND
|
415
|
-
schemaname = ANY (current_schemas(false))
|
416
|
-
[0m
|
417
|
-
[1m[35m (0.7ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
418
|
-
[1m[36m (3.7ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
419
|
-
[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
|
420
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
421
|
-
[1m[35m (2.5ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
422
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
423
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
424
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
425
|
-
[1m[36m (0.9ms)[0m [1m SELECT schemaname || '.' || tablename
|
426
|
-
FROM pg_tables
|
427
|
-
WHERE
|
428
|
-
tablename !~ '_prt_' AND
|
429
|
-
tablename <> 'schema_migrations' AND
|
430
|
-
schemaname = ANY (current_schemas(false))
|
431
|
-
[0m
|
432
|
-
[1m[35m (0.6ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
433
|
-
[1m[36m (3.9ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
434
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
435
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
436
|
-
[1m[35m (2.9ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
437
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
438
|
-
[1m[35m (0.2ms)[0m BEGIN
|
439
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 13:48:15.354825"], ["updated_at", "2016-06-25 13:48:15.354825"]]
|
440
|
-
[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", 1], ["created_at", "2016-06-25 13:48:15.357590"]]
|
441
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
442
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
443
|
-
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
444
|
-
[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
|
445
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
446
|
-
[1m[35m (2.3ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
447
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
448
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
449
|
-
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
450
|
-
[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
|
451
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
452
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 13:48:15.375839"], ["updated_at", "2016-06-25 13:48:15.375839"]]
|
453
|
-
[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", 1], ["created_at", "2016-06-25 13:48:15.376780"]]
|
454
|
-
[1m[35m (0.3ms)[0m COMMIT
|
455
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
456
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-06-25 13:48:15.378497"], ["id", 1]]
|
457
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
458
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
459
|
-
[1m[36m (2.6ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
460
|
-
[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
|
461
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
462
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 13:48:15.388519"], ["updated_at", "2016-06-25 13:48:15.388519"]]
|
463
|
-
[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-06-25 13:48:15.388121"], ["receiver_id", 1], ["created_at", "2016-06-25 13:48:15.389417"]]
|
464
|
-
[1m[35m (0.3ms)[0m COMMIT
|
465
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
466
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 1]]
|
467
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
468
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
469
|
-
[1m[36m (2.1ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
470
|
-
[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
|
471
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
472
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 13:48:15.396555"], ["updated_at", "2016-06-25 13:48:15.396555"]]
|
473
|
-
[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", 1], ["created_at", "2016-06-25 13:48:15.397456"]]
|
474
|
-
[1m[35m (0.3ms)[0m COMMIT
|
475
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
476
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 13:48:15.399338"], ["updated_at", "2016-06-25 13:48:15.399338"]]
|
477
|
-
[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-06-25 13:48:15.398989"], ["receiver_id", 2], ["created_at", "2016-06-25 13:48:15.399970"]]
|
478
|
-
[1m[35m (0.2ms)[0m COMMIT
|
479
|
-
[1m[36mHertz::Notification Load (0.2ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)[0m
|
480
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
481
|
-
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
482
|
-
[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
|
483
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
484
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 13:48:15.407311"], ["updated_at", "2016-06-25 13:48:15.407311"]]
|
485
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
486
|
-
[1m[35m (0.1ms)[0m BEGIN
|
487
|
-
[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-06-25 13:48:15.409212"]]
|
488
|
-
[1m[35m (0.2ms)[0m COMMIT
|
489
|
-
[1m[36mHertz::Notification Load (0.2ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
490
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
491
|
-
[1m[36m (2.2ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
492
|
-
[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
|
493
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
494
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 13:48:15.422176"], ["updated_at", "2016-06-25 13:48:15.422176"]]
|
495
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
496
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
497
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
498
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 13:48:15.424889"]]
|
499
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
500
|
-
[1m[35m (0.1ms)[0m BEGIN
|
501
|
-
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
502
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
503
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
504
|
-
[1m[35m (2.2ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
505
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
506
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
507
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
508
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
509
|
-
FROM pg_tables
|
510
|
-
WHERE
|
511
|
-
tablename !~ '_prt_' AND
|
512
|
-
tablename <> 'schema_migrations' AND
|
513
|
-
schemaname = ANY (current_schemas(false))
|
514
|
-
[0m
|
515
|
-
[1m[35m (0.7ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
516
|
-
[1m[36m (2.7ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
517
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
|
518
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
519
|
-
[1m[35m (2.6ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
520
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
521
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
522
|
-
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
523
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
524
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
525
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
526
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
527
|
-
FROM pg_tables
|
528
|
-
WHERE
|
529
|
-
tablename !~ '_prt_' AND
|
530
|
-
tablename <> 'schema_migrations' AND
|
531
|
-
schemaname = ANY (current_schemas(false))
|
532
|
-
[0m
|
533
|
-
[1m[35m (0.6ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
534
|
-
[1m[36m (3.9ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
535
|
-
[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
|
536
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
537
|
-
[1m[35m (2.6ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
538
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
539
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
540
|
-
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
541
|
-
[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
|
542
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
543
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
544
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
545
|
-
FROM pg_tables
|
546
|
-
WHERE
|
547
|
-
tablename !~ '_prt_' AND
|
548
|
-
tablename <> 'schema_migrations' AND
|
549
|
-
schemaname = ANY (current_schemas(false))
|
550
|
-
[0m
|
551
|
-
[1m[35m (0.6ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
552
|
-
[1m[36m (4.0ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
553
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
554
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
555
|
-
[1m[35m (2.5ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
556
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
557
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
558
|
-
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
559
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
560
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
561
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
562
|
-
[1m[36m (0.9ms)[0m [1m SELECT schemaname || '.' || tablename
|
563
|
-
FROM pg_tables
|
564
|
-
WHERE
|
565
|
-
tablename !~ '_prt_' AND
|
566
|
-
tablename <> 'schema_migrations' AND
|
567
|
-
schemaname = ANY (current_schemas(false))
|
568
|
-
[0m
|
569
|
-
[1m[35m (0.7ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
570
|
-
[1m[36m (4.0ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
571
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
572
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
573
|
-
[1m[35m (2.6ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
574
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
575
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
576
|
-
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
577
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
578
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
579
|
-
[1m[35m (2.3ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
580
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
581
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
582
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
583
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
584
|
-
FROM pg_tables
|
585
|
-
WHERE
|
586
|
-
tablename !~ '_prt_' AND
|
587
|
-
tablename <> 'schema_migrations' AND
|
588
|
-
schemaname = ANY (current_schemas(false))
|
589
|
-
[0m
|
590
|
-
[1m[35m (0.6ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
591
|
-
[1m[36m (2.8ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
592
|
-
[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
|
593
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
594
|
-
[1m[35m (2.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
595
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
596
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
597
|
-
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
598
|
-
[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
|
599
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
600
|
-
[1m[35m (2.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
601
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
602
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
603
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
604
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
605
|
-
FROM pg_tables
|
606
|
-
WHERE
|
607
|
-
tablename !~ '_prt_' AND
|
608
|
-
tablename <> 'schema_migrations' AND
|
609
|
-
schemaname = ANY (current_schemas(false))
|
610
|
-
[0m
|
611
|
-
[1m[35m (0.7ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
612
|
-
[1m[36m (2.8ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
613
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
614
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
615
|
-
[1m[35m (2.6ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
616
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
617
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
618
|
-
[1m[36m (2.5ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
619
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
620
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
621
|
-
[1m[35m (2.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
622
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
623
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
624
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
625
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
626
|
-
FROM pg_tables
|
627
|
-
WHERE
|
628
|
-
tablename !~ '_prt_' AND
|
629
|
-
tablename <> 'schema_migrations' AND
|
630
|
-
schemaname = ANY (current_schemas(false))
|
631
|
-
[0m
|
632
|
-
[1m[35m (0.6ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
633
|
-
[1m[36m (3.9ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
634
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
635
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
636
|
-
[1m[35m (2.6ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
637
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
638
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
639
|
-
[1m[36m (2.6ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
640
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
641
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
642
|
-
[1m[35m (2.7ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
643
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
644
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
645
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
646
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
647
|
-
FROM pg_tables
|
648
|
-
WHERE
|
649
|
-
tablename !~ '_prt_' AND
|
650
|
-
tablename <> 'schema_migrations' AND
|
651
|
-
schemaname = ANY (current_schemas(false))
|
652
|
-
[0m
|
653
|
-
[1m[35m (0.6ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
654
|
-
[1m[36m (3.8ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
655
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
656
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
657
|
-
[1m[35m (2.6ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
658
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
659
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
660
|
-
[1m[36m (2.6ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
661
|
-
[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
|
662
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
663
|
-
[1m[35m (2.3ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
664
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
665
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
666
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
667
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
668
|
-
FROM pg_tables
|
669
|
-
WHERE
|
670
|
-
tablename !~ '_prt_' AND
|
671
|
-
tablename <> 'schema_migrations' AND
|
672
|
-
schemaname = ANY (current_schemas(false))
|
673
|
-
[0m
|
674
|
-
[1m[35m (0.6ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
675
|
-
[1m[36m (3.2ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
676
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
|
677
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
678
|
-
[1m[35m (2.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
679
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
680
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
681
|
-
[1m[36m (2.7ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
682
|
-
[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
|
683
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
684
|
-
[1m[35m (2.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
685
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
686
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
687
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
688
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
689
|
-
FROM pg_tables
|
690
|
-
WHERE
|
691
|
-
tablename !~ '_prt_' AND
|
692
|
-
tablename <> 'schema_migrations' AND
|
693
|
-
schemaname = ANY (current_schemas(false))
|
694
|
-
[0m
|
695
|
-
[1m[35m (0.8ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
696
|
-
[1m[36m (4.9ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
697
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
698
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
699
|
-
[1m[35m (2.7ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
700
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
701
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
702
|
-
[1m[36m (2.7ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
703
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
704
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
705
|
-
[1m[35m (2.7ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
706
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
707
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
708
|
-
[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
|
709
|
-
[1m[36m (2.3ms)[0m [1m SELECT schemaname || '.' || tablename
|
710
|
-
FROM pg_tables
|
711
|
-
WHERE
|
712
|
-
tablename !~ '_prt_' AND
|
713
|
-
tablename <> 'schema_migrations' AND
|
714
|
-
schemaname = ANY (current_schemas(false))
|
715
|
-
[0m
|
716
|
-
[1m[35m (1.3ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
717
|
-
[1m[36m (8.2ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
718
|
-
[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
|
719
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
720
|
-
[1m[35m (4.9ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
721
|
-
[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
|
722
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
723
|
-
[1m[36m (2.5ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
724
|
-
[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
|
725
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
726
|
-
[1m[35m (2.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
727
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
728
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
729
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
730
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
731
|
-
FROM pg_tables
|
732
|
-
WHERE
|
733
|
-
tablename !~ '_prt_' AND
|
734
|
-
tablename <> 'schema_migrations' AND
|
735
|
-
schemaname = ANY (current_schemas(false))
|
736
|
-
[0m
|
737
|
-
[1m[35m (0.7ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
738
|
-
[1m[36m (3.0ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
739
|
-
[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
|
740
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
741
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:04:42.758871"], ["updated_at", "2016-06-25 14:04:42.758871"]]
|
742
|
-
[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", 1], ["created_at", "2016-06-25 14:04:42.761527"]]
|
743
|
-
[1m[35m (0.3ms)[0m COMMIT
|
744
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
745
|
-
[1m[35m (2.6ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
746
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
747
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
748
|
-
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
749
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
750
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
751
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:04:42.774642"], ["updated_at", "2016-06-25 14:04:42.774642"]]
|
752
|
-
[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-06-25 14:04:42.774149"], ["receiver_id", 1], ["created_at", "2016-06-25 14:04:42.775584"]]
|
753
|
-
[1m[35m (0.3ms)[0m COMMIT
|
754
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
755
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 1]]
|
756
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
757
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
758
|
-
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
759
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
760
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
761
|
-
[1m[35m (2.3ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
762
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
763
|
-
[1m[35m (0.1ms)[0m BEGIN
|
764
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:04:42.790944"], ["updated_at", "2016-06-25 14:04:42.790944"]]
|
765
|
-
[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", 1], ["created_at", "2016-06-25 14:04:42.791870"]]
|
766
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
767
|
-
[1m[35m (0.2ms)[0m BEGIN
|
768
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:04:42.794069"], ["updated_at", "2016-06-25 14:04:42.794069"]]
|
769
|
-
[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-06-25 14:04:42.793549"], ["receiver_id", 2], ["created_at", "2016-06-25 14:04:42.794862"]]
|
770
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
771
|
-
[1m[35mHertz::Notification Load (0.2ms)[0m SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
|
772
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
773
|
-
[1m[35m (2.3ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
774
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
775
|
-
[1m[35m (0.1ms)[0m BEGIN
|
776
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:04:42.801780"], ["updated_at", "2016-06-25 14:04:42.801780"]]
|
777
|
-
[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", 1], ["created_at", "2016-06-25 14:04:42.802639"]]
|
778
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
779
|
-
[1m[35m (0.1ms)[0m BEGIN
|
780
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", "2016-06-25 14:04:42.804012"], ["id", 1]]
|
781
|
-
[1m[35m (0.2ms)[0m COMMIT
|
782
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
783
|
-
[1m[35m (2.6ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
784
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
785
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
786
|
-
[1m[36m (2.5ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
787
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
788
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
789
|
-
[1m[35m (2.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
790
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
791
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
792
|
-
[1m[36m (2.6ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
793
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
794
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
795
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:04:42.841888"], ["updated_at", "2016-06-25 14:04:42.841888"]]
|
796
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
797
|
-
[1m[35m (0.1ms)[0m BEGIN
|
798
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:04:42.844024"]]
|
799
|
-
[1m[35m (0.2ms)[0m COMMIT
|
800
|
-
[1m[36mHertz::Notification Load (0.2ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
801
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
802
|
-
[1m[36m (2.7ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
803
|
-
[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
|
804
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
805
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:04:42.860039"], ["updated_at", "2016-06-25 14:04:42.860039"]]
|
806
|
-
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
807
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
808
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
809
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:04:42.863787"]]
|
810
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
811
|
-
[1m[35m (0.1ms)[0m BEGIN
|
812
|
-
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
813
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
814
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
815
|
-
[1m[35m (2.5ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
816
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
817
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
818
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
819
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
820
|
-
FROM pg_tables
|
821
|
-
WHERE
|
822
|
-
tablename !~ '_prt_' AND
|
823
|
-
tablename <> 'schema_migrations' AND
|
824
|
-
schemaname = ANY (current_schemas(false))
|
825
|
-
[0m
|
826
|
-
[1m[35m (0.6ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
827
|
-
[1m[36m (2.9ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
828
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
|
829
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
830
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:05:48.314593"], ["updated_at", "2016-06-25 14:05:48.314593"]]
|
831
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
832
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
833
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
834
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:05:48.336403"]]
|
835
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
836
|
-
[1m[35m (0.1ms)[0m BEGIN
|
837
|
-
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
838
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
839
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
840
|
-
[1m[35m (2.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
841
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
842
|
-
[1m[35m (0.1ms)[0m BEGIN
|
843
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:05:48.344348"], ["updated_at", "2016-06-25 14:05:48.344348"]]
|
844
|
-
[1m[35m (0.3ms)[0m COMMIT
|
845
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
846
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:05:48.346630"]]
|
847
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
848
|
-
[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", 1], ["receiver_type", "User"]]
|
849
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
850
|
-
[1m[35m (2.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
851
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
852
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
853
|
-
[1m[36m (2.5ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
854
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
855
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
856
|
-
[1m[35m (2.2ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
857
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
858
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
859
|
-
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
860
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
861
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
862
|
-
[1m[35m (2.3ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
863
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
864
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
865
|
-
[1m[36m (2.7ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
866
|
-
[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
|
867
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
868
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:05:48.409885"], ["updated_at", "2016-06-25 14:05:48.409885"]]
|
869
|
-
[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-06-25 14:05:48.409268"], ["receiver_id", 1], ["created_at", "2016-06-25 14:05:48.411018"]]
|
870
|
-
[1m[35m (0.4ms)[0m COMMIT
|
871
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
872
|
-
[1m[35m (2.2ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
873
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
874
|
-
[1m[35m (0.1ms)[0m BEGIN
|
875
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:05:48.423046"], ["updated_at", "2016-06-25 14:05:48.423046"]]
|
876
|
-
[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", 1], ["created_at", "2016-06-25 14:05:48.423898"]]
|
877
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
878
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
879
|
-
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
880
|
-
[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
|
881
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
882
|
-
[1m[35m (2.3ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
883
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
884
|
-
[1m[35m (0.1ms)[0m BEGIN
|
885
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:05:48.437619"], ["updated_at", "2016-06-25 14:05:48.437619"]]
|
886
|
-
[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", 1], ["created_at", "2016-06-25 14:05:48.438651"]]
|
887
|
-
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
888
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
889
|
-
[1m[36m (2.6ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
890
|
-
[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
|
891
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
892
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
893
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
894
|
-
FROM pg_tables
|
895
|
-
WHERE
|
896
|
-
tablename !~ '_prt_' AND
|
897
|
-
tablename <> 'schema_migrations' AND
|
898
|
-
schemaname = ANY (current_schemas(false))
|
899
|
-
[0m
|
900
|
-
[1m[35m (0.6ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
901
|
-
[1m[36m (2.9ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
902
|
-
[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
|
903
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
904
|
-
[1m[35m (2.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
905
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
906
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
907
|
-
[1m[36m (3.8ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
908
|
-
[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
|
909
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
910
|
-
[1m[35m (2.2ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
911
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
912
|
-
[1m[35m (0.2ms)[0m BEGIN
|
913
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:06:15.109387"], ["updated_at", "2016-06-25 14:06:15.109387"]]
|
914
|
-
[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", 1], ["created_at", "2016-06-25 14:06:15.112469"]]
|
915
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
916
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
917
|
-
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
918
|
-
[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
|
919
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
920
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:06:15.119497"], ["updated_at", "2016-06-25 14:06:15.119497"]]
|
921
|
-
[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", 1], ["created_at", "2016-06-25 14:06:15.120403"]]
|
922
|
-
[1m[35m (0.3ms)[0m COMMIT
|
923
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
924
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:06:15.122489"], ["updated_at", "2016-06-25 14:06:15.122489"]]
|
925
|
-
[1m[36mSQL (0.1ms)[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-06-25 14:06:15.122094"], ["receiver_id", 2], ["created_at", "2016-06-25 14:06:15.123292"]]
|
926
|
-
[1m[35m (0.3ms)[0m COMMIT
|
927
|
-
[1m[36mHertz::Notification Load (0.2ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)[0m
|
928
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
929
|
-
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
930
|
-
[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
|
931
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
932
|
-
[1m[35m (2.3ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
933
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
934
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
935
|
-
[1m[36m (2.6ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
936
|
-
[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
|
937
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
938
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:06:15.142409"], ["updated_at", "2016-06-25 14:06:15.142409"]]
|
939
|
-
[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", 1], ["created_at", "2016-06-25 14:06:15.143353"]]
|
940
|
-
[1m[35m (0.3ms)[0m COMMIT
|
941
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
942
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-06-25 14:06:15.144810"], ["id", 1]]
|
943
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
944
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
945
|
-
[1m[36m (2.5ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
946
|
-
[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
|
947
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
948
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:06:15.154169"], ["updated_at", "2016-06-25 14:06:15.154169"]]
|
949
|
-
[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-06-25 14:06:15.153637"], ["receiver_id", 1], ["created_at", "2016-06-25 14:06:15.155126"]]
|
950
|
-
[1m[35m (0.3ms)[0m COMMIT
|
951
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
952
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 1]]
|
953
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
954
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
955
|
-
[1m[36m (2.8ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
956
|
-
[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
|
957
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
958
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:06:15.163744"], ["updated_at", "2016-06-25 14:06:15.163744"]]
|
959
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
960
|
-
[1m[35m (0.1ms)[0m BEGIN
|
961
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:06:15.165967"]]
|
962
|
-
[1m[35m (0.2ms)[0m COMMIT
|
963
|
-
[1m[36mHertz::Notification Load (0.2ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
964
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
965
|
-
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
966
|
-
[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
|
967
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
968
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:06:15.181809"], ["updated_at", "2016-06-25 14:06:15.181809"]]
|
969
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
970
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
971
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
972
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:06:15.185409"]]
|
973
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
974
|
-
[1m[35m (0.1ms)[0m BEGIN
|
975
|
-
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
976
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
977
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
978
|
-
[1m[35m (2.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
979
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
980
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
981
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
982
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
983
|
-
FROM pg_tables
|
984
|
-
WHERE
|
985
|
-
tablename !~ '_prt_' AND
|
986
|
-
tablename <> 'schema_migrations' AND
|
987
|
-
schemaname = ANY (current_schemas(false))
|
988
|
-
[0m
|
989
|
-
[1m[35m (0.8ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
990
|
-
[1m[36m (3.8ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
991
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
992
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
993
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:06:36.119996"], ["updated_at", "2016-06-25 14:06:36.119996"]]
|
994
|
-
[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", 1], ["created_at", "2016-06-25 14:06:36.122447"]]
|
995
|
-
[1m[35m (0.3ms)[0m COMMIT
|
996
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
997
|
-
[1m[35m (2.7ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
998
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
999
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1000
|
-
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1001
|
-
[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
|
1002
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1003
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:06:36.141041"], ["updated_at", "2016-06-25 14:06:36.141041"]]
|
1004
|
-
[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", 1], ["created_at", "2016-06-25 14:06:36.141905"]]
|
1005
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1006
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1007
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-06-25 14:06:36.143379"], ["id", 1]]
|
1008
|
-
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1009
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1010
|
-
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1011
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1012
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1013
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:06:36.153410"], ["updated_at", "2016-06-25 14:06:36.153410"]]
|
1014
|
-
[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-06-25 14:06:36.152994"], ["receiver_id", 1], ["created_at", "2016-06-25 14:06:36.154280"]]
|
1015
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1016
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1017
|
-
[1m[35mSQL (0.1ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 1]]
|
1018
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1019
|
-
[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
|
1020
|
-
[1m[36m (2.6ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1021
|
-
[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
|
1022
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1023
|
-
[1m[35m (2.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1024
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1025
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1026
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:06:36.168023"], ["updated_at", "2016-06-25 14:06:36.168023"]]
|
1027
|
-
[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", 1], ["created_at", "2016-06-25 14:06:36.169140"]]
|
1028
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1029
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1030
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:06:36.171241"], ["updated_at", "2016-06-25 14:06:36.171241"]]
|
1031
|
-
[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-06-25 14:06:36.170781"], ["receiver_id", 2], ["created_at", "2016-06-25 14:06:36.172051"]]
|
1032
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1033
|
-
[1m[35mHertz::Notification Load (0.2ms)[0m SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
|
1034
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1035
|
-
[1m[35m (2.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1036
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1037
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1038
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:06:36.180418"], ["updated_at", "2016-06-25 14:06:36.180418"]]
|
1039
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1040
|
-
[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"]]
|
1041
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1042
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:06:36.187752"]]
|
1043
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1044
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1045
|
-
[1m[35m (0.1ms)[0m COMMIT
|
1046
|
-
[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"]]
|
1047
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1048
|
-
[1m[36m (2.5ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1049
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1050
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1051
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:06:36.195573"], ["updated_at", "2016-06-25 14:06:36.195573"]]
|
1052
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1053
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1054
|
-
[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-06-25 14:06:36.197450"]]
|
1055
|
-
[1m[35m (0.4ms)[0m COMMIT
|
1056
|
-
[1m[36mHertz::Notification Load (0.2ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
1057
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1058
|
-
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1059
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1060
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1061
|
-
[1m[35m (7.2ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1062
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1063
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1064
|
-
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1065
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1066
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1067
|
-
[1m[35m (2.8ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1068
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1069
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1070
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1071
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
1072
|
-
FROM pg_tables
|
1073
|
-
WHERE
|
1074
|
-
tablename !~ '_prt_' AND
|
1075
|
-
tablename <> 'schema_migrations' AND
|
1076
|
-
schemaname = ANY (current_schemas(false))
|
1077
|
-
[0m
|
1078
|
-
[1m[35m (0.7ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
1079
|
-
[1m[36m (3.9ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1080
|
-
[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
|
1081
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1082
|
-
[1m[35m (2.7ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1083
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1084
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1085
|
-
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1086
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1087
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1088
|
-
[1m[35m (2.8ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1089
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1090
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1091
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:06:47.280971"], ["updated_at", "2016-06-25 14:06:47.280971"]]
|
1092
|
-
[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-06-25 14:06:47.283744"]]
|
1093
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1094
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1095
|
-
[1m[36m (2.2ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1096
|
-
[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
|
1097
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1098
|
-
[1m[35m (2.5ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1099
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1100
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1101
|
-
[1m[36m (2.5ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1102
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1103
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1104
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:06:47.302381"], ["updated_at", "2016-06-25 14:06:47.302381"]]
|
1105
|
-
[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-06-25 14:06:47.301970"], ["receiver_id", 1], ["created_at", "2016-06-25 14:06:47.303247"]]
|
1106
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1107
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1108
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 1]]
|
1109
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1110
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1111
|
-
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1112
|
-
[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
|
1113
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1114
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:06:47.313451"], ["updated_at", "2016-06-25 14:06:47.313451"]]
|
1115
|
-
[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", 1], ["created_at", "2016-06-25 14:06:47.314489"]]
|
1116
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1117
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1118
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:06:47.316489"], ["updated_at", "2016-06-25 14:06:47.316489"]]
|
1119
|
-
[1m[36mSQL (0.1ms)[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-06-25 14:06:47.316141"], ["receiver_id", 2], ["created_at", "2016-06-25 14:06:47.317162"]]
|
1120
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1121
|
-
[1m[36mHertz::Notification Load (0.2ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)[0m
|
1122
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1123
|
-
[1m[36m (2.5ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1124
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1125
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1126
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:06:47.324963"], ["updated_at", "2016-06-25 14:06:47.324963"]]
|
1127
|
-
[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", 1], ["created_at", "2016-06-25 14:06:47.325900"]]
|
1128
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1129
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1130
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-06-25 14:06:47.327367"], ["id", 1]]
|
1131
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1132
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1133
|
-
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1134
|
-
[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
|
1135
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1136
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:06:47.333399"], ["updated_at", "2016-06-25 14:06:47.333399"]]
|
1137
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1138
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1139
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:06:47.335206"]]
|
1140
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1141
|
-
[1m[36mHertz::Notification Load (0.2ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
1142
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1143
|
-
[1m[36m (2.2ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1144
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1145
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1146
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:06:47.347985"], ["updated_at", "2016-06-25 14:06:47.347985"]]
|
1147
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1148
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
1149
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1150
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:06:47.351792"]]
|
1151
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1152
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1153
|
-
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
1154
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
1155
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1156
|
-
[1m[35m (2.2ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1157
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1158
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1159
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1160
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
1161
|
-
FROM pg_tables
|
1162
|
-
WHERE
|
1163
|
-
tablename !~ '_prt_' AND
|
1164
|
-
tablename <> 'schema_migrations' AND
|
1165
|
-
schemaname = ANY (current_schemas(false))
|
1166
|
-
[0m
|
1167
|
-
[1m[35m (0.6ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
1168
|
-
[1m[36m (2.5ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1169
|
-
[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
|
1170
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1171
|
-
[1m[35m (2.3ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1172
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1173
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1174
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:07:49.728477"], ["updated_at", "2016-06-25 14:07:49.728477"]]
|
1175
|
-
[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", 1], ["created_at", "2016-06-25 14:07:49.731518"]]
|
1176
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1177
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1178
|
-
[1m[36m (2.1ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1179
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1180
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1181
|
-
[1m[35m (2.5ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1182
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1183
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1184
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:07:49.743528"], ["updated_at", "2016-06-25 14:07:49.743528"]]
|
1185
|
-
[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-06-25 14:07:49.744899"]]
|
1186
|
-
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1187
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1188
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", "2016-06-25 14:07:49.747078"], ["id", 1]]
|
1189
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1190
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1191
|
-
[1m[35m (2.7ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1192
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1193
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1194
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:07:49.757551"], ["updated_at", "2016-06-25 14:07:49.757551"]]
|
1195
|
-
[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-06-25 14:07:49.757139"], ["receiver_id", 1], ["created_at", "2016-06-25 14:07:49.758471"]]
|
1196
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1197
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1198
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", nil], ["id", 1]]
|
1199
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1200
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1201
|
-
[1m[35m (2.3ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1202
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1203
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1204
|
-
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1205
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1206
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1207
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:07:49.772315"], ["updated_at", "2016-06-25 14:07:49.772315"]]
|
1208
|
-
[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", 1], ["created_at", "2016-06-25 14:07:49.773223"]]
|
1209
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1210
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1211
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:07:49.775132"], ["updated_at", "2016-06-25 14:07:49.775132"]]
|
1212
|
-
[1m[36mSQL (0.1ms)[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-06-25 14:07:49.774799"], ["receiver_id", 2], ["created_at", "2016-06-25 14:07:49.775786"]]
|
1213
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1214
|
-
[1m[36mHertz::Notification Load (0.2ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)[0m
|
1215
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1216
|
-
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1217
|
-
[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
|
1218
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1219
|
-
[1m[35m (2.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1220
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1221
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1222
|
-
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1223
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1224
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1225
|
-
[1m[35m (2.3ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1226
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1227
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1228
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:07:49.819627"], ["updated_at", "2016-06-25 14:07:49.819627"]]
|
1229
|
-
[1m[35m (0.4ms)[0m COMMIT
|
1230
|
-
[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"]]
|
1231
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1232
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:07:49.830219"]]
|
1233
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1234
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1235
|
-
[1m[35m (0.1ms)[0m COMMIT
|
1236
|
-
[1m[36m (0.1ms)[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"]]
|
1237
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1238
|
-
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1239
|
-
[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
|
1240
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1241
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:07:49.838278"], ["updated_at", "2016-06-25 14:07:49.838278"]]
|
1242
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1243
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1244
|
-
[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-06-25 14:07:49.841068"]]
|
1245
|
-
[1m[35m (0.4ms)[0m COMMIT
|
1246
|
-
[1m[36mHertz::Notification Load (0.2ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
1247
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1248
|
-
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1249
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1250
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1251
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1252
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
1253
|
-
FROM pg_tables
|
1254
|
-
WHERE
|
1255
|
-
tablename !~ '_prt_' AND
|
1256
|
-
tablename <> 'schema_migrations' AND
|
1257
|
-
schemaname = ANY (current_schemas(false))
|
1258
|
-
[0m
|
1259
|
-
[1m[35m (0.8ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
1260
|
-
[1m[36m (3.8ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1261
|
-
[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
|
1262
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1263
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:07:55.840052"], ["updated_at", "2016-06-25 14:07:55.840052"]]
|
1264
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1265
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
1266
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1267
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:07:55.862311"]]
|
1268
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1269
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1270
|
-
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
1271
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
1272
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1273
|
-
[1m[35m (2.3ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1274
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1275
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1276
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:07:55.870105"], ["updated_at", "2016-06-25 14:07:55.870105"]]
|
1277
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1278
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1279
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:07:55.872144"]]
|
1280
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1281
|
-
[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", 1], ["receiver_type", "User"]]
|
1282
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1283
|
-
[1m[35m (2.6ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1284
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1285
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1286
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:07:55.885083"], ["updated_at", "2016-06-25 14:07:55.885083"]]
|
1287
|
-
[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", 1], ["created_at", "2016-06-25 14:07:55.886010"]]
|
1288
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1289
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1290
|
-
[1m[36m (2.5ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1291
|
-
[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
|
1292
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1293
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:07:55.893058"], ["updated_at", "2016-06-25 14:07:55.893058"]]
|
1294
|
-
[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-06-25 14:07:55.892642"], ["receiver_id", 1], ["created_at", "2016-06-25 14:07:55.894030"]]
|
1295
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1296
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1297
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 1]]
|
1298
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1299
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1300
|
-
[1m[36m (2.6ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1301
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1302
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1303
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:07:55.905266"], ["updated_at", "2016-06-25 14:07:55.905266"]]
|
1304
|
-
[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", 1], ["created_at", "2016-06-25 14:07:55.906126"]]
|
1305
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1306
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1307
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-06-25 14:07:55.907528"], ["id", 1]]
|
1308
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1309
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1310
|
-
[1m[36m (2.1ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1311
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1312
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1313
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:07:55.913526"], ["updated_at", "2016-06-25 14:07:55.913526"]]
|
1314
|
-
[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", 1], ["created_at", "2016-06-25 14:07:55.914420"]]
|
1315
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1316
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1317
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:07:55.916236"], ["updated_at", "2016-06-25 14:07:55.916236"]]
|
1318
|
-
[1m[36mSQL (0.1ms)[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-06-25 14:07:55.915859"], ["receiver_id", 2], ["created_at", "2016-06-25 14:07:55.916881"]]
|
1319
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1320
|
-
[1m[36mHertz::Notification Load (0.2ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)[0m
|
1321
|
-
[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
|
1322
|
-
[1m[36m (2.5ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1323
|
-
[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
|
1324
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1325
|
-
[1m[35m (2.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1326
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1327
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1328
|
-
[1m[36m (2.6ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1329
|
-
[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
|
1330
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1331
|
-
[1m[35m (2.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1332
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1333
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1334
|
-
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1335
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1336
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1337
|
-
[1m[35m (2.3ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1338
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1339
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1340
|
-
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1341
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1342
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1343
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1344
|
-
[1m[36m (0.8ms)[0m [1m SELECT schemaname || '.' || tablename
|
1345
|
-
FROM pg_tables
|
1346
|
-
WHERE
|
1347
|
-
tablename !~ '_prt_' AND
|
1348
|
-
tablename <> 'schema_migrations' AND
|
1349
|
-
schemaname = ANY (current_schemas(false))
|
1350
|
-
[0m
|
1351
|
-
[1m[35m (0.6ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
1352
|
-
[1m[36m (3.6ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1353
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1354
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1355
|
-
[1m[35m (2.5ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1356
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1357
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1358
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:08:17.388811"], ["updated_at", "2016-06-25 14:08:17.388811"]]
|
1359
|
-
[1m[35m (0.4ms)[0m COMMIT
|
1360
|
-
[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"]]
|
1361
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1362
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:08:17.410287"]]
|
1363
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1364
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1365
|
-
[1m[35m (2.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1366
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1367
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1368
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:08:17.428604"], ["updated_at", "2016-06-25 14:08:17.428604"]]
|
1369
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1370
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1371
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:08:17.430738"]]
|
1372
|
-
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1373
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1374
|
-
[1m[36m (2.7ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1375
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1376
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1377
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:08:17.444844"], ["updated_at", "2016-06-25 14:08:17.444844"]]
|
1378
|
-
[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", 1], ["created_at", "2016-06-25 14:08:17.446055"]]
|
1379
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1380
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1381
|
-
[1m[35m (2.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1382
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1383
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1384
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:08:17.453517"], ["updated_at", "2016-06-25 14:08:17.453517"]]
|
1385
|
-
[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", 1], ["created_at", "2016-06-25 14:08:17.454628"]]
|
1386
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1387
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1388
|
-
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1389
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1390
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1391
|
-
[1m[35m (2.5ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1392
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1393
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1394
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:08:17.468520"], ["updated_at", "2016-06-25 14:08:17.468520"]]
|
1395
|
-
[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-06-25 14:08:17.468052"], ["receiver_id", 1], ["created_at", "2016-06-25 14:08:17.469571"]]
|
1396
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1397
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1398
|
-
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1399
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1400
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1401
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:08:17.477964"], ["updated_at", "2016-06-25 14:08:17.477964"]]
|
1402
|
-
[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", 1], ["created_at", "2016-06-25 14:08:17.478959"]]
|
1403
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1404
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1405
|
-
[1m[35m (2.7ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1406
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1407
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1408
|
-
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1409
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1410
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1411
|
-
[1m[35m (2.5ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1412
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1413
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1414
|
-
[1m[36m (2.6ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1415
|
-
[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
|
1416
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1417
|
-
[1m[35m (2.5ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1418
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1419
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1420
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1421
|
-
[1m[36m (0.8ms)[0m [1m SELECT schemaname || '.' || tablename
|
1422
|
-
FROM pg_tables
|
1423
|
-
WHERE
|
1424
|
-
tablename !~ '_prt_' AND
|
1425
|
-
tablename <> 'schema_migrations' AND
|
1426
|
-
schemaname = ANY (current_schemas(false))
|
1427
|
-
[0m
|
1428
|
-
[1m[35m (0.7ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
1429
|
-
[1m[36m (3.1ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1430
|
-
[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
|
1431
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1432
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:09:21.871312"], ["updated_at", "2016-06-25 14:09:21.871312"]]
|
1433
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1434
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1435
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:09:21.883963"]]
|
1436
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1437
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1438
|
-
[1m[35m (2.2ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1439
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1440
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1441
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:09:21.906099"], ["updated_at", "2016-06-25 14:09:21.906099"]]
|
1442
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1443
|
-
[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"]]
|
1444
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1445
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:09:21.914725"]]
|
1446
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1447
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1448
|
-
[1m[35m (2.2ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1449
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1450
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1451
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1452
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1453
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
1454
|
-
FROM pg_tables
|
1455
|
-
WHERE
|
1456
|
-
tablename !~ '_prt_' AND
|
1457
|
-
tablename <> 'schema_migrations' AND
|
1458
|
-
schemaname = ANY (current_schemas(false))
|
1459
|
-
[0m
|
1460
|
-
[1m[35m (0.6ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
1461
|
-
[1m[36m (2.7ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1462
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1463
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1464
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:12:29.335023"], ["updated_at", "2016-06-25 14:12:29.335023"]]
|
1465
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1466
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
1467
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1468
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:12:29.353347"]]
|
1469
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1470
|
-
[1m[35m (0.3ms)[0m BEGIN
|
1471
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1472
|
-
[1m[35m (1.1ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
1473
|
-
[1m[36m (0.8ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1474
|
-
[1m[35m (13.9ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1475
|
-
[1m[36m (1.2ms)[0m [1mALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1476
|
-
[1m[35m (0.7ms)[0m BEGIN
|
1477
|
-
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:12:44.002997"], ["updated_at", "2016-06-25 14:12:44.002997"]]
|
1478
|
-
[1m[35m (0.8ms)[0m COMMIT
|
1479
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1480
|
-
[1m[35mSQL (0.9ms)[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-06-25 14:12:44.008866"]]
|
1481
|
-
[1m[36m (0.8ms)[0m [1mCOMMIT[0m
|
1482
|
-
[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", 1], ["receiver_type", "User"]]
|
1483
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1484
|
-
[1m[35m (9.2ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1485
|
-
[1m[36m (0.5ms)[0m [1mALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1486
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1487
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1488
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
1489
|
-
FROM pg_tables
|
1490
|
-
WHERE
|
1491
|
-
tablename !~ '_prt_' AND
|
1492
|
-
tablename <> 'schema_migrations' AND
|
1493
|
-
schemaname = ANY (current_schemas(false))
|
1494
|
-
[0m
|
1495
|
-
[1m[35m (0.6ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
1496
|
-
[1m[36m (3.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1497
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1498
|
-
[1m[36m (0.5ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1499
|
-
[1m[35m (10.1ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1500
|
-
[1m[36m (1.5ms)[0m [1mALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1501
|
-
[1m[35m (0.6ms)[0m ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1502
|
-
[1m[36m (15.0ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1503
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1504
|
-
[1m[36m (0.8ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1505
|
-
[1m[35m (16.6ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1506
|
-
[1m[36m (0.5ms)[0m [1mALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1507
|
-
[1m[35m (0.5ms)[0m ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1508
|
-
[1m[36m (6.0ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1509
|
-
[1m[35m (0.5ms)[0m ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1510
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1511
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:12:49.591230"], ["updated_at", "2016-06-25 14:12:49.591230"]]
|
1512
|
-
[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", 1], ["created_at", "2016-06-25 14:12:49.595836"]]
|
1513
|
-
[1m[35m (0.6ms)[0m COMMIT
|
1514
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1515
|
-
[1m[35m (4.0ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1516
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1517
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1518
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:12:49.606555"], ["updated_at", "2016-06-25 14:12:49.606555"]]
|
1519
|
-
[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-06-25 14:12:49.607775"]]
|
1520
|
-
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1521
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1522
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", "2016-06-25 14:12:49.696222"], ["id", 1]]
|
1523
|
-
[1m[35m (2.2ms)[0m COMMIT
|
1524
|
-
[1m[36m (0.8ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1525
|
-
[1m[35m (15.5ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1526
|
-
[1m[36m (0.6ms)[0m [1mALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1527
|
-
[1m[35m (0.5ms)[0m ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1528
|
-
[1m[36m (7.8ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1529
|
-
[1m[35m (0.5ms)[0m ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1530
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1531
|
-
[1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:12:49.907241"], ["updated_at", "2016-06-25 14:12:49.907241"]]
|
1532
|
-
[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", 1], ["created_at", "2016-06-25 14:12:49.909822"]]
|
1533
|
-
[1m[35m (0.8ms)[0m COMMIT
|
1534
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1535
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:12:50.021776"], ["updated_at", "2016-06-25 14:12:50.021776"]]
|
1536
|
-
[1m[36mSQL (0.1ms)[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-06-25 14:12:50.021270"], ["receiver_id", 2], ["created_at", "2016-06-25 14:12:50.022564"]]
|
1537
|
-
[1m[35m (1.3ms)[0m COMMIT
|
1538
|
-
[1m[36mHertz::Notification Load (1.2ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)[0m
|
1539
|
-
[1m[35m (0.7ms)[0m ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1540
|
-
[1m[36m (12.6ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1541
|
-
[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
|
1542
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1543
|
-
[1m[35m (5.6ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1544
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1545
|
-
[1m[35m (0.4ms)[0m BEGIN
|
1546
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:12:50.230531"], ["updated_at", "2016-06-25 14:12:50.230531"]]
|
1547
|
-
[1m[35mSQL (1.1ms)[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-06-25 14:12:50.229299"], ["receiver_id", 1], ["created_at", "2016-06-25 14:12:50.232675"]]
|
1548
|
-
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
1549
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1550
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", nil], ["id", 1]]
|
1551
|
-
[1m[35m (2.0ms)[0m COMMIT
|
1552
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1553
|
-
[1m[35m (7.1ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1554
|
-
[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
|
1555
|
-
[1m[35m (0.3ms)[0m BEGIN
|
1556
|
-
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:12:50.500827"], ["updated_at", "2016-06-25 14:12:50.500827"]]
|
1557
|
-
[1m[35m (0.7ms)[0m COMMIT
|
1558
|
-
[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"]]
|
1559
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1560
|
-
[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-06-25 14:12:50.520481"]]
|
1561
|
-
[1m[35m (0.5ms)[0m COMMIT
|
1562
|
-
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
1563
|
-
[1m[35m (0.5ms)[0m COMMIT
|
1564
|
-
[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"]]
|
1565
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1566
|
-
[1m[36m (3.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1567
|
-
[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
|
1568
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1569
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:12:50.808499"], ["updated_at", "2016-06-25 14:12:50.808499"]]
|
1570
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1571
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1572
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:12:50.811339"]]
|
1573
|
-
[1m[35m (1.2ms)[0m COMMIT
|
1574
|
-
[1m[36mHertz::Notification Load (0.2ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
1575
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1576
|
-
[1m[36m (12.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1577
|
-
[1m[35m (1.5ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1578
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1579
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1580
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
1581
|
-
FROM pg_tables
|
1582
|
-
WHERE
|
1583
|
-
tablename !~ '_prt_' AND
|
1584
|
-
tablename <> 'schema_migrations' AND
|
1585
|
-
schemaname = ANY (current_schemas(false))
|
1586
|
-
[0m
|
1587
|
-
[1m[35m (0.6ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
1588
|
-
[1m[36m (3.5ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1589
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1590
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1591
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:13:05.391168"], ["updated_at", "2016-06-25 14:13:05.391168"]]
|
1592
|
-
[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", 1], ["created_at", "2016-06-25 14:13:05.393629"]]
|
1593
|
-
[1m[35m (0.4ms)[0m COMMIT
|
1594
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1595
|
-
[1m[35m (2.8ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1596
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1597
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1598
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:13:05.401219"], ["updated_at", "2016-06-25 14:13:05.401219"]]
|
1599
|
-
[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", 1], ["created_at", "2016-06-25 14:13:05.402118"]]
|
1600
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1601
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1602
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", "2016-06-25 14:13:05.404482"], ["id", 1]]
|
1603
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1604
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1605
|
-
[1m[35m (2.2ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1606
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1607
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1608
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:13:05.413052"], ["updated_at", "2016-06-25 14:13:05.413052"]]
|
1609
|
-
[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", 1], ["created_at", "2016-06-25 14:13:05.413888"]]
|
1610
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1611
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1612
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:13:05.415660"], ["updated_at", "2016-06-25 14:13:05.415660"]]
|
1613
|
-
[1m[35mSQL (0.1ms)[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-06-25 14:13:05.415323"], ["receiver_id", 2], ["created_at", "2016-06-25 14:13:05.416276"]]
|
1614
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1615
|
-
[1m[35mHertz::Notification Load (0.2ms)[0m SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
|
1616
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1617
|
-
[1m[35m (2.5ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1618
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1619
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1620
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:13:05.424185"], ["updated_at", "2016-06-25 14:13:05.424185"]]
|
1621
|
-
[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-06-25 14:13:05.423788"], ["receiver_id", 1], ["created_at", "2016-06-25 14:13:05.425058"]]
|
1622
|
-
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1623
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1624
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", nil], ["id", 1]]
|
1625
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1626
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1627
|
-
[1m[35m (2.5ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1628
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1629
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1630
|
-
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1631
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1632
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1633
|
-
[1m[35m (2.2ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1634
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1635
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1636
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:13:05.442290"], ["updated_at", "2016-06-25 14:13:05.442290"]]
|
1637
|
-
[1m[35m (0.2ms)[0m COMMIT
|
1638
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1639
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:13:05.443988"]]
|
1640
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1641
|
-
[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", 1], ["receiver_type", "User"]]
|
1642
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1643
|
-
[1m[35m (2.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1644
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1645
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1646
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:13:05.460866"], ["updated_at", "2016-06-25 14:13:05.460866"]]
|
1647
|
-
[1m[35m (0.4ms)[0m COMMIT
|
1648
|
-
[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"]]
|
1649
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1650
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:13:05.464135"]]
|
1651
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1652
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1653
|
-
[1m[35m (0.1ms)[0m COMMIT
|
1654
|
-
[1m[36m (0.1ms)[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"]]
|
1655
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1656
|
-
[1m[36m (2.1ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1657
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1658
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1659
|
-
[1m[35m (2.8ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1660
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1661
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1662
|
-
[1m[36m (2.6ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1663
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1664
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1665
|
-
[1m[35m (2.3ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1666
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1667
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1668
|
-
[1m[36m (2.0ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1669
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1670
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1671
|
-
[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
|
1672
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
1673
|
-
FROM pg_tables
|
1674
|
-
WHERE
|
1675
|
-
tablename !~ '_prt_' AND
|
1676
|
-
tablename <> 'schema_migrations' AND
|
1677
|
-
schemaname = ANY (current_schemas(false))
|
1678
|
-
[0m
|
1679
|
-
[1m[35m (0.6ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
1680
|
-
[1m[36m (3.5ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1681
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1682
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1683
|
-
[1m[35m (2.1ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1684
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1685
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1686
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:13:07.358179"], ["updated_at", "2016-06-25 14:13:07.358179"]]
|
1687
|
-
[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", 1], ["created_at", "2016-06-25 14:13:07.360924"]]
|
1688
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1689
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1690
|
-
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1691
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1692
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1693
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:13:07.367368"], ["updated_at", "2016-06-25 14:13:07.367368"]]
|
1694
|
-
[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", 1], ["created_at", "2016-06-25 14:13:07.368206"]]
|
1695
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1696
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1697
|
-
[1m[35m (2.1ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1698
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1699
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1700
|
-
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1701
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1702
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1703
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:13:07.402501"], ["updated_at", "2016-06-25 14:13:07.402501"]]
|
1704
|
-
[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", 1], ["created_at", "2016-06-25 14:13:07.403480"]]
|
1705
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1706
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1707
|
-
[1m[35m (2.1ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1708
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1709
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1710
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:13:07.412065"], ["updated_at", "2016-06-25 14:13:07.412065"]]
|
1711
|
-
[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-06-25 14:13:07.411483"], ["receiver_id", 1], ["created_at", "2016-06-25 14:13:07.413175"]]
|
1712
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1713
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1714
|
-
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1715
|
-
[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
|
1716
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1717
|
-
[1m[35m (2.5ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1718
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1719
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1720
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:13:07.426587"], ["updated_at", "2016-06-25 14:13:07.426587"]]
|
1721
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1722
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1723
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:13:07.428537"]]
|
1724
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1725
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1726
|
-
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1727
|
-
[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
|
1728
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1729
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:13:07.437023"], ["updated_at", "2016-06-25 14:13:07.437023"]]
|
1730
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1731
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
1732
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1733
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:13:07.444781"]]
|
1734
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1735
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1736
|
-
[1m[36m (2.1ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1737
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1738
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1739
|
-
[1m[35m (2.3ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1740
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1741
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1742
|
-
[1m[36m (2.7ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1743
|
-
[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
|
1744
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1745
|
-
[1m[35m (2.5ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1746
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1747
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1748
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1749
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
1750
|
-
FROM pg_tables
|
1751
|
-
WHERE
|
1752
|
-
tablename !~ '_prt_' AND
|
1753
|
-
tablename <> 'schema_migrations' AND
|
1754
|
-
schemaname = ANY (current_schemas(false))
|
1755
|
-
[0m
|
1756
|
-
[1m[35m (0.7ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
1757
|
-
[1m[36m (3.7ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1758
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1759
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1760
|
-
[1m[35m (2.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1761
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1762
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1763
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:13:18.570092"], ["updated_at", "2016-06-25 14:13:18.570092"]]
|
1764
|
-
[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", 1], ["created_at", "2016-06-25 14:13:18.572859"]]
|
1765
|
-
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1766
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1767
|
-
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1768
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1769
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1770
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:13:18.579960"], ["updated_at", "2016-06-25 14:13:18.579960"]]
|
1771
|
-
[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", 1], ["created_at", "2016-06-25 14:13:18.580987"]]
|
1772
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1773
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1774
|
-
[1m[35m (2.1ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1775
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1776
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1777
|
-
[1m[36m (2.2ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1778
|
-
[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
|
1779
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1780
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:13:18.614935"], ["updated_at", "2016-06-25 14:13:18.614935"]]
|
1781
|
-
[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", 1], ["created_at", "2016-06-25 14:13:18.616068"]]
|
1782
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1783
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1784
|
-
[1m[35m (2.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1785
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1786
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1787
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:13:18.624652"], ["updated_at", "2016-06-25 14:13:18.624652"]]
|
1788
|
-
[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-06-25 14:13:18.624253"], ["receiver_id", 1], ["created_at", "2016-06-25 14:13:18.625518"]]
|
1789
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1790
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1791
|
-
[1m[36m (2.1ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1792
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1793
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1794
|
-
[1m[35m (2.2ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1795
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1796
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1797
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:13:18.637619"], ["updated_at", "2016-06-25 14:13:18.637619"]]
|
1798
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1799
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1800
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:13:18.639594"]]
|
1801
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1802
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1803
|
-
[1m[36m (3.1ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1804
|
-
[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
|
1805
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1806
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:13:18.649263"], ["updated_at", "2016-06-25 14:13:18.649263"]]
|
1807
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1808
|
-
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
1809
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1810
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:13:18.657640"]]
|
1811
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1812
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1813
|
-
[1m[36m (2.6ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1814
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1815
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1816
|
-
[1m[35m (2.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1817
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1818
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1819
|
-
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1820
|
-
[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
|
1821
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1822
|
-
[1m[35m (2.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1823
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1824
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1825
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1826
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
1827
|
-
FROM pg_tables
|
1828
|
-
WHERE
|
1829
|
-
tablename !~ '_prt_' AND
|
1830
|
-
tablename <> 'schema_migrations' AND
|
1831
|
-
schemaname = ANY (current_schemas(false))
|
1832
|
-
[0m
|
1833
|
-
[1m[35m (0.6ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
1834
|
-
[1m[36m (3.6ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1835
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1836
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1837
|
-
[1m[35m (2.1ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1838
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1839
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1840
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:13:24.157407"], ["updated_at", "2016-06-25 14:13:24.157407"]]
|
1841
|
-
[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", 1], ["created_at", "2016-06-25 14:13:24.160666"]]
|
1842
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1843
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1844
|
-
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1845
|
-
[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
|
1846
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1847
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:13:24.167600"], ["updated_at", "2016-06-25 14:13:24.167600"]]
|
1848
|
-
[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", 1], ["created_at", "2016-06-25 14:13:24.168450"]]
|
1849
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1850
|
-
[1m[36m (0.9ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1851
|
-
[1m[35m (9.3ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1852
|
-
[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
|
1853
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1854
|
-
[1m[36m (4.5ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1855
|
-
[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
|
1856
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1857
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:13:28.475093"], ["updated_at", "2016-06-25 14:13:28.475093"]]
|
1858
|
-
[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", 1], ["created_at", "2016-06-25 14:13:28.476280"]]
|
1859
|
-
[1m[35m (0.5ms)[0m COMMIT
|
1860
|
-
[1m[36m (1.6ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1861
|
-
[1m[35m (17.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1862
|
-
[1m[36m (0.9ms)[0m [1mALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1863
|
-
[1m[35m (0.3ms)[0m BEGIN
|
1864
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:16:07.135789"], ["updated_at", "2016-06-25 14:16:07.135789"]]
|
1865
|
-
[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-06-25 14:16:07.134642"], ["receiver_id", 1], ["created_at", "2016-06-25 14:16:07.138654"]]
|
1866
|
-
[1m[36m (0.7ms)[0m [1mCOMMIT[0m
|
1867
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1868
|
-
[1m[36m (9.2ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1869
|
-
[1m[35m (0.5ms)[0m ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1870
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1871
|
-
[1m[35m (3.7ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1872
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1873
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1874
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:16:07.922175"], ["updated_at", "2016-06-25 14:16:07.922175"]]
|
1875
|
-
[1m[35m (0.4ms)[0m COMMIT
|
1876
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1877
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:16:07.924930"]]
|
1878
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1879
|
-
[1m[35m (0.7ms)[0m ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1880
|
-
[1m[36m (16.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1881
|
-
[1m[35m (1.6ms)[0m ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1882
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1883
|
-
[1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:16:08.276197"], ["updated_at", "2016-06-25 14:16:08.276197"]]
|
1884
|
-
[1m[36m (0.7ms)[0m [1mCOMMIT[0m
|
1885
|
-
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
1886
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1887
|
-
[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-06-25 14:16:08.293179"]]
|
1888
|
-
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
1889
|
-
[1m[35m (0.7ms)[0m ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1890
|
-
[1m[36m (13.1ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1891
|
-
[1m[35m (0.8ms)[0m ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1892
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1893
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1894
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
1895
|
-
FROM pg_tables
|
1896
|
-
WHERE
|
1897
|
-
tablename !~ '_prt_' AND
|
1898
|
-
tablename <> 'schema_migrations' AND
|
1899
|
-
schemaname = ANY (current_schemas(false))
|
1900
|
-
[0m
|
1901
|
-
[1m[35m (0.7ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
1902
|
-
[1m[36m (3.6ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1903
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1904
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1905
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:16:15.852013"], ["updated_at", "2016-06-25 14:16:15.852013"]]
|
1906
|
-
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1907
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1908
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:16:15.862537"]]
|
1909
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1910
|
-
[1m[36mHertz::Notification Load (0.2ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
1911
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1912
|
-
[1m[36m (4.1ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1913
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1914
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1915
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:16:15.877376"], ["updated_at", "2016-06-25 14:16:15.877376"]]
|
1916
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1917
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
1918
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1919
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:16:15.881316"]]
|
1920
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1921
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1922
|
-
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
1923
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
1924
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1925
|
-
[1m[35m (2.3ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1926
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1927
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1928
|
-
[1m[36m (2.6ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1929
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1930
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1931
|
-
[1m[35m (2.2ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1932
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1933
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1934
|
-
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1935
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1936
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1937
|
-
[1m[35m (2.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1938
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1939
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1940
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:16:15.937094"], ["updated_at", "2016-06-25 14:16:15.937094"]]
|
1941
|
-
[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", 1], ["created_at", "2016-06-25 14:16:15.938048"]]
|
1942
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1943
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1944
|
-
[1m[36m (2.4ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1945
|
-
[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
|
1946
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1947
|
-
[1m[35m (2.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1948
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1949
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1950
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:16:15.950163"], ["updated_at", "2016-06-25 14:16:15.950163"]]
|
1951
|
-
[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", 1], ["created_at", "2016-06-25 14:16:15.951020"]]
|
1952
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1953
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1954
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", "2016-06-25 14:16:15.952475"], ["id", 1]]
|
1955
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1956
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1957
|
-
[1m[35m (2.2ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1958
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1959
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1960
|
-
[1m[36m (2.5ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1961
|
-
[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
|
1962
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1963
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:16:15.968446"], ["updated_at", "2016-06-25 14:16:15.968446"]]
|
1964
|
-
[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-06-25 14:16:15.968023"], ["receiver_id", 1], ["created_at", "2016-06-25 14:16:15.969314"]]
|
1965
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1966
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1967
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 1]]
|
1968
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1969
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1970
|
-
[1m[36m (2.6ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1971
|
-
[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
|
1972
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1973
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:16:15.977715"], ["updated_at", "2016-06-25 14:16:15.977715"]]
|
1974
|
-
[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", 1], ["created_at", "2016-06-25 14:16:15.978618"]]
|
1975
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1976
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1977
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:16:15.980604"], ["updated_at", "2016-06-25 14:16:15.980604"]]
|
1978
|
-
[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-06-25 14:16:15.980239"], ["receiver_id", 2], ["created_at", "2016-06-25 14:16:15.981296"]]
|
1979
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1980
|
-
[1m[36mHertz::Notification Load (0.2ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)[0m
|
1981
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1982
|
-
[1m[36m (2.2ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1983
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1984
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1985
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
1986
|
-
[1m[36m (0.8ms)[0m [1m SELECT schemaname || '.' || tablename
|
1987
|
-
FROM pg_tables
|
1988
|
-
WHERE
|
1989
|
-
tablename !~ '_prt_' AND
|
1990
|
-
tablename <> 'schema_migrations' AND
|
1991
|
-
schemaname = ANY (current_schemas(false))
|
1992
|
-
[0m
|
1993
|
-
[1m[35m (0.6ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
1994
|
-
[1m[36m (3.8ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
1995
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
1996
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
1997
|
-
[1m[35m (2.5ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
1998
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
1999
|
-
[1m[35m (0.2ms)[0m BEGIN
|
2000
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:16:18.157561"], ["updated_at", "2016-06-25 14:16:18.157561"]]
|
2001
|
-
[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", 1], ["created_at", "2016-06-25 14:16:18.160776"]]
|
2002
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2003
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
2004
|
-
[1m[36m (2.5ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
2005
|
-
[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
|
2006
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2007
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:16:18.168194"], ["updated_at", "2016-06-25 14:16:18.168194"]]
|
2008
|
-
[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", 1], ["created_at", "2016-06-25 14:16:18.169087"]]
|
2009
|
-
[1m[35m (0.3ms)[0m COMMIT
|
2010
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2011
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-06-25 14:16:18.170591"], ["id", 1]]
|
2012
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2013
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
2014
|
-
[1m[36m (2.2ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
2015
|
-
[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
|
2016
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
2017
|
-
[1m[35m (2.5ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
2018
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
2019
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2020
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:16:18.185015"], ["updated_at", "2016-06-25 14:16:18.185015"]]
|
2021
|
-
[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", 1], ["created_at", "2016-06-25 14:16:18.185875"]]
|
2022
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2023
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2024
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:16:18.187660"], ["updated_at", "2016-06-25 14:16:18.187660"]]
|
2025
|
-
[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-06-25 14:16:18.187337"], ["receiver_id", 2], ["created_at", "2016-06-25 14:16:18.188272"]]
|
2026
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2027
|
-
[1m[35mHertz::Notification Load (0.2ms)[0m SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
|
2028
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
2029
|
-
[1m[35m (2.5ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
2030
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
2031
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2032
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-25 14:16:18.196575"], ["updated_at", "2016-06-25 14:16:18.196575"]]
|
2033
|
-
[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-06-25 14:16:18.196041"], ["receiver_id", 1], ["created_at", "2016-06-25 14:16:18.197670"]]
|
2034
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2035
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2036
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", nil], ["id", 1]]
|
2037
|
-
[1m[35m (0.3ms)[0m COMMIT
|
2038
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
2039
|
-
[1m[35m (2.4ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
2040
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
2041
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
2042
|
-
[1m[36m (2.6ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
2043
|
-
[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
|
2044
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2045
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:16:18.211106"], ["updated_at", "2016-06-25 14:16:18.211106"]]
|
2046
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2047
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2048
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:16:18.212940"]]
|
2049
|
-
[1m[35m (0.3ms)[0m COMMIT
|
2050
|
-
[1m[36mHertz::Notification Load (0.2ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
2051
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
2052
|
-
[1m[36m (2.5ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
2053
|
-
[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
|
2054
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2055
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-25 14:16:18.229497"], ["updated_at", "2016-06-25 14:16:18.229497"]]
|
2056
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2057
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
2058
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2059
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-25 14:16:18.232423"]]
|
2060
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2061
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2062
|
-
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2063
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
2064
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
2065
|
-
[1m[35m (2.5ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
2066
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
2067
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
2068
|
-
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
2069
|
-
[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
|
2070
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL[0m
|
2071
|
-
[1m[35m (2.5ms)[0m TRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;
|
2072
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL[0m
|
2073
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
|
2074
|
-
[1m[36m (2.3ms)[0m [1mTRUNCATE TABLE "public"."hertz_notifications", "public"."users" RESTART IDENTITY CASCADE;[0m
|
2075
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
|
2076
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2077
|
-
[1m[36m (111.7ms)[0m [1mDROP DATABASE IF EXISTS "hertz_test"[0m
|
2078
|
-
[1m[35m (298.7ms)[0m CREATE DATABASE "hertz_test" ENCODING = 'utf8'
|
2079
|
-
[1m[36mSQL (0.4ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
2080
|
-
[1m[35mSQL (21.8ms)[0m CREATE EXTENSION IF NOT EXISTS "hstore"
|
2081
|
-
[1m[36m (5.6ms)[0m [1mCREATE TABLE "hertz_deliveries" ("id" serial primary key, "notification_id" integer NOT NULL, "courier" character varying NOT NULL, "created_at" timestamp NOT NULL) [0m
|
2082
|
-
[1m[35m (1.8ms)[0m CREATE UNIQUE INDEX "index_hertz_notification_deliveries_on_notification_and_courier" ON "hertz_deliveries" USING btree ("notification_id", "courier")
|
2083
|
-
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_hertz_deliveries_on_notification_id" ON "hertz_deliveries" USING btree ("notification_id")[0m
|
2084
|
-
[1m[35m (2.4ms)[0m CREATE TABLE "hertz_notifications" ("id" serial primary key, "type" character varying NOT NULL, "receiver_type" character varying NOT NULL, "receiver_id" integer NOT NULL, "meta" hstore DEFAULT '' NOT NULL, "read_at" timestamp, "created_at" timestamp NOT NULL)
|
2085
|
-
[1m[36m (1.5ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
2086
|
-
[1m[35m (1.2ms)[0m ALTER TABLE "hertz_deliveries" ADD CONSTRAINT "fk_rails_eefe07f4cd"
|
2087
|
-
FOREIGN KEY ("notification_id")
|
2088
|
-
REFERENCES "hertz_notifications" ("id")
|
2089
|
-
ON DELETE CASCADE
|
2090
|
-
[1m[36m (1.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
2091
|
-
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
2092
|
-
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2093
|
-
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160628084413')
|
2094
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160418122437')[0m
|
2095
|
-
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160415175358')
|
2096
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160415175837')[0m
|
2097
|
-
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160627084119')
|
2098
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160508094342')[0m
|
2099
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
2100
|
-
[1m[36m (0.5ms)[0m [1mALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
2101
|
-
[1m[35m (0.7ms)[0m SELECT schemaname || '.' || tablename
|
2102
|
-
FROM pg_tables
|
2103
|
-
WHERE
|
2104
|
-
tablename !~ '_prt_' AND
|
2105
|
-
tablename <> 'schema_migrations' AND
|
2106
|
-
schemaname = ANY (current_schemas(false))
|
2107
|
-
|
2108
|
-
[1m[36m (0.7ms)[0m [1mselect table_name from information_schema.views where table_schema = 'hertz_test'[0m
|
2109
|
-
[1m[35m (4.6ms)[0m TRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;
|
2110
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL[0m
|
2111
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL
|
2112
|
-
[1m[36m (4.3ms)[0m [1mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;[0m
|
2113
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL
|
2114
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL[0m
|
2115
|
-
[1m[35m (7.6ms)[0m TRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;
|
2116
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL[0m
|
2117
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL
|
2118
|
-
[1m[36m (4.2ms)[0m [1mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;[0m
|
2119
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL
|
2120
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2121
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-28 08:45:21.140197"], ["updated_at", "2016-06-28 08:45:21.140197"]]
|
2122
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2123
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
2124
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2125
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-28 08:45:21.160062"]]
|
2126
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2127
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2128
|
-
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2129
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
2130
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL[0m
|
2131
|
-
[1m[35m (4.7ms)[0m TRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;
|
2132
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL[0m
|
2133
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2134
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-28 08:45:21.171263"], ["updated_at", "2016-06-28 08:45:21.171263"]]
|
2135
|
-
[1m[35m (0.3ms)[0m COMMIT
|
2136
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2137
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-28 08:45:21.173738"]]
|
2138
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2139
|
-
[1m[35mHertz::Notification Load (0.1ms)[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"]]
|
2140
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL[0m
|
2141
|
-
[1m[35m (4.6ms)[0m TRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;
|
2142
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL[0m
|
2143
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL
|
2144
|
-
[1m[36m (4.6ms)[0m [1mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;[0m
|
2145
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL
|
2146
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL[0m
|
2147
|
-
[1m[35m (4.3ms)[0m TRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;
|
2148
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL[0m
|
2149
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2150
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-28 08:45:21.364887"], ["updated_at", "2016-06-28 08:45:21.364887"]]
|
2151
|
-
[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", 1], ["created_at", "2016-06-28 08:45:21.365745"]]
|
2152
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2153
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL
|
2154
|
-
[1m[36m (4.3ms)[0m [1mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;[0m
|
2155
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL
|
2156
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL[0m
|
2157
|
-
[1m[35m (4.2ms)[0m TRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;
|
2158
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL[0m
|
2159
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2160
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-28 08:45:21.381181"], ["updated_at", "2016-06-28 08:45:21.381181"]]
|
2161
|
-
[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-06-28 08:45:21.382079"]]
|
2162
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2163
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2164
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", "2016-06-28 08:45:21.384033"], ["id", 1]]
|
2165
|
-
[1m[35m (0.3ms)[0m COMMIT
|
2166
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL[0m
|
2167
|
-
[1m[35m (4.8ms)[0m TRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;
|
2168
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL[0m
|
2169
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL
|
2170
|
-
[1m[36m (4.6ms)[0m [1mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;[0m
|
2171
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL
|
2172
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2173
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-28 08:45:21.404043"], ["updated_at", "2016-06-28 08:45:21.404043"]]
|
2174
|
-
[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", 1], ["created_at", "2016-06-28 08:45:21.404919"]]
|
2175
|
-
[1m[35m (0.3ms)[0m COMMIT
|
2176
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2177
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-28 08:45:21.406774"], ["updated_at", "2016-06-28 08:45:21.406774"]]
|
2178
|
-
[1m[36mSQL (0.1ms)[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-06-28 08:45:21.406427"], ["receiver_id", 2], ["created_at", "2016-06-28 08:45:21.407362"]]
|
2179
|
-
[1m[35m (0.3ms)[0m COMMIT
|
2180
|
-
[1m[36mHertz::Notification Load (0.2ms)[0m [1mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)[0m
|
2181
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL
|
2182
|
-
[1m[36m (4.5ms)[0m [1mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;[0m
|
2183
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL
|
2184
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2185
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-28 08:45:21.417395"], ["updated_at", "2016-06-28 08:45:21.417395"]]
|
2186
|
-
[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-06-28 08:45:21.416817"], ["receiver_id", 1], ["created_at", "2016-06-28 08:45:21.418524"]]
|
2187
|
-
[1m[35m (0.3ms)[0m COMMIT
|
2188
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2189
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", nil], ["id", 1]]
|
2190
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2191
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL
|
2192
|
-
[1m[36m (4.8ms)[0m [1mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;[0m
|
2193
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL
|
2194
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL[0m
|
2195
|
-
[1m[35m (4.4ms)[0m TRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;
|
2196
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL[0m
|
2197
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2198
|
-
[1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL
|
2199
|
-
[1m[36m (0.7ms)[0m [1m SELECT schemaname || '.' || tablename
|
2200
|
-
FROM pg_tables
|
2201
|
-
WHERE
|
2202
|
-
tablename !~ '_prt_' AND
|
2203
|
-
tablename <> 'schema_migrations' AND
|
2204
|
-
schemaname = ANY (current_schemas(false))
|
2205
|
-
[0m
|
2206
|
-
[1m[35m (0.6ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
2207
|
-
[1m[36m (4.7ms)[0m [1mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;[0m
|
2208
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
|
2209
|
-
[1m[36m (1.5ms)[0m [1mALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
2210
|
-
[1m[35m (4.3ms)[0m TRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;
|
2211
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL[0m
|
2212
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
|
2213
|
-
[1m[36m (4.2ms)[0m [1mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;[0m
|
2214
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL
|
2215
|
-
[1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL[0m
|
2216
|
-
[1m[35m (4.5ms)[0m TRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;
|
2217
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL[0m
|
2218
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL
|
2219
|
-
[1m[36m (4.6ms)[0m [1mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;[0m
|
2220
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL
|
2221
|
-
[1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL[0m
|
2222
|
-
[1m[35m (4.2ms)[0m TRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;
|
2223
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL[0m
|
2224
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL
|
2225
|
-
[1m[36m (4.4ms)[0m [1mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;[0m
|
2226
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL
|
2227
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2228
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-28 08:50:08.985071"], ["updated_at", "2016-06-28 08:50:08.985071"]]
|
2229
|
-
[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", 1], ["created_at", "2016-06-28 08:50:08.987532"]]
|
2230
|
-
[1m[35m (0.3ms)[0m COMMIT
|
2231
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL[0m
|
2232
|
-
[1m[35m (4.5ms)[0m TRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;
|
2233
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL[0m
|
2234
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2235
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-28 08:50:08.996629"], ["updated_at", "2016-06-28 08:50:08.996629"]]
|
2236
|
-
[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", 1], ["created_at", "2016-06-28 08:50:08.997471"]]
|
2237
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2238
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2239
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", "2016-06-28 08:50:08.998904"], ["id", 1]]
|
2240
|
-
[1m[35m (0.3ms)[0m COMMIT
|
2241
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL[0m
|
2242
|
-
[1m[35m (4.2ms)[0m TRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;
|
2243
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL[0m
|
2244
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL
|
2245
|
-
[1m[36m (4.4ms)[0m [1mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;[0m
|
2246
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL
|
2247
|
-
[1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL[0m
|
2248
|
-
[1m[35m (4.5ms)[0m TRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;
|
2249
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL[0m
|
2250
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL
|
2251
|
-
[1m[36m (5.6ms)[0m [1mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;[0m
|
2252
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL
|
2253
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL[0m
|
2254
|
-
[1m[35m (4.5ms)[0m TRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;
|
2255
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL[0m
|
2256
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2257
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-28 08:50:09.071497"], ["updated_at", "2016-06-28 08:50:09.071497"]]
|
2258
|
-
[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-06-28 08:50:09.071026"], ["receiver_id", 1], ["created_at", "2016-06-28 08:50:09.072306"]]
|
2259
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2260
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2261
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", nil], ["id", 1]]
|
2262
|
-
[1m[35m (0.2ms)[0m COMMIT
|
2263
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL[0m
|
2264
|
-
[1m[35m (4.8ms)[0m TRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;
|
2265
|
-
[1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL[0m
|
2266
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2267
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-28 08:50:09.083572"], ["updated_at", "2016-06-28 08:50:09.083572"]]
|
2268
|
-
[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-06-28 08:50:09.084684"]]
|
2269
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2270
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2271
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-28 08:50:09.086893"], ["updated_at", "2016-06-28 08:50:09.086893"]]
|
2272
|
-
[1m[35mSQL (0.1ms)[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-06-28 08:50:09.086540"], ["receiver_id", 2], ["created_at", "2016-06-28 08:50:09.087546"]]
|
2273
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2274
|
-
[1m[35mHertz::Notification Load (0.2ms)[0m SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
|
2275
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL[0m
|
2276
|
-
[1m[35m (4.5ms)[0m TRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;
|
2277
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL[0m
|
2278
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2279
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-28 08:50:09.097037"], ["updated_at", "2016-06-28 08:50:09.097037"]]
|
2280
|
-
[1m[35m (0.2ms)[0m COMMIT
|
2281
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2282
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-28 08:50:09.098797"]]
|
2283
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2284
|
-
[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", 1], ["receiver_type", "User"]]
|
2285
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL[0m
|
2286
|
-
[1m[35m (5.1ms)[0m TRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;
|
2287
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL[0m
|
2288
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2289
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-28 08:50:09.119334"], ["updated_at", "2016-06-28 08:50:09.119334"]]
|
2290
|
-
[1m[35m (0.3ms)[0m COMMIT
|
2291
|
-
[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"]]
|
2292
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2293
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-28 08:50:09.122350"]]
|
2294
|
-
[1m[35m (0.3ms)[0m COMMIT
|
2295
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2296
|
-
[1m[35m (0.1ms)[0m COMMIT
|
2297
|
-
[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"]]
|
2298
|
-
[1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL
|
2299
|
-
[1m[36m (4.7ms)[0m [1mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;[0m
|
2300
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL
|
2301
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2302
|
-
[1m[35m (1.5ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL
|
2303
|
-
[1m[36m (0.8ms)[0m [1m SELECT schemaname || '.' || tablename
|
2304
|
-
FROM pg_tables
|
2305
|
-
WHERE
|
2306
|
-
tablename !~ '_prt_' AND
|
2307
|
-
tablename <> 'schema_migrations' AND
|
2308
|
-
schemaname = ANY (current_schemas(false))
|
2309
|
-
[0m
|
2310
|
-
[1m[35m (0.7ms)[0m select table_name from information_schema.views where table_schema = 'hertz_test'
|
2311
|
-
[1m[36m (4.8ms)[0m [1mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;[0m
|
2312
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL
|
2313
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL[0m
|
2314
|
-
[1m[35m (4.6ms)[0m TRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;
|
2315
|
-
[1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL[0m
|
2316
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL
|
2317
|
-
[1m[36m (4.4ms)[0m [1mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;[0m
|
2318
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL
|
2319
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL[0m
|
2320
|
-
[1m[35m (4.4ms)[0m TRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;
|
2321
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL[0m
|
2322
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL
|
2323
|
-
[1m[36m (4.5ms)[0m [1mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;[0m
|
2324
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL
|
2325
|
-
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
2326
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-28 08:50:22.216632"], ["updated_at", "2016-06-28 08:50:22.216632"]]
|
2327
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2328
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
2329
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2330
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-28 08:50:22.234621"]]
|
2331
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2332
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2333
|
-
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2334
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 [["receiver_id", 1], ["receiver_type", "User"]]
|
2335
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL[0m
|
2336
|
-
[1m[35m (4.4ms)[0m TRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;
|
2337
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL[0m
|
2338
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2339
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-28 08:50:22.245445"], ["updated_at", "2016-06-28 08:50:22.245445"]]
|
2340
|
-
[1m[35m (0.2ms)[0m COMMIT
|
2341
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2342
|
-
[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", 1], ["receiver_type", "User"], ["created_at", "2016-06-28 08:50:22.247522"]]
|
2343
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2344
|
-
[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", 1], ["receiver_type", "User"]]
|
2345
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL[0m
|
2346
|
-
[1m[35m (4.4ms)[0m TRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;
|
2347
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL[0m
|
2348
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL
|
2349
|
-
[1m[36m (4.5ms)[0m [1mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;[0m
|
2350
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL
|
2351
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL[0m
|
2352
|
-
[1m[35m (4.2ms)[0m TRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;
|
2353
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL[0m
|
2354
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2355
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-28 08:50:22.426497"], ["updated_at", "2016-06-28 08:50:22.426497"]]
|
2356
|
-
[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", 1], ["created_at", "2016-06-28 08:50:22.427348"]]
|
2357
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2358
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL
|
2359
|
-
[1m[36m (4.3ms)[0m [1mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;[0m
|
2360
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL
|
2361
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2362
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-28 08:50:22.435854"], ["updated_at", "2016-06-28 08:50:22.435854"]]
|
2363
|
-
[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", 1], ["created_at", "2016-06-28 08:50:22.436677"]]
|
2364
|
-
[1m[35m (0.3ms)[0m COMMIT
|
2365
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2366
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2 [["read_at", "2016-06-28 08:50:22.438101"], ["id", 1]]
|
2367
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2368
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL
|
2369
|
-
[1m[36m (4.7ms)[0m [1mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;[0m
|
2370
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL
|
2371
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2372
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-28 08:50:22.449884"], ["updated_at", "2016-06-28 08:50:22.449884"]]
|
2373
|
-
[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", 1], ["created_at", "2016-06-28 08:50:22.450766"]]
|
2374
|
-
[1m[35m (0.3ms)[0m COMMIT
|
2375
|
-
[1m[36mHertz::Delivery Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "hertz_deliveries" WHERE "hertz_deliveries"."notification_id" = $1 AND "hertz_deliveries"."courier" = $2 LIMIT 1[0m [["notification_id", 1], ["courier", "test"]]
|
2376
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2377
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_deliveries" ("notification_id", "courier", "created_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["notification_id", 1], ["courier", "test"], ["created_at", "2016-06-28 08:50:22.458438"]]
|
2378
|
-
[1m[35m (0.3ms)[0m COMMIT
|
2379
|
-
[1m[36mHertz::Delivery Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "hertz_deliveries" WHERE "hertz_deliveries"."notification_id" = $1 AND "hertz_deliveries"."courier" = $2 LIMIT 1[0m [["notification_id", 1], ["courier", "test"]]
|
2380
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL
|
2381
|
-
[1m[36m (4.2ms)[0m [1mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;[0m
|
2382
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL
|
2383
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL[0m
|
2384
|
-
[1m[35m (4.3ms)[0m TRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;
|
2385
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL[0m
|
2386
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2387
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-28 08:50:22.474798"], ["updated_at", "2016-06-28 08:50:22.474798"]]
|
2388
|
-
[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", 1], ["created_at", "2016-06-28 08:50:22.475687"]]
|
2389
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2390
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2391
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-28 08:50:22.477690"], ["updated_at", "2016-06-28 08:50:22.477690"]]
|
2392
|
-
[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-06-28 08:50:22.477276"], ["receiver_id", 2], ["created_at", "2016-06-28 08:50:22.478402"]]
|
2393
|
-
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2394
|
-
[1m[35mHertz::Notification Load (0.2ms)[0m SELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)
|
2395
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL[0m
|
2396
|
-
[1m[35m (4.6ms)[0m TRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;
|
2397
|
-
[1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL[0m
|
2398
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2399
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-06-28 08:50:22.489113"], ["updated_at", "2016-06-28 08:50:22.489113"]]
|
2400
|
-
[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-06-28 08:50:22.488610"], ["receiver_id", 1], ["created_at", "2016-06-28 08:50:22.490167"]]
|
2401
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2402
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2403
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", nil], ["id", 1]]
|
2404
|
-
[1m[35m (0.2ms)[0m COMMIT
|
2405
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL[0m
|
2406
|
-
[1m[35m (4.1ms)[0m TRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;
|
2407
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL[0m
|
2408
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL
|
2409
|
-
[1m[36m (4.4ms)[0m [1mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;[0m
|
2410
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL
|
2411
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2412
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-06-28 08:50:22.507017"], ["updated_at", "2016-06-28 08:50:22.507017"]]
|
2413
|
-
[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", 1], ["created_at", "2016-06-28 08:50:22.507927"]]
|
2414
|
-
[1m[35m (0.3ms)[0m COMMIT
|
2415
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "hertz_deliveries" WHERE "hertz_deliveries"."notification_id" = $1[0m [["notification_id", 1]]
|
2416
|
-
[1m[35m (0.1ms)[0m BEGIN
|
2417
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "hertz_deliveries" ("courier", "notification_id", "created_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["courier", "test"], ["notification_id", 1], ["created_at", "2016-06-28 08:50:22.511151"]]
|
2418
|
-
[1m[35m (0.3ms)[0m COMMIT
|
2419
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "hertz_deliveries" WHERE "hertz_deliveries"."notification_id" = $1[0m [["notification_id", 1]]
|
2420
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL
|
2421
|
-
[1m[36m (4.9ms)[0m [1mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries" RESTART IDENTITY CASCADE;[0m
|
2422
|
-
[1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL
|
1
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
3
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
|
4
|
+
[1m[35m (5.6ms)[0m [1m[35mCOMMIT[0m
|
5
|
+
[1m[35m (1.0ms)[0m [1m[34m SELECT schemaname || '.' || tablename
|
6
|
+
FROM pg_tables
|
7
|
+
WHERE
|
8
|
+
tablename !~ '_prt_' AND
|
9
|
+
tablename <> 'schema_migrations' AND
|
10
|
+
schemaname = ANY (current_schemas(false))
|
11
|
+
[0m
|
12
|
+
[1m[35m (1.1ms)[0m [1m[34mselect table_name from information_schema.views where table_schema = 'hertz_test'[0m
|
13
|
+
[1m[35m (15.3ms)[0m [1m[35mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries", "public"."ar_internal_metadata" RESTART IDENTITY CASCADE;[0m
|
14
|
+
[1m[35m (1.7ms)[0m [1m[35mBEGIN[0m
|
15
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
|
16
|
+
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
|
17
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
18
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
|
19
|
+
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
20
|
+
[1m[35m (9.6ms)[0m [1m[35mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries", "public"."ar_internal_metadata" RESTART IDENTITY CASCADE;[0m
|
21
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
22
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
|
23
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
24
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
25
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
|
26
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
27
|
+
[1m[35m (7.1ms)[0m [1m[35mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries", "public"."ar_internal_metadata" RESTART IDENTITY CASCADE;[0m
|
28
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
29
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
|
30
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
31
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
32
|
+
[1m[35m (14.5ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
|
33
|
+
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
34
|
+
[1m[35m (15.7ms)[0m [1m[35mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries", "public"."ar_internal_metadata" RESTART IDENTITY CASCADE;[0m
|
35
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
36
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
|
37
|
+
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
38
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
39
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
|
40
|
+
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
41
|
+
[1m[35m (8.4ms)[0m [1m[35mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries", "public"."ar_internal_metadata" RESTART IDENTITY CASCADE;[0m
|
42
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
43
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
|
44
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
45
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
46
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
|
47
|
+
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
48
|
+
[1m[35m (7.6ms)[0m [1m[35mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries", "public"."ar_internal_metadata" RESTART IDENTITY CASCADE;[0m
|
49
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
50
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
|
51
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
52
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
53
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
|
54
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
55
|
+
[1m[35m (7.3ms)[0m [1m[35mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries", "public"."ar_internal_metadata" RESTART IDENTITY CASCADE;[0m
|
56
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
57
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
|
58
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
59
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
60
|
+
[1m[35mSQL (11.2ms)[0m [1m[32mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2017-01-19 15:22:16 UTC], ["updated_at", 2017-01-19 15:22:16 UTC]]
|
61
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT 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", 2017-01-19 15:22:16 UTC]]
|
62
|
+
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
63
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
64
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
|
65
|
+
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
66
|
+
[1m[35m (9.8ms)[0m [1m[35mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries", "public"."ar_internal_metadata" RESTART IDENTITY CASCADE;[0m
|
67
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
68
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
|
69
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
70
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
71
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2017-01-19 15:22:16 UTC], ["updated_at", 2017-01-19 15:22:16 UTC]]
|
72
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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", 2017-01-19 15:22:16 UTC]]
|
73
|
+
[1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
|
74
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "hertz_deliveries" WHERE "hertz_deliveries"."notification_id" = $1[0m [["notification_id", 1]]
|
75
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
76
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "hertz_deliveries" ("notification_id", "courier", "created_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["notification_id", 1], ["courier", "test"], ["created_at", 2017-01-19 15:22:16 UTC]]
|
77
|
+
[1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
|
78
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "hertz_deliveries" WHERE "hertz_deliveries"."notification_id" = $1[0m [["notification_id", 1]]
|
79
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
80
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
|
81
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
82
|
+
[1m[35m (9.4ms)[0m [1m[35mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries", "public"."ar_internal_metadata" RESTART IDENTITY CASCADE;[0m
|
83
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
84
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
|
85
|
+
[1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
|
86
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
87
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
|
88
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
89
|
+
[1m[35m (7.2ms)[0m [1m[35mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries", "public"."ar_internal_metadata" RESTART IDENTITY CASCADE;[0m
|
90
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
91
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
|
92
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
93
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
94
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
|
95
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
96
|
+
[1m[35m (7.0ms)[0m [1m[35mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries", "public"."ar_internal_metadata" RESTART IDENTITY CASCADE;[0m
|
97
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
98
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
|
99
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
100
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
101
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2017-01-19 15:22:17 UTC], ["updated_at", 2017-01-19 15:22:17 UTC]]
|
102
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT 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", 2017-01-19 15:22:17 UTC]]
|
103
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
104
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
105
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", 2017-01-19 15:22:17 UTC], ["id", 1]]
|
106
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
107
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
108
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
|
109
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
110
|
+
[1m[35m (7.2ms)[0m [1m[35mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries", "public"."ar_internal_metadata" RESTART IDENTITY CASCADE;[0m
|
111
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
112
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
|
113
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
114
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
115
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2017-01-19 15:22:17 UTC], ["updated_at", 2017-01-19 15:22:17 UTC]]
|
116
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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", 2017-01-19 15:22:17 UTC]]
|
117
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
118
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
119
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2017-01-19 15:22:17 UTC], ["updated_at", 2017-01-19 15:22:17 UTC]]
|
120
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "read_at", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 2], ["read_at", 2017-01-19 15:22:17 UTC], ["created_at", 2017-01-19 15:22:17 UTC]]
|
121
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
122
|
+
[1m[36mHertz::Notification Load (0.1ms)[0m [1m[34mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE (read_at IS NULL)[0m
|
123
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
124
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
|
125
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
126
|
+
[1m[35m (7.0ms)[0m [1m[35mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries", "public"."ar_internal_metadata" RESTART IDENTITY CASCADE;[0m
|
127
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
128
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
|
129
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
130
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
131
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2017-01-19 15:22:17 UTC], ["updated_at", 2017-01-19 15:22:17 UTC]]
|
132
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "read_at", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["type", "Hertz::Notification"], ["receiver_type", "User"], ["receiver_id", 1], ["read_at", 2017-01-19 15:22:17 UTC], ["created_at", 2017-01-19 15:22:17 UTC]]
|
133
|
+
[1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
|
134
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
135
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "hertz_notifications" SET "read_at" = $1 WHERE "hertz_notifications"."id" = $2[0m [["read_at", nil], ["id", 1]]
|
136
|
+
[1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
|
137
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
138
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
|
139
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
140
|
+
[1m[35m (9.8ms)[0m [1m[35mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries", "public"."ar_internal_metadata" RESTART IDENTITY CASCADE;[0m
|
141
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
142
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
|
143
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
144
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
145
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2017-01-19 15:22:17 UTC], ["updated_at", 2017-01-19 15:22:17 UTC]]
|
146
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT 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", 2017-01-19 15:22:17 UTC]]
|
147
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
148
|
+
[1m[36mHertz::Delivery Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "hertz_deliveries" WHERE "hertz_deliveries"."notification_id" = $1 AND "hertz_deliveries"."courier" = $2 LIMIT $3[0m [["notification_id", 1], ["courier", :test], ["LIMIT", 1]]
|
149
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
150
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "hertz_deliveries" ("notification_id", "courier", "created_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["notification_id", 1], ["courier", "test"], ["created_at", 2017-01-19 15:22:17 UTC]]
|
151
|
+
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
152
|
+
[1m[36mHertz::Delivery Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "hertz_deliveries" WHERE "hertz_deliveries"."notification_id" = $1 AND "hertz_deliveries"."courier" = $2 LIMIT $3[0m [["notification_id", 1], ["courier", :test], ["LIMIT", 1]]
|
153
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
154
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
|
155
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
156
|
+
[1m[35m (7.6ms)[0m [1m[35mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries", "public"."ar_internal_metadata" RESTART IDENTITY CASCADE;[0m
|
157
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
158
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
|
159
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
160
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
161
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2017-01-19 15:22:17 UTC], ["updated_at", 2017-01-19 15:22:17 UTC]]
|
162
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
163
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
164
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "meta", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["type", "Hertz::TestNotification"], ["receiver_type", "User"], ["receiver_id", 1], ["meta", "\"foo\"=>\"bar\""], ["created_at", 2017-01-19 15:22:17 UTC]]
|
165
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
166
|
+
[1m[36mHertz::Notification Load (0.2ms)[0m [1m[34mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2 ORDER BY "hertz_notifications"."id" DESC LIMIT $3[0m [["receiver_id", 1], ["receiver_type", "User"], ["LIMIT", 1]]
|
167
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
168
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
|
169
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
170
|
+
[1m[35m (7.3ms)[0m [1m[35mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries", "public"."ar_internal_metadata" RESTART IDENTITY CASCADE;[0m
|
171
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
172
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
|
173
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
174
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
175
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2017-01-19 15:22:17 UTC], ["updated_at", 2017-01-19 15:22:17 UTC]]
|
176
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
177
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
178
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
179
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "meta", "created_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["type", "Hertz::TestNotification"], ["receiver_type", "User"], ["receiver_id", 1], ["meta", "\"foo\"=>\"bar\""], ["created_at", 2017-01-19 15:22:17 UTC]]
|
180
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
181
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
182
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
183
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
|
184
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
185
|
+
[1m[35m (7.1ms)[0m [1m[35mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries", "public"."ar_internal_metadata" RESTART IDENTITY CASCADE;[0m
|
186
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
187
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
|
188
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
189
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
190
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2017-01-19 15:22:17 UTC], ["updated_at", 2017-01-19 15:22:17 UTC]]
|
191
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
192
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
193
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
194
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "hertz_notifications" ("type", "receiver_type", "receiver_id", "created_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["type", "Hertz::TestNotification"], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", 2017-01-19 15:22:17 UTC]]
|
195
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
196
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
197
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
198
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
|
199
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
200
|
+
[1m[35m (8.1ms)[0m [1m[35mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries", "public"."ar_internal_metadata" RESTART IDENTITY CASCADE;[0m
|
201
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
202
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
|
203
|
+
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
204
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
205
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2017-01-19 15:22:17 UTC], ["updated_at", 2017-01-19 15:22:17 UTC]]
|
206
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
207
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
208
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT 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", 2017-01-19 15:22:17 UTC]]
|
209
|
+
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
210
|
+
[1m[36mHertz::Notification Load (0.1ms)[0m [1m[34mSELECT "hertz_notifications".* FROM "hertz_notifications" WHERE "hertz_notifications"."receiver_id" = $1 AND "hertz_notifications"."receiver_type" = $2[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
211
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
212
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" DISABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL[0m
|
213
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
214
|
+
[1m[35m (8.6ms)[0m [1m[35mTRUNCATE TABLE "public"."users", "public"."hertz_notifications", "public"."hertz_deliveries", "public"."ar_internal_metadata" RESTART IDENTITY CASCADE;[0m
|
215
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
216
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "hertz_notifications" ENABLE TRIGGER ALL;ALTER TABLE "hertz_deliveries" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL[0m
|
217
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|