Migrations
Migrations copied to clipboard
Not clear how to create migration of specific type from CLI
Good day!
I am truing to create migration of a certain type from cli.
Tried ./vendor/bin/migrate create --type=MODULE, ./vendor/bin/migrate create --type=ModuleMigration and some other variants - it creates only the default one. No clue to this in the command line help.
My humble attempts to debug SEEM to point that the argument is not parsed correctly.
Try ./vendor/bin/migrate create:module
That worked, thanks! Now I noticed those commands in the help list. But ./vendor/bin/migrate create -h still shows this option:
-t, --type=TYPE Alternative template type [default: "default"]
Should probably be removed or explained. Will leave this open for some time for @LostKobrakai to see.