Skip to content

Commit

Permalink
Merge pull request #573 from kameshsr/release-1.2.0.1
Browse files Browse the repository at this point in the history
MOSIP-23623 Added revoke.sql
  • Loading branch information
ckm007 authored Aug 19, 2022
2 parents c4a4d8a + 600d546 commit caaa435
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions db_release_scripts/mosip_prereg/sql/1.2.0-revoke.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
-- -------------------------------------------------------------------------------------------------
-- Database Name: mosip_prereg
-- Release Version : 1.2.0
-- Purpose : Revoking Database Alter deployment done for release in Pre registration DB.
-- Create By : Kamesh Shekhar Prasad
-- Created Date : Aug-2022
--
-- Modified Date Modified By Comments / Remarks
-- -------------------------------------------------------------------------------------------------

\c mosip_prereg sysadmin

DROP TABLE IF EXISTS prereg-applications;
DROP TABLE IF EXISTS prereg-anonymous_profile;

ALTER TABLE prereg.reg_appointment ADD CONSTRAINT fk_rappmnt_id FOREIGN KEY (prereg_id)
REFERENCES prereg.applicant_demographic(prereg_id) MATCH SIMPLE
ON DELETE NO ACTION ON UPDATE NO ACTION;

0 comments on commit caaa435

Please sign in to comment.