Revision 61c39121 docs/quick-install-admin-guide.rst

b/docs/quick-install-admin-guide.rst
981 981

  
982 982
.. _alembic: http://alembic.readthedocs.org
983 983

  
984
After a sucessful installation, we should stamp it at the most recent
984
After a successful installation, we should stamp it at the most recent
985 985
revision, so that future migrations know where to start upgrading in
986 986
the migration history.
987 987

  
988
First, find the most recent revision in the migration history:
989

  
990
.. code-block:: console
991

  
992
    root@node2:~ # pithos-migrate history
993

  
994
    27381099d477 -> 4c8ccdc58192 (head), add attributes domain index
995
    2a309a9a3438 -> 27381099d477, alter public add column url
996
    165ba3fbfe53 -> 2a309a9a3438, fix statistics negative population
997
    3dd56e750a3 -> 165ba3fbfe53, update account in paths
998
    230f8ce9c90f -> 3dd56e750a3, Fix latest_version
999
    8320b1c62d9 -> 230f8ce9c90f, alter nodes add column latest version
1000
    None -> 8320b1c62d9, create index nodes.parent
1001

  
1002
Finally, we stamp it with the head found in the previous step:
1003

  
1004 988
.. code-block:: console
1005 989

  
1006
    root@node2:~ # pithos-migrate stamp 4c8ccdc58192
990
    root@node2:~ # pithos-migrate stamp head
1007 991

  
1008 992
Servers Initialization
1009 993
----------------------

Also available in: Unified diff