nxtgauge-backend-rust/crates/db
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
..
migrations Fix backend compile errors after schema migrations 2026-04-03 02:25:47 +02:00
src feat(admin): wire management modules to live backend and add UGC role 2026-04-02 13:09:43 +02:00
Cargo.toml feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00