Skip to content

Commit

Permalink
fk to varchar
Browse files Browse the repository at this point in the history
Signed-off-by: Shota Jolbordi <shota.jolbordi@iohk.io>
  • Loading branch information
Shota Jolbordi committed Nov 9, 2023
1 parent 108b241 commit bdfe06c
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,11 @@ CREATE TABLE public.credential_status_lists

CREATE INDEX credential_status_lists_wallet_id_index ON public.credential_status_lists (wallet_id);

ALTER TABLE public.issue_credential_records
ALTER COLUMN id TYPE UUID USING id::uuid;


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 bdfe06c

Please sign in to comment.