I think this is fine, but the TL;DR of my thoughts is that it should be 
through a `default_function` key, not a `default` key. I haven't looked 
closely enough at the issue to see how much that would impact the rest of 
AR outside of the schema dumper/definitions API

On Tuesday, October 6, 2015 at 7:45:32 AM UTC-6, John Negron wrote:
>
> I recently created this PR https://github.com/rails/rails/pull/21875 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
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to