diff --git a/lib/private/DB/SQLiteMigrator.php b/lib/private/DB/SQLiteMigrator.php index 6be17625476..a8b28832300 100644 --- a/lib/private/DB/SQLiteMigrator.php +++ b/lib/private/DB/SQLiteMigrator.php @@ -19,8 +19,8 @@ class SQLiteMigrator extends Migrator { foreach ($targetSchema->getTables() as $table) { foreach ($table->getColumns() as $column) { // column comments are not supported on SQLite - if ($column->getComment() !== null) { - $column->setComment(null); + if ($column->getComment() !== '') { + $column->setComment(''); } } }