fix(mysql): increase max media size restricted from 16kb to 4gb (#3839)

This commit is contained in:
Meier Lukas
2025-08-14 21:12:56 +02:00
committed by GitHub
parent c72c154305
commit 7ffcd1a08e
4 changed files with 2102 additions and 1 deletions

View File

@@ -0,0 +1 @@
ALTER TABLE `media` MODIFY COLUMN `content` LONGBLOB NOT NULL;

File diff suppressed because it is too large Load Diff

View File

@@ -239,6 +239,13 @@
"when": 1750013953833,
"tag": "0033_add_cron_job_configuration",
"breakpoints": true
},
{
"idx": 34,
"version": "5",
"when": 1754929897145,
"tag": "0034_increase-blob-size",
"breakpoints": true
}
]
}

View File

@@ -42,7 +42,7 @@ import type {
const customBlob = customType<{ data: Buffer }>({
dataType() {
return "BLOB";
return "LONGBLOB"; // Has max size of 4GB
},
});