From 7a8bd45e56301df084cf5749c2f9e7b68ae5f5e8 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Sat, 10 Jul 2021 17:56:14 +0200 Subject: [PATCH] Fix create db --- pynyaata/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pynyaata/config.py b/pynyaata/config.py index f70b6b2..b688da4 100644 --- a/pynyaata/config.py +++ b/pynyaata/config.py @@ -48,7 +48,7 @@ if db_host: 'pool_recycle': 200 } db = SQLAlchemy(app) - from .models import * + from .models import create_all create_all()