commit 714f204d9d5580dac06754b92766399fb794bb2c parent 12951e288cba2b5fc647a12871f2ecce604e6bea Author: Christian Grothoff <christian@grothoff.org> Date: Tue, 22 Jul 2025 09:50:14 +0200 -fix migration if logins are active Diffstat:
| M | src/backenddb/merchant-0020.sql | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/backenddb/merchant-0020.sql b/src/backenddb/merchant-0020.sql @@ -26,6 +26,9 @@ SELECT _v.register_patch('merchant-0020', NULL, NULL); SET search_path TO merchant; +-- delete existing login tokens as we don't have a description, this +-- logs out all users but should be safe as a migration. +DELETE FROM merchant_login_tokens; ALTER TABLE merchant_login_tokens ADD description TEXT NOT NULL;