5246770a3a
On fresh installs the data/ dir may not exist, causing SQLite to create a stub file without write permissions. mkdir(parents=True, exist_ok=True) runs at import time before any DB operation. Also add data/.gitignore to prevent homelab.db from ever being committed.
5 lines
40 B
Plaintext
5 lines
40 B
Plaintext
*.db
|
|
*.db-shm
|
|
*.db-wal
|
|
scan_config.json
|