Export with custom guard

Hi All, have an app with V3 filament,
for auth I use custom guard with the agents table sofar auth works fine, but I have a problem implementing export. This problem is because the export table has a relationship with the
users
table with
user_id
whereas I use the agents table.
so if I run export I get errors exports, CONSTRAINT exports_user_id_foreign FOREIGN KEY ('user_id') REFERENCES 'users' ('id') ON DELETE CASCADE and other problems I use many panels and of course, I use guard with
user
and implement export, so how to use export in multiple guards?
Was this page helpful?