Show migrations when debugging

This commit is contained in:
tcely authored and GitHub committed 2025-05-02 14:28:20 -04:00
1 parent 9ae0fecb7d
commit cf8555aab1
1 file changed
+7
@@ -25,6 +25,13 @@ then
chmod -R 0755 /downloads
fi
if [ 'True' = "${TUBESYNC_DEBUG:-False}" ]
then
s6-setuidgid app \
/usr/bin/python3 /app/manage.py \
showmigrations -v 3 --list
fi
# Run migrations
exec s6-setuidgid app \
/usr/bin/python3 /app/manage.py migrate