yogthos/migratus

Base directory is hardcoded for init script

开放

#268 创建于 2024年10月1日

 (13 条评论) (0 个反应) (0 位负责人)Clojure (99 个派生)github user discovery
enhancementhelp wanted

仓库指标

星标
 (686 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

I'm writing an adapter around Migratus for an internal task runner. I'd like to write tests for it, and I'd like those tests to use a suite of migrations in my project's test_resources directory. I see there is a :parent-migration-dir option which controls where Migratus looks for the migrations directory, and this project's own tests use that option to run test migrations. The init function, however, does not respect this setting; it always looks in resources.

贡献者指南