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:
Weimin Yu
2020-07-14 14:53:05 -04:00
committed by GitHub
parent e74a9e6f02
commit 94c8c6b9f3
15 changed files with 218 additions and 54 deletions
@@ -0,0 +1,23 @@
-- Copyright 2020 The Nomulus Authors. All Rights Reserved.
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
ALTER TABLE "Contact" ADD COLUMN update_timestamp timestamptz;
ALTER TABLE "ContactHistory" ADD COLUMN update_timestamp timestamptz;
ALTER TABLE "Domain" ADD COLUMN update_timestamp timestamptz;
ALTER TABLE "HostHistory" ADD COLUMN update_timestamp timestamptz;
ALTER TABLE "HostResource" ADD COLUMN update_timestamp timestamptz;