1
0
mirror of https://github.com/google/nomulus synced 2026-04-22 09:10:45 +00:00

Add Bloom filters to the Cloud SQL PremiumList schema (#306)

* Add Bloom filters to the Cloud SQL PremiumList schema

They are slightly different from the existing Bloom filters stored in Datastore
in that they now use an ASCII String encoding rather than the more generic
CharSequence, and there is no maximum size (whereas we previously had to live
within the 1 MB max entity size for Datastore).
This commit is contained in:
Ben McIlwain
2019-10-09 17:06:42 -04:00
committed by GitHub
parent f2a2b2d2e2
commit ce480a5191
8 changed files with 218 additions and 4 deletions

View File

@@ -130,6 +130,7 @@
create table "PremiumList" (
revision_id bigserial not null,
bloom_filter bytea not null,
creation_timestamp timestamptz not null,
currency bytea not null,
name text not null,