I just replaced DataMapper for Sequel in a project I have been working
on (this was due to needing tighter control over joins and issues with
eager loading).

The only issue I have noticed is that when I create a new table in
MySQL it creates a MyISAM table whereas DataMapper created InnoDB
tables. I want to use the latter and I don't want to have to manually
change the tables after running migrations.

I found this on Sequel's mailing list:

Sequel::MySQL.default_engine = 'InnoDB'

Where and how can I use this from within Merb? I'd prefer not to have
to put it in each and every one of my create table migrations and it's
also an option I'd like ignored when using, say, Postgres (I'm trying
to make this app DB agnostic).
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" 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/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to