forked from ddrilling/AsbCloudServer
fix default entities ids
This commit is contained in:
parent
ae5954e345
commit
791d09ce2b
@ -239,10 +239,12 @@ namespace AsbCloudDb.Model
|
||||
|
||||
modelBuilder.Entity<WellSectionType>(entity => {
|
||||
entity.HasData(new List<WellSectionType>{
|
||||
new WellSectionType{ Id = 1, Caption = "Направление"},
|
||||
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 = "Эксплуатационная колонна"},
|
||||
new WellSectionType{ Id = 5, Caption = "Транспортный ствол"},
|
||||
new WellSectionType{ Id = 6, Caption = "Хвостовик"},
|
||||
});
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user