Committed some of the DB work that's happening and disabled shop as it's going to take a while to refactor

This commit is contained in:
barelyprofessional
2026-03-18 19:51:34 -05:00
parent 377603ca35
commit a6810591de
3 changed files with 118 additions and 3 deletions

View File

@@ -9,7 +9,13 @@ public class ApplicationDbContext : DbContext
{
builder.UseSqlite("Data Source=db.sqlite");
}
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
base.OnModelCreating(modelBuilder);
}
public DbSet<UserDbModel> Users { get; set; }
public DbSet<JuicerDbModel> Juicers { get; set; }
public DbSet<SettingDbModel> Settings { get; set; }