using Microsoft.EntityFrameworkCore.Migrations; namespace API.Data.Migrations { public partial class MiscCleanup : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "PasswordSalt", table: "AspNetUsers"); migrationBuilder.AlterColumn( name: "PasswordHash", table: "AspNetUsers", type: "TEXT", nullable: true, oldClrType: typeof(byte[]), oldType: "BLOB", oldNullable: true); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "PasswordHash", table: "AspNetUsers", type: "BLOB", nullable: true, oldClrType: typeof(string), oldType: "TEXT", oldNullable: true); migrationBuilder.AddColumn( name: "PasswordSalt", table: "AspNetUsers", type: "BLOB", nullable: true); } } }