v0.1
This commit is contained in:
@@ -37,10 +37,11 @@ class Deal(BaseModel):
|
||||
products = relationship('DealProduct', back_populates='deal')
|
||||
|
||||
# TODO remake with sequence
|
||||
rank = Column(String, nullable=False, comment='Lexorank')
|
||||
lexorank = Column(String, nullable=False, comment='Lexorank', index=True)
|
||||
|
||||
comment = Column(String, nullable=False, server_default='', comment='Коментарий к заданию')
|
||||
|
||||
|
||||
class DealStatusHistory(BaseModel):
|
||||
__tablename__ = 'deals_status_history'
|
||||
id = Column(Integer, autoincrement=True, primary_key=True, index=True)
|
||||
|
||||
Reference in New Issue
Block a user