Files
LogiFlow/attached_assets
michaelschal fd92ce25d0 Update user deletion to reassign roles and fix foreign key constraint violations
Update the deleteUser function in DatabaseStorage to reassign roles assigned by the deleted user to the admin user, resolving a foreign key constraint error when deleting the 'system' user.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: a8a78c07-e900-425c-a577-5b4c5894379d
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/a8a78c07-e900-425c-a577-5b4c5894379d/vetH0Gp
2025-08-11 17:59:48 +00:00
..
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00
2025-08-11 14:38:44 +00:00