Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make UserModel extendable #11

Open
nilsenpaul opened this issue Feb 26, 2018 · 0 comments
Open

Make UserModel extendable #11

nilsenpaul opened this issue Feb 26, 2018 · 0 comments

Comments

@nilsenpaul
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant