specify that a version is needed for rollback

This commit is contained in:
rinpatch 2019-06-09 13:34:58 +03:00
parent 2a659b35f1
commit bf391569cf

View File

@ -7,7 +7,7 @@ if [ -z "$1" ] || [ "$1" == "help" ]; then
create Create database schema (needs to be executed only once) create Create database schema (needs to be executed only once)
migrate Execute database migrations (needs to be done after updates) migrate Execute database migrations (needs to be done after updates)
rollback Rollback database migrations (needs to be done before downgrading) rollback [VERSION] Rollback database migrations (needs to be done before downgrading)
and any mix tasks under Pleroma namespace, for example \`mix pleroma.user COMMAND\` is and any mix tasks under Pleroma namespace, for example \`mix pleroma.user COMMAND\` is
equialent to \`$(basename "$0") user COMMAND\` equialent to \`$(basename "$0") user COMMAND\`