feat(db): AddStoryDeck migration (DDL)

Creates StoryDecks table with all required columns (Id PK, DeckNo, Kind,
ClassId, DeckName, SleeveId, LeaderSkinId, IsRecommend, OrderNum, EntryNo,
DeckFormat nullable, DateCreated, DateUpdated). Pure DDL — no InsertData/HasData.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-05-29 10:28:50 -04:00
parent 75a2fca8bb
commit e0da7f09ca
3 changed files with 3915 additions and 0 deletions

View File

@@ -2240,6 +2240,53 @@ namespace SVSim.Database.Migrations
b.ToTable("SpotCardExchangeCatalog");
});
modelBuilder.Entity("SVSim.Database.Models.StoryDeckEntry", b =>
{
b.Property<int>("Id")
.HasColumnType("integer");
b.Property<int>("ClassId")
.HasColumnType("integer");
b.Property<DateTime>("DateCreated")
.HasColumnType("timestamp with time zone");
b.Property<DateTime?>("DateUpdated")
.HasColumnType("timestamp with time zone");
b.Property<int?>("DeckFormat")
.HasColumnType("integer");
b.Property<string>("DeckName")
.IsRequired()
.HasColumnType("text");
b.Property<int>("DeckNo")
.HasColumnType("integer");
b.Property<int>("EntryNo")
.HasColumnType("integer");
b.Property<int>("IsRecommend")
.HasColumnType("integer");
b.Property<int>("Kind")
.HasColumnType("integer");
b.Property<int>("LeaderSkinId")
.HasColumnType("integer");
b.Property<int>("OrderNum")
.HasColumnType("integer");
b.Property<int>("SleeveId")
.HasColumnType("integer");
b.HasKey("Id");
b.ToTable("StoryDecks");
});
modelBuilder.Entity("SVSim.Database.Models.UnlimitedRestrictionEntry", b =>
{
b.Property<long>("Id")