BetaGuide
Schema drift
Drift means the database no longer matches what the app expects, usually because someone changed it outside MyAppBuilder. This feature is in beta .
Beta — ready to use, but some details may still change.
Drift means the database no longer matches what the app expects, usually because someone changed it outside MyAppBuilder. This feature is in beta.
How drift is detected
Every inspection and every Sync Database compares the database with the app's expected structure. When they differ, the Data view shows Database drift detected with a Review drift button.
Reviewing drift
The review lists each difference with Expected and Actual values and a status:
| Status | Meaning | What to do |
|---|---|---|
| Compatible | The app keeps working (for example an extra column or index) | Nothing |
| Needs review | It may affect the app (for example a column became nullable) | Check whether the change was intended |
| Breaking | The app can fail (for example a missing table or column, or an incompatible type) | Restore the expected structure, or change the app, then Sync Database |
Fixing drift
- If the change was a mistake, undo it in the database and select Sync Database again.
- If the change was intended, update the app's entities to match, then plan a new migration.
- Drift in your own existing tables is reported but never "fixed" by MyAppBuilder: those tables are yours.
Publishing is blocked while breaking drift exists for the target environment. See Publishing with a database.