yogthos/migratus

Base directory is hardcoded for init script

オープン

#268 opened on 2024/10/01

 (13 件のコメント) (0 件のリアクション) (0 人の担当者)Clojure (99 件のフォーク)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (686 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド