Rename EmailApiDbContext to EmailDbContext and EmailTemplates table to Templates

Refactoring:
- Rename EmailApiDbContext class to EmailDbContext for consistency with other DbContext naming
- Rename DbSet property from EmailTemplates to Templates
- Rename table from EmailTemplates to Templates
- Update all references in Program.cs files (email-api, api, cv-search-job)
- Update all migration files and model snapshot
- Fix cv-search-job migrations assembly name: email-api-data → email-data

This improves naming consistency across the solution.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-06-01 16:21:32 +03:00
parent 070aa329fe
commit 0bc860b1a7
9 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
namespace Email.Data;
/// <summary>
/// Schema constants used by EmailApiDbContext and migrations.
/// Schema constants used by EmailDbContext and migrations.
/// Centralized to avoid hardcoded strings and ensure consistency.
/// </summary>
public static class MigrationConstants