mirror of
https://github.com/tiennm99/bsk.git
synced 2026-08-03 20:22:33 +00:00
- bsk.customers (soft-delete) + provinces/wards geo tables; RLS: enrolled read, clinical-role write; geo read-only - accent-insensitive search via unaccent wrapper + search_customers RPC (SECURITY INVOKER so RLS applies); name/phone contains - patients list+search, create, edit; shared form with cascading province -> ward dropdown; clinical-role route gate; nav + vi/en - audit-logged mutations; seed-geo script (db:seed-geo) for the geo dataset