DD.WellWorkover.Cloud/AsbCloudDb/Migrations/20220505052218_AfterMergeNothing.cs
2022-05-05 11:46:18 +05:00

40 lines
1.4 KiB
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace AsbCloudDb.Migrations
{
public partial class AfterMergeNothing : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
//migrationBuilder.AddForeignKey(
// name: "FK_t_detected_operation_t_telemetry_id_telemetry",
// table: "t_detected_operation",
// column: "id_telemetry",
// principalTable: "t_telemetry",
// principalColumn: "id",
// onDelete: ReferentialAction.Cascade);
//migrationBuilder.AddForeignKey(
// name: "FK_t_detected_operation_t_well_operation_category_id_category",
// table: "t_detected_operation",
// column: "id_category",
// principalTable: "t_well_operation_category",
// principalColumn: "id",
// onDelete: ReferentialAction.Cascade);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
//migrationBuilder.DropForeignKey(
// name: "FK_t_detected_operation_t_telemetry_id_telemetry",
// table: "t_detected_operation");
//migrationBuilder.DropForeignKey(
// name: "FK_t_detected_operation_t_well_operation_category_id_category",
// table: "t_detected_operation");
}
}
}