mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-25 23:18:56 -07:00
Radicade Public Code
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace RadicadeServer.Migrations
|
||||
{
|
||||
|
||||
public partial class AddPlayerEventModerationFields : Migration
|
||||
{
|
||||
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "ModerationState",
|
||||
table: "PlayerEvents",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
|
||||
migrationBuilder.AddColumn<long>(
|
||||
name: "SubRoomId",
|
||||
table: "PlayerEvents",
|
||||
type: "bigint",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "SubRoomId",
|
||||
table: "PlayerEvents");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "ModerationState",
|
||||
table: "PlayerEvents");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user