Ask the DataMapper mailing list? On 2/15/10, senihele <mjmmayern...@gmail.com> wrote: > No one has any ideas? This is a pretty basic question... > > On Jan 30, 8:29 pm, senihele <mjmmayern...@gmail.com> wrote: >> Hey all, >> >> I have a Sinatra/Datamapper application on Heroku. Datamapper doesn't >> handle migrations very well, and to the best of my knowledge can't >> remove or rename a column without wiping out the entire database. >> Anyone have any ideas on how I can do this manually? I tried to run >> the raw sql via the console, but when i run >> >> ActiveRecord::Base.connection.execute("select ...") >> >> I get the error message: >> >> ActiveRecord::ConnectionNotEstablished: >> ActiveRecord::ConnectionNotEstablished >> >> It seems like Datamapper also now has support to AR style migrations, >> but I can' find anything on how to set this up with Sinatra. Since I >> haven't been using AR style migrations up until this point, it would >> just be easier to be able to to remove and rename the columns >> directly. >> >> Any ideas? Thanks. > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to her...@googlegroups.com. > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > >
-- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.