land 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/db/migrate/20200103012916_create_land_schema.rb +5 -0
- data/lib/land/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34d6ad8989b2c294b8655cd059572208a80f04e9e2e84ebabcab9d0022a76dc5
|
4
|
+
data.tar.gz: 1445e576f9634aab25b40b40f78ca50c7181eb5549a7e00ce70146b824f0b650
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11184505e9326ab1a9a630570eb0dee642069124316718eee6885ccf53f15115b38593304c4b4ad5b80860d75fd8a1f59e9a8ca9a48b391cacd77218b3151fc6
|
7
|
+
data.tar.gz: 8b7650ef30e07d14786b1d6d485427519f73d0cbef7a83b0ff1fe54ba519bd681496a8c97400fa7c7eedcc32740278e43085aa521d645bc03f854913b2e90e77
|
@@ -30,6 +30,9 @@ class CreateLandSchema < ActiveRecord::Migration[5.0]
|
|
30
30
|
def up
|
31
31
|
execute "CREATE SCHEMA #{schema};"
|
32
32
|
|
33
|
+
conn = ActiveRecord::Base.connection
|
34
|
+
old_search_path = conn.schema_search_path
|
35
|
+
|
33
36
|
with_options schema: schema do |t|
|
34
37
|
# Query params
|
35
38
|
t.create_lookup_tables(*QUERY_PARAMS.map(&:pluralize))
|
@@ -223,5 +226,7 @@ class CreateLandSchema < ActiveRecord::Migration[5.0]
|
|
223
226
|
ORDER BY agg."avg response time (ms)" DESC
|
224
227
|
;
|
225
228
|
SQL
|
229
|
+
|
230
|
+
conn.schema_search_path = old_search_path
|
226
231
|
end
|
227
232
|
end
|
data/lib/land/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: land
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Erik Peterson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|