Dex
Override getTableKeyRecord function
Is it possible to override this function, because I am using a view from another connection without indexes, so filament doesnt like that.
I found out that I can just rewrite like
https://github.com/filamentphp/filament/discussions/3182
But where exactly because I don`t want to make it global in the vendor directory.
3 replies
Updating rows of a belongsToMany relationship
Is there a possibility to update the rows of the pivot table instead of deleting the row. For example I have 2 Table:
Table1 ( group )
ID
NAME
CHALLENGE_ID
Table2 (group_users -> pivot)
ID
GROUP_ID
USER_ID
IS_GROUP
When I do it as follow:
The record will be deleted from the pivot when I remove a user, instead I would like to update the updated_at for example.
23 replies