mirror of
https://github.com/Since-3/since3-portal.git
synced 2026-10-12 20:51:17 +00:00
added efficenciy
This commit is contained in:
parent
bc9b0b925e
commit
7ac5713193
8 changed files with 168 additions and 38 deletions
|
|
@ -0,0 +1,7 @@
|
|||
-- Kleine Vorschaubilder (JPEG, im Browser beim Upload erzeugt) neben dem Original
|
||||
alter table public.documents
|
||||
add column if not exists thumbnail_path text;
|
||||
|
||||
alter table public.documents
|
||||
add constraint documents_thumbnail_path_matches_client
|
||||
check (thumbnail_path is null or split_part(thumbnail_path, '/', 1) = client_id::text);
|
||||
Loading…
Add table
Add a link
Reference in a new issue