SQL Import Guide
Use SQL import when you want database structure to be visible alongside product flows, services, and architecture context in UiGraph.
Supported dialects
- PostgreSQL
- MySQL
- SQLite
What SQL import gives you
- visual table structures
- visible primary and foreign key relationships
- a database view that can sit next to flows and architecture diagrams
- a shared reference point for product and engineering discussions
Typical workflow
- Prepare a
.sqlschema file from your source system. - Import it into UiGraph.
- Review the resulting table layout and relationships.
- Use the visual model as part of broader system documentation.
Recommended input
- keep schema files close to the service or repository they describe
- prefer representative schema definitions over ad hoc partial dumps
- update the imported schema when structure changes in production systems
What to review after import
- table coverage
- key relationships
- naming consistency
- whether the imported model matches how your team explains the domain
Best practices
- import one bounded schema or service database at a time
- keep SQL files in version control
- use SQL import as a shared documentation artifact, not just a one-time migration tool
- pair imported tables with surrounding product or architecture context when it helps explain the system