diff --git a/appinfo/info.xml b/appinfo/info.xml
index 25b8b319e..f120d6322 100644
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -21,7 +21,7 @@ As of Hub 10 / Nextcloud 31, admins must be members of a team to assign that tea
Folder.
]]>
- 23.0.0-dev.0
+ 23.0.0-dev.1
agpl
Robin Appelman
GroupFolders
diff --git a/lib/Migration/Version102020Date20180806161449.php b/lib/Migration/Version102020Date20180806161449.php
index 9804184d1..e2c89d8de 100644
--- a/lib/Migration/Version102020Date20180806161449.php
+++ b/lib/Migration/Version102020Date20180806161449.php
@@ -40,7 +40,7 @@ public function changeSchema(IOutput $output, \Closure $schemaClosure, array $op
// from Version20000Date20250612140256.php
$table->addColumn('root_id', Types::BIGINT, ['notnull' => false]);
$table->addColumn('storage_id', Types::BIGINT, ['notnull' => false]);
- $table->addColumn('options', Types::TEXT, ['notnull' => false]);
+ $table->addColumn('options', Types::STRING, ['notnull' => false, 'length' => 255]);
$table->setPrimaryKey(['folder_id']);
}
diff --git a/lib/Migration/Version20001Date20250612140256.php b/lib/Migration/Version20001Date20250612140256.php
index eebed99e5..784802b68 100644
--- a/lib/Migration/Version20001Date20250612140256.php
+++ b/lib/Migration/Version20001Date20250612140256.php
@@ -42,7 +42,7 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt
$table->addColumn('storage_id', Types::BIGINT, ['notnull' => false]);
}
if (!$table->hasColumn('options')) {
- $table->addColumn('options', Types::TEXT, ['notnull' => false]);
+ $table->addColumn('options', Types::STRING, ['notnull' => false, 'length' => 255]);
}
return $schema;
}
diff --git a/lib/Migration/Version2300000Date20260702104200.php b/lib/Migration/Version2300000Date20260702104200.php
new file mode 100644
index 000000000..c90a943de
--- /dev/null
+++ b/lib/Migration/Version2300000Date20260702104200.php
@@ -0,0 +1,42 @@
+getTable('group_folders');
+ if (!$table->hasColumn('options') || $table->getColumn('options')->getType() !== Type::getType(Types::TEXT)) {
+ return null;
+ }
+
+ $table->modifyColumn('options', [
+ 'notnull' => false,
+ 'length' => 255,
+ 'type' => Type::getType(Types::STRING),
+ ]);
+
+ return $schema;
+ }
+}