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

Conversation

Projects
None yet
2 participants
@nanodesu88
Copy link
Contributor

commented Jun 28, 2017

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

Generates

insert into t1 DEFAULT VALUES

instead of

insert into t1 () values ()

@nanodesu88 nanodesu88 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

1 of 2 checks passed

continuous-integration/styleci/pr The StyleCI analysis has failed - 1 file needs addressing
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.