Skip to content

Commit 3512c1f

Browse files
authored
Use MIGRATION_DIR environment variable (#2419)
1 parent 525ec30 commit 3512c1f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sea-orm-cli/src/cli.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ pub enum Commands {
6969
global = true,
7070
short = 'd',
7171
long,
72+
env = "MIGRATION_DIR",
7273
help = "Migration script directory.
7374
If your migrations are in their own crate,
7475
you can provide the root of that crate.

0 commit comments

Comments
 (0)