fix entityframework identity dbContext
All checks were successful
Build and Deploy API / build-and-deploy (push) Successful in 8s
All checks were successful
Build and Deploy API / build-and-deploy (push) Successful in 8s
This commit is contained in:
@@ -2,12 +2,12 @@
|
|||||||
using agologumApi.Models;
|
using agologumApi.Models;
|
||||||
|
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
|
||||||
|
|
||||||
public class AppDbContext : DbContext {
|
public class AppDbContext : IdentityDbContext<User> {
|
||||||
|
|
||||||
public AppDbContext(DbContextOptions<AppDbContext> options) : base(options) {
|
public AppDbContext(DbContextOptions<AppDbContext> options) : base(options) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public DbSet<User> Users { get; set; }
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user