Don't compile EF Core designer files on release builds (#38927)

This commit is contained in:
Pieter-Jan Briers
2025-07-13 10:29:18 +02:00
committed by GitHub
parent 8b3232f305
commit 27dc59a40b
109 changed files with 217 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ namespace Content.Server.Database.Migrations.Sqlite
[Migration("20220313151753_ServerNameFts")]
partial class ServerNameFts
{
#if EF_DESIGNER
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
@@ -1022,5 +1023,6 @@ namespace Content.Server.Database.Migrations.Sqlite
});
#pragma warning restore 612, 618
}
#endif
}
}