forked from ddrilling/AsbCloudServer
Fix import WellOperations edit WellOperationCategory default data
This commit is contained in:
parent
aab6064153
commit
54d78ddd0e
2695
AsbCloudDb/Migrations/20211019053218_Edit_WellOperationCategory_DefaultData.Designer.cs
generated
Normal file
2695
AsbCloudDb/Migrations/20211019053218_Edit_WellOperationCategory_DefaultData.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,27 @@
|
|||||||
|
using Microsoft.EntityFrameworkCore.Migrations;
|
||||||
|
|
||||||
|
namespace AsbCloudDb.Migrations
|
||||||
|
{
|
||||||
|
public partial class Edit_WellOperationCategory_DefaultData : Migration
|
||||||
|
{
|
||||||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.UpdateData(
|
||||||
|
table: "t_well_operation_category",
|
||||||
|
keyColumn: "id",
|
||||||
|
keyValue: 1001,
|
||||||
|
column: "name",
|
||||||
|
value: "Бурение");
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.UpdateData(
|
||||||
|
table: "t_well_operation_category",
|
||||||
|
keyColumn: "id",
|
||||||
|
keyValue: 1001,
|
||||||
|
column: "name",
|
||||||
|
value: "Бурение в интервале");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -1909,7 +1909,7 @@ namespace AsbCloudDb.Migrations
|
|||||||
{
|
{
|
||||||
Id = 1001,
|
Id = 1001,
|
||||||
Code = 0,
|
Code = 0,
|
||||||
Name = "Бурение в интервале"
|
Name = "Бурение"
|
||||||
},
|
},
|
||||||
new
|
new
|
||||||
{
|
{
|
||||||
|
@ -281,7 +281,7 @@ namespace AsbCloudDb.Model
|
|||||||
new WellOperationCategory {Id = 16, Name = "Вращение без циркуляции", Code = 0 },
|
new WellOperationCategory {Id = 16, Name = "Вращение без циркуляции", Code = 0 },
|
||||||
new WellOperationCategory {Id = 17, Name = "На поверхности", Code = 0 },
|
new WellOperationCategory {Id = 17, Name = "На поверхности", Code = 0 },
|
||||||
// Операции ручного ввода
|
// Операции ручного ввода
|
||||||
new WellOperationCategory {Id = 1001, Name = "Бурение в интервале", Code = 0 },
|
new WellOperationCategory {Id = 1001, Name = "Бурение", Code = 0 },
|
||||||
new WellOperationCategory {Id = 1002, Name = "ГИС", Code = 0 },
|
new WellOperationCategory {Id = 1002, Name = "ГИС", Code = 0 },
|
||||||
new WellOperationCategory {Id = 1003, Name = "ГФР", Code = 0 },
|
new WellOperationCategory {Id = 1003, Name = "ГФР", Code = 0 },
|
||||||
new WellOperationCategory {Id = 1004, Name = "Монтаж ПВО", Code = 0 },
|
new WellOperationCategory {Id = 1004, Name = "Монтаж ПВО", Code = 0 },
|
||||||
|
Loading…
Reference in New Issue
Block a user