fix: compatibility with identity columns in postgres
fix: compatibility with identity columns in postgres

(quickfix)
for example: 'INT GENERATED BY DEFAULT AS IDENTITY'

Don't use SERIAL:
https://wiki.postgresql.org/wiki/Don%27t_Do_This#Don.27t_use_serial

The problem was that by not identifying the column containing the string "nextval(" characteristic of the "SERIAL" type of the identity columns, the option "public $incrementing = false" was created in the model, which caused that when using the model::updateOrCreate this last one did not return the ID of the newly created element.

reliese/laravel