Reenable creating migrations from scratch in Bookwyrm package build

This commit is contained in:
Reinout Meliesie 2025-03-11 16:55:37 +01:00
parent c0bef7fde0
commit ff8629b08c
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6

View file

@ -118,10 +118,10 @@ mkDerivation {
export EMAIL_HOST_PASSWORD=""
export SECRET_KEY=""
# rm -r bookwyrm/migrations/*
# touch bookwyrm/migrations/__init__.py
rm -r bookwyrm/migrations/*
touch bookwyrm/migrations/__init__.py
# ${python311}/bin/python manage.py makemigrations
${python311}/bin/python manage.py makemigrations
${python311}/bin/python manage.py compile_themes
${python311}/bin/python manage.py collectstatic --no-input