aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorskjnldsv <skjnldsv@protonmail.com>2024-10-29 11:21:56 +0100
committerskjnldsv <skjnldsv@protonmail.com>2024-10-29 11:21:56 +0100
commit22d674be66e97e87fd5577cabaf01412a8d011b5 (patch)
treeab5106cc5380fa138c970567a59c88511fb1afbc /core
parent3e6d18aaf63fe6ca350d4def240de39682af614f (diff)
downloadnextcloud-server-22d674be66e97e87fd5577cabaf01412a8d011b5.tar.gz
nextcloud-server-22d674be66e97e87fd5577cabaf01412a8d011b5.zip
fix(core): use Types::STRING in etag systemtag migration
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Diffstat (limited to 'core')
-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,
]);