-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Shota Jolbordi <[email protected]>
- Loading branch information
Shota Jolbordi
committed
Mar 19, 2024
1 parent
c920fd6
commit bc0b3ff
Showing
2 changed files
with
20 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...ie/src/main/resources/sql/pollux/V19__update_revocation_status_list_table_and_columns.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
ALTER TABLE public.credential_status_lists | ||
DROP COLUMN encoded_list, | ||
DROP COLUMN proof; | ||
|
||
ALTER TABLE public.credential_status_lists | ||
ADD COLUMN status_list_credential JSON NOT NULL, | ||
ADD COLUMN size INTEGER NOT NULL DEFAULT 131072, | ||
ADD COLUMN last_used_index INTEGER NOT NULL DEFAULT 0; | ||
|
||
ALTER TABLE public.credentials_in_status_list | ||
ADD COLUMN is_processed BOOLEAN NOT NULL DEFAULT false; |