mirror of
https://github.com/yawaflua/PL_JusticeBot.git
synced 2025-12-09 20:09:31 +02:00
17 lines
507 B
C#
17 lines
507 B
C#
using DiscordApp.Database.Tables;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace DiscordApp.Database
|
|
{
|
|
public class AppDbContext : DbContext
|
|
{
|
|
public AppDbContext(DbContextOptions<AppDbContext> options) : base(options) { }
|
|
|
|
public DbSet<Passport> Passport { get; set; }
|
|
public DbSet<Autobranches> Autobranches { get; set; }
|
|
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
|
{
|
|
base.OnModelCreating(modelBuilder);
|
|
}
|
|
}
|
|
} |