mysql-workbench-export-laravel-5-migrations icon indicating copy to clipboard operation
mysql-workbench-export-laravel-5-migrations copied to clipboard

->unique() not added to migration

Open wemersonrv opened this issue 6 years ago • 1 comments

Hi,

->unique() not added to migration.

Using MySQL Workbench 6.3.10 and latest version of plugin

wemersonrv avatar Jul 25 '18 12:07 wemersonrv

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

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

VeeeneX avatar Jan 23 '19 22:01 VeeeneX