mirror of
https://github.com/nextcloud/server.git
synced 2026-02-11 14:54:02 -05: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:
parent
ccb01b19a0
commit
570159e610
1 changed files with 3 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue