ALTER TABLE migration_projects DROP CONSTRAINT IF EXISTS migration_projects_auth_mode_check; ALTER TABLE migration_projects ADD CONSTRAINT migration_projects_auth_mode_check CHECK (auth_mode IN ('oauth', 'google_dwd'));