MigrateDownOptions interface
Everything migrateDown() needs: no globals and no environment are read.
Signature:
export interface MigrateDownOptions
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
string |
Postgres connection string for the database to roll back. | ||
|
boolean |
(Optional) Delete the migration folder after a successful rollback. | ||
|
boolean |
(Optional) Report the actions without changing anything. | ||
|
boolean |
(Optional) Only (re)generate missing | ||
|
(message: string) => void |
(Optional) Progress reporter (defaults to a no-op — the core stays silent). | ||
|
string |
Absolute path to the Prisma migrations directory. | ||
|
string |
Working directory for | ||
|
number |
(Optional) Number of most-recent applied migrations to roll back (default 1). |
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.