using System; using Microsoft.EntityFrameworkCore.Migrations; namespace InventoryManager.Migrations { public partial class identity : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Users", columns: table => new { Id = table.Column<string>(type: "varchar(767)", nullable: false), UserName = table.Column<string>(type: "text", nullable: true), NormalizedUserName = table.Column<string>(type: "text", nullable: true), Email = table.Column<string>(type: "text", nullable: true), NormalizedEmail = table.Column<string>(type: "text", nullable: true), EmailConfirmed = table.Column<bool>(type: "tinyint(1)", nullable: false), PasswordHash = table.Column<string>(type: "text", nullable: true), SecurityStamp = table.Column<string>(type: "text", nullable: true), ConcurrencyStamp = table.Column<string>(type: "text", nullable: true), PhoneNumber = table.Column<string>(type: "text", nullable: true), PhoneNumberConfirmed = table.Column<bool>(type: "tinyint(1)", nullable: false), TwoFactorEnabled = table.Column<bool>(type: "tinyint(1)", nullable: false), LockoutEnd = table.Column<DateTimeOffset>(type: "timestamp", nullable: true), LockoutEnabled = table.Column<bool>(type: "tinyint(1)", nullable: false), AccessFailedCount = table.Column<int>(type: "int", nullable: false) }, constraints: table => { table.PrimaryKey("PK_Users", x => x.Id); }); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "Users"); } } }