---
title: RELKIT_DB_HISTORY
description: "Migration history is missing or incompatible."
pagination: false
search:
  keywords: [RELKIT_DB_HISTORY]
sidebar:
  icon: triangle-alert
---

{/* Generated by apps/docs/scripts/generate.ts. Do not edit. */}

**Migration history is missing or incompatible.**

## What happened

`relkit db migrate` found no migration files, an empty history or one written for a different Drizzle version.

## What to do

Run the `db:generate` script (`npm run db:generate`, `pnpm run db:generate` or `bun run db:generate`), review the generated migrations for your installed Drizzle versions, then migrate again.

Reported by `@relkit/cli`, `relkit/diagnostics`.

See [all error codes](/docs/errors).
