db_memoize 0.3.5 → 0.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/db_memoize/migrations.rb +4 -4
- 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: a1659eec50470121a2d590b1abef910d5fa5c3888239e75c3249db78f68b87c8
|
4
|
+
data.tar.gz: 79f73004fe585ef2f71d39ba95a16f7b2a98e78a9fad4c8ca110e8db9e928819
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8682fd173bd5fa2e89345a5df03b2fe833f2ce1dcd9b95596a137a08ad6c71b162f01b5707ce8750f44aecdf3128ec93bf3d44c9c24b8629882ffc49260414f
|
7
|
+
data.tar.gz: c5826ed544ce66c21588f210c72fc2825a60fb2c46c03617d46d5ff2d1f6235f8278aa865f99cbd5cb8881e9669a1c22788988dcfb1b02fffe1f0546eabba493
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.6
|
@@ -4,10 +4,10 @@ module DbMemoize
|
|
4
4
|
def create_tables(migration)
|
5
5
|
migration.execute <<~SQL
|
6
6
|
CREATE TABLE IF NOT EXISTS memoized_values (
|
7
|
-
entity_table_name varchar,
|
8
|
-
entity_id integer,
|
9
|
-
method_name varchar,
|
10
|
-
created_at timestamp without time zone
|
7
|
+
entity_table_name varchar NOT NULL,
|
8
|
+
entity_id integer NOT NULL,
|
9
|
+
method_name varchar NOT NULL,
|
10
|
+
created_at timestamp without time zone NOT NULL
|
11
11
|
);
|
12
12
|
|
13
13
|
-- entity_id/entity_table_name should have a better chance to be useful, since
|