using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace RadicadeServer.Migrations { public partial class PlayerEventResponses : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "PlayerEventResponses", columns: table => new { PlayerEventResponseId = table.Column(type: "bigint", nullable: false) .Annotation("SqlServer:Identity", "1, 1"), PlayerEventId = table.Column(type: "bigint", nullable: false), PlayerId = table.Column(type: "bigint", nullable: false), Type = table.Column(type: "int", nullable: false), CreatedAt = table.Column(type: "datetime2", nullable: false) }, constraints: table => { table.PrimaryKey("PK_PlayerEventResponses", x => x.PlayerEventResponseId); }); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "PlayerEventResponses"); } } }