Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions admin/console/dangerzone-for-experts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -143,24 +143,31 @@ Reset Zammad Installation

.. hint::

Below commands are incomplete intentionally, error outputs will hint you
through! The following operations will cause data loss and are for
Below commands are intentionally incomplete, error output will guide you
through! The following operations will cause data loss and are intended for
development / testing only.

Don't forget to stop Zammad before trying to drop the database!
Don't forget to stop Zammad before trying to reset your instance!

.. code-block:: console

$ rake db:drop
$ rake zammad:db:truncate

.. code-block:: console

$ rake db:create
$ rake db:migrate

.. code-block:: console

$ rake db:migrate
$ rake db:seed

.. code-block:: console

$ rake db:seed
$ rake zammad:db:rebuild

.. hint::

You can also use the ``zammad:db:reset`` command to reset your instance. This task
will truncate the database, run the migrations, seed the database, and rebuild
the indices. However, it will not ask for your confirmation between each step
so you should use it with caution.