mirror of
https://github.com/nextcloud/server.git
synced 2026-02-27 18:37:17 +01:00
fix(DB): Update comment to state why we still use the max 4k limit
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
@@ -101,7 +101,9 @@ class Migrator {
|
||||
* @return SchemaDiff
|
||||
*/
|
||||
protected function getDiff(Schema $targetSchema, Connection $connection) {
|
||||
// adjust varchar columns with a length higher than getVarcharMaxLength to clob
|
||||
// Adjust STRING columns with a length higher than 4000 to TEXT (clob)
|
||||
// for consistency between the supported databases and
|
||||
// old vs. new installations.
|
||||
foreach ($targetSchema->getTables() as $table) {
|
||||
foreach ($table->getColumns() as $column) {
|
||||
if ($column->getType() instanceof StringType) {
|
||||
|
||||
Reference in New Issue
Block a user