Logo
Explore Help
Sign In
starred/warmbly
Watch 1
Star 0
Fork 0
mirror of https://github.com/warmbly/warmbly.git synced 2026-11-29 00:06:05 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
18d2e28c9863ca1d6996444da341bcc35ac94de7
warmbly/internal/infrastructure/db/migrations/000159_mailbox_erasure_validate.down.sql
T
Matthew Meszaros c28f915648 feat: erase everything a disconnected mailbox leaves behind, revoking its OAuth grant at Google and deleting its stored message bodies through a durable retried queue, cascade the nine mailbox foreign keys that had none so warmup receipts, tampering events and provider message maps stop outliving the mailbox, clear thread labels and snoozes on conversations the delete emptied, make workspace deletion possible at all by cascading the four organization foreign keys with no delete action, and put Disconnect in the mailbox row menu and a Settings danger zone since it was only reachable from the selection bar (#506)
2026-09-14 07:55:01 -07:00

5 lines
216 B
SQL
Raw Blame History

-- Nothing to undo: a validated constraint is the same constraint, and 000158's
-- down drops all of them. Marking them NOT VALID again is not something
-- Postgres offers, and would buy nothing if it did.
SELECT 1;
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Gitea Enterprise Version: 27.3.9 Page: 30ms Template: 3ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API