makefile will now overwrite any local migration file
This commit is contained in:
parent
3c302d2f0e
commit
54155bfc3f
2
makefile
2
makefile
@ -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
|
docker run -it --env-file .env ghcr.io/jtom38/newsbot.collector:master /app/goose --dir "/app/migrations" up
|
||||||
|
|
||||||
ef-build: ## Builds migration artifact
|
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
|
ef-migrate: ## Runs migrations based on the newest artifact
|
||||||
dotnet ef migrations bundle --project "Newsbot.Collector.Database" --force
|
dotnet ef migrations bundle --project "Newsbot.Collector.Database" --force
|
||||||
|
Loading…
Reference in New Issue
Block a user