ZIm/crates/collab/migrations.sqlite
Joseph T. Lyons 60e9ab8f93
Delete access tokens on user delete (#34036)
Trying to delete a user record from our admin panel throws the following
error:

`update or delete on table "users" violates foreign key constraint
"access_tokens_user_id_fkey" on table "access_tokens"
Detail: Key (id)=(....) is still referenced from table "access_tokens".`

We need to add a cascade delete to the `access_tokens` table.

Release Notes:

- N/A
2025-07-08 10:08:17 -04:00
..
20221109000000_test_schema.sql Delete access tokens on user delete (#34036) 2025-07-08 10:08:17 -04:00