Answers for "how to set default in migrations 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 in migrations rails"

Browse Popular Code Answers by Language