doh!

thanks Bruno ;)

On Wed, Sep 23, 2009 at 6:25 AM, Bruno Bornsztein <
[email protected]> wrote:

> Did you try running the rake task specified at the bottom of the UPGRADING
> doc in the notes? That probably would have fixed your issue. Bruno
>
> On Tue, Sep 22, 2009 at 9:56 PM, Tom Bostelmann <[email protected]>wrote:
>
>>
>> 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