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