mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
- Moved the Kasino shop models to their own file
- Added investments as a derivative of assets - Added profile state flags which can retain basic states like IsSponsored - Added profile state data using EF Core's JSON functionality so it should automatically serialize / deserialize the accompanying model for convenience (OnModelCreating code commented out due to the models not yet having a DbSet as I won't bake them in until KasinoShop is ready)
This commit is contained in:
@@ -12,8 +12,8 @@ public class ApplicationDbContext : DbContext
|
||||
|
||||
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||
{
|
||||
base.OnModelCreating(modelBuilder);
|
||||
|
||||
//modelBuilder.Entity<KasinoShopProfileDbModel>()
|
||||
// .OwnsOne(p => p.StateData, b => b.ToJson());
|
||||
}
|
||||
|
||||
public DbSet<UserDbModel> Users { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user