mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-15 09:36:42 +00:00
Show migrations when debugging
This commit is contained in:
parent
9ae0fecb7d
commit
cf8555aab1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user