Is there a way to see if a column has a default constraint? #1576
Unanswered
mattbrailsford
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a migration need to add a default constraint to a column that previously didn't have one but I would like to first check to see if the column currently has a default constraint or not. I was looking in the
Schema
but couldn't find a method for this. I was hoping for something like...Is there an alternative way of checking for this?
Beta Was this translation helpful? Give feedback.
All reactions