committed by
GitHub
6 changed files with 1875 additions and 103 deletions
@ -1,14 +0,0 @@ |
|||
namespace LINGYUN.Abp.Identity |
|||
{ |
|||
public static class ExtensionIdentityUserConsts |
|||
{ |
|||
/// <summary>
|
|||
/// 头像字段
|
|||
/// </summary>
|
|||
public static string AvatarUrlField { get; set; } = "AvatarUrl"; |
|||
/// <summary>
|
|||
/// 头像字段最大长度
|
|||
/// </summary>
|
|||
public static int MaxAvatarUrlLength { get; set; } = 128; |
|||
} |
|||
} |
|||
File diff suppressed because it is too large
@ -0,0 +1,25 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
namespace AuthServer.Migrations |
|||
{ |
|||
public partial class RemoteFieldAvatarUrlWithIdentityUser : 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"); |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue