v1

latestOpenAPI 3.1.02026-07-17753796.1 KB
Contao API

Starts a database migration task.

put/api/contao/database-migration

Request body

hashstring

The migration hash to execute. If no hash is given, a --dry-run is executed to get pending migrations.

type'migrations-only' | 'schema-only'

If only migrations or only schema updates should be checked.

withDeletesboolean

Executes migrations including DROP queries.

Response

The database migration task was started successfully.