Motivation
Defining migrations, it is sometimes handy to have additional information, coming through configuration or other means of passing runtime information.
However, as MigratorTrait's migrations function doesn't have a self, that is rather tricky.
Proposed Solutions
Add &self to MigratorTrait functions. So this can be used, if required.
Additional Information
Motivation
Defining migrations, it is sometimes handy to have additional information, coming through configuration or other means of passing runtime information.
However, as
MigratorTrait'smigrationsfunction doesn't have aself, that is rather tricky.Proposed Solutions
Add
&selftoMigratorTraitfunctions. So this can be used, if required.Additional Information