mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-16 10:06:35 +00:00
Show migrations when debugging
This commit is contained in:
parent
9ae0fecb7d
commit
cf8555aab1
@ -25,6 +25,13 @@ then
|
|||||||
chmod -R 0755 /downloads
|
chmod -R 0755 /downloads
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ 'True' = "${TUBESYNC_DEBUG:-False}" ]
|
||||||
|
then
|
||||||
|
s6-setuidgid app \
|
||||||
|
/usr/bin/python3 /app/manage.py \
|
||||||
|
showmigrations -v 3 --list
|
||||||
|
fi
|
||||||
|
|
||||||
# Run migrations
|
# Run migrations
|
||||||
exec s6-setuidgid app \
|
exec s6-setuidgid app \
|
||||||
/usr/bin/python3 /app/manage.py migrate
|
/usr/bin/python3 /app/manage.py migrate
|
||||||
|
Loading…
Reference in New Issue
Block a user