---
name: smithersai-smithers-migrate
description: "Copy the legacy bun:sqlite smithers.db into PGlite or Postgres and write the migrated.json marker. Run `smithers migrate --help` for usage details."
license: "MIT"
metadata:
  decimalai-skill-id: "1417e7fd-c660-44e5-a9e6-9ac9c9f01c22"
  decimalai-version-id: "56caac60-b1e7-4cf0-b57d-82ebb51f6ba9"
  decimalai-version: "1"
  decimalai-body-sha256: "44a4966074894957f2cfc2197b19755752df4bf3aa556541f36e998f7f734b7e"
  decimalai-name: "smithersai/smithers-migrate"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "agent-tooling"
  decimalai-source: "https://app.decimal.ai/s/smithersai-smithers-migrate@1/SKILL.md"
---
# smithers migrate

Copy the legacy bun:sqlite smithers.db into PGlite or Postgres and write the migrated.json marker.

## Options

| Flag | Type | Default | Description |
|------|------|---------|-------------|
| `--from` | `string` |  | Source backend; inferred when exactly one store has runs |
| `--to` | `string` |  | Target backend; required (pglite, postgres, or sqlite) |
| `--url` | `string` |  | Postgres connection URL when --to postgres |
| `--keepSqlite` | `boolean` | `true` | Keep the legacy SQLite database after a successful copy |
| `--agent` | `boolean` | `false` | Run the durable migrate-repair workflow instead of deterministic migration |
