forked from ddrilling/AsbCloudServer
26 lines
733 B
C#
26 lines
733 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace AsbCloudDb.Migrations
|
|
{
|
|
public partial class Add_new_operation : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.InsertData(
|
|
table: "t_well_operation_category",
|
|
columns: new[] { "id", "code", "name" },
|
|
values: new object[] { 22, 0, "Промывка" });
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DeleteData(
|
|
table: "t_well_operation_category",
|
|
keyColumn: "id",
|
|
keyValue: 22);
|
|
}
|
|
}
|
|
}
|