How to add min constraint for column when creating table in migration #16940
Unanswered
IDrumsey
asked this question in
Help & Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When creating a table with a Sequelize migration, is there a way to create a constraint that specifies the min value of that column if it's say an int or valid datatype? I tried using the validate option, but that didn't work.
Beta Was this translation helpful? Give feedback.
All reactions