diff --git a/v2/contribute/checklists/saas/upgrading-users-core-version.md b/v2/contribute/checklists/saas/upgrading-users-core-version.md index 194734eec..02b69647b 100644 --- a/v2/contribute/checklists/saas/upgrading-users-core-version.md +++ b/v2/contribute/checklists/saas/upgrading-users-core-version.md @@ -101,6 +101,7 @@ hide_title: true - If `access_token_signing_key_dynamic` is currently set to `false` then run: ```sql ALTER TABLE session_info ADD COLUMN use_static_key BOOLEAN NOT NULL DEFAULT(true); + ALTER TABLE session_info ALTER COLUMN use_static_key DROP DEFAULT; INSERT INTO jwt_signing_keys(key_id, key_string, algorithm, created_at) select CONCAT('s-', created_at_time) as key_id, value as key_string, 'RS256' as algorithm, created_at_time as created_at from session_access_token_signing_keys; @@ -108,4 +109,5 @@ hide_title: true - If `access_token_signing_key_dynamic` is currently set to `true`, or it not set at all: ```sql ALTER TABLE session_info ADD COLUMN use_static_key BOOLEAN NOT NULL DEFAULT(false); + ALTER TABLE session_info ALTER COLUMN use_static_key DROP DEFAULT; ```