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("20241223235939_AdminStatus")]
|
||||
partial class AdminStatus
|
||||
{
|
||||
#if EF_DESIGNER
|
||||
/// <inheritdoc />
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
@@ -2080,5 +2081,6 @@ namespace Content.Server.Database.Migrations.Postgres
|
||||
});
|
||||
#pragma warning restore 612, 618
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user