You can use dm-migrations. ..tony..
On Fri, Feb 26, 2010 at 5:21 PM, Vito Botta <[email protected]> wrote: > Hi all > > I am currently investigating and evaluating a number of options for an > API that will be used by a number of applications, as part of the > restructuring of our technology stack. > > I am considering using Sinatra over Rails, and DataMapper over > ActiveRecord, as I want this API to be lightweight, with low memory > usage, and FAST. > > I like a lot the combination Sinatra+DataMapper, and the auto_upgrade > is cool. > But how do I go about cleaning up the tables etc when for example I > drop / rename columns, or do other changes besides simply adding a new > column? > > I am wondering how to manage things if I can't use ActiveRecord-like > migrations where the versioning is so clear. > > Any suggestions? > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "DataMapper" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<datamapper%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/datamapper?hl=en. > > -- You received this message because you are subscribed to the Google Groups "DataMapper" 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/datamapper?hl=en.
