Skip to content

Commit

Permalink
MOSIP-29499 added partial index to credential-transaction-table
Browse files Browse the repository at this point in the history
Signed-off-by: Neha Farheen <[email protected]>
  • Loading branch information
Neha Farheen committed Jan 22, 2024
1 parent 9c6d0fe commit ab9f8ba
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ CREATE TABLE credential.credential_transaction(
CONSTRAINT pk_credtrn_id PRIMARY KEY (id)

);

CREATE INDEX cred_tran_NEW_status_cr_dtimes ON credential.credential_transaction USING btree (cr_dtimes) WHERE status_code = 'NEW';

-- ddl-end --
COMMENT ON TABLE credential.credential_transaction IS 'Credential: The credential share is a functional service that interacts with the ID Repository and collects the user attributes for printing';
-- ddl-end --
Expand Down

0 comments on commit ab9f8ba

Please sign in to comment.