mirror of
https://github.com/google/nomulus.git
synced 2025-05-22 04:09:46 +02:00
Create SQL schema for RdeRevision (#835)
* Create SQL schema for RdeRevision * Split RdeRevision IDs into three separate DB fields as unified pkey * Rename variable * Merge remote-tracking branch 'origin/master' into rdeRevision * Rename variable in one other location * Implement no-op toDatastore/Sql for RdeRevision * Responses to CR * Merge remote-tracking branch 'origin/master' into rdeRevision * Use a date for the date column * Fix exception messages in tests * Regen diagram to fix the test * Use assignment in static factory methods * Merge remote-tracking branch 'origin/master' into rdeRevision
This commit is contained in:
parent
9ddde4799c
commit
3ed3b351d0
11 changed files with 895 additions and 525 deletions
|
@ -494,6 +494,15 @@
|
|||
primary key (revision_id)
|
||||
);
|
||||
|
||||
create table "RdeRevision" (
|
||||
date date not null,
|
||||
mode text not null,
|
||||
tld text not null,
|
||||
update_timestamp timestamptz,
|
||||
revision int4 not null,
|
||||
primary key (date, mode, tld)
|
||||
);
|
||||
|
||||
create table "Registrar" (
|
||||
registrar_id text not null,
|
||||
allowed_tlds text[],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue