Migrations and Snapshots
Audience
Developers, QA and support engineers, data reviewers, implementation partners, solution architects, privacy reviewers and security reviewers.
Reference Content
Summary
The seven extracted contexts contain 19 authored migrations and seven current snapshots. The compatibility context contains neither an authored EF migration nor a snapshot and instead uses a runtime schema initializer.
Inventory
| Context | Authored migrations | Snapshot | Lifecycle-relevant evolution |
|---|---|---|---|
| Recruitment | 5 | Yes | Initial model, compatibility identifiers, employee linkage, workflow reference, completed offer/joining model |
| Employee | 2 | Yes | Initial employee model, expanded timeline event fields |
| Payroll | 4 | Yes | Payroll foundation, calculation/lifecycle fields and approved-expense projection |
| Attendance | 3 | Yes | Attendance foundation, weekly-off policy and employee assignment reference |
| Leave | 3 | Yes | Leave foundation, employee synchronization and workflow reference |
| Asset | 1 | Yes | Asset aggregate, history, evidence and event ledgers |
| Notification | 1 | Yes | Notification delivery/evidence model |
| Compatibility | 0 | No | Runtime initializer and compatibility adjustments |
| Total | 19 | 7 |
Ownership model
Safety
No migration was executed. This documentation intentionally omits database names, connection details, generated operations, rollback commands and physical schema identifiers.
Open migration questions
Deployment ordering, backup/restore checks, rollback policy, zero-downtime compatibility, initializer governance and production approval ownership require confirmation.
Requires confirmation
Unless explicitly confirmed above, production migration governance, rollback, reconciliation, retention, privacy, performance, concurrency and operational ownership require confirmation.
Source References
microservices/src/recruitment-service/Infrastructure/Migrations/RecruitmentDbContextModelSnapshot.csmicroservices/src/employee-service/Infrastructure/Migrations/EmployeeDbContextModelSnapshot.csData/DatabaseSchemaInitializer.cs
Related Articles
See Also
Keywords
- Onboarding database
- Offboarding database
- Lifecycle persistence
Revision Information
- Status: Draft
- Last reviewed: 2026-07-20
- Review cycle: Quarterly