added --force to ensure a migration file is always made.
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
parent
52e86c01ce
commit
f92480e717
@ -18,7 +18,7 @@ RUN ls build
|
||||
|
||||
FROM build as ef
|
||||
RUN dotnet tool install dotnet-ef --tool-path /usr/bin --version 7.0.8
|
||||
RUN dotnet ef migrations bundle --project "Newsbot.Collector.Database"
|
||||
RUN dotnet ef migrations bundle --project "Newsbot.Collector.Database" --force
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:7.0.3 as app
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user