aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2024-08-02 01:22:44 -0100
committerMaxence Lange <maxence@artificial-owl.com>2024-08-02 18:26:12 -0100
commit5e1196095c039f4265c12454f855bd4987046f39 (patch)
treeabe1ea362a3b2d813fe542d26d6c4f0fc8ad5c70 /apps/files_trashbin
parent8f70441f84860956035087894a59ba0d34e14d6b (diff)
downloadnextcloud-server-5e1196095c039f4265c12454f855bd4987046f39.tar.gz
nextcloud-server-5e1196095c039f4265c12454f855bd4987046f39.zip
feat(migrations): add metadata to existing migrations
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r--apps/files_trashbin/lib/Migration/Version1020Date20240403003535.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files_trashbin/lib/Migration/Version1020Date20240403003535.php b/apps/files_trashbin/lib/Migration/Version1020Date20240403003535.php
index a977f5be43a..3e85edf40b6 100644
--- a/apps/files_trashbin/lib/Migration/Version1020Date20240403003535.php
+++ b/apps/files_trashbin/lib/Migration/Version1020Date20240403003535.php
@@ -12,9 +12,12 @@ namespace OCA\Files_Trashbin\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: 'files_trash', name: 'deleted_by', type: ColumnType::STRING)]
class Version1020Date20240403003535 extends SimpleMigrationStep {
/**