summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mailman/docs/DATABASE.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mailman/docs/DATABASE.rst b/src/mailman/docs/DATABASE.rst
index 5f46bbefb..a64c371f7 100644
--- a/src/mailman/docs/DATABASE.rst
+++ b/src/mailman/docs/DATABASE.rst
@@ -70,7 +70,8 @@ Mailman into that, and then run the ``alembic`` command. For example::
$ virtualenv -p python3 /tmp/mm3
$ source /tmp/mm3/bin/activate
$ python setup.py develop
- $ alembic -c src/mailman/config/alembic.cfg revision --autogenerate
+ $ alembic -c src/mailman/config/alembic.cfg revision --autogenerate -m
+ "<migration_name>"
This would create a new migration which would automatically be migrated to the
database on the next run of Mailman. Note that the database needs to be in