use BLOB datatype for binary data in mysql and sqlite