Support the ongoing development of Laravel.io →

ale1981

Joined 6 Jul 2015

Statistics

Threads 3
Replies 8
Solutions 0
Articles 0

updatedBy, createdBy, deletedBy - user ID or user name?

I store these columns in some of my Models, my question is, should I store the users id or the users...

0 Likes
7 Replies

Is this relationship possible in Laravel?

I have been banging my head for the last few hours trying to get this to work and have started to qu...

0 Likes
11 Replies

updating Carbon instance when saving Model triggers dirty flag

I am having problems with Laravel setting the dirty flag (isDirty getDirty) when I update a Model ev...

0 Likes
0 Replies
replied 9 years ago

updatedBy, createdBy, deletedBy - user ID or user name?

Yes my problem would be that the name could change, e.g if somebody gets married. @extjac so what so...

0 Likes
replied 9 years ago

updatedBy, createdBy, deletedBy - user ID or user name?

extjac said: i use created_by, updated_by and deleted_by too do you use the user ID or user name?

0 Likes
replied 9 years ago

Is this relationship possible in Laravel?

Update... $product = \Branch::with('productVariation')->findOrFail(1)->products()->wher...

0 Likes
replied 9 years ago

Is this relationship possible in Laravel?

public function company() { return $this->belongsTo('Company'); } public function variations...

0 Likes
replied 9 years ago

Is this relationship possible in Laravel?

currently I have; public function branch() { return $this->belongsToMany('Branch')->withPi...

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.