fix: add deleted_at column to mail_sync_queue — process_sync_queue was crashing

- MailSyncQueue inherits TenantMixin which includes SoftDeleteMixin (deleted_at)
- Migration 0007 did not create this column
- process_sync_queue crashed on every auto-sync attempt
- Add migration 0008 to add deleted_at column
- Bump plugin version to 1.3.0
This commit is contained in:
Agent Zero
2026-07-20 13:42:30 +02:00
parent 11c2a0c9af
commit 04e0c60222
2 changed files with 5 additions and 2 deletions
@@ -0,0 +1,3 @@
-- Fix: MailSyncQueue inherits TenantMixin which includes SoftDeleteMixin (deleted_at)
-- Migration 0007 did not include this column, causing process_sync_queue to crash
ALTER TABLE mail_sync_queue ADD COLUMN IF NOT EXISTS deleted_at TIMESTAMPTZ;