# db (https://lazyfrog.dev/docs/tools/db)

{/* Generated by scripts/generate-docs.ts from the gateway's registered tools. Do not edit. */}

**{"Database actions"}** · Can change or delete · actions: `migrate`

<p>{"action \"migrate\": apply pending migrations/*.sql files to the preview database, in order, each in its own transaction (an automatic snapshot is taken first). Production is migrated when you publish."}</p>
