Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: drop the merge user tool’s stored procedure #1155 #866

Open
wants to merge 10 commits into
base: develop
Choose a base branch
from
Open
12 changes: 12 additions & 0 deletions apps/backend/db_patches/0166_DropUserMergeStoreProc.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
DO
$$
BEGIN
IF register_patch('0166_DropUserMergeStoredProc.sql', 'Chi Kai Lam', 'Drop stored procedure of merge user tool', '2024-11-21') THEN
BEGIN
DROP TABLE MERGING_TABLE_REGISTRY;
DROP FUNCTION REPLACE_OLD_USER_ID_WITH_NEW;
END;
END IF;
END;
$$
LANGUAGE plpgsql;
Loading