summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAbhilash Raj2015-01-27 03:00:47 +0530
committerAbhilash Raj2015-01-27 03:00:47 +0530
commitdb888c9866e10dd1b63a58f922bdc470d8f61336 (patch)
tree9cd398cbafb4a54eb91cea13591fff077eb4250c /src
parent99ee2cf3b8e04731666702700b6eee6a0fd9ea90 (diff)
downloadmailman-db888c9866e10dd1b63a58f922bdc470d8f61336.tar.gz
mailman-db888c9866e10dd1b63a58f922bdc470d8f61336.tar.zst
mailman-db888c9866e10dd1b63a58f922bdc470d8f61336.zip
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