Add new migration
This commit is contained in:
@ -64,7 +64,10 @@ namespace Hcs.WebApp.Data.Hcs.Migrations
|
||||
|
||||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<Guid>("FiasId")
|
||||
b.Property<Guid?>("FiasId")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<Guid?>("HcsId")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<bool>("IsMkd")
|
||||
@ -79,13 +82,14 @@ namespace Hcs.WebApp.Data.Hcs.Migrations
|
||||
b.Property<DateTime?>("SyncedAt")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<int>("ThirdPartyId")
|
||||
.HasColumnType("int");
|
||||
b.Property<string>("ThirdPartyId")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("FiasId")
|
||||
.IsUnique();
|
||||
.IsUnique()
|
||||
.HasFilter("[FiasId] IS NOT NULL");
|
||||
|
||||
b.HasIndex("LastSyncOperationId");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user