summaryrefslogtreecommitdiff
path: root/Project-Unite/Models/IdentityModels.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Project-Unite/Models/IdentityModels.cs')
-rw-r--r--Project-Unite/Models/IdentityModels.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/Project-Unite/Models/IdentityModels.cs b/Project-Unite/Models/IdentityModels.cs
index 187bad3..ced6fc3 100644
--- a/Project-Unite/Models/IdentityModels.cs
+++ b/Project-Unite/Models/IdentityModels.cs
@@ -204,6 +204,8 @@ namespace Project_Unite.Models
return new ApplicationDbContext();
}
+ public DbSet<DatabaseBackup> Backups { get; set; }
+ public DbSet<DatabaseBackup> AssetBackups { get; set; }
public DbSet<Avatar> UserAvatars { get; set; }
public DbSet<Skin> Skins { get; set; }
public DbSet<Configuration> Configs { get; set; }
@@ -278,4 +280,12 @@ namespace Project_Unite.Models
public string AvatarUrl { get; set; }
public DateTime UploadedAt { get; set; }
}
+
+ public class DatabaseBackup
+ {
+ public string Id { get; set; }
+ public DateTime Timestamp { get; set; }
+ public string UserId { get; set; }
+ public string DownloadUrl { get; set; }
+ }
} \ No newline at end of file