effective_regions 1.8.1 → 1.8.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 617bff8384ef4f4788b6bc347778a324506af96d
|
4
|
+
data.tar.gz: 8cd38c383042bd27b62126188a90d9b38f23ad4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63dfae82dc9c1390c7d99b5653a4569687518f45f3fcad9b3df70059c06e1f539efd21dafae9c6afdbe005c7423dde19a8d88cd347bc21bb120129be46ab6c87
|
7
|
+
data.tar.gz: c9568095652b6215bdbc0bc92c3a87134da95ab798260c8fb711694fbe85687839e3a55c512e9e012c42cc400f935045e95a14b49fbed3091bb6b054f1699ca0
|
@@ -12,6 +12,9 @@ class CreateEffectiveRegions < ActiveRecord::Migration[4.2]
|
|
12
12
|
t.datetime :created_at
|
13
13
|
end
|
14
14
|
|
15
|
+
add_index <%= @regions_table_name %>, [:regionable_type, :regionable_id]
|
16
|
+
add_index <%= @regions_table_name %>, :regionable_id
|
17
|
+
|
15
18
|
create_table <%= @ck_assets_table_name %> do |t|
|
16
19
|
t.boolean :global, default: false
|
17
20
|
|
@@ -19,12 +22,11 @@ class CreateEffectiveRegions < ActiveRecord::Migration[4.2]
|
|
19
22
|
t.datetime :created_at
|
20
23
|
end
|
21
24
|
|
22
|
-
add_index <%= @regions_table_name %>, [:regionable_type, :regionable_id]
|
23
|
-
add_index <%= @regions_table_name %>, :regionable_id
|
24
25
|
end
|
25
26
|
|
26
27
|
def self.down
|
27
28
|
drop_table <%= @regions_table_name %>
|
29
|
+
drop_table <%= @ck_assets_table_name %>
|
28
30
|
end
|
29
31
|
|
30
32
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_regions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-04-
|
11
|
+
date: 2019-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|