mysql-workbench-export-laravel-5-migrations
mysql-workbench-export-laravel-5-migrations copied to clipboard
bigint primary key assumed as auto incrementing
I have tables where the primary key is a big integer but it is not auto incrementing. The generated laravel migrations used bigIncrements instead of bigInteger.
Actually speaking of primary key oddities. I had another table where the primary key is an varchar(14) and of course its not auto incrementing. The generated laravel model was "increments".