laravel-settings
laravel-settings copied to clipboard
Eloquent/PostgreSQL issue returning `id`
I needed to add this in order to make settings save
class EloquentStorage
protected $primaryKey = null; public $incrementing = false;
Same here
Postgresql user here. I solved this issue by adding
$table->increments('id');
to the migration file. It's a better solution in my opinion because we are not changing the code in the vendor
folder. Hope this helps.