What you’re building
A version is a recoverable checkpoint of a saved diagram or artifact. Certifying one version marks it as the snapshot teammates should generate from. Three things stay distinct:
Use versions when you want to freeze a known-good model, recover after an edit, or generate a data model or DDL from a specific snapshot instead of the live draft.
Open Versions
- Open a saved diagram or artifact.
- Click Versions in the header.
Save a version
- Open Versions.
- Click New version. If you see No versions yet, click Create your first version instead.
- Optionally type a name in Name this version. Leave it blank to number the version automatically (Version 1, Version 2, and so on).
- Click Save version, or press Enter. Cancel or Esc discards the name field without saving.
Preview a version
- Click a version in the list.
- The editor shows Viewing that version, with Read-only. Your current draft is untouched.
- Click Back to draft, or click Working draft in the list, to return to the editable copy.
Certify a version
Certification tells others which snapshot to build from. Only one version can be certified at a time.- Open the version’s ⋯ menu.
- Click Mark as certified.
- In Certify that version, confirm: Certification marks the version teammates should build from. Only one version can hold it, so it moves off whichever version has it now.
- Click Mark as certified.
Restore a version
Restore copies a snapshot back into Working draft. The version you restore stays in history.- Open the version’s ⋯ menu and click Restore as current, or click Restore as current while previewing.
- In Restore that version, confirm: This version’s content becomes your current draft. Every version stays in history, including this one.
- Click Restore as current.
Rename or delete a version
Rename
- Open the version’s ⋯ menu and click Rename.
- Type the new name and press Enter (Esc cancels).
Delete
- Open the version’s ⋯ menu and click Delete.
- In Delete that version, confirm: This version and its snapshot are removed from history. Your current draft is not affected.
- Click Delete version.
Use a version when generating
Generate Model and Forward Engineer let you choose Working draft or a saved version of the source diagram. The Certified version is selected when one exists; otherwise the latest version; if there are no versions yet, Working draft. Working draft stays available in every list (In-progress · Unversioned). Under Version, Snap Data Studio notes that Saved-version labels are included in generated output names.Generate Model
- Open Generate Model with a diagram or the Conceptual Model active.
- On Source Model, select a source diagram.
- Under Version, pick Working draft or a saved version.
- Click Generate Model.
Sales Model - Dimensional (Approved v2). Generating from Working draft does not add that qualifier.
Forward Engineer
- Open Forward Engineer from the diagram’s ⋯ menu.
- Under Version, pick Working draft or a saved version.
- Click Generate DDL.
Sales_Model_snowflake__Approved_v2.sql.
If version history cannot load, you see Version history failed to load. Only the current draft is available.