Trying to change models

This commit is contained in:
DmitryGantimurov 2023-07-24 07:07:36 +03:00
parent 45d0b8e52d
commit 6c6f96cc94

View File

@ -1,8 +1,14 @@
from sqlalchemy import Column, Integer, String
from fastapi_users.db import SQLAlchemyBaseUserTableUUID, SQLAlchemyUserDatabase
from fastapi import Depends
from .db import Base
class User(SQLAlchemyBaseUserTableUUID, Base):
pass
class UserDatabase(Base):#класс пользователя
__tablename__ = "users"