using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace GameDatabase.Migrations { /// public partial class AddCredentialTable : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Credential", columns: table => new { Baid = table.Column(type: "INTEGER", nullable: false) .Annotation("Sqlite:Autoincrement", true), Password = table.Column(type: "TEXT", nullable: false), Salt = table.Column(type: "TEXT", nullable: false) }, constraints: table => { table.PrimaryKey("PK_Credential", x => x.Baid); }); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "Credential"); } } }