protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Coffee", columns: table => new { Coffee_Id = table.Column<int>(nullable: false) .Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn), Description = table.Column<string>(nullable: true), ImageUrl = table.Column<string>(nullable: true), Name = table.Column<string>(nullable: true), Retail = table.Column<decimal>(nullable: false) }, constraints: table => { table.PrimaryKey("PK_Coffee", x => x.Coffee_Id); }); migrationBuilder.CreateTable( name: "Order", columns: table => new { Id = table.Column<int>(nullable: false) .Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn) }, constraints: table => { table.PrimaryKey("PK_Order", x => x.Id); }); // custom extension... migrationBuilder.InitialUpExtension(); }