mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Renamed the bot from KickBot -> ChatBot and removed the reference to Kick in the project name
This commit is contained in:
17
KfChatDotNetBot/ApplicationDbContext.cs
Normal file
17
KfChatDotNetBot/ApplicationDbContext.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user