default avatar
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
using System;
|
||||
using Microsoft.Data.Entity;
|
||||
using Microsoft.Data.Entity.Infrastructure;
|
||||
using Microsoft.Data.Entity.Metadata;
|
||||
using Microsoft.Data.Entity.Migrations;
|
||||
using Yavsc.Models;
|
||||
|
||||
namespace Yavsc.Migrations
|
||||
@ -152,7 +154,10 @@ namespace Yavsc.Migrations
|
||||
b.Property<int>("AccessFailedCount");
|
||||
|
||||
b.Property<string>("Avatar")
|
||||
.HasAnnotation("MaxLength", 512);
|
||||
.IsRequired()
|
||||
.HasAnnotation("MaxLength", 512)
|
||||
.HasAnnotation("Relational:DefaultValue", "/images/Users/icon_user.png")
|
||||
.HasAnnotation("Relational:DefaultValueType", "System.String");
|
||||
|
||||
b.Property<long?>("BankInfoId");
|
||||
|
||||
|
Reference in New Issue
Block a user