Expand description
Export/Import module for task-graph databases.
This module provides structured export functionality enabling:
- Version control of project task data
- Database reconstruction from exports
- Migration between schema versions
- Human-readable diffs in git
Modules§
- diff
- Diff functionality for comparing snapshots and databases.
Structs§
- Snapshot
- A structured export snapshot of the task-graph database.
Constants§
- CURRENT_
SCHEMA_ VERSION - Schema version of the current database. This should be updated when the database schema changes.
- EXCLUDED_
TABLES - Tables excluded from export (ephemeral/runtime).
- EXPORTED_
TABLES - Tables that are exported (project data).
- EXPORT_
VERSION - Export format version (semver).
Functions§
- get_
table_ ordering - Row ordering specifications for each exported table. These ensure deterministic ordering for git diffs.
- get_
table_ primary_ key - Get the primary key column(s) for a table. Used for identifying records during diff operations.