mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-04-30 03:22:04 -04:00
17 lines
522 B
C#
17 lines
522 B
C#
using KfChatDotNetBot.Models.DbModels;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace KfChatDotNetBot;
|
|
|
|
public class ApplicationDbContext : DbContext
|
|
{
|
|
protected override void OnConfiguring(DbContextOptionsBuilder builder)
|
|
{
|
|
builder.UseSqlite("Data Source=db.sqlite");
|
|
}
|
|
|
|
public DbSet<UserDbModel> Users { get; set; }
|
|
public DbSet<JuicerDbModel> Juicers { get; set; }
|
|
public DbSet<SettingDbModel> Settings { get; set; }
|
|
public DbSet<HowlggBetsDbModel> HowlggBets { get; set; }
|
|
} |