9 lines
215 B
Python
9 lines
215 B
Python
|
#!/usr/bin/env python3
|
||
|
from .db import db
|
||
|
|
||
|
|
||
|
class Ingredient(db.Model):
|
||
|
__tablename__ = 'Ingredient'
|
||
|
id = db.Column(db.Integer, primary_key=True)
|
||
|
name = db.Column(db.String, nullable=False, unique=True)
|