mirror of
https://github.com/google/nomulus.git
synced 2025-05-22 04:09:46 +02:00
Make some columns nullable in History tables (#873)
* Make some columns nullable in History tables xmlBytes is made nullable in all history tables since changes performed by backend actions would not have it. In addition, epp requests are not saved to ContactHistory since data may contain PII. requestedByRegistrar in all history tables are made nullable. This property is set from metadata in epp requests. Null means not provided.
This commit is contained in:
parent
31c16e8369
commit
fe8f4cc4ac
7 changed files with 63 additions and 33 deletions
|
@ -156,11 +156,11 @@
|
|||
history_registrar_id text,
|
||||
history_modification_time timestamptz not null,
|
||||
history_reason text,
|
||||
history_requested_by_registrar boolean not null,
|
||||
history_requested_by_registrar boolean,
|
||||
history_client_transaction_id text,
|
||||
history_server_transaction_id text,
|
||||
history_type text not null,
|
||||
history_xml_bytes bytea not null,
|
||||
history_xml_bytes bytea,
|
||||
auth_info_repo_id text,
|
||||
auth_info_value text,
|
||||
contact_id text,
|
||||
|
@ -309,11 +309,11 @@
|
|||
history_registrar_id text,
|
||||
history_modification_time timestamptz not null,
|
||||
history_reason text,
|
||||
history_requested_by_registrar boolean not null,
|
||||
history_requested_by_registrar boolean,
|
||||
history_client_transaction_id text,
|
||||
history_server_transaction_id text,
|
||||
history_type text not null,
|
||||
history_xml_bytes bytea not null,
|
||||
history_xml_bytes bytea,
|
||||
admin_contact text,
|
||||
auth_info_repo_id text,
|
||||
auth_info_value text,
|
||||
|
@ -446,11 +446,11 @@
|
|||
history_registrar_id text,
|
||||
history_modification_time timestamptz not null,
|
||||
history_reason text,
|
||||
history_requested_by_registrar boolean not null,
|
||||
history_requested_by_registrar boolean,
|
||||
history_client_transaction_id text,
|
||||
history_server_transaction_id text,
|
||||
history_type text not null,
|
||||
history_xml_bytes bytea not null,
|
||||
history_xml_bytes bytea,
|
||||
host_name text,
|
||||
inet_addresses text[],
|
||||
last_superordinate_change timestamptz,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue