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

@@ -17,6 +17,7 @@ namespace Content.Server.Database.Migrations.Postgres
[Migration("20230727190902_AdminLogCompoundKey")]
partial class AdminLogCompoundKey
{
#if EF_DESIGNER
/// <inheritdoc />
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
@@ -1763,5 +1764,6 @@ namespace Content.Server.Database.Migrations.Postgres
});
#pragma warning restore 612, 618
}
#endif
}
}