Answers for "how to set default value for boolean field in migration + rails"

2

default value rails migration

t.integer :col_name, :default => 0
Posted by: Guest on July-23-2020

Code answers related to "how to set default value for boolean field in migration + rails"

Browse Popular Code Answers by Language