Skip to content

Update status of a migration

POST
/api/v4/admin/migrations/{timestamp}/mark

Updates the status of a migration to indicate a successful execution. This prevent them from being executed by the db:migrate tasks. Use this API to skip failing migrations after you determine they are safe to skip.

timestamp
required
integer

The migration version timestamp

Media type application/json
object
database

The name of the database

string
default: main nullable
Allowed values: main ci sec embedding geo

201 Created

Bad Request

401 Unauthorized

403 Forbidden

404 Not found

You can mark only pending migrations