using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Diligent.WebAPI.Data.Migrations { public partial class DefaultDisabledUser : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "IsEnabled", table: "AspNetUsers", type: "bit", nullable: true, defaultValue: true, oldClrType: typeof(bool), oldType: "bit", oldDefaultValue: true); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "IsEnabled", table: "AspNetUsers", type: "bit", nullable: false, defaultValue: true, oldClrType: typeof(bool), oldType: "bit", oldNullable: true, oldDefaultValue: true); } } }