ZIm/crates/collab/src/db/tests
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
..
billing_subscription_tests.rs collab: Add kind and period start/end timestamps to billing_subscriptions (#28796) 2025-04-15 13:48:03 -04:00
buffer_tests.rs Use git config --global user.email for email address in automatic Co-authored-by (#32624) 2025-06-12 19:39:08 +00:00
channel_tests.rs Add channel reordering functionality (#31833) 2025-06-04 16:56:33 +00:00
contributor_tests.rs Allow filling co-authors in the git panel's commit input (#23329) 2025-01-18 22:57:17 +02:00
db_tests.rs Update names of collab auth functions to clarify behavior (#32648) 2025-06-13 00:35:18 +00:00
embedding_tests.rs Never run transactions using serializable isolation (#33780) 2025-07-02 14:30:38 +00:00
extension_tests.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
feature_flag_tests.rs Allow filling co-authors in the git panel's commit input (#23329) 2025-01-18 22:57:17 +02:00
message_tests.rs Enable clippy::explicit_auto_deref (#8753) 2024-03-02 22:30:18 -05:00
processed_stripe_event_tests.rs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
user_tests.rs Delete access tokens on user delete (#34036) 2025-07-08 10:08:17 -04:00