fix permission table
All checks were successful
Build and Deploy API / build-and-deploy (push) Successful in 4s

This commit is contained in:
2026-04-22 20:09:20 -05:00
parent ef1256b38f
commit 37b5dd4637
5 changed files with 390 additions and 4 deletions

View File

@@ -14,4 +14,12 @@ public class AppDbContext : IdentityDbContext<User> {
public DbSet<Item> Items { get; set; }
public DbSet<RefreshToken> RefreshTokens { get; set; }
protected override void OnModelCreating(ModelBuilder builder) {
base.OnModelCreating(builder);
builder.Entity<User>().Property(u => u.Permissions).HasColumnType("jsonb");
}
}