Support the ongoing development of Laravel.io →

gamer13

Joined 7 Aug 2014

Statistics

Threads 1
Replies 2
Solutions 1
Articles 0
posted 9 years ago

Polymorph relationship wrong ID in DB

Hello all! For a project of mine I have the following kind of structure in my database: animals: id...

0 Likes
4 Replies
Solved
replied 9 years ago

Polymorph relationship wrong ID in DB

Okay, the problem was not the way the I modeled the relationships... Somehow Animal::find(2)->fir...

0 Likes
Solved
replied 9 years ago

Polymorph relationship wrong ID in DB

I don't have a collectable or collectables class, but then what would be the relationship between th...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.