I must be missing something or not understanding something.
I'm trying to build a module for an install, and I'd like to run the initial migration. So the module initial install migration for the DB lives in /modules/moduleName/migrations/Install.php
.
Nothing I run from the CLI seems to work:
./craft migrate/up
Only sees what is in the root /migrations/
folder; seems counter-intuitive to have a migrations folder in my module if I have to manually move them.
./craft migrate/up --plugin=everyVariationOfAPossibleHandleItMightFind
Doesn't work ever, as the module is installed and works, but it isn't a plugin so I guess it doesn't see it somehow (looking in the wrong place in the file system I would bet).
./craft migrate/up migrationPath=@app/modules/moduleName
Craft CLI doesn't seem carry that Yii CLI param, so I can't specify a path.
What am I missing? How do others handle custom module migrations in Craft 3?