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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to