aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorskjnldsv <skjnldsv@protonmail.com>2024-10-22 15:56:03 +0200
committerskjnldsv <skjnldsv@protonmail.com>2024-10-29 09:08:31 +0100
commit14e2a8d3f982656e2a7c23c006fd59fdeebc80bd (patch)
tree216f9b391e4815daed88dbbf475252ad89fc42ae /core
parentf24b93e5067e54244d14eb08ad8ed8330a03724b (diff)
downloadnextcloud-server-14e2a8d3f982656e2a7c23c006fd59fdeebc80bd.tar.gz
nextcloud-server-14e2a8d3f982656e2a7c23c006fd59fdeebc80bd.zip
feat(systemtags): add etag support and handle proppatch
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Diffstat (limited to 'core')
-rw-r--r--core/Migrations/Version31000Date20241018063111.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/Migrations/Version31000Date20241018063111.php b/core/Migrations/Version31000Date20241018063111.php
index eda5c5c40f9..b9326f388e5 100644
--- a/core/Migrations/Version31000Date20241018063111.php
+++ b/core/Migrations/Version31000Date20241018063111.php
@@ -37,6 +37,17 @@ class Version31000Date20241018063111 extends SimpleMigrationStep {
}
}
+ if ($schema->hasTable('systemtag')) {
+ $table = $schema->getTable('systemtag');
+
+ if (!$table->hasColumn('etag')) {
+ $table->addColumn('etag', 'string', [
+ 'notnull' => false,
+ 'length' => 32,
+ ]);
+ }
+ }
+
return $schema;
}
}