On May 22, 11:11 am, Colin Steele <[email protected]> wrote:
> Definitely an improvement.  However, now the dumper code is dropping
> the default value for timestamp columns whose default is
> "CURRENT_TIMESTAMP".  Ie, used to generate:
>
> DateTime :dateModified, :default=>"CURRENT_TIMESTAMP".lit, :null=>false
>
> Now it's generating:
>
>       DateTime :dateModified, :null=>false
>
> An as an aside... the previously generated schema (with the default)
> choked mysql going back in on load/up.

That's expected.  .lit defaults are not generated if you are using a
database-independent dump, since literal SQL on one database may not
apply on others.  Use the :same_db option to generate a database-
specific dump.

Jeremy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to