Add FK constraint for ProductLikeCode.upc
not sure why that wasn't already present?
This commit is contained in:
parent
b40fbf7cab
commit
d94189c404
|
@ -633,6 +633,7 @@ class ProductLikeCode(Base):
|
|||
"""
|
||||
__tablename__ = 'upcLike'
|
||||
__table_args__ = (
|
||||
sa.ForeignKeyConstraint(['upc'], ['products.upc']),
|
||||
sa.ForeignKeyConstraint(['likeCode'], ['likeCodes.likeCode']),
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue