# Migration

> **Class** in `langgraph.store.postgres`

📖 [View in docs](https://reference.langchain.com/python/langgraph.store.postgres/base/Migration)

A database migration with optional conditions and parameters.

## Signature

```python
Migration()
```

## Extends

- `NamedTuple`

## Properties

- `sql`
- `params`
- `condition`

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/fde3068970679184b68d3d068a92c83c966a4888/libs/checkpoint-postgres/langgraph/store/postgres/base.py#L55)