mirror of
https://github.com/google/nomulus.git
synced 2025-05-19 02:39:34 +02:00
Add Cloud SQL premium list caches and compare prices with Datastore (#376)
* Add Cloud SQL premium list caches and compare prices with Datastore Nothing will fail if the prices can't be loaded from Cloud SQL, or if the prices are different. All that happens is that the error is logged. Then, once this is running in production for awhile, we'll look at the logs and see if there will be any pricing implications from switching over to the Cloud SQL version of the premium lists. * Add setMaxResults(1) per code review * Add tests and reorder public functions * Don't statically import caches * Improve test pass rate * Merge branch 'master' into dual-read-premium * Add PremiumEntry mapping * Allow update * Revert column order * Alphabetize PremiumEntry columns * Don't bother trying to enforce order * Private constructor
This commit is contained in:
parent
3aad8b6aa7
commit
db7fcf6c38
12 changed files with 438 additions and 17 deletions
|
@ -132,8 +132,8 @@
|
|||
|
||||
create table "PremiumEntry" (
|
||||
revision_id int8 not null,
|
||||
price numeric(19, 2) not null,
|
||||
domain_label text not null,
|
||||
price numeric(19, 2) not null,
|
||||
primary key (revision_id, domain_label)
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue