Skip to content

Commit 5463c86

Browse files
committed
Version 8.0.3
1 parent 8da8b7a commit 5463c86

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

EfSchemaCompare/EfSchemaCompare.csproj

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,13 @@
1919

2020
<PropertyGroup>
2121
<PackageId>EfCore.SchemaCompare</PackageId>
22-
<PackageVersion>8.0.2</PackageVersion>
23-
<Version>8.0.2</Version>
22+
<PackageVersion>8.0.3</PackageVersion>
23+
<Version>8.0.3</Version>
2424
<Authors>Jon P Smith</Authors>
2525
<Description>Useful tool if you are changing the schema of your database's schema outside of EF Core' migrations, say by using SQL change scripts. See readme file on github.</Description>
2626
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
2727
<PackageReleaseNotes>
28-
- Removed vulnerable NuGets
29-
- Removed EF Core database NuGets, e.g. Microsoft.EntityFrameworkCore.SqlServer, because its uses provided DbContext
28+
- Removed Microsoft.IdentityModel.Tokens NuGet as not correct (see issue #36)
3029
</PackageReleaseNotes>
3130
<Copyright>Copyright (c) 2020 Jon P Smith. Licenced under MIT licence</Copyright>
3231
<PackageTags>Entity Framework Core, Database</PackageTags>

EfSchemaCompare/Internal/Stage1Comparer.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@
99
using Microsoft.EntityFrameworkCore;
1010
using Microsoft.EntityFrameworkCore.Infrastructure;
1111
using Microsoft.EntityFrameworkCore.Metadata;
12-
using Microsoft.EntityFrameworkCore.Metadata.Internal;
1312
using Microsoft.EntityFrameworkCore.Scaffolding.Metadata;
1413
using Microsoft.EntityFrameworkCore.Storage;
15-
using Microsoft.IdentityModel.Tokens;
1614

1715
[assembly: InternalsVisibleTo("Test")]
1816

@@ -97,7 +95,7 @@ private void CheckDatabaseOk(CompareLog log, IModel modelRel, DatabaseModel data
9795

9896
private void CompareForeignKeys(CompareLog log, IEntityType entityType, DatabaseTable table)
9997
{
100-
if (table.ForeignKeys.Any(x => x.Name.IsNullOrEmpty()))
98+
if (table.ForeignKeys.Any(x => string.IsNullOrEmpty(x.Name)))
10199
{
102100
var logger = new CompareLogger2(CompareType.ForeignKey, entityType.ClrType.Name, _logs.Last().SubLogs, _ignoreList, () => _hasErrors = true);
103101
logger.MarkAsNotChecked(null, entityType.ClrType.Name, CompareAttributes.ConstraintName);

ReleaseNotes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release notes
22

3+
## 8.0.3
4+
5+
- Removed Microsoft.IdentityModel.Tokens NuGet as not correct (see issue #36)
6+
37
## 8.0.2
48

59
- Removed vulnerable NuGets

0 commit comments

Comments
 (0)