using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace BHServer.Migrations { /// public partial class AddProvincesToDb : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Provinces", columns: table => new { Id = table.Column(type: "int", nullable: false) .Annotation("SqlServer:Identity", "1, 1"), Name = table.Column(type: "nvarchar(max)", nullable: false), Faction = table.Column(type: "int", nullable: false), Multiplier = table.Column(type: "int", nullable: false), ATs = table.Column(type: "nvarchar(max)", nullable: false), State = table.Column(type: "int", nullable: false) }, constraints: table => { table.PrimaryKey("PK_Provinces", x => x.Id); }); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "Provinces"); } } }