with app.app_context(): db.create_all(). Since we will be using Flask-Migrate to create our database, we no longer need to tell Flask-SQLAlchemy to do it ...
確定! 回上一頁