Scott Idem
dfb5289188
fix: skip account_id injection when model excludes it from DB writes
...
After the sanitize_payload order fix, account_id was being re-injected
into data_to_insert for models that explicitly list account_id in
fields_to_exclude_from_db (e.g. event_badge, event_device). Those tables
have no account_id column, causing INSERT failures.
Guard the post-sanitize account_id injection in both api_crud_v3.py and
api_crud_v3_nested.py by checking fields_to_exclude_from_db first.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-11 19:09:11 -04:00
..
2026-04-02 17:10:35 -04:00
2020-09-14 12:41:02 -04:00
2026-01-20 19:23:30 -05:00
2026-01-20 19:23:30 -05:00
2026-03-24 19:22:45 -04:00
2026-02-24 11:30:17 -05:00
2026-04-11 19:09:11 -04:00
2026-04-11 19:09:11 -04:00
2025-12-03 20:43:47 -05:00
2026-02-03 17:53:14 -05:00
2026-03-17 16:36:32 -04:00
2026-02-03 18:23:07 -05:00
2026-03-16 16:50:32 -04:00
2026-02-06 16:23:18 -05:00
2026-03-25 13:05:09 -04:00
2026-03-25 21:54:09 -04:00
2026-04-10 11:53:58 -04:00
2024-04-26 14:51:11 -04:00
2026-03-24 19:22:45 -04:00
2026-02-13 18:45:20 -05:00
2024-05-15 10:39:01 -04:00
2024-04-26 15:15:37 -04:00
2024-04-26 15:15:37 -04:00
2026-01-20 19:23:30 -05:00
2026-04-07 19:59:51 -04:00
2024-04-26 14:51:11 -04:00
2026-01-20 19:23:30 -05:00
2026-01-20 19:23:30 -05:00
2026-01-20 19:23:30 -05:00
2024-04-26 14:51:11 -04:00
2026-01-20 19:23:30 -05:00
2025-06-24 18:48:38 -04:00
2024-04-26 15:15:37 -04:00
2026-01-20 19:23:30 -05:00
2024-04-26 15:15:37 -04:00
2026-01-20 19:23:30 -05:00
2024-04-26 15:15:37 -04:00
2024-04-26 14:51:11 -04:00
2024-04-26 15:15:37 -04:00
2026-03-10 18:44:58 -04:00
2026-03-11 14:51:08 -04:00
2024-04-26 14:51:11 -04:00
2026-02-20 17:18:21 -05:00
2024-04-26 15:15:37 -04:00
2024-04-26 15:15:37 -04:00
2024-04-26 15:15:37 -04:00
2024-04-26 14:51:11 -04:00
2024-04-26 15:15:37 -04:00
2024-05-22 15:54:47 -04:00
2026-04-02 17:10:35 -04:00
2026-03-31 14:48:28 -04:00
2024-04-26 15:15:37 -04:00
2024-04-26 14:51:11 -04:00
2026-03-25 19:33:53 -04:00
2026-03-24 19:22:45 -04:00
2024-10-09 10:38:24 -04:00
2026-03-11 15:21:19 -04:00
2023-04-07 17:09:51 -04:00