implemented user photos! (imagestore table, ImageRetrieve servlet, a lot of
the underlying support) - incidentally, this is a lot of support for the SIG logo as well, just need some front end work for that in the future (of course, we now require JAI 1.1.1)
This commit is contained in:
@@ -414,6 +414,16 @@ CREATE TABLE adverts (
|
||||
linkurl VARCHAR(255)
|
||||
);
|
||||
|
||||
# Storage space for uploaded images.
|
||||
CREATE TABLE imagestore (
|
||||
imgid INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||
typecode SMALLINT DEFAULT 0,
|
||||
ownerid INT,
|
||||
mimetype VARCHAR(128) NOT NULL,
|
||||
length INT NOT NULL,
|
||||
data MEDIUMBLOB
|
||||
);
|
||||
|
||||
##############################################################################
|
||||
# Set table access rights
|
||||
##############################################################################
|
||||
|
||||
Reference in New Issue
Block a user