testing db connection and table creation
This commit is contained in:
@@ -60,10 +60,8 @@ class IngredientConnection(Base):
|
||||
__tablename__ = 'IngredientConnection'
|
||||
|
||||
ingredient_a = Column(String,
|
||||
ForeignKey("RecipeIngredientParts.ingredient"),
|
||||
primary_key = True)
|
||||
ingredient_b = Column(String,
|
||||
ForeignKey("RecipeIngredientParts.ingredient"),
|
||||
primary_key = True)
|
||||
recipe_count = Column(Integer)
|
||||
UniqueConstraint(ingredient_a, ingredient_b)
|
||||
|
||||
Reference in New Issue
Block a user