mirror of
https://github.com/google/nomulus
synced 2026-09-03 22:57:09 +00: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:
@@ -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[],
|
||||
|
||||
Reference in New Issue
Block a user