Hi Phil,
The latest version of CE (edge:
http://github.com/bborn/communityengine/tree/edge) doesn't force the
creation of tables in the migrations, so it won't drop your existing user
table when you migrate. Since you already have a users table, you'll need to
manually make sure that it has the correct columns needed for CE.

The easiest way to do this is to create a bare CE app (rails your_app_name
-m http://www.communityengine.org/edge_install_template.rb) and then look at
the generated schema.rb and compare to your existing schema.

Another option, depending on how complex your current app is, is to just
dump your users table, run the CE migration (blowing away your old users
table), and then re-import your users.

Good luck,
Bruno

On Tue, Dec 22, 2009 at 9:08 AM, phil <[email protected]> wrote:
>
> I have seen this asked - but never answered. it is claimed that you
> can add CE to an existing rails app. But, if you create the migration
> and try and run it the first thing it tries to do is drop your users
> table!
>
> I don't actually see any documentation anywhere about how to add it to
> a site.
>
> Anyone have any documentation or experience in this?
>
> Thanks!
>
> --
>
> 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]<communityengine%[email protected]>
.
> For more options, visit this group at
http://groups.google.com/group/communityengine?hl=en.
>
>

--

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