From 505152ef5789be3783b065430bc6e60863f6d5a2 Mon Sep 17 00:00:00 2001 From: Llloooggg Date: Wed, 14 Jul 2021 16:57:32 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=B0=20?= =?UTF-8?q?=D1=81=D0=BA=D1=80=D0=B8=D0=BF=D1=82=D0=B0=20=D1=81=D0=BE=D0=B7?= =?UTF-8?q?=D0=B4=D0=B0=D0=BD=D0=B8=D1=8F=20=D0=B1=D0=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- init_db.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init_db.py b/init_db.py index d76d8a8..c8a5cfa 100644 --- a/init_db.py +++ b/init_db.py @@ -1,3 +1,3 @@ -from dyxless import db, create_app +from dyxless import app, db -db.create_all(app=create_app()) +db.create_all(app=app)