mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-03 13:02:03 -04:00
Big update introducing ghetto command interface, settings, database and howl.gg bet feed scraping
This commit is contained in:
17
KfChatDotNetKickBot/ApplicationDbContext.cs
Normal file
17
KfChatDotNetKickBot/ApplicationDbContext.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using KfChatDotNetKickBot.Models.DbModels;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace KfChatDotNetKickBot;
|
||||
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user