Skip to content

Commit

Permalink
add unique to pg-init in table receiver
Browse files Browse the repository at this point in the history
  • Loading branch information
SangTran-127 committed Jul 2, 2024
1 parent 1a09094 commit 054f067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/node/pg-init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ create table public.receiver (
nonce int8 not null,
created_date timestamp not null default CURRENT_TIMESTAMP,
constraint index_name unique (name),
constraint unique_address_and_network (address, network),
constraint unique_address_and_network unique (address, network),
constraint receiver_pkey primary key (id),
constraint link_receiver_to_keyring foreign key (keyring_id) references public.keyring(id)
);
Expand Down

0 comments on commit 054f067

Please sign in to comment.