Files
uis-cloud-computing/backend/app/models/user.py

8 lines
314 B
Python

from sqlalchemy import Column, String
from fastapi_users.db import SQLAlchemyBaseUserTableUUID
from ..core.base import Base # Import Base z base.py
class User(SQLAlchemyBaseUserTableUUID, Base):
first_name = Column(String(length=100), nullable=True)
last_name = Column(String(length=100), nullable=True)