From 721feb7d30b1920e6bc065935e3b0e055aece7d3 Mon Sep 17 00:00:00 2001 From: Rishabh Poddar Date: Fri, 8 Mar 2024 14:06:17 +0530 Subject: [PATCH] Update upgrading-users-core-version.md --- .../checklists/saas/upgrading-users-core-version.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/v2/contribute/checklists/saas/upgrading-users-core-version.md b/v2/contribute/checklists/saas/upgrading-users-core-version.md index 418235133..6a7e53f88 100644 --- a/v2/contribute/checklists/saas/upgrading-users-core-version.md +++ b/v2/contribute/checklists/saas/upgrading-users-core-version.md @@ -1042,4 +1042,9 @@ ALTER TABLE emailpassword_pswd_reset_tokens DROP CONSTRAINT IF EXISTS emailpassw ALTER TABLE emailpassword_pswd_reset_tokens ADD CONSTRAINT emailpassword_pswd_reset_tokens_user_id_fkey FOREIGN KEY (app_id, user_id) REFERENCES app_id_to_user_id (app_id, user_id) ON DELETE CASCADE; ALTER TABLE emailpassword_pswd_reset_tokens ADD COLUMN email VARCHAR(256); -``` \ No newline at end of file +``` + +### 7.0 to 8.0 +```sql +ALTER TABLE user_roles DROP CONSTRAINT IF EXISTS user_roles_role_fkey; +```