Use Byte[] instead of File for DTO
This commit is contained in:
@@ -32,6 +32,7 @@ CREATE TABLE IF NOT EXISTS `ProductImage` (
|
||||
`ImageID` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`ProductID` int(11) NOT NULL,
|
||||
`Image` MEDIUMBLOB,
|
||||
`Name` varchar(60) DEFAULT NULL,
|
||||
PRIMARY KEY (`ImageID`,`ProductID`)
|
||||
) AUTO_INCREMENT=1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user