mirror of
https://github.com/google/nomulus
synced 2026-10-01 12:16:02 +00: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:
@@ -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,
|
||||
|
||||
@@ -250,7 +250,8 @@ CREATE TABLE public."Contact" (
|
||||
transfer_losing_registrar_id text,
|
||||
transfer_pending_expiration_time timestamp with time zone,
|
||||
transfer_request_time timestamp with time zone,
|
||||
transfer_status text
|
||||
transfer_status text,
|
||||
update_timestamp timestamp with time zone
|
||||
);
|
||||
|
||||
|
||||
@@ -334,7 +335,8 @@ CREATE TABLE public."ContactHistory" (
|
||||
last_epp_update_registrar_id text,
|
||||
last_epp_update_time timestamp with time zone,
|
||||
statuses text[],
|
||||
contact_repo_id text NOT NULL
|
||||
contact_repo_id text NOT NULL,
|
||||
update_timestamp timestamp with time zone
|
||||
);
|
||||
|
||||
|
||||
@@ -395,7 +397,8 @@ CREATE TABLE public."Domain" (
|
||||
transfer_losing_registrar_id text,
|
||||
transfer_pending_expiration_time timestamp with time zone,
|
||||
transfer_request_time timestamp with time zone,
|
||||
transfer_status text
|
||||
transfer_status text,
|
||||
update_timestamp timestamp with time zone
|
||||
);
|
||||
|
||||
|
||||
@@ -436,7 +439,8 @@ CREATE TABLE public."HostHistory" (
|
||||
last_epp_update_registrar_id text,
|
||||
last_epp_update_time timestamp with time zone,
|
||||
statuses text[],
|
||||
host_repo_id text NOT NULL
|
||||
host_repo_id text NOT NULL,
|
||||
update_timestamp timestamp with time zone
|
||||
);
|
||||
|
||||
|
||||
@@ -457,7 +461,8 @@ CREATE TABLE public."HostResource" (
|
||||
last_superordinate_change timestamp with time zone,
|
||||
last_transfer_time timestamp with time zone,
|
||||
superordinate_domain text,
|
||||
inet_addresses text[]
|
||||
inet_addresses text[],
|
||||
update_timestamp timestamp with time zone
|
||||
);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user