From 8c519a6d56eae0fa34bbb0c6ff0c07cd52016542 Mon Sep 17 00:00:00 2001 From: yiorgos marinellis Date: Mon, 11 May 2020 10:15:40 +0200 Subject: [PATCH] Update REAME --- README.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.rst b/README.rst index 83c9b65b..2f8c2459 100644 --- a/README.rst +++ b/README.rst @@ -86,6 +86,23 @@ Testing password ``ereuse``. 3. Execute at the root folder of the project ``python3 setup.py test``. + +Migrations +********** +At this stage, migrations are created manually. To create a revision file +execute: + +.. code:: bash + + $ alembic revision -m "This is migration name" + +Then edit the generated file with the necessary operations to perform the migration. +Apply migrations using: + +.. code:: bash + + $ alembic upgrade head + Generating the docs *******************