trilium/apps/db-compare
2026-09-07 20:53:14 +00:00
..
src chore(db-compare): address review feedback in the comparator 2026-06-02 21:35:35 +03:00
package.json Update vitest monorepo to v5 2026-09-07 20:53:14 +00:00
README.md chore(dx): get rid of references to NX 2025-09-03 18:23:47 +03:00
tsconfig.app.json chore(types): disable verbatim module syntax for now 2025-05-27 23:43:28 +03:00
tsconfig.json chore(db-compare): create empty project for monorepo 2025-05-03 03:31:44 +03:00
vitest.config.ts chore(deps): replace sqlite/sqlite3 with better-sqlite3 in db-compare 2026-06-02 20:30:30 +03:00

Database compare tool

Important

The original implementation was signficantly out of date. While we have made the effort of updating dependencies and getting it to run, currently it only compares the old database structure (v214).

To build and run manually:

pnpm build db-compare
node ./apps/db-compare/dist/compare.js

To serve development build with arguments:

pnpm dev --args "apps/server/spec/db/document_v214.db" --args "apps/server/spec/db/document_v214_migrated.db"