using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace RadicadeServer.Migrations { public partial class AddPlayerEventModerationFields : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "ModerationState", table: "PlayerEvents", type: "int", nullable: false, defaultValue: 0); migrationBuilder.AddColumn( 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"); } } }