Enhanced migration name detection for the make:migration, practically
all the possible combinations are allowed and handled correctly 👀😎.
Now is possible to pass the full migration name with the datetime prefix
and with the filename extension. All possible combinations are
supported.
Summarize, so an user can pass:
- classname that will be converted to the studly case
- filename without the datetime prefix (with or w/o extension)
- filename with the datetime prefix (with or w/o extension)
Migration classes can be named in two formats, CamelCase without the
datetime prefix and snake_case with the datetime prefix.
If the CamelCase name is used then the T_MIGRATION macro has to be
also used in the migration class.
- also added a new validations of the migration class names
While ORM can be disabled, Orm::Utils has been split into Orm::Utils
and Orm::Tiny::Utils (Orm::Tiny::TinyUtils alias).
So when ORM is disabled then utils used only in the ORM will be
excluded from a final build.
- bugfix cmake undefined ORM option in TinySources