using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Casestudy.Migrations { /// <inheritdoc /> public partial class appuser : Migration { /// <inheritdoc /> protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Customers", columns: table => new { Id = table.Column<int>(type: "int", nullable: false) .Annotation("SqlServer:Identity", "1, 1"), Firstname = table.Column<string>(type: "nvarchar(max)", nullable: false), Lastname = table.Column<string>(type: "nvarchar(max)", nullable: false), Email = table.Column<string>(type: "nvarchar(max)", nullable: false), Hash = table.Column<string>(type: "nvarchar(max)", nullable: false), Salt = table.Column<string>(type: "nvarchar(max)", nullable: false) }, constraints: table => { table.PrimaryKey("PK_Customers", x => x.Id); }); } /// <inheritdoc /> protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "Customers"); } } }