1 Commits
Author SHA1 Message Date
gnilebeinandClaude Opus 5.5 0a4c9fad09 Delete options and responses together with their poll
CI / Deploy / deploy (push) Skipped
CI / Deploy / test (push) Successful in 53s
Deleting a poll removed its slides with a plain deleteAll and relied on
ON DELETE CASCADE for slide options and responses. SQLite does not enforce
foreign keys by default, so answers of deleted polls stayed in the database.
Cascade through the ORM instead and remove the rows left behind earlier.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 21:56:18 +01:00