- 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
471 B
SQL
12 lines
471 B
SQL
-- Per-item migration audit: track success, failure, and skip with reason.
|
|
ALTER TABLE migration_imported_items
|
|
ADD COLUMN status TEXT NOT NULL DEFAULT 'imported',
|
|
ADD COLUMN reason TEXT NOT NULL DEFAULT '';
|
|
|
|
ALTER TABLE migration_imported_items
|
|
ADD CONSTRAINT migration_imported_items_status_check
|
|
CHECK (status IN ('imported', 'failed', 'skipped'));
|
|
|
|
CREATE INDEX idx_migration_imported_items_job_status
|
|
ON migration_imported_items(job_id, status);
|