blob: b1f082dafe1cba9f81634fd47989f2e34dab5db5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
using Microsoft.EntityFrameworkCore;
namespace VPNAuth.Server.Database;
public class Database : DbContext
{
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
optionsBuilder.UseSqlite("Data Source=vpnauth.db");
}
public DbSet<AuthRequest> AuthRequests { get; set; }
public DbSet<AccessToken> AccessTokens { get; set; }
public DbSet<UserInformation> UserInformation { get; set; }
}
|