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.

貢獻者指南