feat: add Migrator console project
- Dedicated HrynCo.NotificationService.Migrator console app - Reads App:ConnectionString from config/env - Calls db.Database.MigrateAsync() with clear log output - Own Dockerfile (runtime:10.0 base, no SDK overhead) - Replaces SDK volume-mount approach in docker-compose - Added to solution with /docker/Migrator/ folder Ref: IT-628 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -8,7 +8,11 @@
|
||||
<Folder Name="/docker/Worker/">
|
||||
<File Path="HrynCo.NotificationService.Worker/Dockerfile" />
|
||||
</Folder>
|
||||
<Folder Name="/docker/Migrator/">
|
||||
<File Path="HrynCo.NotificationService.Migrator/Dockerfile" />
|
||||
</Folder>
|
||||
</Folder>
|
||||
<Project Path="HrynCo.NotificationService.Migrator/HrynCo.NotificationService.Migrator.csproj" />
|
||||
<Project Path="HrynCo.NotificationService.Web.IntegrationTests/HrynCo.NotificationService.Web.IntegrationTests.csproj" />
|
||||
<Project Path="HrynCo.NotificationService.Web/HrynCo.NotificationService.Web.csproj" />
|
||||
<Project Path="HrynCo.NotificationService.DAL.Abstract/HrynCo.NotificationService.DAL.Abstract.csproj" />
|
||||
|
||||
Reference in New Issue
Block a user