features/cutover-to-ef #9

Merged
jtom38 merged 27 commits from features/cutover-to-ef into main 2023-06-25 21:15:58 -07:00
Showing only changes of commit 54155bfc3f - Show all commits

View File

@ -22,7 +22,7 @@ docker-migrate: ## Runs the migrations stored in the Docker image
docker run -it --env-file .env ghcr.io/jtom38/newsbot.collector:master /app/goose --dir "/app/migrations" up
ef-build: ## Builds migration artifact
dotnet ef migrations bundle --project "Newsbot.Collector.Database"
dotnet ef migrations bundle --project "Newsbot.Collector.Database" --force
ef-migrate: ## Runs migrations based on the newest artifact
dotnet ef migrations bundle --project "Newsbot.Collector.Database" --force