Private Preview - features may change without notice
GramSpec
Start free

Keep it true · 10

The database changes

A model that is connected checks itself against the live database and shows what moved: a column renamed, a table dropped. That is the difference between a model that checks itself and documentation somebody has to remember to update.

The drift check. A connected model is compared with the live database's tables and columns, each part is found to be there, missing or possibly renamed, and what moved is shown on the model.GRAMSPECYOUR DATAWhoever keeps themodelA connected modelThe checkthere, missing, or possiblyrenamedWhat movedmarked on the drawing,listed to jump toYour databaseits tables and columnstoday12345 The drift check. A connected model is compared with the live database's tables and columns, each part is found to be there, missing or possibly renamed, and what moved is shown on the model.GRAMSPECYOUR DATAWhoeverkeeps themodelA connectedmodelThe checkthere, missing,or possiblyrenamedWhat movedmarked on thedrawing, listedto jump toYourdatabaseits tables andcolumns today12345
One flow, and no language model in it.
  1. Someone opens a connected model, or asks for a check. The check runs for a model that has a database behind it.
  2. The model is held against the database as it is today. Every table, every column and every column a join relies on.
  3. The live tables and columns are read. Only their names and shapes, never the rows.
  4. Each part is found to be there, missing, or possibly renamed. Where something is missing and the database has a likely replacement, that candidate is named as a possibility, not applied.
  5. What moved is shown on the model. Marked on the drawing where it sits, counted in a line across the top, and listed so each one can be jumped to and checked again.

Which databases. SQL Server today, and the other engines are next. Until then a model on one of them says it was not checked, and nothing is flagged.