diff --git a/documentation/src/main/asciidoc/userguide/chapters/domain/extras/collections/collections-map-custom-key-type-sql-example.sql b/documentation/src/main/asciidoc/userguide/chapters/domain/extras/collections/collections-map-custom-key-type-sql-example.sql index d8fe7c6424..6674e0bdf0 100644 --- a/documentation/src/main/asciidoc/userguide/chapters/domain/extras/collections/collections-map-custom-key-type-sql-example.sql +++ b/documentation/src/main/asciidoc/userguide/chapters/domain/extras/collections/collections-map-custom-key-type-sql-example.sql @@ -7,10 +7,10 @@ create table call_register ( person_id int8 not null, phone_number int4, 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 add constraint FKsn58spsregnjyn8xt61qkxsub foreign key (person_id) - references person \ No newline at end of file + references person