HHH-12365 - User Guide: call_key should change to call_timestamp_epoch

This commit is contained in:
Rodrigo Turini 2018-04-15 21:30:29 -03:00 committed by Vlad Mihalcea
parent 2bb1c8419c
commit 84614aa405
1 changed files with 2 additions and 2 deletions

View File

@ -7,10 +7,10 @@ create table call_register (
person_id int8 not null, person_id int8 not null,
phone_number int4, phone_number int4,
call_timestamp_epoch int8 not null, call_timestamp_epoch int8 not null,
primary key (person_id, call_key) primary key (person_id, call_timestamp_epoch)
) )
alter table if exists call_register alter table if exists call_register
add constraint FKsn58spsregnjyn8xt61qkxsub add constraint FKsn58spsregnjyn8xt61qkxsub
foreign key (person_id) foreign key (person_id)
references person references person