From bddd5b758ac0deb0561e05c5c56cf5fdd04ba668 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Fri, 1 Nov 2019 22:07:55 +0100 Subject: [PATCH] Use image/* mime type placeholder as filter for footprints attachment type. --- src/Migrations/Version20190924113252.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Migrations/Version20190924113252.php b/src/Migrations/Version20190924113252.php index b5a8adfb..e45d3f92 100644 --- a/src/Migrations/Version20190924113252.php +++ b/src/Migrations/Version20190924113252.php @@ -64,8 +64,8 @@ final class Version20190924113252 extends AbstractMigration //Before we drop the filename and filename_3d properties we have to migrate the data to attachments $this->addSql("INSERT IGNORE INTO `attachment_types` (`id`, `name`, `parent_id`, `comment`, `datetime_added`, `last_modified`, `filetype_filter`) VALUES - (1000, 'Footprints', NULL, 'Created during automatic migration of the footprint files.', current_timestamp(), current_timestamp(), 'apng, bmp, gif, ico, cur, jpg, jpeg, jfif, pjpeg, pjp, png, svg, webp'), - (1001, 'Footprints (3D)', NULL, 'Created during automatic migration of the footprint files.', current_timestamp(), current_timestamp(), 'x3d') + (1000, 'Footprints', NULL, 'Created during automatic migration of the footprint files.', current_timestamp(), current_timestamp(), 'image/*'), + (1001, 'Footprints (3D)', NULL, 'Created during automatic migration of the footprint files.', current_timestamp(), current_timestamp(), '.x3d') "); //Add a attachment for each footprint attachment