aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
diff options
context:
space:
mode:
authorStephan Orbaugh <62374139+sorbaugh@users.noreply.github.com>2024-08-06 13:27:04 +0200
committerGitHub <noreply@github.com>2024-08-06 13:27:04 +0200
commit5c54a3caa752d2faa8363bf1c37658705864f729 (patch)
tree751b9ee771375a6ca8388d65c611327fac947b40 /apps/dav/lib
parent7a7f259f3c3c3d9eb7e58d1e0f1ee93090582c80 (diff)
parent726b7a699572fc7329a0db22ec8279e0cdd901fc (diff)
downloadnextcloud-server-5c54a3caa752d2faa8363bf1c37658705864f729.tar.gz
nextcloud-server-5c54a3caa752d2faa8363bf1c37658705864f729.zip
Merge pull request #46974 from nextcloud/fix/noid/add-metadata-to-migrationsteps
feat(migrations): add metadata to existing migrations
Diffstat (limited to 'apps/dav/lib')
-rw-r--r--apps/dav/lib/Migration/Version1031Date20240610134258.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/dav/lib/Migration/Version1031Date20240610134258.php b/apps/dav/lib/Migration/Version1031Date20240610134258.php
index 4e5e2218c41..c1242ceb7db 100644
--- a/apps/dav/lib/Migration/Version1031Date20240610134258.php
+++ b/apps/dav/lib/Migration/Version1031Date20240610134258.php
@@ -12,9 +12,13 @@ namespace OCA\DAV\Migration;
use Closure;
use OCP\DB\ISchemaWrapper;
use OCP\DB\Types;
+use OCP\Migration\Attributes\AddColumn;
+use OCP\Migration\Attributes\ColumnType;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
+#[AddColumn(table: 'dav_absence', name: 'replacement_user_id', type: ColumnType::STRING)]
+#[AddColumn(table: 'dav_absence', name: 'replacement_user_display_name', type: ColumnType::STRING)]
class Version1031Date20240610134258 extends SimpleMigrationStep {
public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
/** @var ISchemaWrapper $schema */