More story fixes
This commit is contained in:
2579
SVSim.Database/Migrations/20260525212450_AddStoryChapterUnlockText.Designer.cs
generated
Normal file
2579
SVSim.Database/Migrations/20260525212450_AddStoryChapterUnlockText.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,28 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace SVSim.Database.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class AddStoryChapterUnlockText : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "UnlockText",
|
||||
table: "StoryChapters",
|
||||
type: "text",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "UnlockText",
|
||||
table: "StoryChapters");
|
||||
}
|
||||
}
|
||||
}
|
||||
2586
SVSim.Database/Migrations/20260525213842_AddStorySectionSpoilerFields.Designer.cs
generated
Normal file
2586
SVSim.Database/Migrations/20260525213842_AddStorySectionSpoilerFields.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,40 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace SVSim.Database.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class AddStorySectionSpoilerFields : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "IsSpoiler",
|
||||
table: "StorySections",
|
||||
type: "integer",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "SpoilerMessage",
|
||||
table: "StorySections",
|
||||
type: "text",
|
||||
nullable: false,
|
||||
defaultValue: "");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IsSpoiler",
|
||||
table: "StorySections");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "SpoilerMessage",
|
||||
table: "StorySections");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -230,6 +230,9 @@ namespace SVSim.Database.Migrations
|
||||
b.Property<int?>("SpecialBattleSettingId")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<string>("UnlockText")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<decimal>("XCoordinate")
|
||||
.HasColumnType("numeric");
|
||||
|
||||
@@ -271,6 +274,9 @@ namespace SVSim.Database.Migrations
|
||||
b.Property<bool>("IsPlayAnotherEndAppearanceAnimation")
|
||||
.HasColumnType("boolean");
|
||||
|
||||
b.Property<int>("IsSpoiler")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<bool>("IsUnderMaintenance")
|
||||
.HasColumnType("boolean");
|
||||
|
||||
@@ -281,6 +287,10 @@ namespace SVSim.Database.Migrations
|
||||
b.Property<int>("OrderId")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<string>("SpoilerMessage")
|
||||
.IsRequired()
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<int>("StoryApiType")
|
||||
.HasColumnType("integer");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user