From da2cb76aabbb44c80fd0103ae087c5e94ac54a93 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Thu, 20 Feb 2025 21:15:03 +0100 Subject: [PATCH] [make] Don't use compiled EF models These appear to break LINQ-SQL translation, possibly due to a SDK version mismatch. --- Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/Makefile b/Makefile index 553aaf1b..94e3ac44 100644 --- a/Makefile +++ b/Makefile @@ -42,9 +42,6 @@ ARTIFACT_CMD = tar caf ${ARTIFACT_DIR}/${ARCHIVE_FILENAME} --transform 's,^ .PHONY : --release-pre --release-post --workload-restore --release-% artifact-% publish build test publish-aot release-artifacts help --release-pre: - @echo 'Compiling database model...' - @dotnet tool install --tool-path ./bin dotnet-ef > /dev/null - @./bin/dotnet-ef -p Iceshrimp.Backend dbcontext optimize -o Core/Database/Model --suffix '.g' > /dev/null @echo 'Building release artifacts for targets: ${RELEASE_TARGETS}' @echo 'This will take a while.' @echo