changed shipment_id to integers
This commit is contained in:
@@ -7,7 +7,7 @@ from app.calculations import calculate_number_of_pucks, calculate_number_of_samp
|
||||
class Shipment(Base):
|
||||
__tablename__ = "shipments"
|
||||
|
||||
shipment_id = Column(String, primary_key=True, index=True)
|
||||
shipment_id = Column(Integer, primary_key=True, index=True, autoincrement=True)
|
||||
shipment_name = Column(String, index=True)
|
||||
shipment_date = Column(Date)
|
||||
shipment_status = Column(String)
|
||||
|
||||
Reference in New Issue
Block a user