aboutsummaryrefslogtreecommitdiff
path: root/budget.py
diff options
context:
space:
mode:
Diffstat (limited to 'budget.py')
-rw-r--r--budget.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/budget.py b/budget.py
index ce3086a..53f6b84 100644
--- a/budget.py
+++ b/budget.py
@@ -51,6 +51,7 @@ class BillOwer(db.Model):
bill = db.relationship(Bill, backref=db.backref('owers', order_by=name))
+db.create_all()
# define forms
class BillForm(Form):
@@ -126,5 +127,4 @@ def reset_bills():
if __name__ == '__main__':
- db.create_all()
app.run(host="0.0.0.0", debug=True)