revert_to_migration
Reverts database schema migrations up to a specified target using applied migration filenames, allowing precise control over schema rollbacks in PocketBase MCP Server.
Instructions
Revert migrations up to a specific target.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
appliedMigrations | No | Array of already applied migration filenames. | |
targetMigration | Yes | Name of the migration to revert to (exclusive). Use empty string to revert all. |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from PocketBase MCP Server
- add_field_migration
- apply_all_migrations
- apply_migration
- create_collection_migration
- create_migration
- create_record
- download_file
- fetch_record
- get_collection_schema
- get_log
- get_logs_stats
- list_collections
- list_logs
- list_migrations
- list_records
- revert_migration
- revert_to_migration
- set_migrations_directory
- update_record
- upload_file
Related Tools
- @mabeldata/pocketbase-mcp
- @mabeldata/pocketbase-mcp
- @mabeldata/pocketbase-mcp
- @mabeldata/pocketbase-mcp
- @DynamicEndpoints/pocketbase-mcp-server