Answers for "in migrations of rails how to give default 1"

2

default value rails migration

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

Code answers related to "in migrations of rails how to give default 1"

Browse Popular Code Answers by Language