eee0885811
- Remove recursive directory size calculations (single Seafile API call per list) - Remove 'Used in this location' usage display - Fix move using v2 per-type endpoints instead of broken batch endpoint - Send entry type from frontend for correct move routing Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
10 lines
216 B
SQL
10 lines
216 B
SQL
delete from public.company_members cm
|
|
using public.profiles p
|
|
where p.id = cm.profile_id
|
|
and p.role = 'external';
|
|
|
|
update public.profiles
|
|
set company_id = null
|
|
where role = 'external'
|
|
and company_id is not null;
|