ultisuite-backend/migrations/000041_migration_auth_mode.up.sql
R3D347HR4Y 7143a36c19
Some checks are pending
CI / Go tests (push) Waiting to run
CI / Integration tests (push) Waiting to run
CI / DB migrations (push) Waiting to run
feat(mail): integrate Stalwart hosted mail and migration features
- 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.
2026-06-13 12:47:08 +02:00

8 lines
295 B
SQL

-- Migration auth mode: per-user OAuth vs Google domain-wide delegation
ALTER TABLE migration_projects
ADD COLUMN auth_mode TEXT NOT NULL DEFAULT 'oauth';
ALTER TABLE migration_projects
ADD CONSTRAINT migration_projects_auth_mode_check
CHECK (auth_mode IN ('oauth', 'google_dwd'));