From 0be084a29605859f39684be10a1533611594f18f Mon Sep 17 00:00:00 2001 From: dhanendra06 <60607841+dhanendra06@users.noreply.github.com> Date: Fri, 16 Dec 2022 10:29:30 +0530 Subject: [PATCH] Update 1.2.0-release.sql --- db_release_scripts/mosip_keymgr/sql/1.2.0-release.sql | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/db_release_scripts/mosip_keymgr/sql/1.2.0-release.sql b/db_release_scripts/mosip_keymgr/sql/1.2.0-release.sql index 404836db..db111df6 100644 --- a/db_release_scripts/mosip_keymgr/sql/1.2.0-release.sql +++ b/db_release_scripts/mosip_keymgr/sql/1.2.0-release.sql @@ -13,6 +13,13 @@ insert into keymgr.key_policy_def(app_id, key_validity_duration, is_active, cr_b insert into keymgr.key_policy_def(app_id, key_validity_duration, is_active, cr_by, cr_dtimes, pre_expire_days, access_allowed) values('RESIDENT',1095,TRUE,'mosipadmin',now(),60,'NA'); insert into keymgr.key_policy_def(app_id, key_validity_duration, is_active, cr_by, cr_dtimes, pre_expire_days, access_allowed) values('COMPLIANCE_TOOLKIT',1095,TRUE,'mosipadmin',now(),60,'NA'); +INSERT INTO keymgr.key_policy_def + (app_id, key_validity_duration, is_active, cr_by, cr_dtimes, upd_by, upd_dtimes, is_deleted, del_dtimes) + VALUES('DIGITAL_CARD', 1095, true, 'mosipadmin', '2020-12-15 15:15:54.411', NULL, NULL, NULL, NULL); + +INSERT INTO keymgr.key_policy_def_h + (app_id, eff_dtimes, key_validity_duration, is_active, cr_by, cr_dtimes, upd_by, upd_dtimes, is_deleted, del_dtimes) + VALUES('DIGITAL_CARD', '2020-12-15 15:15:54.442', 1095, true, 'mosipadmin', '2020-12-15 15:15:54.442', NULL, NULL, NULL, NULL); -- updating default values for pre_expire_days & access_allowed columns update keymgr.key_policy_def set pre_expire_days=60, access_allowed='NA' where app_id='PRE_REGISTRATION'; @@ -22,4 +29,4 @@ update keymgr.key_policy_def set pre_expire_days=60, access_allowed='NA' where a update keymgr.key_policy_def set pre_expire_days=60, access_allowed='NA' where app_id='KERNEL'; update keymgr.key_policy_def set pre_expire_days=1125, access_allowed='NA' where app_id='ROOT'; update keymgr.key_policy_def set pre_expire_days=30, access_allowed='NA' where app_id='BASE'; -update keymgr.key_policy_def set pre_expire_days=395, access_allowed='NA' where app_id='PMS'; \ No newline at end of file +update keymgr.key_policy_def set pre_expire_days=395, access_allowed='NA' where app_id='PMS';