Archive for April, 2011

14
Apr
11

rails migrations change default value of a column


Example of changing a column’s default value:


change_column_default(:messages,:read,false)




Blog Stats

  • 222,663 hits