2024-07-04 11:02:45 +05:00
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
2023-02-15 17:02:43 +05:00
|
|
|
|
|
|
|
#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");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|