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

Allow insert with only default values in postgresql #19804

Merged
merged 1 commit into from
Jun 28, 2017
Merged

Allow insert with only default values in postgresql #19804

merged 1 commit into from
Jun 28, 2017

Conversation

urusai88
Copy link
Contributor

CREATE TABLE t1 (
 id SERIAL
);
$entity = new T1();
$entity->save();

Generates

insert into t1 DEFAULT VALUES

instead of

insert into t1 () values ()

@urusai88 urusai88 changed the title Allow insert with only default values Allow insert with only default values in postgresql Jun 28, 2017
@taylorotwell taylorotwell merged commit ac29652 into laravel:5.4 Jun 28, 2017
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

Successfully merging this pull request may close these issues.

2 participants