DD.WellWorkover.Cloud/AsbCloudDb/Migrations/20220809123505_Add_IdReasonOfEnd_to_DetectedOperation.cs
ngfrolov 499f7cc4e2 Edit Detectors for rotor and slide.
Add reason of end detecting operation.
2022-08-09 18:00:22 +05:00

28 lines
831 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace AsbCloudDb.Migrations
{
public partial class Add_IdReasonOfEnd_to_DetectedOperation : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "id_reason_of_end",
table: "t_detected_operation",
type: "integer",
nullable: false,
defaultValue: 0,
comment: "Код признака окончания операции");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "id_reason_of_end",
table: "t_detected_operation");
}
}
}