forked from ddrilling/AsbCloudServer
26 lines
848 B
C#
26 lines
848 B
C#
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace AsbCloudDb.Migrations
|
|||
|
{
|
|||
|
public partial class Add_new_operation_DetectorTemplatingWhileDrilling : Migration
|
|||
|
{
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.InsertData(
|
|||
|
table: "t_well_operation_category",
|
|||
|
columns: new[] { "id", "code", "key_value_name", "key_value_units", "name" },
|
|||
|
values: new object[] { 23, 0, "dT", "мин", "Шаблонировка при бурении" });
|
|||
|
}
|
|||
|
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.DeleteData(
|
|||
|
table: "t_well_operation_category",
|
|||
|
keyColumn: "id",
|
|||
|
keyValue: 23);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|