feat(social-media): add 'orden' field to social media pivot table and update related functionality
This commit is contained in:
@@ -107,8 +107,9 @@ class Tenant extends Model
|
||||
'codigo',
|
||||
'code'
|
||||
)
|
||||
->withPivot('url')
|
||||
->withTimestamps();
|
||||
->withPivot(['url', 'orden'])
|
||||
->withTimestamps()
|
||||
->orderByPivot('orden');
|
||||
}
|
||||
|
||||
public function menues(): BelongsToMany
|
||||
|
||||
Reference in New Issue
Block a user