mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-24 05:56:37 +00:00
Merge pull request #1009 from tcely/patch-2
Show migrations when debugging
This commit is contained in:
commit
6b38789c24
@ -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