Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

rails g migration remove default

change_column_default(:users, :email, nil)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #rails #migration #remove #default
ADD COMMENT
Topic
Name
6+9 =