mirror of
https://github.com/google/nomulus.git
synced 2025-05-19 02:39:34 +02:00
Add the schema and DAO for Locks in CloudSQL (#462)
* Add the schema and DAO for Locks in CloudSQL * Addresses some comments * Change number on flyway file * Small changes * More small changes * Use checkArgumentNotNull instead of checkNotNull * Address comments * fix javadocs * update persistence
This commit is contained in:
parent
62433c2238
commit
22a879e655
8 changed files with 392 additions and 0 deletions
|
@ -77,6 +77,15 @@
|
|||
primary key (id)
|
||||
);
|
||||
|
||||
create table "Lock" (
|
||||
resource_name text not null,
|
||||
tld text not null,
|
||||
acquired_time timestamptz not null,
|
||||
expiration_time timestamptz not null,
|
||||
request_log_id text not null,
|
||||
primary key (resource_name, tld)
|
||||
);
|
||||
|
||||
create table "PremiumEntry" (
|
||||
revision_id int8 not null,
|
||||
domain_label text not null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue