aboutsummaryrefslogtreecommitdiffstats
path: root/core/Migrations/Version16000Date20190212081545.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Migrations/Version16000Date20190212081545.php')
-rw-r--r--core/Migrations/Version16000Date20190212081545.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/Migrations/Version16000Date20190212081545.php b/core/Migrations/Version16000Date20190212081545.php
index 6f6902bf177..dcb2722222a 100644
--- a/core/Migrations/Version16000Date20190212081545.php
+++ b/core/Migrations/Version16000Date20190212081545.php
@@ -92,9 +92,9 @@ class Version16000Date20190212081545 extends SimpleMigrationStep {
'length' => 1024,
]);
$table->setPrimaryKey(['id']);
- $table->addUniqueIndex(['poll_token']);
- $table->addUniqueIndex(['login_token']);
- $table->addIndex(['timestamp']);
+ $table->addUniqueIndex(['poll_token'], 'poll_token');
+ $table->addUniqueIndex(['login_token'], 'login_token');
+ $table->addIndex(['timestamp'], 'timestamp');
return $schema;
}