Files
caliverse_server/BrokerApiCore/Migrations/20250314070903_SchemaChanges_160851.cs
2025-05-01 07:23:28 +09:00

31 lines
941 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BrokerApiServer.Migrations
{
/// <inheritdoc />
public partial class SchemaChanges_160851 : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddForeignKey(
name: "FK_PlanetExchangeOrder_PlanetInfo",
table: "planet_item_exchange_order",
column: "planet_id",
principalTable: "planet_info",
principalColumn: "planet_id",
onDelete: ReferentialAction.Restrict);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_PlanetExchangeOrder_PlanetInfo",
table: "planet_item_exchange_order");
}
}
}