aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Migration/Attributes/IndexMigrationAttribute.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Migration/Attributes/IndexMigrationAttribute.php')
-rw-r--r--lib/public/Migration/Attributes/IndexMigrationAttribute.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/public/Migration/Attributes/IndexMigrationAttribute.php b/lib/public/Migration/Attributes/IndexMigrationAttribute.php
index 33c5177c8ac..0d6e946890e 100644
--- a/lib/public/Migration/Attributes/IndexMigrationAttribute.php
+++ b/lib/public/Migration/Attributes/IndexMigrationAttribute.php
@@ -11,11 +11,13 @@ namespace OCP\Migration\Attributes;
use JsonSerializable;
/**
+ * generic class related to migration attribute about index changes
+ *
* @since 30.0.0
*/
class IndexMigrationAttribute extends MigrationAttribute implements JsonSerializable {
public function __construct(
- string $table = '',
+ string $table,
private ?IndexType $type = null,
string $description = '',
array $notes = [],