Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eloquent/PostgreSQL issue returning id #7

Open
adriandrozdz opened this issue Sep 21, 2017 · 2 comments
Open

Eloquent/PostgreSQL issue returning id #7

adriandrozdz opened this issue Sep 21, 2017 · 2 comments

Comments

@adriandrozdz
Copy link

I needed to add this in order to make settings save

class EloquentStorage

protected $primaryKey = null; public $incrementing = false;

@andresilva-cc
Copy link

Same here

@lsthor
Copy link

lsthor commented Oct 10, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants