Run automatic migration on startup command only
This commit is contained in:
parent
605fa8cbb3
commit
3859c4bbcf
|
@ -8,7 +8,7 @@ if [ "$1" = 'pleroma' ] || [ "$1" = 'pleroma_ctl' ]; then
|
|||
done
|
||||
fi
|
||||
|
||||
if [ "$1" = 'pleroma' ]; then
|
||||
if [ "$1" = 'pleroma' ] && [ "$2" = 'start' ]; then
|
||||
echo "-- Running migrations..."
|
||||
pleroma_ctl migrate
|
||||
|
||||
|
|
Loading…
Reference in New Issue