Try to fix refresh token length

This commit is contained in:
2025-11-09 23:08:48 +02:00
parent 4733e56ea1
commit 27a8e6125b

View File

@@ -1,4 +1,5 @@
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity;
namespace T120B165_ImgBoard.Models; namespace T120B165_ImgBoard.Models;
@@ -12,6 +13,7 @@ public static class UserRoles
public class RefreshToken public class RefreshToken
{ {
[Key] [Key]
[Column(TypeName = "LONGTEXT")]
public string Token { get; set; } public string Token { get; set; }
public User User { get; set; } public User User { get; set; }
public DateTime Expires { get; set; } public DateTime Expires { get; set; }