makefile will now overwrite any local migration file

This commit is contained in:
James Tombleson 2023-06-25 21:05:50 -07:00
parent 3c302d2f0e
commit 54155bfc3f
1 changed files with 1 additions and 1 deletions

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