Default migrator for the Tier 2 run-migration tool. Shells out to the
project's own :migrate alias in the current working directory.
Why shell out (like the test-runner): migrations need the project's full
classpath and config (datasource, env), not the MCP server's. Injected as the
:migrator dep, so it is swappable and stubbable in tests.
Default migrator for the Tier 2 `run-migration` tool. Shells out to the project's own `:migrate` alias in the current working directory. Why shell out (like the test-runner): migrations need the *project's* full classpath and config (datasource, env), not the MCP server's. Injected as the `:migrator` dep, so it is swappable and stubbable in tests.
(default-migrator direction)Run the project's migrations for direction ("up" | "status") and return
{:status :ok | :error :exit n :raw-tail str}.
Run the project's migrations for `direction` ("up" | "status") and return
{:status :ok | :error :exit n :raw-tail str}.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |