Skip to content

Version - User polymorphic relationship #73

@MartinPetricko

Description

@MartinPetricko

First of all thanks for creating this package. Love how simple and useful it is! ❤️

I would like to propose a change in how version author is stored. At the moment there is no simple way to keep versions from multiple user models. Some applications can have multiple guards with different model providers, while sharing some of the resources. For example we can have Admin, User and both of them can edit an Article.

Would there be any problem with changing Version - User relationship from belongsTo to morphTo?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions