Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(pollux): add size and last used index to credential_status_lists table #798

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
-- Adding columns 'size' and 'last_used_index' to table 'credential_status_lists'
ALTER TABLE public.credential_status_lists
-- https://www.w3.org/TR/vc-status-list/#revocation-bitstring-length (minimum suggested bitstring length)
ADD COLUMN size INTEGER NOT NULL DEFAULT 131072,
ADD COLUMN last_used_index INTEGER NOT NULL DEFAULT 0;

-- Rename the column 'encoded_list' to 'status_list_jwt_credential'
ALTER TABLE public.credential_status_lists
RENAME COLUMN encoded_list TO status_list_jwt_credential;

-- Remove the column "proof"
ALTER TABLE public.credential_status_lists
DROP COLUMN proof
Loading