mirror of
https://github.com/google/nomulus.git
synced 2025-05-21 19:59:34 +02:00
Add lastUpdateTime column to epp resources (#683)
* Add lastUpdateTime column to epp resources Property was inadvertently left out. Renamed getter and setter to match the property name. Added a test helper to compare EppResources while ignoring lastUpdateTime, which changes every time an instance is persisted.
This commit is contained in:
parent
9649f49bce
commit
65c9cd3f4d
15 changed files with 218 additions and 54 deletions
|
@ -77,6 +77,7 @@ create sequence history_id_sequence start 1 increment 1;
|
|||
|
||||
create table "Contact" (
|
||||
repo_id text not null,
|
||||
update_timestamp timestamptz,
|
||||
creation_registrar_id text not null,
|
||||
creation_time timestamptz not null,
|
||||
current_sponsor_registrar_id text not null,
|
||||
|
@ -197,6 +198,7 @@ create sequence history_id_sequence start 1 increment 1;
|
|||
last_epp_update_registrar_id text,
|
||||
last_epp_update_time timestamptz,
|
||||
statuses text[],
|
||||
update_timestamp timestamptz,
|
||||
contact_repo_id text not null,
|
||||
primary key (history_revision_id)
|
||||
);
|
||||
|
@ -219,6 +221,7 @@ create sequence history_id_sequence start 1 increment 1;
|
|||
|
||||
create table "Domain" (
|
||||
repo_id text not null,
|
||||
update_timestamp timestamptz,
|
||||
creation_registrar_id text not null,
|
||||
creation_time timestamptz not null,
|
||||
current_sponsor_registrar_id text not null,
|
||||
|
@ -300,12 +303,14 @@ create sequence history_id_sequence start 1 increment 1;
|
|||
last_epp_update_registrar_id text,
|
||||
last_epp_update_time timestamptz,
|
||||
statuses text[],
|
||||
update_timestamp timestamptz,
|
||||
host_repo_id text not null,
|
||||
primary key (history_revision_id)
|
||||
);
|
||||
|
||||
create table "HostResource" (
|
||||
repo_id text not null,
|
||||
update_timestamp timestamptz,
|
||||
creation_registrar_id text not null,
|
||||
creation_time timestamptz not null,
|
||||
current_sponsor_registrar_id text not null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue