upd
This commit is contained in:
@ -12,10 +12,17 @@ class User(Base):
|
||||
id = Column(BigInteger, primary_key=True)
|
||||
name = Column(String)
|
||||
username = Column(String)
|
||||
#
|
||||
#
|
||||
# class Queue(Base):
|
||||
# __tablename__ = "queue"
|
||||
#
|
||||
# id = Column(Uuid, primary_key=True, default=uuid.uuid4())
|
||||
# owner = relationship(User)
|
||||
|
||||
|
||||
class Queue(Base):
|
||||
__tablename__ = "queue"
|
||||
|
||||
id = Column(Uuid, primary_key=True, default=uuid.uuid4())
|
||||
owner = relationship(User)
|
||||
|
||||
|
||||
class QueueUser(Base):
|
||||
__tablename__ = "queueuser"
|
||||
|
||||
id = Column(Uuid, primary_key=True, default=uuid.uuid4())
|
||||
user_id =
|
||||
|
||||
Reference in New Issue
Block a user