using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Infrastructure.Migrations.AppDb
{
///
public partial class AddWorldIndexSpark : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "Spark",
table: "WorldIndexSnapshot",
type: "nvarchar(1000)",
maxLength: 1000,
nullable: true,
comment: "최근 종가 스파크라인 (JSON decimal[], 과거→최신)");
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Spark",
table: "WorldIndexSnapshot");
}
}
}