forked from ddrilling/AsbCloudServer
Добавление еще 5 хвостовиков в WellSectionType
This commit is contained in:
parent
b90dcf8483
commit
ec1842f60f
8894
AsbCloudDb/Migrations/20231107091439_Add_Data_To_WellSectionType.Designer.cs
generated
Normal file
8894
AsbCloudDb/Migrations/20231107091439_Add_Data_To_WellSectionType.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,52 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace AsbCloudDb.Migrations
|
||||
{
|
||||
public partial class Add_Data_To_WellSectionType : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "t_well_section_type",
|
||||
columns: new[] { "id", "caption", "order" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 34, "Хвостовик 6", 6.5f },
|
||||
{ 35, "Хвостовик 7", 6.6f },
|
||||
{ 36, "Хвостовик 8", 6.7f },
|
||||
{ 37, "Хвостовик 9", 6.8f },
|
||||
{ 38, "Хвостовик 10", 6.9f }
|
||||
});
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "t_well_section_type",
|
||||
keyColumn: "id",
|
||||
keyValue: 34);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "t_well_section_type",
|
||||
keyColumn: "id",
|
||||
keyValue: 35);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "t_well_section_type",
|
||||
keyColumn: "id",
|
||||
keyValue: 36);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "t_well_section_type",
|
||||
keyColumn: "id",
|
||||
keyValue: 37);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "t_well_section_type",
|
||||
keyColumn: "id",
|
||||
keyValue: 38);
|
||||
}
|
||||
}
|
||||
}
|
@ -7102,6 +7102,36 @@ namespace AsbCloudDb.Migrations
|
||||
Id = 33,
|
||||
Caption = "Техническая колонна 3",
|
||||
Order = 2.2f
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 34,
|
||||
Caption = "Хвостовик 6",
|
||||
Order = 6.5f
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 35,
|
||||
Caption = "Хвостовик 7",
|
||||
Order = 6.6f
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 36,
|
||||
Caption = "Хвостовик 8",
|
||||
Order = 6.7f
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 37,
|
||||
Caption = "Хвостовик 9",
|
||||
Order = 6.8f
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 38,
|
||||
Caption = "Хвостовик 10",
|
||||
Order = 6.9f
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -42,6 +42,12 @@
|
||||
new (){ Id = 31, Caption = "Техническая колонна", Order = 2},
|
||||
new (){ Id = 32, Caption = "Техническая колонна 2", Order = 2.1f},
|
||||
new (){ Id = 33, Caption = "Техническая колонна 3", Order = 2.2f},
|
||||
|
||||
new (){ Id = 34, Caption = "Хвостовик 6", Order = 6.5f},
|
||||
new (){ Id = 35, Caption = "Хвостовик 7", Order = 6.6f},
|
||||
new (){ Id = 36, Caption = "Хвостовик 8", Order = 6.7f},
|
||||
new (){ Id = 37, Caption = "Хвостовик 9", Order = 6.8f},
|
||||
new (){ Id = 38, Caption = "Хвостовик 10", Order = 6.9f},
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user