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 `CHECK` column constraint convenience #17

Closed
tanner0101 opened this Issue Jun 22, 2018 · 1 comment

Comments

2 participants
@tanner0101
Copy link
Member

tanner0101 commented Jun 22, 2018

No description provided.

@grosch

This comment has been minimized.

Copy link
Contributor

grosch commented Jun 23, 2018

builder.field(for: .pointsPerMonth, type: .doublePrecision, .check(.pointsPerMonth > 0.0))

@tanner0101 tanner0101 added this to the 2.0.0-beta.3.1 milestone Jun 23, 2018

@tanner0101 tanner0101 closed this Jun 23, 2018

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