mysql-workbench-export-laravel-5-migrations
mysql-workbench-export-laravel-5-migrations copied to clipboard
->unique() not added to migration
Hi,
->unique()
not added to migration.
Using MySQL Workbench 6.3.10 and latest version of plugin
@wemersonrv That's true because indexes are treated separately by adding:
$table->unique(["unique_column"], 'unique_column_UNIQUE');