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

bigint primary key assumed as auto incrementing

Open marekr opened this issue 7 years ago • 1 comments

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.

marekr avatar May 01 '17 03:05 marekr

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".

marekr avatar May 01 '17 03:05 marekr