Versioning Lookup and Data Tables
Lookup tables and data tables are versioned. You change a table's columns in a draft, deploy the draft to Development, and then promote the version that Development runs to Production. Each environment keeps running its own version until you release a new one.
How it works
A table has a draft and one definition per environment it is deployed to:
| Definition | What it holds | How it changes |
|---|---|---|
| Draft | Columns, keys, and settings only. A draft holds no rows. | You select Edit columns, change the columns, and select Save. |
| Development | The version Development runs, and Development's rows | Deploying the draft. This is the only way Development changes. |
| Production | The version Production runs, and Production's rows | Promoting the version Development runs, directly or through an approved request |
Each deploy that changes the columns creates a new version number. The History panel shows the version each environment runs, and the release dialogs show the change, for example version 6 → version 7.
The release path runs in one direction:
- Draft to Development: Anyone with permission to update the table publishes the draft.
- Development to Production: A table approver promotes the version directly. Anyone else with permission to update the table requests a promotion, and one approver approves it.
Development and Production are the default environments. If your organization configures other environments, the Environment list and the release dialogs show them instead.
Tables and workflows
A workflow reads the version of a table that is deployed in the environment where the workflow runs.
- Validation. A workflow that uses a table that was never published to Development fails validation on that activity, with a message such as:
Lookup table "Rates" is still a draft. Publish it to Development to use it in this workflow. - Mapping. The data mapper for lookup and data table activities shows the columns Development runs, not the draft's. A table that has never been published shows its draft columns. Key columns are marked as required.
- Deploying workflows. When you deploy or promote a workflow to an environment that does not run a table it needs, Studio opens a dialog titled, for example, Deployed, but 1 table isn't running in Production. It lists each table with the version the workflow needs. Select a table to open its History panel.
The table editor
Open a table from Tables in the left toolbar. The Environment list above the grid selects what the editor shows:
- Draft — definition only shows the columns. The list shows it only while the table has unpublished changes. The grid has no rows: "The draft has no rows. Publish to Development to add or view rows."
- Development and Production show the columns and rows that environment runs. An environment with nothing deployed is listed as, for example, Production (not deployed), and you can't select it.
The grid is read-only in every view. Rows come from workflows, or, for lookup tables, from importing rows. In an environment view, the grid pages through rows 50 at a time by default, and Search finds matching rows on the server across every page. Select a row to open Row details.
Selecting Edit columns from an environment view starts from the columns that environment runs. Saving creates the draft from what you edited.
Who can do what
Production actions use the table approvers of the workspace. A workspace admin manages them in the workspace Governance settings, under Add table approvers > Manage Approvers. The same approvers review decision table changes.
| Action | Who |
|---|---|
| Edit and save the draft, deploy it to Development, discard it | Members with permission to update the table |
| Promote to Production | Table approvers |
| Request a promotion to Production | Members with permission to update the table who are not approvers |
| Approve or reject a request | Any approver |
| Withdraw a request | The member who requested it, or any approver |
| Remove a table from Production | Approvers |
| Import rows into an environment, delete rows | Approvers, for lookup tables only |
If the workspace has no table approvers, nobody can promote or request a promotion. The button explains why: "No table approvers are configured. Add them in Settings → Workspace → Governance."
What happens to rows
A draft never carries rows, so a release changes columns, not data. Before a release, Studio checks whether the target environment's rows can stay with the incoming columns:
- If they can, the release dialog shows Rows kept, and the rows stay as they are.
- If they cannot, the dialog says how many rows the release clears. Select Download rows to save them first, then type the table name to confirm.
Changing a column's Secure setting, or the table's Row encryption mode, clears existing rows when the change is released. Studio does not encrypt existing rows in place.
Sensitive columns
When you save columns whose names look sensitive, such as a date of birth or a bank account, Studio opens Review column protection. It lists those columns with their Secure setting. If you leave a listed column without Secure, select the acknowledgement before Confirm and save becomes available.
The shield button next to Search in the table editor opens Sensitive columns, which shows the same findings for the selected view. Secure values show as *** in the grid.