You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
787 B
25 lines
787 B
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace LY.MicroService.AuthServer.Migrations
|
|
{
|
|
public partial class RemoveFieldAvatarUrlWithIdentityUser : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "AvatarUrl",
|
|
table: "AbpUsers");
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "AvatarUrl",
|
|
table: "AbpUsers",
|
|
type: "varchar(128)",
|
|
maxLength: 128,
|
|
nullable: true)
|
|
.Annotation("MySql:CharSet", "utf8mb4");
|
|
}
|
|
}
|
|
}
|
|
|