trilium/apps/db-compare
Elian Doran d424ac6a9f
Merge pull request #1852 from TriliumNext/renovate/sqlite3-5.x
fix(deps): update dependency sqlite3 to v5.1.7
2025-05-04 11:01:40 +03:00
..
src feat(db-compare): adapt to v214 2025-05-03 11:24:19 +03:00
eslint.config.mjs
package.json Merge pull request #1852 from TriliumNext/renovate/sqlite3-5.x 2025-05-04 11:01:40 +03:00
README.md feat(db-compare): adapt to v214 2025-05-03 11:24:19 +03:00
tsconfig.app.json chore(db-compare): port to TypeScript 2025-05-03 03:50:06 +03:00
tsconfig.json

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:

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

To serve development build with arguments:

nx serve db-compare --args "apps/server/spec/db/document_v214.db" --args "apps/server/spec/db/document_v214_migrated.db"