So I had a little trouble upgrading CE and I wanted to post my
solution.  Partially to help anyone else who might run into it and the
rest is to make sure I didn't screw anything up!

I went through the installation process but was having problems with
the db:migrate working.  I think that because Desert uses a different
upgrade scheme for it's plugins my current version of 61 wasn't
registering.  So I wrote the following db:migrate script:

class CreatePluginSchemaMigrationsAndCeAt61 < ActiveRecord::Migration
  def self.up
    (1..61).each do |version|
      execute "insert into plugin_schema_migrations (plugin_name,
version) VALUES('community_engine', #{version})"
    end
  end

  def self.down
  end
end

It's a bit hackish - please let me know if you have a better
solution.  After running this db:migrate I then ran:

script/generate plugin_migrations
rake db:migrate

and everything seems to work now.

Hope that's right...:S

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" 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/communityengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to