News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Vid Luther's Blog:
Changing MySQL storage engine for one table in your Propel/Symfony project
September 29, 2009 @ 08:26:15

Vid Luther has a new post to his blog showing how to switch the storage engine only one (or any number of individual tables) in your MySQL-backed Propel/Symfony project.

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. [...] 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.

He gives an example of how he's doing it - making a simple alter table script, putting it into a SQL file and pushing it out into the project's setup via a "propel:insert:sql" command.

0 comments voice your opinion now!
symfony storage engine mysql change tip


blog comments powered by Disqus

Similar Posts

Symfony Blog: New in Symfony 2.3: Small things matter

Symfony Blog: symfony 1.0.4 released

Brent Meshier's Blog: Blocking visitors by country using PHP & MySQL

phpRiot.com: Creating a fulltext search engine with the Zend Framework\'s Zend_Search_Lucene

HowToForge.com: Building Apache with PHP,MySQL, OCI8 instant client support


Community Events





Don't see your event here?
Let us know!


language laravel podcast opinion interview install developer framework configure introduction community threedevsandamaybe symfony2 list testing release series code unittest refactor

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework