Skip to content
New issue

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

Unique constraints on multiple columns #26

Open
alessandro-c opened this issue Dec 22, 2016 · 0 comments
Open

Unique constraints on multiple columns #26

alessandro-c opened this issue Dec 22, 2016 · 0 comments
Assignees

Comments

@alessandro-c
Copy link

Hi,
I noticed that the generator seems not handling the case of unique index on multiple columns

screen shot 2016-12-22 at 21 04 00

will generate

$table->unique('api_key');
$table->unique('api_secret');

rather than

$table->unique(['api_key','api_secret']);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants