db_memoize 0.3.12 → 0.3.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/db_memoize/migrations.rb +4 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40e30503caafc3b186a6c1c328e7eb791d591ca4ddd4629d9c9cf8467e5e1370
|
4
|
+
data.tar.gz: 432c218ff6c63da4d72df7d70a2f83d011eb6f9b568735de5a5d3509cfa42833
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d10705c9ce2b8075275d4ce608b405948c694344fab6166f0afbe8b7ca1a5678b0a2a9ae3fc26142eee153b789ea2a844562ba8eedc82fda6c94455cb51e512c
|
7
|
+
data.tar.gz: 9f3a7bdbd3a8150e8df4a7f61702744b131156c93b6c1b3425c6f10a4f31de3ad008b6838832493dfd78d3fd9543a0a68ef63f89553aca906aaf93914d5d8ecf
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.13
|
@@ -22,7 +22,10 @@ module DbMemoize
|
|
22
22
|
|
23
23
|
-- entity_id/entity_table_name should have a better chance to be useful, since
|
24
24
|
-- there is more variance in entity_ids than there is in entity_table_names.
|
25
|
-
DROP INDEX IF EXISTS memoized_attributes_idx2;
|
25
|
+
DROP INDEX IF EXISTS db_memoize.memoized_attributes_idx2;
|
26
|
+
|
27
|
+
CREATE INDEX IF NOT EXISTS memoized_attributes_idx3
|
28
|
+
ON db_memoize.memoized_values(entity_id, entity_table_name);
|
26
29
|
SQL
|
27
30
|
end
|
28
31
|
end
|