Remove unnecessary ForeignKeyConstraint from WorkLog model
This commit is contained in:
parent
ac0cccc649
commit
cf0d4bb1ed
1 changed files with 0 additions and 3 deletions
|
@ -11,9 +11,6 @@ from . import db
|
|||
|
||||
class WorkLog(db.Model):
|
||||
__tablename__ = 'Work Log'
|
||||
__table_args__ = (
|
||||
ForeignKeyConstraint(['Work Item'], ['Inventory.ID'], name='Work Log$InventoryWork Log'),
|
||||
)
|
||||
|
||||
id: Mapped[int] = mapped_column("ID", Integer, Identity(start=1, increment=1), primary_key=True)
|
||||
start_time: Mapped[Optional[datetime.datetime]] = mapped_column('Start Timestamp', DateTime)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue