Ensure unknown data type is present and registered in settings table
re-purposed to add built-in support for the unknown data type
fix syntax error on maria
UPDATE data_type
SET unknown = 1
WHERE id = (
- SELECT [value]
+ SELECT value
FROM settings
WHERE name = 'settings.data-type.unknown-id'
)
