aboutsummaryrefslogtreecommitdiffstats
path: root/core/Migrations/Version31000Date20241018063111.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Migrations/Version31000Date20241018063111.php')
-rw-r--r--core/Migrations/Version31000Date20241018063111.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Migrations/Version31000Date20241018063111.php b/core/Migrations/Version31000Date20241018063111.php
index b9326f388e5..eefda981dcb 100644
--- a/core/Migrations/Version31000Date20241018063111.php
+++ b/core/Migrations/Version31000Date20241018063111.php
@@ -10,6 +10,7 @@ declare(strict_types=1);
namespace OC\Core\Migrations;
use Closure;
+use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
@@ -41,7 +42,7 @@ class Version31000Date20241018063111 extends SimpleMigrationStep {
$table = $schema->getTable('systemtag');
if (!$table->hasColumn('etag')) {
- $table->addColumn('etag', 'string', [
+ $table->addColumn('etag', Types::STRING, [
'notnull' => false,
'length' => 32,
]);