- Added configuration options for Stalwart hosted mail in .env.example. - Updated Docker Compose to include Stalwart service with health checks. - Introduced new API endpoints for managing mail domains and migration projects. - Enhanced Authentik blueprints for user enrollment and post-migration security. - Updated OAuth handling for Google and Microsoft migration processes. - Improved error handling and response structures in the mail API. - Added integration tests for email claiming and migration workflows.
12 lines
477 B
SQL
12 lines
477 B
SQL
-- Track per-job imported source IDs and drive paths outside cursor_json.
|
|
CREATE TABLE migration_imported_items (
|
|
id UUID PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
job_id UUID NOT NULL REFERENCES migration_jobs(id) ON DELETE CASCADE,
|
|
source_id TEXT NOT NULL,
|
|
rel_path TEXT NOT NULL DEFAULT '',
|
|
imported_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),
|
|
UNIQUE(job_id, source_id)
|
|
);
|
|
|
|
CREATE INDEX idx_migration_imported_items_job ON migration_imported_items(job_id);
|