Practice battles work
This commit is contained in:
34644
SVSim.Database/Migrations/20260524022437_PracticeOpponents.Designer.cs
generated
Normal file
34644
SVSim.Database/Migrations/20260524022437_PracticeOpponents.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,46 @@
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace SVSim.Database.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class PracticeOpponents : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.CreateTable(
|
||||
name: "PracticeOpponents",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<int>(type: "integer", nullable: false),
|
||||
PracticeId = table.Column<int>(type: "integer", nullable: false),
|
||||
TextId = table.Column<string>(type: "text", nullable: false),
|
||||
ClassId = table.Column<int>(type: "integer", nullable: false),
|
||||
CharaId = table.Column<int>(type: "integer", nullable: false),
|
||||
DegreeId = table.Column<int>(type: "integer", nullable: false),
|
||||
AiDeckLevel = table.Column<int>(type: "integer", nullable: false),
|
||||
AiLogicLevel = table.Column<int>(type: "integer", nullable: false),
|
||||
AiMaxLife = table.Column<int>(type: "integer", nullable: false),
|
||||
Battle3dFieldId = table.Column<string>(type: "text", nullable: false),
|
||||
IsMaintenance = table.Column<bool>(type: "boolean", nullable: false),
|
||||
IsCampaignPractice = table.Column<bool>(type: "boolean", nullable: false),
|
||||
DateCreated = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
|
||||
DateUpdated = table.Column<DateTime>(type: "timestamp with time zone", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_PracticeOpponents", x => x.Id);
|
||||
});
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropTable(
|
||||
name: "PracticeOpponents");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -25486,6 +25486,57 @@ namespace SVSim.Database.Migrations
|
||||
b.ToTable("PaymentItems");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("SVSim.Database.Models.PracticeOpponentEntry", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<int>("AiDeckLevel")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<int>("AiLogicLevel")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<int>("AiMaxLife")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<string>("Battle3dFieldId")
|
||||
.IsRequired()
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<int>("CharaId")
|
||||
.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>("DegreeId")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<bool>("IsCampaignPractice")
|
||||
.HasColumnType("boolean");
|
||||
|
||||
b.Property<bool>("IsMaintenance")
|
||||
.HasColumnType("boolean");
|
||||
|
||||
b.Property<int>("PracticeId")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<string>("TextId")
|
||||
.IsRequired()
|
||||
.HasColumnType("text");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("PracticeOpponents");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("SVSim.Database.Models.PreReleaseInfo", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
|
||||
Reference in New Issue
Block a user