I just realized i might have said yammy when i really meant migrations.



jarmstrong wrote:
> 
> Gwoo,
> 
> i understand the shell handling. I was asking more for an automated
> application based update to the schema when the app notices that the DB it
> is pointed at is out of date. For instance, new version is developed,
> tests are run, staging is approved. Then when it is migrated from
> dev->staging and staging->production that the schema updates are
> automatically applied without running the shell command.
> 
> Perhaps extending app_controller to do a check and process like the
> following?
> 
> if SchemaVersion < YammyVersion
>    proc_open // to shell
>    fwrite // command to shell
> 
> // have a nice day, prod schema is now of correct version
> 
> 
> 
> Gwoo-2 wrote:
>> 
>> 
>> The SchemaShell handles full schema versioning.
>> run: cake schema help
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/YAMMY%21%3A-feed-your-migrations-faster-tf4738833.html#a13633693
Sent from the CakePHP mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to