revert_migration
Revert a specific migration file in PocketBase databases to undo schema changes. Specify the migration file name to execute the rollback process.
Instructions
Revert a specific migration file.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
migrationFile | Yes | Name of the migration file to revert. |
Input Schema (JSON Schema)
{
"properties": {
"migrationFile": {
"description": "Name of the migration file to revert.",
"type": "string"
}
},
"required": [
"migrationFile"
],
"type": "object"
}