increase max access token length to 4096

This commit is contained in:
maxDorninger
2025-07-06 10:52:58 +02:00
parent 1b2eb55c83
commit 5364c73377
3 changed files with 65 additions and 2 deletions

View File

@@ -6,14 +6,16 @@ from fastapi_users.db import (
SQLAlchemyUserDatabase,
SQLAlchemyBaseOAuthAccountTableUUID,
)
from sqlalchemy import String
from sqlalchemy.ext.asyncio import AsyncSession, async_sessionmaker, create_async_engine
from sqlalchemy.orm import Mapped, relationship
from sqlalchemy.orm import Mapped, relationship, mapped_column
from media_manager.database import Base
from media_manager.database import db_url
class OAuthAccount(SQLAlchemyBaseOAuthAccountTableUUID, Base):
access_token: Mapped[str] = mapped_column(String(length=4096), nullable=False)
pass