We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Phinx does not allow you to specify the sort order on Index columns.
public function change() { $table = $this->table('users'); $table->addColumn('email', 'string') ->addColumn('username','string') ->addIndex(['email','username'], ['order' => ['email' => 'DESC', 'username' => 'ASC']]) ->create(); }
The text was updated successfully, but these errors were encountered:
PR welcome
Sorry, something went wrong.
Second this.
Index column sort order cakephp#1661
aaaa88f
Merge pull request #1888 from JRDuncan/master
a2d1afd
Index column sort order #1661
Successfully merging a pull request may close this issue.
Phinx does not allow you to specify the sort order on Index columns.
The text was updated successfully, but these errors were encountered: