You can create a database column with the type blob CREATE TABLE users(username TEXT, profile_picture BLOB, bio TEXT); and then pass the file path like this INSERT INTO users(username,profile_picture,bio) VALUES(?,LOAD_FILE('file/path.png'),?);
CREATE TABLE users(username TEXT, profile_picture BLOB, bio TEXT);
INSERT INTO users(username,profile_picture,bio) VALUES(?,LOAD_FILE('file/path.png'),?);