forked from ddrilling/AsbCloudServer
Добавление секций
This commit is contained in:
parent
39a2ddc3a5
commit
feefd490e2
6857
AsbCloudDb/Migrations/20221209215622_Add_newSection_t_well_section_type.Designer.cs
generated
Normal file
6857
AsbCloudDb/Migrations/20221209215622_Add_newSection_t_well_section_type.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,40 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace AsbCloudDb.Migrations
|
||||
{
|
||||
public partial class Add_newSection_t_well_section_type : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "t_well_section_type",
|
||||
columns: new[] { "id", "caption" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 31, "Техническая колонна" },
|
||||
{ 32, "Техническая колонна 2" },
|
||||
{ 33, "Техническая колонна 3" }
|
||||
});
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "t_well_section_type",
|
||||
keyColumn: "id",
|
||||
keyValue: 31);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "t_well_section_type",
|
||||
keyColumn: "id",
|
||||
keyValue: 32);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "t_well_section_type",
|
||||
keyColumn: "id",
|
||||
keyValue: 33);
|
||||
}
|
||||
}
|
||||
}
|
@ -5336,6 +5336,21 @@ namespace AsbCloudDb.Migrations
|
||||
{
|
||||
Id = 30,
|
||||
Caption = "Хвостовик 5"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 31,
|
||||
Caption = "Техническая колонна"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 32,
|
||||
Caption = "Техническая колонна 2"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 33,
|
||||
Caption = "Техническая колонна 3"
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -38,6 +38,10 @@
|
||||
new (){ Id = 28, Caption = "Эксплуатационная колонна 5"},
|
||||
new (){ Id = 29, Caption = "Транспортный ствол 5"},
|
||||
new (){ Id = 30, Caption = "Хвостовик 5"},
|
||||
|
||||
new (){ Id = 31, Caption = "Техническая колонна"},
|
||||
new (){ Id = 32, Caption = "Техническая колонна 2"},
|
||||
new (){ Id = 33, Caption = "Техническая колонна 3"},
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user