if you're using doctrine, migrations are part of symfony.

if you're using propel, you can use the sfPropelMigrationsLight plugin from the 
symfony site or my fork of it that allows for out of order migrations (similar 
to rails) - sfPropelMigrations 
(http://github.com/jcoby/sfPropelMigrationsPlugin).  I have not had a chance to 
try my plugin with sf > 1.0.  I would love to hear some feedback.  I'm pretty 
sure it will error out on the pake_echo_action calls in recordMigration and 
unrecordMigration 
(http://github.com/jcoby/sfPropelMigrationsPlugin/blob/master/lib/sfMigrator.class.php#L343)

On Apr 5, 2010, at 2:42 PM, Samuel Morhaim wrote:

> I have a question.. once I finish coding and the site goes into production, I 
> can't rebuild the DB every time I need to add a field etc.
> 
> How do people workaround this? What is the process for migrations?
> 
> Thank you.
> 
> -- 
> If you want to report a vulnerability issue on symfony, please send it to 
> security at symfony-project.com
>  
> You received this message because you are subscribed to the Google
> Groups "symfony users" 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/symfony-users?hl=en

--
Jacob Coby






-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" 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/symfony-users?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to