Files
honeyDueAPI/internal
Trey t 3d33a1f483 Fix clear all data - preserve superusers properly
Issues fixed:
1. Added missing user_applesocialauth deletion (Sign in with Apple)
2. Added missing residence_residencesharecode deletion
3. Simplified user deletion to always use WHERE is_superuser = false
   (GORM's Exec with IN clause and slice was unreliable)

The delete query now directly filters on is_superuser column instead of
using NOT IN with a precomputed list of IDs, which is both simpler and
guaranteed to preserve all superuser accounts.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 16:54:06 -06:00
..
2025-11-28 21:10:48 -06:00