From 54155bfc3f7808f542efe31a755a5e00e4a0f189 Mon Sep 17 00:00:00 2001 From: James Tombleson Date: Sun, 25 Jun 2023 21:05:50 -0700 Subject: [PATCH] makefile will now overwrite any local migration file --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 858ec2b..1007228 100644 --- a/makefile +++ b/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 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