Skip to content

Commit

Permalink
Merge pull request #74 from orochi-network/bug/add_unique_into_receiver
Browse files Browse the repository at this point in the history
add unique to pg-init.sql in table receiver from orand
  • Loading branch information
chiro-hiro authored Jul 2, 2024
2 parents 1a09094 + 054f067 commit cc50c2f
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 cc50c2f

Please sign in to comment.