hanyadikhetvan-dotnethf/HanyadikHetVan/Data/Migrations/20210519143349_UseDifferentUser.cs

25 lines
697 B
C#
Raw Normal View History

2021-05-19 17:56:56 +02:00
using Microsoft.EntityFrameworkCore.Migrations;
namespace HanyadikHetVan.Data.Migrations
{
public partial class UseDifferentUser : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Discriminator",
table: "AspNetUsers");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "Discriminator",
table: "AspNetUsers",
type: "nvarchar(max)",
nullable: false,
defaultValue: "");
}
}
}