using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace BLHX.Server.Common.Migrations { /// public partial class Init_AccountContext : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Accounts", columns: table => new { Uid = table.Column(type: "INTEGER", nullable: false) .Annotation("Sqlite:Autoincrement", true), DeviceId = table.Column(type: "TEXT", nullable: false), Token = table.Column(type: "TEXT", nullable: false) }, constraints: table => { table.PrimaryKey("PK_Accounts", x => x.Uid); }); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "Accounts"); } } }