[FIX] migration: use correct migration prefix in docstring

Migration files must contain `-` in its name for being executed
This commit is contained in:
Pedro M. Baeza
2018-10-23 18:43:59 +02:00
committed by Damien Bouvy
parent d5cc05c994
commit c0e35f84e2
+2 -2
View File
@@ -25,8 +25,8 @@ class MigrationManager(object):
function. Theses files must respect a directory tree structure: A 'migrations' folder
which containt a folder by version. Version can be 'module' version or 'server.module'
version (in this case, the files will only be processed by this version of the server).
Python file names must start by `pre` or `post` and will be executed, respectively,
before and after the module initialisation. `end` scripts are run after all modules have
Python file names must start by `pre-` or `post-` and will be executed, respectively,
before and after the module initialisation. `end-` scripts are run after all modules have
been updated.
Example:
<moduledir>