There are two ways to solve this issue:
1. Upload the SQL file contained within a zip file; zip files are supported file types.
OR
2. Add a SQL file type into the database so that it allows the SQL file type as one of the supported files.
The below INSERT statement will need to be run against the versaSRS database. If you are adding a different file type ensure the MimeType value is correct. If security is a concern change the MimeType value to be 'text/plain'.
Once completed, refresh the application and the file type should now be supported.
NOTE: VersaDev takes no responsibility for any data corruption or loss incurred, be sure to take extra care not to remove or change any data by mistake when running queries/statements directly on the database, we recommend performing a backup and implementing on a test environment before performing on production.
INSERT INTO tbl_FileTypes (FileTypeID, FileExtension, MimeType, SendAsAttachment, IconFile)
VALUES (-100, 'SQL', 'application/sql', 1, 'web1.png')