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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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,