-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated db scripts to index refid but not otphash
Signed-off-by: Loganathan Sekar <[email protected]>
- Loading branch information
Loganathan Sekar
authored and
Loganathan Sekar
committed
Feb 7, 2024
1 parent
6b9c13b
commit 03d93bf
Showing
4 changed files
with
13 additions
and
6 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
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
5 changes: 5 additions & 0 deletions
5
db_upgrade_scripts/mosip_ida/sql/1.2.0.1-B5_to_1.2.0.1_rollback.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 |
---|---|---|
@@ -1,3 +1,8 @@ | ||
\echo 'Upgrade Queries not required for the transition from 1.2.0.1-B5 to 1.2.0.1' | ||
|
||
ALTER TABLE ida.credential_event_store ALTER COLUMN credential_transaction_id type character varying(36); | ||
|
||
CREATE INDEX ind_otphsh ON ida.otp_transaction (otp_hash,status_code); | ||
|
||
DROP INDEX IF EXISTS ida.ind_refid; | ||
|
5 changes: 5 additions & 0 deletions
5
db_upgrade_scripts/mosip_ida/sql/1.2.0.1-B5_to_1.2.0.1_upgrade.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 |
---|---|---|
@@ -1,3 +1,8 @@ | ||
\echo 'Upgrade Queries not required for transition from 1.2.0.1-B5 to 1.2.0.1' | ||
|
||
ALTER TABLE ida.credential_event_store ALTER COLUMN credential_transaction_id type character varying(64); | ||
|
||
DROP INDEX IF EXISTS ida.ind_otphsh; | ||
|
||
CREATE INDEX ind_refid ON ida.otp_transaction (ref_id); | ||
|