Don't compile EF Core designer files on release builds (#38927)
This commit is contained in:
committed by
GitHub
parent
8b3232f305
commit
27dc59a40b
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user