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.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/public/Migration/Attributes/IndexMigrationAttribute.php b/lib/public/Migration/Attributes/IndexMigrationAttribute.php
index 0d6e946890e..88b60a564b3 100644
--- a/lib/public/Migration/Attributes/IndexMigrationAttribute.php
+++ b/lib/public/Migration/Attributes/IndexMigrationAttribute.php
@@ -16,6 +16,13 @@ use JsonSerializable;
* @since 30.0.0
*/
class IndexMigrationAttribute extends MigrationAttribute implements JsonSerializable {
+ /**
+ * @param string $table name of the database table
+ * @param IndexType|null $type type of the index
+ * @param string $description description of the migration
+ * @param array $notes notes abour the migration/index
+ * @since 30.0.0
+ */
public function __construct(
string $table,
private ?IndexType $type = null,