Recreate database migrations as part of Bookwyrm package build
This commit is contained in:
parent
b56b868cdf
commit
1c16839be1
1 changed files with 5 additions and 0 deletions
|
@ -118,6 +118,11 @@ mkDerivation {
|
|||
export EMAIL_HOST_PASSWORD=""
|
||||
export SECRET_KEY=""
|
||||
|
||||
rm -r bookwyrm/migrations/*
|
||||
touch bookwyrm/migrations/__init__.py
|
||||
|
||||
${python311}/bin/python manage.py makemigrations
|
||||
|
||||
${python311}/bin/python manage.py compile_themes
|
||||
${python311}/bin/python manage.py collectstatic --no-input
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue