Use MIGRATION_DIR environment variable (#2419)

This commit is contained in:
Sejun Park 2024-12-24 08:25:09 +09:00 committed by GitHub
parent 525ec30905
commit 3512c1ff47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.