I need one MyISAM table in my schema, I’m using Symfony 1.2 and Propel 1.3. As flexible as Symfony and it’s YAML files are, Propel currently doesn’t allow you to change the storage engine on the fly. You use the storage engine as specified in propel.ini. As discussed in the Propel FAQ .
So, the next best thing to do now is to have it so that when Symfony runs propel:insert-sql, I can piggyback my own SQL to it. Luckily, this is possible, and it’s explained here
I now have my own SQL file running at the end, where I do an ALTER TABLE. For the lazy web.
1. Create your Alter table:
ALTER TABLE `database`.`footable` ENGINE=`MyISAM`;
2. Save the file in $projectdir/data/sql/piggyback.sql
…
[Read more]