# 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/aa322c13cd5f16a3f6254a931a4104e412cd687c/libs/checkpoint-postgres/langgraph/store/postgres/base.py#L54)