We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 221bef8 commit afbd7beCopy full SHA for afbd7be
src/Schema/Blueprint/ModifiesIndexes.php
@@ -15,7 +15,7 @@ trait ModifiesIndexes
15
*/
16
public function shardKey($columns)
17
{
18
- return $this->indexCommand('shardKey', $columns, null);
+ return $this->indexCommand('shardKey', $columns, 'shardKeyName');
19
}
20
21
/**
@@ -25,7 +25,7 @@ public function shardKey($columns)
25
26
public function sortKey($columns, $direction = 'asc')
27
28
- $command = $this->indexCommand('sortKey', $columns, null);
+ $command = $this->indexCommand('sortKey', $columns, 'sortKeyName');
29
$command->direction = $direction;
30
31
return $command;
0 commit comments