Skip to content

Commit

Permalink
新增数据库索引
Browse files Browse the repository at this point in the history
  • Loading branch information
doyouhaobaby committed Mar 17, 2023
1 parent df76b91 commit 8db97a1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Leevel/Database/SelectDatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,12 @@ protected function selectDatabase(): void
InputOption::VALUE_REQUIRED,
'Select database.',
);

$this->addOption(
'databaseindex',
null,
InputOption::VALUE_REQUIRED,
'Select database index.',
);
}
}

0 comments on commit 8db97a1

Please sign in to comment.