Commit Graph

5 Commits

Author SHA1 Message Date
silverqx 9812c48662 bugfix undefined symbol
Occurred when was disabled tom and enabled orm.
2022-06-08 16:16:49 +02:00
silverqx 9520716307 enhanced migration name logic for make:migration
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)
2022-05-02 19:07:40 +02:00
silverqx 98c61891c3 enhanced migration classes naming
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
2022-05-02 10:59:30 +02:00
silverqx 5cd54ebbef converted tiny utils to library classes
- added Type::isTrue()
 - added studly() and splitStringByWidth() to StringUtils
 - used using XxUtils for all Tiny library classes everywhere
2022-04-13 19:32:42 +02:00
silverqx 92775f444c divided Orm::Utils
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
2022-01-01 14:28:42 +01:00