Radicade Public Code

This commit is contained in:
JogmansonReal
2026-10-16 23:33:13 -07:00
commit 55175acdf6
832 changed files with 363261 additions and 0 deletions
@@ -0,0 +1,23 @@
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using RadicadeServer.DB;
namespace RadicadeServer.Migrations;
[DbContext(typeof(RecDBContext))]
[Migration("20261008120000_AddWeeklyChallenges")]
public class AddWeeklyChallenges : Migration
{
protected override void Up(MigrationBuilder migrationBuilder) => migrationBuilder.CreateTable(
name: "WeeklyChallenges",
columns: table => new
{
PlayerId = table.Column<long>(type: "bigint", nullable: false),
ChallengeMapId = table.Column<int>(type: "int", nullable: false),
MapJson = table.Column<string>(type: "nvarchar(max)", nullable: false),
RewardGiftDropId = table.Column<long>(type: "bigint", nullable: true)
},
constraints: table => table.PrimaryKey("PK_WeeklyChallenges", x => new { x.PlayerId, x.ChallengeMapId }));
protected override void Down(MigrationBuilder migrationBuilder) => migrationBuilder.DropTable("WeeklyChallenges");
}