초기커밋
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BrokerApiCore.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");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user