forked from ddrilling/AsbCloudServer
44 lines
1.5 KiB
C#
44 lines
1.5 KiB
C#
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace AsbCloudDb.Migrations
|
|||
|
{
|
|||
|
public partial class Update_EntityFillerSubsystem : Migration
|
|||
|
{
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.UpdateData(
|
|||
|
table: "t_subsystem",
|
|||
|
keyColumn: "id",
|
|||
|
keyValue: 65536,
|
|||
|
columns: new[] { "description", "name" },
|
|||
|
values: new object[] { "Осцилляция", "Осцилляция" });
|
|||
|
|
|||
|
migrationBuilder.UpdateData(
|
|||
|
table: "t_subsystem",
|
|||
|
keyColumn: "id",
|
|||
|
keyValue: 65537,
|
|||
|
columns: new[] { "description", "name" },
|
|||
|
values: new object[] { "Демпфер", "Демпфер" });
|
|||
|
}
|
|||
|
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.UpdateData(
|
|||
|
table: "t_subsystem",
|
|||
|
keyColumn: "id",
|
|||
|
keyValue: 65536,
|
|||
|
columns: new[] { "description", "name" },
|
|||
|
values: new object[] { "Spin master", "Spin master" });
|
|||
|
|
|||
|
migrationBuilder.UpdateData(
|
|||
|
table: "t_subsystem",
|
|||
|
keyColumn: "id",
|
|||
|
keyValue: 65537,
|
|||
|
columns: new[] { "description", "name" },
|
|||
|
values: new object[] { "Torque master", "Torque master" });
|
|||
|
}
|
|||
|
}
|
|||
|
}
|