Skip to content

Commit afbd7be

Browse files
committed
Add dummy index name
1 parent 221bef8 commit afbd7be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Schema/Blueprint/ModifiesIndexes.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ trait ModifiesIndexes
1515
*/
1616
public function shardKey($columns)
1717
{
18-
return $this->indexCommand('shardKey', $columns, null);
18+
return $this->indexCommand('shardKey', $columns, 'shardKeyName');
1919
}
2020

2121
/**
@@ -25,7 +25,7 @@ public function shardKey($columns)
2525
*/
2626
public function sortKey($columns, $direction = 'asc')
2727
{
28-
$command = $this->indexCommand('sortKey', $columns, null);
28+
$command = $this->indexCommand('sortKey', $columns, 'sortKeyName');
2929
$command->direction = $direction;
3030

3131
return $command;

0 commit comments

Comments
 (0)