mirror of
https://github.com/thiloho/archtika.git
synced 2025-12-23 23:23:35 +01:00
Use full text search instead of ilike for search functionality
This commit is contained in:
@@ -11,7 +11,7 @@ DECLARE
|
||||
_allowed_mimetypes TEXT[] := ARRAY['image/png', 'image/svg+xml', 'image/jpeg', 'image/webp'];
|
||||
_max_file_size INT := 5 * 1024 * 1024;
|
||||
BEGIN
|
||||
IF octet_length($1) = 0 THEN
|
||||
IF OCTET_LENGTH($1) = 0 THEN
|
||||
RAISE invalid_parameter_value
|
||||
USING message = 'No file data was provided';
|
||||
END IF;
|
||||
|
||||
Reference in New Issue
Block a user