Skip to main content
Glama

migrate-apply

Apply pending database migration files to synchronize schema changes. Specify database URL and migration directory to execute or preview SQL updates.

Instructions

Apply pending migration files to a database

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesDatabase URL (required)
dirUrlNoURL to migration directory (e.g., file://migrations)
dryRunNoPrint SQL without executing
txModeNoTransaction mode: none, file, or all
baselineNoStart from a specific version
allowDirtyNoAllow applying on a non-clean database
formatNoOutput format: text or json

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mpreziuso/mcp-atlas'

If you have feedback or need assistance with the MCP directory API, please join our Discord server