-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #573 from kameshsr/release-1.2.0.1
MOSIP-23623 Added revoke.sql
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 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
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; |