I recently created this PR MySQL 5.6.5 and greater supports functions as column default values. by neutronz · Pull Request #21875 · rails/rails · GitHub but it seems that the solution was deemed too specific to mysql and also overloading the default option wasn’t what was desired. The need is there however, and I’d like to hear what everyone thinks on a path forward.
A simple example is when the DEFAULT is a CURRENT_TIMESTAMP.
Cheers
–John Negron