permits 1.1.5 → 1.1.6
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35b5250b6702f9d2a08bbccf4499086d206e22026ec09875ce6aa767d746996f
|
4
|
+
data.tar.gz: 2cb1161cd4f61559548e7a40c4317a7558d8ca9c4d3fd34ca2a34d8014be9f41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f491e24fa0126b41071fe781a2395daba092bb67c853127ffa2a6be1a81c757200a00ab0a6ca9ad53dfa5383138f1d4364730aba753cf345626624f31c95896
|
7
|
+
data.tar.gz: 4beabf291abde9d20ee614ae25224f3d83abdcd9848b319f8865a8622bf4b8bd58b365e3ee73ace11312f7e7bf8d1a17eece3972421e1ac4a366ef8d916b6089
|
@@ -12,6 +12,8 @@ class CreatePermitsPermissions < ActiveRecord::Migration[7.1]
|
|
12
12
|
|
13
13
|
add_index :permits_permissions, [:owner_id, :owner_type]
|
14
14
|
add_index :permits_permissions, [:resource_id, :resource_type]
|
15
|
+
add_index :permits_permissions, [:owner_type, :owner_id, :resource_type, :resource_id]
|
16
|
+
add_index :permits_permissions, [:owner_type, :owner_id, :resource_type, :resource_id, :permits]
|
15
17
|
add_index :permits_permissions, :started_at
|
16
18
|
add_index :permits_permissions, :ended_at
|
17
19
|
add_index :permits_permissions, :permits
|
data/lib/permits/version.rb
CHANGED