features/cutover-to-ef #9
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