aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorKate <26026535+provokateurin@users.noreply.github.com>2024-10-30 10:50:36 +0100
committerGitHub <noreply@github.com>2024-10-30 10:50:36 +0100
commitd3910a432a6c172ef07acadc9a50a6d31545299c (patch)
tree02334dc71777da30242e6a5d00ae1f72051df3d1 /core
parentdac15d13d761d27e1757ca7aa1e8bf4cce4a2351 (diff)
parentd5475e9d05b126fb868de693a31e715da45f70c9 (diff)
downloadnextcloud-server-d3910a432a6c172ef07acadc9a50a6d31545299c.tar.gz
nextcloud-server-d3910a432a6c172ef07acadc9a50a6d31545299c.zip
Merge pull request #48986 from nextcloud/feat/systemtags-missing-attrs
Diffstat (limited to 'core')
-rw-r--r--core/Migrations/Version31000Date20241018063111.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/Migrations/Version31000Date20241018063111.php b/core/Migrations/Version31000Date20241018063111.php
index eefda981dcb..ce4c42df159 100644
--- a/core/Migrations/Version31000Date20241018063111.php
+++ b/core/Migrations/Version31000Date20241018063111.php
@@ -12,12 +12,18 @@ namespace OC\Core\Migrations;
use Closure;
use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
+use OCP\Migration\Attributes\AddColumn;
+use OCP\Migration\Attributes\AddIndex;
+use OCP\Migration\Attributes\ColumnType;
+use OCP\Migration\Attributes\IndexType;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
/**
* Add objecttype index to systemtag_object_mapping
*/
+#[AddColumn(table: 'systemtag', name: 'etag', type: ColumnType::STRING, description: 'Adding etag for systemtag table to prevent conflicts')]
+#[AddIndex(table: 'systemtag_object_mapping', type: IndexType::INDEX, description: 'Adding objecttype index to systemtag_object_mapping')]
class Version31000Date20241018063111 extends SimpleMigrationStep {
/**