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

Add models to AppServiceProvider.php Relation::morphMap #24

Closed
inikoo opened this issue Apr 6, 2024 · 1 comment
Closed

Add models to AppServiceProvider.php Relation::morphMap #24

inikoo opened this issue Apr 6, 2024 · 1 comment
Assignees
Labels
core 🗿 foundations

Comments

@inikoo
Copy link
Owner

inikoo commented Apr 6, 2024

We can skip xxxStats because they are will never be inside a morph (I hope)

We will separate then (with comments) in the modules as in app/Model folder
Screenshot 2024-04-06 at 20 20 02

we need to do this so we can refactor code later on with out breaking the app (Old model path is stored in the database)

@inikoo inikoo added the core 🗿 foundations label Apr 6, 2024
@inikoo inikoo changed the title Add all models to AppServiceProvider.php Relation::morphMap Add models to AppServiceProvider.php Relation::morphMap Apr 6, 2024
inikoo added a commit that referenced this issue Apr 6, 2024
@inikoo inikoo added this to the DB foundations milestone Apr 10, 2024
@inikoo
Copy link
Owner Author

inikoo commented Apr 12, 2024

@itzArtha we need to make all models that can but morphed by Universal search are in that array, no need to put Stats models or pivot models.

Would be nice is we kind of separate by module using comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core 🗿 foundations
Projects
Archived in project
Development

No branches or pull requests

2 participants