Commit Graph
6 Commits
Author SHA1 Message Date
tbenandClaude Opus 5.5 87da436f81 Port bun-mariadb conventions: init globals, db handler, split schema sync
- init() loads config, schema and the SQLite client once into globals
- all CRUD queries go through lib/db-handler.ts (optional per-call config)
- split db-schema-manager.ts into lib/schema/* with FK-aware table ordering
- add bun:test tests for schema ordering, FK constraints and schema sync
- config/schema files can be .ts/.js/.json/.yaml/.yml; db_schema_file_name
  is now optional (defaults to schema.* in db_dir)
- add export/import commands (database snapshot + schema archives)
- package exports map, type re-exports, hardened publish.sh
- validate table name in delete

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-14 02:37:35 +01:00
tben 04e4e0e9fd Update README.md 2026-03-22 05:26:28 +01:00
tben 83bc501bd1 Update README 2026-03-02 14:59:54 +01:00
tben ec27ff9c04 Add Backup and Restore 2026-03-02 14:51:19 +01:00
tben e293205e66 Updates 2026-03-02 10:32:57 +01:00
tben 5555a8e917 first Commit 2026-03-02 07:56:05 +01:00