Torma Kristóf
c20b5f7c98
All checks were successful
continuous-integration/drone/push Build is passing
10 lines
304 B
Python
10 lines
304 B
Python
#!/usr/bin/env python3
|
|
from .db import db
|
|
|
|
|
|
class MealIngredient(db.Model):
|
|
__tablename__ = 'MealIngredient'
|
|
id = db.Column(db.Integer, primary_key=True, index=True)
|
|
itemId = db.Column(db.Integer, db.ForeignKey('Meal.id'))
|
|
detailId = db.Column(db.Integer, db.ForeignKey('Ingredient.id'))
|