forked from ddrilling/AsbCloudServer
499f7cc4e2
Add reason of end detecting operation.
28 lines
831 B
C#
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");
|
|
}
|
|
}
|
|
}
|