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

add default value #19

Merged
merged 1 commit into from Feb 27, 2018

Conversation

1 participant
@tanner0101
Copy link
Member

tanner0101 commented Feb 27, 2018

  • adds DEFAULT ... support to PostgreSQL column

This doesn't have a great use case yet, as it's impossible to set a model's property to nil and not have that nil forwarded to the DB (which overrides the default). But this can be further looked into in Fluent itself. Take a look at the tests added here to see a workaround.

@tanner0101 tanner0101 self-assigned this Feb 27, 2018

@tanner0101 tanner0101 merged commit 006386a into master Feb 27, 2018

1 check passed

ci/circleci: linux Your tests passed on CircleCI!
Details

@tanner0101 tanner0101 deleted the default-value branch Feb 27, 2018

@tanner0101 tanner0101 added this to the 1.0.0-rc.1.1 milestone Feb 27, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment