Create Migration

Use this skill whenever you change the shape of the 0.5 backend database — a new table, a new column, an index, a constraint, a backfill, or a data reshape. It owns the authoring contract (one numbered .sql file under services/platform/backend/db/migrations/, applied at boot in filename order inside one advisory lock), the forward-only doctrine (every migration must be safe to apply to a live deployment mid-roll, because the previous image is still serving while the new one migrates), the org-config file lane (config trees are NOT database rows — they move through the scaffolder), and the proof duty (the real-Postgres integration check). Load it before adding anything under backend/db/migrations/.

tale-project ded1277 2 files · 6.3 KB Updated

File contents

tale-project/tale/tree/main/.agents/skills/create-migration commit ded127792e

Frequently asked questions

npx skillmds@latest add tale-project/create-migration