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>
11 lines
305 B
SQL
11 lines
305 B
SQL
update public.projects
|
|
set name = 'Untitled Project ' || left(id::text, 8)
|
|
where length(trim(coalesce(name, ''))) = 0;
|
|
|
|
alter table public.projects
|
|
drop constraint if exists projects_name_not_blank;
|
|
|
|
alter table public.projects
|
|
add constraint projects_name_not_blank
|
|
check (length(trim(name)) > 0);
|