Use MIGRATION_DIR environment variable (#2419)
This commit is contained in:
parent
525ec30905
commit
3512c1ff47
@ -69,6 +69,7 @@ pub enum Commands {
|
|||||||
global = true,
|
global = true,
|
||||||
short = 'd',
|
short = 'd',
|
||||||
long,
|
long,
|
||||||
|
env = "MIGRATION_DIR",
|
||||||
help = "Migration script directory.
|
help = "Migration script directory.
|
||||||
If your migrations are in their own crate,
|
If your migrations are in their own crate,
|
||||||
you can provide the root of that crate.
|
you can provide the root of that crate.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user