fix: sync_plugin_schema sys.path + mail migration columns
Check Cross-Plugin Imports / check (push) Has been cancelled

- sync_plugin_schema.py: add /app to sys.path for container execution
- mail 0001_initial.sql: add sent/drafts/spam/trash folder columns
This commit is contained in:
Agent Zero
2026-08-07 00:46:23 +02:00
parent 34d3ea2607
commit 0c985818b1
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -21,6 +21,10 @@ import sys
import logging
from typing import Any
# Ensure /app is in sys.path for container execution
if "/app" not in sys.path:
sys.path.insert(0, "/app")
from sqlalchemy import inspect, text
from sqlalchemy.dialects.postgresql import dialect as pg_dialect
from sqlalchemy.ext.asyncio import create_async_engine