mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-20 11:06:06 +00:00
2318308674
deletePluginUserData swallowed every error from its three DELETEs, so a lost connection or a refused statement on Postgres looked like success and left the user's plugin rows behind. It now skips only a table that does not exist, the case its comment described (a slimmed-down schema), and rethrows anything else. The missing-table test moves to isMissingTableError in migration-utils, which already decided this for the migrations: the ORM maps SQLite's "no such table" and Postgres's 42P01 to TableNotFoundException. The docstring keeps the intent and drops the plan history.