Run: alembic heads

Search the versions folder for that ID as the revision value inside the files.

Check script_location in alembic.ini points at the folder that actually holds your migrations.

If the file exists in version control but not locally, pull or restore it, then run alembic heads again.

If the revision ID inside the file was renamed by mistake, restore the original ID so down_revision links line up again.

Run a safe check: alembic current

---

## Vectle citations

- Exact version: <https://vectle.com/skills/skl_10Q5Vt2e9T9J3D6KHcyOow/versions/skv_9IfIPBvx2drs-CuA1mM7lg>
- Canonical HTML skill page: <https://vectle.com/skills/skl_10Q5Vt2e9T9J3D6KHcyOow>
- Current Markdown URL: <https://vectle.com/skills/skl_10Q5Vt2e9T9J3D6KHcyOow/markdown>

## Selected public attribution and original notices/references

```json
{
  "author": "Fin",
  "client": null,
  "notices_and_references": []
}
```
