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() not added to migration #61

Open
wemersonrv opened this issue Jul 25, 2018 · 1 comment
Open

->unique() not added to migration #61

wemersonrv opened this issue Jul 25, 2018 · 1 comment
Assignees

Comments

@wemersonrv
Copy link

Hi,

->unique() not added to migration.

Using MySQL Workbench 6.3.10 and latest version of plugin

@VeeeneX VeeeneX added the bug label Jan 23, 2019
@VeeeneX VeeeneX assigned VeeeneX and unassigned VeeeneX Jan 23, 2019
@VeeeneX VeeeneX removed the bug label Jan 23, 2019
@VeeeneX
Copy link
Collaborator

VeeeneX commented Jan 23, 2019

@wemersonrv That's true because indexes are treated separately by adding:

$table->unique(["unique_column"], 'unique_column_UNIQUE');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants