As from version 3.1, multiple documents per ingredient is supported, hence the SDS field has been removed from the Technical Data section and a new separated section has been added called Documents.
If you have stored any SDS documents in previous versions, you have to manually migrate them to the new format. To do that, we have created a script under the helpers directory which needs to be executed in the command line as follows:
php helpers/migrate_docs.php
The script will check your db and will do the following:
- convert your files to the new format
- update your db
- remove the old documents from the filesystem
- update the DB schema
WARNING: Please make sure you have taken a full backup before executing the script