mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-07-01 18:14:20 +00:00
c20ee00fa3
DelInbound removed the client_inbounds join rows but never deleted the inbound's client_traffics, so Postgres rejected the inbound delete with fk_inbounds_client_stats (SQLSTATE 23503). SQLite never enforced the FK so this went unnoticed. Delete client_traffics first, matching the order already used in the sync path.