# HAMUR_E5510: A d1 connection is set with db.migrate build or start

A d1 connection is set with db.migrate build or start. Error `HAMUR_E5510` belongs to `@hamur/db` (5501 – 5600).

## Message

```text
HAMUR_E5510 db.connections.<d1> uses d1, whose migrations wrangler applies; build writes them to .output/migrations/<d1>
```

## Cause

A connection uses `d1`, whose migrations are applied by wrangler, and `db.migrate` is `"build"` or `"start"`.

## Fix

Apply the migrations from `.output/migrations/<name>` with wrangler, as the message says.
