Files
Amber/app
Claude 842bcb296b Skip permission inserts whose application no longer exists
OnConflictStrategy.IGNORE does not suppress foreign-key failures, so a
permission written after its parent application was deleted (e.g. an
EditPermission toggle racing an app delete/reset) crashed with
SQLITE_CONSTRAINT_FOREIGNKEY. insertPermissions2 now filters out rows
whose pkKey has no matching application, and insertPermissions runs its
delete+insert in a single transaction.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014UZDNnChDiRzw5PtWc7MhD
2026-09-30 18:29:30 +00:00
..
2024-03-01 06:56:32 -03:00
2023-07-26 16:44:33 -03:00
2026-09-28 07:49:54 -03:00