Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Have MigratorTrait use self #2803

@ctron

Description

@ctron

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions