feat: address now is telegram
This commit is contained in:
@@ -23,7 +23,7 @@ class ClientDetails(BaseModel):
|
||||
client_id = Column(Integer, ForeignKey('clients.id'), unique=True, nullable=False, comment='ID клиента')
|
||||
client = relationship('Client', back_populates='details', cascade='all, delete', uselist=False)
|
||||
|
||||
address = Column(String)
|
||||
telegram = Column(String)
|
||||
phone_number = Column(String)
|
||||
inn = Column(String)
|
||||
email = Column(String)
|
||||
|
||||
@@ -17,7 +17,6 @@ class Product(BaseModel):
|
||||
client_id = Column(Integer, ForeignKey('clients.id'), nullable=False, comment='ID сделки')
|
||||
client = relationship('Client', back_populates='products')
|
||||
barcodes = relationship('ProductBarcode', back_populates='product', cascade="all, delete-orphan")
|
||||
my_column = Column(Integer, sequence)
|
||||
|
||||
|
||||
class ProductBarcode(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user