v1

latestOpenAPI 3.0.02026-07-14169146300.3 KB
Database

Patch an existing entry in migration history

Only available to selected partner OAuth apps

patch/v1/projects/{ref}/database/migrations/{version}

Path parameters

refstring required
Example:abcdefghijklmnopqrst

Project ref

versionstring required
Example:20250312000000

Request body

namestring
rollbackstring

Example request

{
  "name": "create_widgets_table",
  "rollback": "drop table if exists public.widgets;"
}