We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3f3f278 + a0116ab commit fb75146Copy full SHA for fb75146
docs/docs/09_flask_migrate/02_add_flask_migrate_to_app/README.md
@@ -36,3 +36,12 @@ api = Api(app)
36
with app.app_context():
37
db.create_all()
38
```
39
+
40
+Since we will be using Flask-Migrate to create our database, we no longer need to tell Flask-SQLAlchemy to do it when we create the app.
41
42
+Delete these two lines:
43
44
+```py
45
+with app.app_context():
46
+ db.create_all()
47
+```
0 commit comments