14 lines
433 B
C#
14 lines
433 B
C#
using Microsoft.AspNetCore.Identity;
|
|
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace WebApi.Data;
|
|
|
|
public class ApplicationIdentityDbContext(DbContextOptions options) : IdentityDbContext<IdentityUser>(options)
|
|
{
|
|
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
|
{
|
|
optionsBuilder.UseSqlite("Data Source = Data/DB/Identity");
|
|
}
|
|
}
|