add migration 033 to deduplicate format_types, fix 019 to use INSERT OR IGNORE

This commit is contained in:
Pontoporeia
2026-05-11 16:07:23 +02:00
parent 3ae22cd427
commit e5e76cfb70
2 changed files with 16 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ server {
# server_tokens off;
# Max upload size (for thesis files — can include video)
client_max_body_size 256M;
client_max_body_size 1024M;
client_body_timeout 300s;
# Logging
@@ -138,7 +138,7 @@ server {
fastcgi_pass unix:/var/run/php/php8.4-fpm.sock;
# Security parameters (must be <= client_max_body_size)
fastcgi_param PHP_VALUE "upload_max_filesize=256M \n post_max_size=256M";
fastcgi_param PHP_VALUE "upload_max_filesize=1024M \n post_max_size=1024M";
# Timeouts
fastcgi_read_timeout 300;
@@ -178,7 +178,7 @@ server {
fastcgi_pass unix:/var/run/php/php8.4-fpm.sock;
# Security parameters (must be <= client_max_body_size)
fastcgi_param PHP_VALUE "upload_max_filesize=256M \n post_max_size=256M";
fastcgi_param PHP_VALUE "upload_max_filesize=1024M \n post_max_size=1024M";
# Timeouts
fastcgi_read_timeout 300;