Skip to content

Commit

Permalink
[skip ci][doc] migrations doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jcheron committed Dec 10, 2021
1 parent ca72829 commit 3e90cc8
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions docs/model/generation/migrations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,33 @@ Let's add a phone field, with the devtools:
Ubiquity model
.. image:: /_static/images/model/scratch/add-field-phone.png
:class: console

Migrations
----------

Starting by displaying the information on possible migrations:

.. code-block:: bash
Ubiquity info-migrations
.. image:: /_static/images/model/scratch/info-migrations-1.png
:class: console

We can then proceed to the execution:

.. code-block:: bash
Ubiquity migrations
.. image:: /_static/images/model/scratch/migrations-1.png
:class: console


.. |br| raw:: html

<br />

0 comments on commit 3e90cc8

Please sign in to comment.