Update docs with the new flask command

This commit is contained in:
kaiyou
2018-11-08 21:35:41 +01:00
parent 02995f0a15
commit 30716b8bdf
4 changed files with 12 additions and 12 deletions

View File

@@ -17,7 +17,7 @@ migration script:
.. code-block:: bash
python manage.py db migrate
flask db migrate
This will generate a new script in ``migrations/versions`` that you must review
before adding it for commit.
@@ -54,7 +54,7 @@ At that point, to start working on the changed database structure, you will need
.. code-block:: bash
python manage.py db upgrade
flask db upgrade
If any error arises, restore the backup, fix the migration script and try again.