Sets the default fs user quota to 500M
This commit is contained in:
parent
be1d75ce73
commit
d42aef0f57
7 changed files with 1554 additions and 3 deletions
|
|
@ -38,6 +38,7 @@ namespace Yavsc.Models
|
|||
builder.Entity<PostTag>().HasKey(x=>new { x.PostId, x.TagId});
|
||||
builder.Entity<ApplicationUser>().HasMany<Connection>( c=>c.Connections );
|
||||
builder.Entity<ApplicationUser>().Property(u=>u.Avatar).HasDefaultValue(Constants.DefaultAvatar);
|
||||
builder.Entity<ApplicationUser>().Property(u=>u.DiskQuota).HasDefaultValue(Constants.DefaultFSQ);
|
||||
builder.Entity<UserActivity>().HasKey(u=> new { u.DoesCode, u.UserId});
|
||||
builder.Entity<Instrumentation>().HasKey(u=> new { u.InstrumentId, u.UserId});
|
||||
builder.Entity<CircleAuthorizationToBlogPost>().HasKey(a=> new { a.CircleId, a.BlogPostId});
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ namespace Yavsc.Models.FileSystem
|
|||
{
|
||||
public class FileRecievedInfo
|
||||
{
|
||||
public bool Success { get; set; }
|
||||
public string DestDir { get; set; }
|
||||
public string FileName { get; set; }
|
||||
public bool Overriden { get; set; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue