fix default entities ids

This commit is contained in:
Фролов 2021-08-10 15:57:58 +05:00
parent ae5954e345
commit 3721d55f63

View File

@ -240,9 +240,9 @@ namespace AsbCloudDb.Model
modelBuilder.Entity<WellSectionType>(entity => { modelBuilder.Entity<WellSectionType>(entity => {
entity.HasData(new List<WellSectionType>{ entity.HasData(new List<WellSectionType>{
new WellSectionType{ Id = 1, Caption = "Направление"}, new WellSectionType{ Id = 1, Caption = "Направление"},
new WellSectionType{ Id = 1, Caption = "Кондуктор"}, new WellSectionType{ Id = 2, Caption = "Кондуктор"},
new WellSectionType{ Id = 1, Caption = "Транспорт. ствол"}, new WellSectionType{ Id = 3, Caption = "Транспорт. ствол"},
new WellSectionType{ Id = 1, Caption = "Хвостовик"}, new WellSectionType{ Id = 4, Caption = "Хвостовик"},
}); });
}); });
} }