import typing as t

from sqlmodel import SQLModel, Field, Relationship
from datetime import datetime

from .users import DB_User



class DB_AccessToken(SQLModel, table=True):
    __tablename__ = 'access_tokens'
    id: t.Optional[int] = Field(default=None, primary_key=True)
    """The ID of the access token. This is handled by the database."""

    token: str = 