Fixe l'inscription, affiche un avatar par défaut
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,6 @@ namespace Yavsc.Migrations
|
||||
b.Property<int>("AccessFailedCount");
|
||||
|
||||
b.Property<string>("Avatar")
|
||||
.IsRequired()
|
||||
.HasAnnotation("MaxLength", 512)
|
||||
.HasAnnotation("Relational:DefaultValue", "/images/Users/icon_user.png")
|
||||
.HasAnnotation("Relational:DefaultValueType", "System.String");
|
||||
@ -537,8 +538,7 @@ namespace Yavsc.Migrations
|
||||
|
||||
b.Property<DateTime>("EventDate");
|
||||
|
||||
b.Property<long?>("LocationId")
|
||||
.IsRequired();
|
||||
b.Property<long>("LocationId");
|
||||
|
||||
b.Property<string>("PerformerId")
|
||||
.IsRequired();
|
||||
|
Reference in New Issue
Block a user