Resolve issue with assigning users to groups in production environments

Adjust `server/storage.ts` to use raw SQL for inserting into `user_groups` when the `created_at` column is missing in production, and add a test script `test-user-groups.js` to verify this functionality.

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/pp1SgYO
This commit is contained in:
michaelschal committed 2025-08-11 19:49:32 +00:00
1 parent 28b60b6bca
commit f705fb4b1c
3 files changed
+50 -6

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 266 KiB