Why relation with morph table raised error?
Having a morph table in laravel 10 app :
I Have error “SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘0’ in ‘field list'”
When i update table, laravel is broken
On another site same code work well
chain activities based on start/end date
I have an Timeline
model with start
and end
timestamps (and other details).
Laravel replaces the connection parameter with the default one
I have a model with a connection to a different database and when I save the model the connection is returning to default one.
How to dynamically manage the ‘owners/{ownerUUID}’ prefix in Laravel API routes?
In my Laravel application, I have many duplicate routes with the prefix owners/{ownerUUID}. For example, I have a route like this:
Why Laravel “limit” clause for relationships doesn’t work as expected?
I have basically this database structure:
Grouping returned collection by a date – Laravel
I’ve got this function:
How reading data from pivot model to check if some Id found in result set?
On laravel 11 site User model has pivot reference to tasks table
Multi belongsToMany in Laravel Eloquent
I’m wondering if there’s better way than just the query it self.
How to use hasManyThrough with reference to morph table?
On laravel site with 3 related tables :