!!! WARNING WARNING WARNING !!! I know next to nothing about rake migrations so the following text might just as well be labled SPAM. :) !!! WARNING WARNING WARNING !!!
Is there anyway to hook into a db:migration task to export/import the known radiant tables? That way we could at least grab the radiant stuff with a standard rake migration. If rake is anything like ant (for Java) it should be able to be extended to do this sort of thing. I envision something like the following: ## Export the development envrionment rake development db:migrate:export > mysite.db.tar ## [Optional] Store site in version control svn commit -m "Keep this in case we need it later" mysite.db.tar ## Import into the production environment rake production db:migrate:import < mysite.db.tar This is what we used to do with all of our environments when I was a corporate slave. Is this type of thing possible with rake? Am I barking up the wrong tree? Thanx! Richard On 10/30/07, Travis Bell <[EMAIL PROTECTED]> wrote: > > We've had to tackle this exact issue. > > Best we could do, which is by no means perfect, but does work is using > the Linux version of SQLyog ( http://webyog.com/en/downloads.php ) and > what we were able to do, is simply build it into all our deployment > scripts so it's actually very automated for us. > > The part that sold me on SJA is the fact that it's very easily > configurable so rolling it out across multiple servers was a breeze. > > Syncing between our dev and production databases works pretty damn > well, only ran into a couple of issues that haven't seemed to be life > or death anyways. > > Cheers, > > -- > Travis Bell > Not sent from my iPhone. > > > > > > On 30-Oct-07, at 3:29 PM, Chris Parrish wrote: > > > Sean Cribbs wrote: > >> Unless you can come up with a script to do it, any database content > >> will have to be manually copied/merged > > > > Ewww. > > > > Has anyone made any progress out there on import/export? (I know it > > used to be in the list of core items to add to radiant). > > > > Having this basic functionality would allow someone to add on some > > sort > > of diff/sync extension that would work great for Richard here (and I > > suspect a *lot* of others, too). > > > > Oh, and before anyone asks, yes, I've thought about tackling it myself > > but I'm several projects (read months) from getting to that stage. > > > > -Chris > > > > _______________________________________________ > > Radiant mailing list > > Post: Radiant@lists.radiantcms.org > > Search: http://radiantcms.org/mailing-list/search/ > > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > > _______________________________________________ > Radiant mailing list > Post: Radiant@lists.radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > _______________________________________________ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant