Skilirium

Explains schema migration and rollback

K-857 · Knowledge knobit · Activity: Generate and review DDL · Competence: Data modelling

Changes to a populated database need migrations and backfills; dropping tables is not a rollback.

Can AI do this?

AI does this partly Some of the tested AI models master this; others do not show it. 3 of 10 models master it.

ModelTierProbability of masteryStatus
gemini-4-argonFlagship 100%Mastered
gemini-3.1-pro-previewFlagship 75%Not shown
gpt-6-astraFlagship 100%Mastered
claude-fable-5-1Flagship 76%Not shown
gemini-3.8-flashMid tier 75%Not shown
gpt-6.1-solMid tier 100%Mastered
claude-sonnet-5-5Mid tier 76%Not shown
gemini-3.5-flash-liteLow cost 76%Not shown
gpt-6-lunaLow cost 75%Not shown
claude-haiku-5-5Low cost 76%Not shown

Mastered means a probability of at least 90% that the model has this knobit, estimated from its graded answers. “Not shown” means the answers do not settle it either way. How the models are tested.

What it looks like in practice

Expected result: Changes to a populated database need migrations and backfills; dropping tables is not a rollback

How it is assessed: Plans the migration and rollback for sample changes

Related knobits

Needed for

All 33 knobits of Generate and review DDL.

Source: Data-management practice used by the stage 8 reference and review checklist