Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
chore: add enum db migration
Browse files Browse the repository at this point in the history
  • Loading branch information
overbit committed Jun 12, 2024
1 parent 42b8cfb commit 8f06c40
Show file tree
Hide file tree
Showing 3 changed files with 453 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:
entrypoint: sh
command: -c "./DbMigrationsBundle --connection $$MIGRATION_CONNECTION"
environment:
MIGRATION_CONNECTION: Host=db:5432;Username=admin;Password=admin;Database=postgres
MIGRATION_CONNECTION: Host=db:5432;Username=admin;Password=admin;Database=dotnet8-sample
depends_on:
db:
condition: "service_healthy"
Expand All @@ -35,7 +35,7 @@ services:
environment:
ASPNETCORE_HTTP_PORTS: ${PORT}
ASPNETCORE_ENVIRONMENT: "Development"
ConnectionStrings__DbContext: Host=db:5432;Username=admin;Password=admin;Database=postgres
ConnectionStrings__DbContext: Host=db:5432;Username=admin;Password=admin;Database=dotnet8-sample
restart: on-failure
depends_on:
migrate:
Expand Down
Loading

0 comments on commit 8f06c40

Please sign in to comment.