using Microsoft.EntityFrameworkCore.Migrations; namespace InventoryService.Api.Migrations { public partial class InitialCreate : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Inventory", columns: table => new { Sku = table.Column(nullable: false), Quantity = table.Column(nullable: false) }, constraints: table => { table.PrimaryKey("PK_Inventory", x => x.Sku); }); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "Inventory"); } } }