From 31db08bae105efdcd0031c31a4054033048057a3 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Wed, 31 May 2023 08:11:22 -0500 Subject: [PATCH] =?UTF-8?q?fix(build):=20=F0=9F=90=9B=20specify=20context?= =?UTF-8?q?=20during=20revert=20step?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/Directory/azure-pipelines.migrate.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/Directory/azure-pipelines.migrate.yaml b/services/Directory/azure-pipelines.migrate.yaml index e55397bc9..6617554e8 100644 --- a/services/Directory/azure-pipelines.migrate.yaml +++ b/services/Directory/azure-pipelines.migrate.yaml @@ -94,7 +94,7 @@ steps: targetType: inline workingDirectory: services/Directory script: | - MIGLIST=$(dotnet ef migrations list -p FilterLists.Directory.Infrastructure.Migrations -s FilterLists.Directory.Api) + MIGLIST=$(dotnet ef migrations list -p FilterLists.Directory.Infrastructure.Migrations -s FilterLists.Directory.Api --context QueryDbContext) echo "$MIGLIST" if [[ $MIGLIST == *$SYSTEM_PULLREQUEST_PULLREQUESTNUMBER ]] ; then echo "A migration already exists for PR #$SYSTEM_PULLREQUEST_PULLREQUESTNUMBER. Reverting..."