mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-03 06:44:03 +01:00
Store uploads metadata in a separate sql database table instead of a session (#8415)
This commit is contained in:
@@ -251,6 +251,20 @@ CREATE TABLE filestore (
|
||||
|
||||
CREATE UNIQUE INDEX ix_filestore_user_id ON filestore(user_id, context, filename);
|
||||
|
||||
--
|
||||
-- Table structure for table uploads
|
||||
--
|
||||
|
||||
CREATE TABLE uploads (
|
||||
upload_id varchar(64) NOT NULL PRIMARY KEY,
|
||||
session_id varchar(128) NOT NULL,
|
||||
"group" varchar(128) NOT NULL,
|
||||
metadata text NOT NULL,
|
||||
created datetime NOT NULL default '0000-00-00 00:00:00'
|
||||
);
|
||||
|
||||
CREATE INDEX ix_uploads_session_id ON uploads (session_id, "group", created);
|
||||
|
||||
--
|
||||
-- Table structure for table system
|
||||
--
|
||||
@@ -260,4 +274,4 @@ CREATE TABLE system (
|
||||
value text NOT NULL
|
||||
);
|
||||
|
||||
INSERT INTO system (name, value) VALUES ('roundcube-version', '2022081200');
|
||||
INSERT INTO system (name, value) VALUES ('roundcube-version', '2022100100');
|
||||
|
||||
Reference in New Issue
Block a user