| 1234567891011121314151617181920212223242526 |
- using Microsoft.EntityFrameworkCore.Migrations;
-
- #nullable disable
-
- namespace Diligent.WebAPI.Data.Migrations
- {
- public partial class EnabledUser : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AddColumn<bool>(
- name: "IsEnabled",
- table: "AspNetUsers",
- type: "bit",
- nullable: false,
- defaultValue: true);
- }
-
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropColumn(
- name: "IsEnabled",
- table: "AspNetUsers");
- }
- }
- }
|