mirror of
https://github.com/google/nomulus.git
synced 2025-07-28 21:46:29 +02:00
Add loadOnlyOf method to tm() (#1162)
* Add loadOnlyOf method to tm() In addition there's a bit of a refator of SqlReplayCheckpoint to make it more in line with the other singletons. This method is useful for the singleton classes where we expect at most one entity to exist, e.g. ServerSecret.
This commit is contained in:
parent
dc7f21ca68
commit
a7e8ae5a2c
13 changed files with 4012 additions and 3955 deletions
|
@ -695,9 +695,9 @@
|
|||
);
|
||||
|
||||
create table "SqlReplayCheckpoint" (
|
||||
revision_id int8 not null,
|
||||
last_replay_time timestamptz,
|
||||
primary key (revision_id)
|
||||
id int8 not null,
|
||||
last_replay_time timestamptz not null,
|
||||
primary key (id)
|
||||
);
|
||||
|
||||
create table "Tld" (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue