Whell you can type: >cake yammy all
And YAMMY generates a schema with ALL tables! It does not take into account changes, namely the generated schema does not write down just changes (as subversion does with files), but at list you have all modification. Hypothesis: 1) you have a DB schema and you run > cake yammy all YAMMY generates a 001_full_schema.yml file with the full DB schema 2) you change some tables and again you run >cake yammy all YAMMY generates a 002_full_schema.yml file with the full DB schema Alternatively you can run YAMMY for just the tables that you have changed. Maybe in future releases I can teach YAMMY to just look for changes if it is asked for it! Dan On 7 Nov, 19:34, jarmstrong <[EMAIL PROTECTED]> wrote: > Speaking of future enhancements. Is there a current feature or easy way to > add in handling that will generate the entire schema from version X to Y or > simply do the update the first time the app is run against a schema that is > out of date or doesnt have any tables? > > I have seen this in some other projects like AppFuse with their combination > of hibernate. > > Maybe I could get pointed towards how you would handle this and add it in > myself? > > cakeFreak wrote: > > > Well... > > > YAMMY does not sort out the problem you mentioned yet. > > > But the functionality you are looking for can be implemented in next > > versions ;o) > > -- > View this message in > context:http://www.nabble.com/YAMMY%21%3A-feed-your-migrations-faster-tf47388... > 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 -~----------~----~----~----~------~----~------~--~---
