11 lines
245 B
Python
11 lines
245 B
Python
from sqlalchemy import BIGINT
|
|
from sqlalchemy.orm import Mapped, mapped_column
|
|
|
|
from db.base import Base
|
|
|
|
|
|
class User(Base):
|
|
__tablename__ = "users"
|
|
|
|
id: Mapped[int] = mapped_column(BIGINT, unique=True, nullable=False, primary_key=True)
|