forked from polka_billy/porridger
Trying to change models
This commit is contained in:
@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user