Skip to content

Postgres schema as first-class, diffable graph nodes #7

Description

@elan-chels

The add <ENV_NAME> postgres connector is great for one-shot capture. Would it be feasible to represent a relational schema as first-class graph nodes (tables and columns as nodes, foreign keys as edges) that persist and diff across re-syncs?

The use case is deriving a live ER view and detecting schema drift over time, rather than a point-in-time snapshot: on each sync, compare the captured schema against the previous one and surface what changed (added/dropped tables and columns, changed types, new/removed FKs).

If some of this already exists in what the connector emits today, pointers to the current node shape would help. Happy to share the node shape I'd want to query against if that is useful for the design.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions