mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-05-05 17:56:56 +00:00
Add one-off database inspection and cleanup scripts under `scripts/scratch/` for local debugging and maintenance work. Document root cleanliness and file placement expectations for AI assistants in `GEMINI.md` to keep temporary scripts and tests out of the project root.
10 lines
394 B
JavaScript
10 lines
394 B
JavaScript
const Database = require("better-sqlite3");
|
|
const db = new Database(process.env.HOME + "/.omniroute/storage.sqlite");
|
|
console.log("=== provider_connections containing iflow ===");
|
|
console.log(
|
|
db
|
|
.prepare(
|
|
"SELECT id, provider_id, alias, account_id FROM provider_connections WHERE provider_id LIKE '%iflow%' OR alias LIKE '%iflow%' OR account_id LIKE '%iflow%'"
|
|
)
|
|
.all()
|
|
);
|