Use Byte[] instead of File for DTO

This commit is contained in:
2025-06-28 11:03:16 -07:00
parent c08cf9ff43
commit dbf9ad464c
5 changed files with 36 additions and 26 deletions
+1
View File
@@ -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;