diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2024-08-02 18:37:37 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2024-08-02 18:37:37 -0100 |
commit | 726b7a699572fc7329a0db22ec8279e0cdd901fc (patch) | |
tree | e1a5773e03e655851cbcb1e66a2d4bea3346795d | |
parent | 5e1196095c039f4265c12454f855bd4987046f39 (diff) | |
download | nextcloud-server-726b7a699572fc7329a0db22ec8279e0cdd901fc.tar.gz nextcloud-server-726b7a699572fc7329a0db22ec8279e0cdd901fc.zip |
fix(metadata): revert wrongly renamed column
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-rw-r--r-- | apps/dav/lib/Migration/Version1031Date20240610134258.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/Migration/Version1031Date20240610134258.php b/apps/dav/lib/Migration/Version1031Date20240610134258.php index cf288dfac69..c1242ceb7db 100644 --- a/apps/dav/lib/Migration/Version1031Date20240610134258.php +++ b/apps/dav/lib/Migration/Version1031Date20240610134258.php @@ -17,7 +17,7 @@ use OCP\Migration\Attributes\ColumnType; use OCP\Migration\IOutput; use OCP\Migration\SimpleMigrationStep; -#[AddColumn(table: 'dav_absence', name: 'dav_absence', type: ColumnType::STRING)] +#[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 { @@ -27,7 +27,7 @@ class Version1031Date20240610134258 extends SimpleMigrationStep { $tableDavAbsence = $schema->getTable('dav_absence'); if (!$tableDavAbsence->hasColumn('replacement_user_id')) { - $tableDavAbsence->addColumn('dav_absence', Types::STRING, [ + $tableDavAbsence->addColumn('replacement_user_id', Types::STRING, [ 'notnull' => false, 'default' => '', 'length' => 64, |