Skip to content

Commit

Permalink
Merge pull request #1208 from ase-101/release-1.2.0.1-B6
Browse files Browse the repository at this point in the history
DSD-4711
  • Loading branch information
ckm007 authored Feb 27, 2024
2 parents 70bcf6c + 517e308 commit 4dbb93f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
\echo 'Upgrade Queries not required for transition from $CURRENT_VERSION to $UPGRADE_VERSION'

DROP TABLE IF EXISTS ida.cred_subject_id_store CASCADE;

DROP INDEX IF EXISTS ida.ind_csid_key_hash;

DELETE FROM ida.key_policy_def WHERE app_id='IDA_VCI_EXCHANGE';
DELETE FROM ida.key_policy_def WHERE app_id='IDA_VCI_EXCHANGE';
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
-- -------------------------------------------------------------------------------------------------
-- Database Name : mosip_ida
-- Release Version : 1.2.1
-- Purpose : Database Alter scripts for the release for ID Authentication DB.
-- Create By : Mahammed Taheer
-- Created Date : Aug-2023
--
-- Modified Date Modified By Comments / Remarks
-- -------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
\c mosip_ida sysadmin

CREATE TABLE ida.cred_subject_id_store(
Expand Down Expand Up @@ -44,4 +34,4 @@ COMMENT ON COLUMN ida.cred_subject_id_store.del_dtimes IS 'Deleted DateTimestamp
CREATE INDEX ind_csid_key_hash ON ida.cred_subject_id_store (csid_key_hash);

INSERT INTO ida.key_policy_def (app_id, key_validity_duration, is_active, cr_by, cr_dtimes, upd_by, upd_dtimes, is_deleted, del_dtimes, pre_expire_days, access_allowed)
VALUES('IDA_VCI_EXCHANGE', 1095, true, 'mosipadmin', now(), NULL, NULL, false, NULL, 60, 'NA');
VALUES('IDA_VCI_EXCHANGE', 1095, true, 'mosipadmin', now(), NULL, NULL, false, NULL, 60, 'NA');
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\echo 'Upgrade Queries not required for the transition from 1.2.0.1-B5 to 1.2.0.1'
\c mosip_ida

ALTER TABLE ida.credential_event_store ALTER COLUMN credential_transaction_id type character varying(36);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\echo 'Upgrade Queries not required for transition from 1.2.0.1-B5 to 1.2.0.1'
\c mosip_ida

ALTER TABLE ida.credential_event_store ALTER COLUMN credential_transaction_id type character varying(64);

Expand Down

0 comments on commit 4dbb93f

Please sign in to comment.