Skip to content

Make UserModel extendable #11

@nilsenpaul

Description

@nilsenpaul

I would like to be able to extend the UserModel, in such a way that I could, for instance, let the last_login column be of type DateTime. The only thing is, that the plugin's commands use a fixed reference to yii2mod\user\models\UserModel.

If the plugin itself would have a way of configuring the model to use, then all commands would use that model. Is this something that you would be willing to pull into the code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions