DD.WellWorkover.Cloud/AsbCloudDb/Migrations/20230213055821_Add_FK_PlanOperation_to_WellOperation.cs

27 lines
744 B
C#
Raw Normal View History

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace AsbCloudDb.Migrations
{
public partial class Add_FK_PlanOperation_to_WellOperation : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "id_plan",
table: "t_well_operation",
type: "integer",
nullable: true,
comment: "Id плановой операции");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "id_plan",
table: "t_well_operation");
}
}
}