from backend.app import create_app from backend.database import db app = create_app() with app.app_context(): db.create_all() print('DB created')