Don't compile EF Core designer files on release builds (#38927)
This commit is contained in:
committed by
GitHub
parent
8b3232f305
commit
27dc59a40b
@@ -18,6 +18,7 @@ namespace Content.Server.Database.Migrations.Postgres
|
||||
[Migration("20240201091301_SpawnPriorityPreference")]
|
||||
partial class SpawnPriorityPreference
|
||||
{
|
||||
#if EF_DESIGNER
|
||||
/// <inheritdoc />
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
@@ -1757,5 +1758,6 @@ namespace Content.Server.Database.Migrations.Postgres
|
||||
});
|
||||
#pragma warning restore 612, 618
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user