squint 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.all-contributorsrc +2 -1
- data/lib/squint.rb +6 -1
- data/lib/squint/version.rb +1 -1
- metadata +7 -25
- data/test/dummy/app/models/post.rb~ +0 -2
- data/test/dummy/config/database.yml~ +0 -25
- data/test/dummy/db/migrate/20170512185941_create_posts.rb~ +0 -12
- data/test/dummy/log/development.log +0 -390
- data/test/dummy/log/test.log +0 -101830
- data/test/dummy/test/fixtures/posts.yml~ +0 -13
- data/test/dummy/test/models/post_test.rb~ +0 -17
- data/test/reports/TEST-SquintTest.xml +0 -59
- data/test/test_helper.rb~ +0 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 98ccf8823024cfaf1d97d0a7042dcb6269af96158ade06703aedf79b3e158447
|
4
|
+
data.tar.gz: 1370797c3fa4b327983125277f6abe717f3b8b79e6e7bf38c9994ead82300a2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b32b509cf15138f03ea7215fab15271c97a0ae1b17d98743a2ba2f2c02eba47561d5e276cd3fe62f18ccbf90fdcbe283e3291855697e02fc7def8255b29282da
|
7
|
+
data.tar.gz: 9ab6e3389ec91dec76d90244da33a010b87d5d4d14f27ba58940f821e690a7abfaffe8599cd57a7cd14fd212773fe62232a497dc52293b37fee0c7145e53ad0f
|
data/.all-contributorsrc
CHANGED
data/lib/squint.rb
CHANGED
@@ -39,7 +39,12 @@ module Squint
|
|
39
39
|
end
|
40
40
|
memo
|
41
41
|
end
|
42
|
-
if ActiveRecord::VERSION::STRING
|
42
|
+
if ActiveRecord::VERSION::STRING >= '5.2'
|
43
|
+
# In 5.2 the WhereClause private class no longer takes two arguments.
|
44
|
+
# Commit where it was removed:
|
45
|
+
# https://github.com/rails/rails/commit/213796fb4936dce1da2f0c097a054e1af5c25c2c#diff-c9d167bac00ff2f45c5b5e035e8a80e8
|
46
|
+
reln = ActiveRecord::Relation::WhereClause.new(reln)
|
47
|
+
elsif ActiveRecord::VERSION::STRING > '5'
|
43
48
|
reln = ActiveRecord::Relation::WhereClause.new(reln, [])
|
44
49
|
end
|
45
50
|
save_args << [] if save_args.size == 1
|
data/lib/squint/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: squint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David H. Wilkins
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-12-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -70,26 +70,17 @@ files:
|
|
70
70
|
- readme.md
|
71
71
|
- test/dummy/Rakefile
|
72
72
|
- test/dummy/app/models/post.rb
|
73
|
-
- test/dummy/app/models/post.rb~
|
74
73
|
- test/dummy/config.ru
|
75
74
|
- test/dummy/config/application.rb
|
76
75
|
- test/dummy/config/boot.rb
|
77
76
|
- test/dummy/config/database.yml
|
78
|
-
- test/dummy/config/database.yml~
|
79
77
|
- test/dummy/config/environment.rb
|
80
78
|
- test/dummy/config/environments/test.rb
|
81
79
|
- test/dummy/db/migrate/20170512185941_create_posts.rb
|
82
|
-
- test/dummy/db/migrate/20170512185941_create_posts.rb~
|
83
80
|
- test/dummy/db/schema.rb
|
84
|
-
- test/dummy/log/development.log
|
85
|
-
- test/dummy/log/test.log
|
86
81
|
- test/dummy/test/fixtures/posts.yml
|
87
|
-
- test/dummy/test/fixtures/posts.yml~
|
88
|
-
- test/dummy/test/models/post_test.rb~
|
89
|
-
- test/reports/TEST-SquintTest.xml
|
90
82
|
- test/squint_test.rb
|
91
83
|
- test/test_helper.rb
|
92
|
-
- test/test_helper.rb~
|
93
84
|
homepage: https://github.com/ProctorU/squint
|
94
85
|
licenses:
|
95
86
|
- MIT
|
@@ -110,30 +101,21 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
101
|
version: '0'
|
111
102
|
requirements: []
|
112
103
|
rubyforge_project:
|
113
|
-
rubygems_version: 2.6
|
104
|
+
rubygems_version: 2.7.6
|
114
105
|
signing_key:
|
115
106
|
specification_version: 4
|
116
107
|
summary: Search PostgreSQL jsonb and hstore columns
|
117
108
|
test_files:
|
118
|
-
- test/reports/TEST-SquintTest.xml
|
119
|
-
- test/test_helper.rb
|
120
|
-
- test/dummy/Rakefile
|
121
|
-
- test/dummy/app/models/post.rb~
|
122
109
|
- test/dummy/app/models/post.rb
|
123
|
-
- test/dummy/test/models/post_test.rb~
|
124
|
-
- test/dummy/test/fixtures/posts.yml~
|
125
110
|
- test/dummy/test/fixtures/posts.yml
|
126
|
-
- test/dummy/config/database.yml~
|
127
111
|
- test/dummy/config/environments/test.rb
|
128
|
-
- test/dummy/config/application.rb
|
129
|
-
- test/dummy/config/boot.rb
|
130
112
|
- test/dummy/config/environment.rb
|
113
|
+
- test/dummy/config/application.rb
|
131
114
|
- test/dummy/config/database.yml
|
115
|
+
- test/dummy/config/boot.rb
|
132
116
|
- test/dummy/config.ru
|
133
|
-
- test/dummy/
|
134
|
-
- test/dummy/log/test.log
|
117
|
+
- test/dummy/Rakefile
|
135
118
|
- test/dummy/db/schema.rb
|
136
|
-
- test/dummy/db/migrate/20170512185941_create_posts.rb~
|
137
119
|
- test/dummy/db/migrate/20170512185941_create_posts.rb
|
138
|
-
- test/test_helper.rb~
|
139
120
|
- test/squint_test.rb
|
121
|
+
- test/test_helper.rb
|
@@ -1,25 +0,0 @@
|
|
1
|
-
# SQLite version 3.x
|
2
|
-
# gem install sqlite3
|
3
|
-
#
|
4
|
-
# Ensure the SQLite 3 gem is defined in your Gemfile
|
5
|
-
# gem 'sqlite3'
|
6
|
-
#
|
7
|
-
default: &default
|
8
|
-
adapter: sqlite3
|
9
|
-
pool: 5
|
10
|
-
timeout: 5000
|
11
|
-
|
12
|
-
development:
|
13
|
-
<<: *default
|
14
|
-
database: db/development.sqlite3
|
15
|
-
|
16
|
-
# Warning: The database defined as "test" will be erased and
|
17
|
-
# re-generated from your development database when you run "rake".
|
18
|
-
# Do not set this db to the same as development or production.
|
19
|
-
test:
|
20
|
-
<<: *default
|
21
|
-
database: db/test.sqlite3
|
22
|
-
|
23
|
-
production:
|
24
|
-
<<: *default
|
25
|
-
database: db/production.sqlite3
|
@@ -1,390 +0,0 @@
|
|
1
|
-
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
2
|
-
[1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4
|
-
Migrating to CreatePosts (20170512185941)
|
5
|
-
[1m[35m (0.1ms)[0m BEGIN
|
6
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
7
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
8
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
9
|
-
Migrating to CreatePosts (20170512185941)
|
10
|
-
[1m[35m (0.2ms)[0m BEGIN
|
11
|
-
[1m[36mSQL (15.5ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
12
|
-
[1m[35m (1.9ms)[0m CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
13
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20170512185941"]]
|
14
|
-
[1m[35m (0.2ms)[0m COMMIT
|
15
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
16
|
-
[1m[35m (2.2ms)[0m SELECT 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
|
17
|
-
FROM pg_constraint c
|
18
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
19
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
20
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
21
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
22
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
23
|
-
WHERE c.contype = 'f'
|
24
|
-
AND t1.relname = 'posts'
|
25
|
-
AND t3.nspname = ANY (current_schemas(false))
|
26
|
-
ORDER BY c.conname
|
27
|
-
|
28
|
-
[1m[36m (108.2ms)[0m [1mDROP DATABASE IF EXISTS "search_semi_structured_data_development"[0m
|
29
|
-
[1m[35m (3275.6ms)[0m DROP DATABASE IF EXISTS "search_semi_structured_data_test"
|
30
|
-
[1m[36m (223.1ms)[0m [1mCREATE DATABASE "search_semi_structured_data_development" ENCODING = 'unicode'[0m
|
31
|
-
[1m[35m (0.7ms)[0m CREATE DATABASE "search_semi_structured_data_test" ENCODING = 'unicode'
|
32
|
-
[1m[36mSQL (0.3ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
33
|
-
[1m[35mSQL (12.7ms)[0m CREATE EXTENSION IF NOT EXISTS "hstore"
|
34
|
-
[1m[36m (2.0ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
35
|
-
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
36
|
-
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
37
|
-
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
38
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170512185941')[0m
|
39
|
-
[1m[35mSQL (1.9ms)[0m CREATE EXTENSION IF NOT EXISTS "plpgsql"
|
40
|
-
[1m[36mSQL (0.7ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
41
|
-
[1m[35m (4.8ms)[0m DROP TABLE "posts" CASCADE
|
42
|
-
[1m[36m (6.4ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
43
|
-
[1m[35m (0.4ms)[0m SELECT version FROM "schema_migrations"
|
44
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
45
|
-
[1m[36m (5008.8ms)[0m [1mDROP DATABASE IF EXISTS "search_semi_structured_data_test"[0m
|
46
|
-
[1m[36m (108.9ms)[0m [1mDROP DATABASE IF EXISTS "search_semi_structured_data_test"[0m
|
47
|
-
[1m[35m (222.2ms)[0m CREATE DATABASE "search_semi_structured_data_test" ENCODING = 'unicode'
|
48
|
-
[1m[36mSQL (0.3ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
49
|
-
[1m[35mSQL (13.3ms)[0m CREATE EXTENSION IF NOT EXISTS "hstore"
|
50
|
-
[1m[36m (2.0ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
51
|
-
[1m[35m (0.7ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
52
|
-
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
53
|
-
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
54
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170512185941')[0m
|
55
|
-
[1m[36m (110.9ms)[0m [1mDROP DATABASE IF EXISTS "search_semi_structured_data_development"[0m
|
56
|
-
[1m[35m (221.8ms)[0m CREATE DATABASE "search_semi_structured_data_development" ENCODING = 'unicode'
|
57
|
-
[1m[36mSQL (0.7ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
58
|
-
[1m[35mSQL (17.5ms)[0m CREATE EXTENSION IF NOT EXISTS "hstore"
|
59
|
-
[1m[36m (2.0ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
60
|
-
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
61
|
-
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
62
|
-
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
63
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170512185941')[0m
|
64
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
65
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
66
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
67
|
-
[1m[36m (1.9ms)[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
|
68
|
-
FROM pg_constraint c
|
69
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
70
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
71
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
72
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
73
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
74
|
-
WHERE c.contype = 'f'
|
75
|
-
AND t1.relname = 'posts'
|
76
|
-
AND t3.nspname = ANY (current_schemas(false))
|
77
|
-
ORDER BY c.conname
|
78
|
-
[0m
|
79
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
80
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
81
|
-
Migrating to CreatePosts (20170512185941)
|
82
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
83
|
-
[1m[35m (3.2ms)[0m DROP TABLE "posts"
|
84
|
-
[1m[36mSQL (7.4ms)[0m [1mDROP EXTENSION IF EXISTS "hstore" CASCADE[0m
|
85
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = $1 [["version", "20170512185941"]]
|
86
|
-
[1m[36m (0.9ms)[0m [1mCOMMIT[0m
|
87
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
88
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
89
|
-
Migrating to CreatePosts (20170512185941)
|
90
|
-
[1m[35m (0.2ms)[0m BEGIN
|
91
|
-
[1m[36mSQL (19.0ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
92
|
-
[1m[35m (3.9ms)[0m CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "storext_jsonb_attributes" jsonb, "storext_hstore_attributes" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
93
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20170512185941"]]
|
94
|
-
[1m[35m (0.2ms)[0m COMMIT
|
95
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
96
|
-
[1m[35m (1.5ms)[0m SELECT 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
|
97
|
-
FROM pg_constraint c
|
98
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
99
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
100
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
101
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
102
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
103
|
-
WHERE c.contype = 'f'
|
104
|
-
AND t1.relname = 'posts'
|
105
|
-
AND t3.nspname = ANY (current_schemas(false))
|
106
|
-
ORDER BY c.conname
|
107
|
-
|
108
|
-
[1m[36m (109.9ms)[0m [1mDROP DATABASE IF EXISTS "search_semi_structured_data_test"[0m
|
109
|
-
[1m[35m (245.4ms)[0m CREATE DATABASE "search_semi_structured_data_test" ENCODING = 'unicode'
|
110
|
-
[1m[36mSQL (0.3ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
111
|
-
[1m[35mSQL (15.5ms)[0m CREATE EXTENSION IF NOT EXISTS "hstore"
|
112
|
-
[1m[36m (2.7ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "storext_jsonb_attributes" jsonb, "storext_hstore_attributes" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
113
|
-
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
114
|
-
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
115
|
-
[1m[35m (0.4ms)[0m SELECT version FROM "schema_migrations"
|
116
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170512185941')[0m
|
117
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
118
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
119
|
-
Migrating to CreatePosts (20170512185941)
|
120
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
121
|
-
[1m[35m (0.8ms)[0m DROP TABLE "posts"
|
122
|
-
[1m[36mSQL (2.6ms)[0m [1mDROP EXTENSION IF EXISTS "hstore" CASCADE[0m
|
123
|
-
[1m[35mSQL (0.2ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = $1 [["version", "20170512185941"]]
|
124
|
-
[1m[36m (1.1ms)[0m [1mCOMMIT[0m
|
125
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
126
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
127
|
-
Migrating to CreatePosts (20170512185941)
|
128
|
-
[1m[35m (0.2ms)[0m BEGIN
|
129
|
-
[1m[36mSQL (14.5ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
130
|
-
[1m[35m (2.6ms)[0m CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "storext_jsonb_attributes" jsonb, "storext_hstore_attributes" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
131
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20170512185941"]]
|
132
|
-
[1m[35m (0.2ms)[0m COMMIT
|
133
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
134
|
-
[1m[35m (1.6ms)[0m SELECT 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
|
135
|
-
FROM pg_constraint c
|
136
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
137
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
138
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
139
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
140
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
141
|
-
WHERE c.contype = 'f'
|
142
|
-
AND t1.relname = 'posts'
|
143
|
-
AND t3.nspname = ANY (current_schemas(false))
|
144
|
-
ORDER BY c.conname
|
145
|
-
|
146
|
-
[1m[36m (110.8ms)[0m [1mDROP DATABASE IF EXISTS "search_semi_structured_data_test"[0m
|
147
|
-
[1m[35m (224.8ms)[0m CREATE DATABASE "search_semi_structured_data_test" ENCODING = 'unicode'
|
148
|
-
[1m[36mSQL (0.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
149
|
-
[1m[35mSQL (15.2ms)[0m CREATE EXTENSION IF NOT EXISTS "hstore"
|
150
|
-
[1m[36m (2.6ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "storext_jsonb_attributes" jsonb, "storext_hstore_attributes" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
151
|
-
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
152
|
-
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
153
|
-
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
154
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170512185941')[0m
|
155
|
-
[1m[36m (0.1ms)[0m [1mDROP DATABASE IF EXISTS "squint_test"[0m
|
156
|
-
[1m[35m (231.6ms)[0m CREATE DATABASE "squint_test" ENCODING = 'unicode'
|
157
|
-
[1m[36mSQL (0.3ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
158
|
-
[1m[35mSQL (16.7ms)[0m CREATE EXTENSION IF NOT EXISTS "hstore"
|
159
|
-
[1m[36m (2.9ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "storext_jsonb_attributes" jsonb, "storext_hstore_attributes" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
160
|
-
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
161
|
-
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
162
|
-
[1m[35m (0.4ms)[0m SELECT version FROM "schema_migrations"
|
163
|
-
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170512185941')[0m
|
164
|
-
[1m[36m (5013.0ms)[0m [1mDROP DATABASE IF EXISTS "squint_test"[0m
|
165
|
-
[1m[36m (110.7ms)[0m [1mDROP DATABASE IF EXISTS "squint_test"[0m
|
166
|
-
[1m[35m (212.9ms)[0m CREATE DATABASE "squint_test" ENCODING = 'unicode'
|
167
|
-
[1m[36mSQL (0.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
168
|
-
[1m[35mSQL (15.0ms)[0m CREATE EXTENSION IF NOT EXISTS "hstore"
|
169
|
-
[1m[36m (2.7ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "storext_jsonb_attributes" jsonb, "storext_hstore_attributes" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
170
|
-
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
171
|
-
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
172
|
-
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
173
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170512185941')[0m
|
174
|
-
[1m[36m (105.9ms)[0m [1mDROP DATABASE IF EXISTS "squint_development"[0m
|
175
|
-
[1m[35m (112.3ms)[0m DROP DATABASE IF EXISTS "squint_test"
|
176
|
-
[1m[36m (225.8ms)[0m [1mCREATE DATABASE "squint_development" ENCODING = 'unicode'[0m
|
177
|
-
[1m[35m (224.7ms)[0m CREATE DATABASE "squint_test" ENCODING = 'unicode'
|
178
|
-
[1m[36mSQL (0.4ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
179
|
-
[1m[35mSQL (12.3ms)[0m CREATE EXTENSION IF NOT EXISTS "hstore"
|
180
|
-
[1m[36m (1.9ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "storext_jsonb_attributes" jsonb, "storext_hstore_attributes" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
181
|
-
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
182
|
-
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
183
|
-
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
184
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170512185941')[0m
|
185
|
-
[1m[35mSQL (0.2ms)[0m CREATE EXTENSION IF NOT EXISTS "plpgsql"
|
186
|
-
[1m[36mSQL (11.7ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
187
|
-
[1m[35m (1.8ms)[0m CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "storext_jsonb_attributes" jsonb, "storext_hstore_attributes" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
188
|
-
[1m[36m (0.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
189
|
-
[1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
190
|
-
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
191
|
-
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20170512185941')
|
192
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
193
|
-
[1m[36mSQL (0.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
194
|
-
[1m[35mSQL (10.3ms)[0m CREATE EXTENSION IF NOT EXISTS "hstore"
|
195
|
-
[1m[36m (1.7ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "storext_jsonb_attributes" jsonb, "storext_hstore_attributes" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
196
|
-
[1m[35m (0.7ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
197
|
-
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
198
|
-
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
199
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170512185941')[0m
|
200
|
-
[1m[35mSQL (0.3ms)[0m CREATE EXTENSION IF NOT EXISTS "plpgsql"
|
201
|
-
[1m[36mSQL (9.7ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
202
|
-
[1m[35m (1.8ms)[0m CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "storext_jsonb_attributes" jsonb, "storext_hstore_attributes" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
203
|
-
[1m[36m (0.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
204
|
-
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
205
|
-
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
206
|
-
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20170512185941')
|
207
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
208
|
-
[1m[36m (106.8ms)[0m [1mDROP DATABASE IF EXISTS "squint_development"[0m
|
209
|
-
[1m[35m (5011.5ms)[0m DROP DATABASE IF EXISTS "squint_test"
|
210
|
-
[1m[36m (223.1ms)[0m [1mCREATE DATABASE "squint_development" ENCODING = 'unicode'[0m
|
211
|
-
[1m[35m (0.7ms)[0m CREATE DATABASE "squint_test" ENCODING = 'unicode'
|
212
|
-
[1m[36mSQL (0.4ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
213
|
-
[1m[35mSQL (15.0ms)[0m CREATE EXTENSION IF NOT EXISTS "hstore"
|
214
|
-
[1m[36m (2.6ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "storext_jsonb_attributes" jsonb, "storext_hstore_attributes" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
215
|
-
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
216
|
-
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
217
|
-
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
218
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170512185941')[0m
|
219
|
-
[1m[35mSQL (0.2ms)[0m CREATE EXTENSION IF NOT EXISTS "plpgsql"
|
220
|
-
[1m[36mSQL (0.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
221
|
-
[1m[35m (2.1ms)[0m DROP TABLE "posts" CASCADE
|
222
|
-
[1m[36m (2.3ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "storext_jsonb_attributes" jsonb, "storext_hstore_attributes" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
223
|
-
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
224
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
225
|
-
[1m[36m (106.9ms)[0m [1mDROP DATABASE IF EXISTS "squint_development"[0m
|
226
|
-
[1m[35m (108.0ms)[0m DROP DATABASE IF EXISTS "squint_test"
|
227
|
-
[1m[36m (211.6ms)[0m [1mCREATE DATABASE "squint_development" ENCODING = 'unicode'[0m
|
228
|
-
[1m[35m (223.0ms)[0m CREATE DATABASE "squint_test" ENCODING = 'unicode'
|
229
|
-
[1m[36mSQL (0.6ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
230
|
-
[1m[35mSQL (27.4ms)[0m CREATE EXTENSION IF NOT EXISTS "hstore"
|
231
|
-
[1m[36m (2.1ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "storext_jsonb_attributes" jsonb, "storext_hstore_attributes" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
232
|
-
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
233
|
-
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
234
|
-
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
235
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170512185941')[0m
|
236
|
-
[1m[35mSQL (0.1ms)[0m CREATE EXTENSION IF NOT EXISTS "plpgsql"
|
237
|
-
[1m[36mSQL (9.6ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
238
|
-
[1m[35m (1.8ms)[0m CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "storext_jsonb_attributes" jsonb, "storext_hstore_attributes" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
239
|
-
[1m[36m (0.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
240
|
-
[1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
241
|
-
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
242
|
-
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20170512185941')
|
243
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
244
|
-
[1m[36m (106.9ms)[0m [1mDROP DATABASE IF EXISTS "squint_development"[0m
|
245
|
-
[1m[35m (3520.2ms)[0m DROP DATABASE IF EXISTS "squint_test"
|
246
|
-
[1m[36m (224.6ms)[0m [1mCREATE DATABASE "squint_development" ENCODING = 'unicode'[0m
|
247
|
-
[1m[35m (224.0ms)[0m CREATE DATABASE "squint_test" ENCODING = 'unicode'
|
248
|
-
[1m[36mSQL (0.5ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
249
|
-
[1m[35mSQL (26.0ms)[0m CREATE EXTENSION IF NOT EXISTS "hstore"
|
250
|
-
[1m[36m (2.3ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "storext_jsonb_attributes" jsonb, "storext_hstore_attributes" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
251
|
-
[1m[35m (0.7ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
252
|
-
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
253
|
-
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
254
|
-
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170512185941')[0m
|
255
|
-
[1m[35mSQL (0.2ms)[0m CREATE EXTENSION IF NOT EXISTS "plpgsql"
|
256
|
-
[1m[36mSQL (9.5ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
257
|
-
[1m[35m (1.7ms)[0m CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "storext_jsonb_attributes" jsonb, "storext_hstore_attributes" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
258
|
-
[1m[36m (0.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
259
|
-
[1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
260
|
-
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
261
|
-
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20170512185941')
|
262
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
263
|
-
[1m[36m (107.1ms)[0m [1mDROP DATABASE IF EXISTS "squint_development"[0m
|
264
|
-
[1m[35m (107.2ms)[0m DROP DATABASE IF EXISTS "squint_test"
|
265
|
-
[1m[36m (222.1ms)[0m [1mCREATE DATABASE "squint_development" ENCODING = 'unicode'[0m
|
266
|
-
[1m[35m (223.4ms)[0m CREATE DATABASE "squint_test" ENCODING = 'unicode'
|
267
|
-
[1m[36mSQL (0.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
268
|
-
[1m[35mSQL (11.4ms)[0m CREATE EXTENSION IF NOT EXISTS "hstore"
|
269
|
-
[1m[36m (2.1ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "storext_jsonb_attributes" jsonb, "storext_hstore_attributes" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
270
|
-
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
271
|
-
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
272
|
-
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
273
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170512185941')[0m
|
274
|
-
[1m[35mSQL (0.3ms)[0m CREATE EXTENSION IF NOT EXISTS "plpgsql"
|
275
|
-
[1m[36mSQL (11.7ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
276
|
-
[1m[35m (2.0ms)[0m CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "storext_jsonb_attributes" jsonb, "storext_hstore_attributes" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
277
|
-
[1m[36m (0.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
278
|
-
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
279
|
-
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
280
|
-
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20170512185941')
|
281
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
282
|
-
[1m[36m (109.8ms)[0m [1mDROP DATABASE IF EXISTS "squint_development"[0m
|
283
|
-
[1m[35m (109.4ms)[0m DROP DATABASE IF EXISTS "squint_test"
|
284
|
-
[1m[36m (222.5ms)[0m [1mCREATE DATABASE "squint_development" ENCODING = 'unicode'[0m
|
285
|
-
[1m[35m (212.2ms)[0m CREATE DATABASE "squint_test" ENCODING = 'unicode'
|
286
|
-
[1m[36mSQL (0.6ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
287
|
-
[1m[35mSQL (27.8ms)[0m CREATE EXTENSION IF NOT EXISTS "hstore"
|
288
|
-
[1m[36m (2.5ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "storext_jsonb_attributes" jsonb, "storext_hstore_attributes" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
289
|
-
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
290
|
-
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
291
|
-
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
292
|
-
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170512185941')[0m
|
293
|
-
[1m[35mSQL (0.2ms)[0m CREATE EXTENSION IF NOT EXISTS "plpgsql"
|
294
|
-
[1m[36mSQL (9.3ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
295
|
-
[1m[35m (1.6ms)[0m CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "storext_jsonb_attributes" jsonb, "storext_hstore_attributes" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
296
|
-
[1m[36m (0.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
297
|
-
[1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
298
|
-
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
299
|
-
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20170512185941')
|
300
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
301
|
-
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
302
|
-
[1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
303
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
304
|
-
Migrating to CreatePosts (20170512185941)
|
305
|
-
[1m[35m (0.1ms)[0m BEGIN
|
306
|
-
[1m[36mSQL (11.6ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
307
|
-
[1m[35m (1.6ms)[0m CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "storext_jsonb_attributes" jsonb, "storext_hstore_attributes" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
308
|
-
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_posts_on_request_info" ON "posts" USING GIN ("request_info")[0m
|
309
|
-
[1m[35m (0.5ms)[0m CREATE INDEX "index_posts_on_properties" ON "posts" USING GIN ("properties")
|
310
|
-
[1m[36m (0.4ms)[0m [1mCREATE INDEX "index_posts_on_storext_jsonb_attributes" ON "posts" USING GIN ("storext_jsonb_attributes")[0m
|
311
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20170512185941"]]
|
312
|
-
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
313
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
314
|
-
[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
|
315
|
-
FROM pg_constraint c
|
316
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
317
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
318
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
319
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
320
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
321
|
-
WHERE c.contype = 'f'
|
322
|
-
AND t1.relname = 'posts'
|
323
|
-
AND t3.nspname = ANY (current_schemas(false))
|
324
|
-
ORDER BY c.conname
|
325
|
-
[0m
|
326
|
-
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
327
|
-
[1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
328
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
329
|
-
Migrating to CreatePosts (20170512185941)
|
330
|
-
[1m[35m (0.2ms)[0m BEGIN
|
331
|
-
[1m[36mSQL (9.9ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
332
|
-
[1m[35m (1.6ms)[0m CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "storext_jsonb_attributes" jsonb, "storext_hstore_attributes" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
333
|
-
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_posts_on_request_info" ON "posts" USING GIN ("request_info")[0m
|
334
|
-
[1m[35m (0.4ms)[0m CREATE INDEX "index_posts_on_properties" ON "posts" USING GIN ("properties")
|
335
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_posts_on_storext_jsonb_attributes" ON "posts" USING GIN ("storext_jsonb_attributes")[0m
|
336
|
-
[1m[35m (0.3ms)[0m CREATE INDEX "index_posts_on_storext_hstore_attributes" ON "posts" USING GIN ("storext_hstore_attributes")
|
337
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20170512185941"]]
|
338
|
-
[1m[35m (0.2ms)[0m COMMIT
|
339
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
340
|
-
[1m[35m (1.5ms)[0m SELECT 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
|
341
|
-
FROM pg_constraint c
|
342
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
343
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
344
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
345
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
346
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
347
|
-
WHERE c.contype = 'f'
|
348
|
-
AND t1.relname = 'posts'
|
349
|
-
AND t3.nspname = ANY (current_schemas(false))
|
350
|
-
ORDER BY c.conname
|
351
|
-
|
352
|
-
[1m[36mSQL (0.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
353
|
-
[1m[35mSQL (0.2ms)[0m CREATE EXTENSION IF NOT EXISTS "hstore"
|
354
|
-
[1m[36m (3.5ms)[0m [1mDROP TABLE "posts" CASCADE[0m
|
355
|
-
[1m[35m (2.0ms)[0m CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "storext_jsonb_attributes" jsonb, "storext_hstore_attributes" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
356
|
-
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_posts_on_properties" ON "posts" USING gin ("properties")[0m
|
357
|
-
[1m[35m (0.5ms)[0m CREATE INDEX "index_posts_on_request_info" ON "posts" USING gin ("request_info")
|
358
|
-
[1m[36m (0.4ms)[0m [1mCREATE INDEX "index_posts_on_storext_hstore_attributes" ON "posts" USING gin ("storext_hstore_attributes")[0m
|
359
|
-
[1m[35m (0.5ms)[0m CREATE INDEX "index_posts_on_storext_jsonb_attributes" ON "posts" USING gin ("storext_jsonb_attributes")
|
360
|
-
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
361
|
-
[1m[35mSQL (0.1ms)[0m CREATE EXTENSION IF NOT EXISTS "plpgsql"
|
362
|
-
[1m[36mSQL (0.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
363
|
-
[1m[35m (2.3ms)[0m DROP TABLE "posts" CASCADE
|
364
|
-
[1m[36m (1.9ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "storext_jsonb_attributes" jsonb, "storext_hstore_attributes" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
365
|
-
[1m[35m (0.8ms)[0m CREATE INDEX "index_posts_on_properties" ON "posts" USING gin ("properties")
|
366
|
-
[1m[36m (0.4ms)[0m [1mCREATE INDEX "index_posts_on_request_info" ON "posts" USING gin ("request_info")[0m
|
367
|
-
[1m[35m (0.3ms)[0m CREATE INDEX "index_posts_on_storext_hstore_attributes" ON "posts" USING gin ("storext_hstore_attributes")
|
368
|
-
[1m[36m (0.4ms)[0m [1mCREATE INDEX "index_posts_on_storext_jsonb_attributes" ON "posts" USING gin ("storext_jsonb_attributes")[0m
|
369
|
-
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
370
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
371
|
-
[1m[36mSQL (0.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
372
|
-
[1m[35mSQL (0.1ms)[0m CREATE EXTENSION IF NOT EXISTS "hstore"
|
373
|
-
[1m[36m (2.4ms)[0m [1mDROP TABLE "posts" CASCADE[0m
|
374
|
-
[1m[35m (2.1ms)[0m CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "storext_jsonb_attributes" jsonb, "storext_hstore_attributes" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
375
|
-
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_posts_on_properties" ON "posts" USING gin ("properties")[0m
|
376
|
-
[1m[35m (0.5ms)[0m CREATE INDEX "index_posts_on_request_info" ON "posts" USING gin ("request_info")
|
377
|
-
[1m[36m (0.4ms)[0m [1mCREATE INDEX "index_posts_on_storext_hstore_attributes" ON "posts" USING gin ("storext_hstore_attributes")[0m
|
378
|
-
[1m[35m (0.4ms)[0m CREATE INDEX "index_posts_on_storext_jsonb_attributes" ON "posts" USING gin ("storext_jsonb_attributes")
|
379
|
-
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
380
|
-
[1m[35mSQL (0.2ms)[0m CREATE EXTENSION IF NOT EXISTS "plpgsql"
|
381
|
-
[1m[36mSQL (0.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "hstore"[0m
|
382
|
-
[1m[35m (2.0ms)[0m DROP TABLE "posts" CASCADE
|
383
|
-
[1m[36m (1.8ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "title" character varying, "body" character varying, "request_info" jsonb, "properties" hstore, "storext_jsonb_attributes" jsonb, "storext_hstore_attributes" hstore, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
384
|
-
[1m[35m (0.8ms)[0m CREATE INDEX "index_posts_on_properties" ON "posts" USING gin ("properties")
|
385
|
-
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_posts_on_request_info" ON "posts" USING gin ("request_info")[0m
|
386
|
-
[1m[35m (0.4ms)[0m CREATE INDEX "index_posts_on_storext_hstore_attributes" ON "posts" USING gin ("storext_hstore_attributes")
|
387
|
-
[1m[36m (0.4ms)[0m [1mCREATE INDEX "index_posts_on_storext_jsonb_attributes" ON "posts" USING gin ("storext_jsonb_attributes")[0m
|
388
|
-
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
389
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
390
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|