I have 3 tables: Users, Admins and Files. Files table has refId which is foreign key to Users and Adm