Skip to content

Check your metadata against the database, step by step

Make sure what Codossier Office believes about its tables, fields, views, forms and choices matches what the database really holds, and fix any drift through the same safe operations as the Builder.

3 steps·2 min read·Deployment and Data

Make sure what Codossier Office believes about its tables and fields matches the database, and fix any drift through the same safe operations as the Builder.

What it is

  • Builder → Monitoring → Reconciler, for administrators; also Open reconciler on the Builder Dashboard.
  • Analyze reads the live database and the metadata side by side and lists every difference, card by card: tables, attributes, views, forms and choices.
  • Actionable findings carry a Resolve that re-checks the finding and runs its fix on the metadata only; Substrate / parked ones are expected and left alone.
  • Compare environments exports this side and loads it on another environment to list what is only there, only here, or different, and makes a solution of what you tick.

Good to know

  • Looking changes nothing. A removal, or a fix that would lose data, waits for an administrator's decision.
  • Relationships are not reconciled yet: their card says so.
  • To carry the differences you found to another environment, see Solutions.

Before you start

  • The metadata reconciler compares what Codossier Office's metadata says (tables, fields, views, forms, choices) with what the database really holds, and lists every difference with its fix. A second card compares two environments.
  • Here, a development database checked after a day of changes: nothing left to fix.

1Open Monitoring → Reconciler and press Analyze

Go to Builder → Monitoring → Reconciler (or Open reconciler on the Builder Dashboard) and press Analyze. It reads the live database catalogue and the metadata side by side; nothing is changed by looking.

Check your metadata against the database, step 1: Open Monitoring → Reconciler and press Analyze (Run the check; Nothing yet)
1Run the check2Nothing yet

2Read the findings, element by element

The counters sum it up: Total findings, how many are Actionable (a difference with a fix), how many are Substrate / parked (expected differences on the platform's own machinery, left alone), and the metadata Version token the check ran against. Then one card per element: Tables, Attributes, Views, Forms, Optionsets. An actionable row has a Resolve button that re-checks it and runs its fix on the metadata only, through the same operations as the Builder; a removal or a fix that would lose data waits for an administrator's decision. Press Re-analyze after a fix.

Here, 0 actionable: Nothing to reconcile.

Check your metadata against the database, step 2: Read the findings, element by element (Differences with a fix; Expected, left alone; One card per element; Check again)
1Differences with a fix2Expected, left alone3One card per element4Check again

3Compare two environments

The Compare environments card compares this database with another instance, test against production for example. Press Export to compare here, then Load to compare on the other environment with that file: it shows every table, field (its whole format), choice, view, form, script and role that is only there, only here, or different, and makes a solution of what you tick, to carry across.

Check your metadata against the database, step 3: Compare two environments (On this side; On the other side)
1On this side2On the other side

What next