Closed ewan-escience closed 4 months ago
Changes proposed in this pull request:
image
How to test:
docker compose down --volumes && docker compose build --parallel && docker compose up --scale data-generation=1
Note: you might have the non-existing MIME type image/jpg in the database. Before applying this in production, you should run the following SQL query:
image/jpg
UPDATE IMAGE SET mime_type = 'image/jpeg' WHERE mime_type = 'image/jpg';
Closes #1241
PR Checklist:
docker-compose.yml
Issues 0 New issues 0 Accepted issues
Measures 0 Security Hotspots 0.0% Coverage on New Code 0.0% Duplication on New Code
See analysis details on SonarCloud
Failed conditions 6.1% Duplication on New Code (required ≤ 3%)
Restrict MIME types for image table
Changes proposed in this pull request:
image
tableHow to test:
docker compose down --volumes && docker compose build --parallel && docker compose up --scale data-generation=1
Note: you might have the non-existing MIME type
image/jpg
in the database. Before applying this in production, you should run the following SQL query:Closes #1241
PR Checklist:
docker-compose.yml