Fix vkey reconstruction for PollMessage (#823)

* Fix vkey reconstruction for PollMessage

* Add foreign key

* Rebase on HEAD
This commit is contained in:
Shicong Huang 2020-10-05 10:35:40 -04:00 committed by GitHub
parent 83fd3e8b85
commit 01f935e08a
8 changed files with 141 additions and 59 deletions

View file

@ -438,15 +438,15 @@ create sequence temp_history_id_sequence start 1 increment 50;
create table "PollMessage" (
type text not null,
poll_message_id bigserial not null,
poll_message_id int8 not null,
registrar_id text not null,
contact_history_revision_id int8,
contact_repo_id text,
contact_revision_id int8,
domain_history_revision_id int8,
domain_repo_id text,
domain_revision_id int8,
event_time timestamptz not null,
host_history_revision_id int8,
host_repo_id text,
host_revision_id int8,
message text,
transfer_response_contact_id text,
transfer_response_domain_expiration_time timestamptz,