CREATE TABLE images (
    id int(11) NOT NULL AUTO_INCREMENT,
    userId int(25) NOT NULL, 
    image longblob NOT NULL,
    uploaded datetime NOT NULL,
    PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;