From 3721d55f63e40339e743b7921f19a452ed6f2478 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A4=D1=80=D0=BE=D0=BB=D0=BE=D0=B2?= Date: Tue, 10 Aug 2021 15:57:58 +0500 Subject: [PATCH] fix default entities ids --- AsbCloudDb/Model/AsbCloudDbContext.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AsbCloudDb/Model/AsbCloudDbContext.cs b/AsbCloudDb/Model/AsbCloudDbContext.cs index d01c0556..28df7098 100644 --- a/AsbCloudDb/Model/AsbCloudDbContext.cs +++ b/AsbCloudDb/Model/AsbCloudDbContext.cs @@ -240,9 +240,9 @@ namespace AsbCloudDb.Model modelBuilder.Entity(entity => { entity.HasData(new List{ new WellSectionType{ Id = 1, Caption = "Направление"}, - new WellSectionType{ Id = 1, Caption = "Кондуктор"}, - new WellSectionType{ Id = 1, Caption = "Транспорт. ствол"}, - new WellSectionType{ Id = 1, Caption = "Хвостовик"}, + new WellSectionType{ Id = 2, Caption = "Кондуктор"}, + new WellSectionType{ Id = 3, Caption = "Транспорт. ствол"}, + new WellSectionType{ Id = 4, Caption = "Хвостовик"}, }); }); }