reduce unnecessary sqlite indexes
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-02-06 08:53:36 +11:00
parent 32ced35130
commit 5dcc11e5e0
3 changed files with 103 additions and 2 deletions

View File

@@ -50,6 +50,13 @@ exit (no scheduler/server), use:
vctp -settings /path/to/vctp.yml -run-inventory
```
If you want a one-time SQLite cleanup to drop low-value hourly snapshot indexes and exit,
use:
```shell
vctp -settings /path/to/vctp.yml -db-cleanup
```
## Database Configuration
By default the app uses SQLite and creates/opens `db.sqlite3`. You can opt into PostgreSQL
by updating the settings file: