Enable WAL to avoid locked databases (#480)

This commit is contained in:
Sascha Ißbrücker
2023-05-30 09:41:53 +02:00
committed by GitHub
parent 424df155d8
commit 5d48c64b2b
2 changed files with 26 additions and 0 deletions

View File

@@ -10,6 +10,8 @@ mkdir -p data/favicons
# Run database migration
python manage.py migrate
# Enable WAL journal mode for SQLite databases
python manage.py enable_wal
# Generate secret key file if it does not exist
python manage.py generate_secret_key
# Create initial superuser if defined in options / environment variables