nxtgauge-backend-rust/crates
Ashwin Kumar 3935277fb7 Fix backend compile errors after schema migrations
- employees.rs: rewrite for new standalone schema (email/password_hash,
  no user_id/role_id FK — matches 20260402030000 migration)
- migration: DROP old employees table before CREATE (old schema incompatible)
- pricing.rs: merge if-else sqlx::query! branches into single nullable param query
- kb.rs: fix target_roles Option<Vec<String>> unwrap, category_id Some() wrapping
- support.rs: fix .or() call with non-optional user_email (use Some())
- roles.rs: fix employees JOIN from role_id (deleted) to role_code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-03 02:25:47 +02:00
..
auth chore: checkpoint current workspace changes 2026-03-22 15:55:29 +01:00
cache chore: checkpoint current workspace changes 2026-03-22 15:55:29 +01:00
contracts feat(admin): wire management modules to live backend and add UGC role 2026-04-02 13:09:43 +02:00
db Fix backend compile errors after schema migrations 2026-04-03 02:25:47 +02:00
email feat(admin): wire management modules to live backend and add UGC role 2026-04-02 13:09:43 +02:00
storage feat(backend): enforce profile approvals and complete migration approval flows 2026-03-19 00:30:23 +01:00