1.5 KiB
1.5 KiB
| id | type | title | tags | importance | confidence | created | updated | relations | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 71261e95-805e-44a0-8ee2-4a0f683dbc1f | decision | SBA Scout Rust: two separate databases for Rust vs Python apps |
|
0.65 | 0.8 | 2026-02-28T18:09:49.826680+00:00 | 2026-02-28T18:10:05.594987+00:00 |
|
SBA Scout Rust: two separate databases for Rust vs Python apps
Decision
The Rust rewrite maintains its own independent SQLite database, separate from the Python app.
| App | DB Path | Size (approx) |
|---|---|---|
| Python | data/sba_scout.db |
1.7 MB (full) |
| Rust | rust/data/sba_scout.db |
491 KB (initial, grows after import) |
Both paths are relative to the repo root. The Rust app's config.rs defaults db_path to data/sba_scout.db relative to cwd, which resolves to rust/data/sba_scout.db when running from the rust/ directory.
CSV Import Paths (Rust)
Default paths (relative to rust/ cwd):
docs/sheets_export/BatterCalcs.csvdocs/sheets_export/PitcherCalcs.csv
Rationale
The Rust rewrite is being developed on a separate branch (feat/rust-rewrite) and needs its own DB so development and testing don't interfere with the production Python app data.