using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace DorkNet.Server.Migrations { /// public partial class Phase3MultiUserDormState : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "DormStates", columns: table => new { PlayerId = table.Column(type: "INTEGER", nullable: false) .Annotation("Sqlite:Autoincrement", true), CurrentDataBlobName = table.Column(type: "TEXT", maxLength: 128, nullable: false), CreatedAt = table.Column(type: "TEXT", nullable: false), UpdatedAt = table.Column(type: "TEXT", nullable: false) }, constraints: table => { table.PrimaryKey("PK_DormStates", x => x.PlayerId); }); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "DormStates"); } } }