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