diff --git a/db_upgrade_scripts/mosip_ida/sql/1.2.0.1-B4_to_1.2.0.1-B5_upgrade.sql b/db_upgrade_scripts/mosip_ida/sql/1.2.0.1-B4_to_1.2.0.1-B5_upgrade.sql index efb74c3babe..99e1c98db33 100644 --- a/db_upgrade_scripts/mosip_ida/sql/1.2.0.1-B4_to_1.2.0.1-B5_upgrade.sql +++ b/db_upgrade_scripts/mosip_ida/sql/1.2.0.1-B4_to_1.2.0.1-B5_upgrade.sql @@ -8,7 +8,7 @@ -- Modified Date Modified By Comments / Remarks -- ------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------- -\c mosip_ida sysadmin +\c mosip_ida CREATE TABLE ida.cred_subject_id_store( id character varying(36) NOT NULL, @@ -44,4 +44,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'); \ No newline at end of file +VALUES('IDA_VCI_EXCHANGE', 1095, true, 'mosipadmin', now(), NULL, NULL, false, NULL, 60, 'NA'); diff --git a/db_upgrade_scripts/mosip_ida/sql/1.2.0.1-B5_to_1.2.0.1-B6_upgrade.sql b/db_upgrade_scripts/mosip_ida/sql/1.2.0.1-B5_to_1.2.0.1-B6_upgrade.sql index c4934889c8c..1400ca91bed 100644 --- a/db_upgrade_scripts/mosip_ida/sql/1.2.0.1-B5_to_1.2.0.1-B6_upgrade.sql +++ b/db_upgrade_scripts/mosip_ida/sql/1.2.0.1-B5_to_1.2.0.1-B6_upgrade.sql @@ -1,7 +1,7 @@ +\c mosip_ida 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,status_code); -