Skip to content

Commit

Permalink
fix(pollux): V16 migration is failing to add FK constraint because of…
Browse files Browse the repository at this point in the history
… type mismatch (#782)

Signed-off-by: Shota Jolbordi <[email protected]>
  • Loading branch information
shotexa authored Nov 9, 2023
1 parent 471956e commit c87beb0
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ CREATE TABLE public.credential_status_lists
updated_at TIMESTAMP WITH TIME ZONE NOT NULL default now()
);

CREATE INDEX credential_status_lists_wallet_id_index ON public.credential_revocation_status_lists (wallet_id);
CREATE INDEX credential_status_lists_wallet_id_index ON public.credential_status_lists (wallet_id);


CREATE TABLE public.credentials_in_status_list
(
id UUID PRIMARY KEY default gen_random_uuid(),
issue_credential_record_id UUID NOT NULL,
issue_credential_record_id VARCHAR(64) NOT NULL,
credential_status_list_id UUID NOT NULL,
status_list_index INTEGER NOT NULL,
-- is revoked or suspended
Expand Down

0 comments on commit c87beb0

Please sign in to comment.