mirror of
https://github.com/fergalmoran/nukeitter.git
synced 2025-12-22 09:51:03 +00:00
17 lines
660 B
C#
17 lines
660 B
C#
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace Nukitter.Web.Areas.Identity.Data;
|
|
|
|
public class NukeItterContext : IdentityDbContext<NukeItterUser> {
|
|
public NukeItterContext(DbContextOptions<NukeItterContext> options)
|
|
: base(options) { }
|
|
|
|
protected override void OnModelCreating(ModelBuilder builder) {
|
|
base.OnModelCreating(builder);
|
|
// Customize the ASP.NET Identity model and override the defaults if needed.
|
|
// For example, you can rename the ASP.NET Identity table names and more.
|
|
// Add your customizations after calling base.OnModelCreating(builder);
|
|
}
|
|
}
|