Agent Zero
5d408934ba
fix: Add Alembic migration 0104 for missing embedding + audit_log columns
...
Two critical bugs found by API integration tests:
1. contacts.embedding (vector(768)) — ORM model updated in Phase 5.3 but
plugin migration 0002_embeddings.sql was never run as Alembic migration.
Also adds embedding columns to mails, companies, files, calendar_entries, tags.
2. audit_log.created_at, updated_at, deleted_at — AuditLog inherits TenantMixin
which expects these columns, but they were never added to the DB table.
Also adds to deletion_log.
Migration uses IF NOT EXISTS checks for all columns/indexes.
Alembic head: 0103 → 0104
2026-08-04 22:39:07 +02:00
..
2026-07-31 19:16:11 +02:00
2026-07-31 19:16:11 +02:00
2026-07-31 19:16:11 +02:00
2026-07-31 19:16:11 +02:00
2026-07-31 18:20:09 +02:00
2026-07-31 18:20:09 +02:00
2026-07-31 19:16:11 +02:00
2026-07-31 19:16:11 +02:00
2026-07-31 19:16:11 +02:00
2026-07-31 19:16:11 +02:00
2026-07-31 19:16:11 +02:00
2026-07-04 00:31:47 +00:00
2026-07-31 19:16:11 +02:00
2026-07-04 01:32:13 +00:00
2026-07-04 08:12:39 +00:00
2026-07-07 07:44:02 +02:00
2026-07-31 19:16:11 +02:00
2026-07-31 18:20:09 +02:00
2026-07-31 19:16:11 +02:00
2026-07-17 00:59:41 +02:00
2026-07-31 19:16:11 +02:00
2026-07-31 19:16:11 +02:00
2026-07-31 18:20:09 +02:00
2026-07-31 19:16:11 +02:00
2026-07-31 19:16:11 +02:00
2026-07-31 19:16:11 +02:00
2026-07-25 21:03:46 +02:00
2026-07-25 21:03:46 +02:00
2026-07-31 19:16:11 +02:00
2026-07-31 19:16:11 +02:00
2026-07-31 19:16:11 +02:00
2026-07-31 19:16:11 +02:00
2026-07-31 18:20:09 +02:00
2026-07-31 19:16:11 +02:00
2026-07-31 18:20:09 +02:00
2026-07-31 19:16:11 +02:00
2026-07-25 21:03:46 +02:00
2026-07-31 19:16:11 +02:00
2026-07-31 19:16:11 +02:00
2026-07-26 00:42:31 +02:00
2026-07-25 21:03:46 +02:00
2026-07-26 03:02:25 +02:00
2026-07-26 03:17:40 +02:00
2026-07-26 03:22:40 +02:00
2026-07-26 21:41:23 +02:00
2026-07-26 20:49:15 +02:00
2026-07-31 19:16:11 +02:00
2026-07-31 19:16:11 +02:00
2026-07-31 19:16:11 +02:00
2026-07-31 19:16:11 +02:00
2026-07-29 01:28:13 +02:00
2026-07-29 01:30:25 +02:00
2026-07-29 01:30:25 +02:00
2026-07-31 19:16:11 +02:00
2026-07-31 19:16:11 +02:00
2026-07-31 19:16:11 +02:00
2026-07-31 19:16:11 +02:00
2026-07-31 19:16:11 +02:00
2026-07-29 03:10:26 +02:00
2026-07-31 19:16:11 +02:00
2026-07-29 12:28:08 +02:00
2026-07-29 12:40:15 +02:00
2026-07-29 12:30:00 +02:00
2026-07-31 18:20:09 +02:00
2026-07-29 12:46:50 +02:00
2026-07-29 12:49:15 +02:00
2026-07-29 12:49:15 +02:00
2026-07-29 13:19:21 +02:00
2026-07-29 16:12:04 +02:00
2026-07-29 16:36:51 +02:00
2026-07-29 16:49:09 +02:00
2026-07-31 19:16:11 +02:00
2026-07-31 19:16:11 +02:00
2026-07-29 18:38:06 +02:00
2026-07-31 18:20:09 +02:00
2026-07-31 19:16:11 +02:00
2026-07-29 23:33:56 +02:00
2026-07-29 23:42:25 +02:00
2026-07-30 00:06:43 +02:00
2026-07-30 00:15:58 +02:00
2026-07-30 00:20:20 +02:00
2026-07-30 00:47:43 +02:00
2026-07-31 19:16:11 +02:00
2026-07-30 10:16:26 +02:00
2026-07-31 01:31:41 +02:00
2026-08-04 15:11:28 +02:00
2026-07-31 09:02:40 +02:00
2026-07-31 18:20:09 +02:00
2026-07-31 12:04:27 +02:00
2026-07-31 22:15:29 +02:00
2026-07-31 22:23:38 +02:00
2026-08-01 23:04:15 +02:00
2026-08-02 23:25:54 +02:00
2026-08-03 13:29:16 +02:00
2026-08-03 16:14:43 +02:00
2026-08-03 13:29:16 +02:00
2026-08-03 13:29:16 +02:00
2026-08-03 14:10:04 +02:00
2026-08-03 14:21:43 +02:00
2026-08-03 19:18:09 +02:00
2026-08-03 22:32:03 +02:00
2026-08-03 23:14:26 +02:00
2026-08-04 00:18:06 +02:00
2026-08-04 09:27:10 +02:00
2026-08-04 22:39:07 +02:00