Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

default value rails migration

t.integer :col_name, :default => 0
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #default #rails #migration
ADD COMMENT
Topic
Name
5+3 =