Results 1 to 3 of 3

Thread: email in DB in the new sugar

  1. #1
    kazu182 is offline Sugar Community Member
    Join Date
    Dec 2006
    Posts
    16

    Default email in DB in the new sugar

    Hi there,
    I am working on migrating our current sugar (4.1) to the new version (5.0) and I was wondering if anyone had similar issues in the new email style in the mysql db.

    In my old sugar db for example, in the leads table, there are the fields 'email1' and 'email2' ... same thing for the "users" table.

    However, simply importing these fields doesn't seem to work in the new versions (email lists shows up empty).

    I looked into the new db, and I noticed that these fields were missing in the new tables from 'Leads' 'users' and likely other tables that had an email field

    Is there a way to correctly migrate the emails in the old sugar across this new sugar structure?

    Any input of this will be of great help !


    thanks

  2. #2
    Join Date
    Feb 2007
    Location
    San Jose, CA
    Posts
    1,169

    Default Re: email in DB in the new sugar

    Hi there,

    The wiki has the exact info you're looking for:
    http://www.sugarcrm.com/wiki/index.p...address_change

    I would also recommend checking out the new Developer website (http://developer.sugarcrm.com) for other information that may be useful to you.
    Susie Williams

  3. #3
    al3
    al3 is offline Sugar Community Member
    Join Date
    Aug 2007
    Posts
    394

    Default Re: email in DB in the new sugar

    This might have been overlooked on part of the developers.

    I did an upgrade to 5.0 on a local machine that worked fine... the email1 and email2 fields were still in the Account table.

    However I did a clean 5.0 install on a server. It did NOT include the 2 fields into the new schema. When I tried to populate my MySQL database from local to server via mysqldump, I got an error... and it could not find the two fields.

    I had to add them manually (phpMyAdmin) to the server database in Accounts, Leads, Contacts.

    The upgrade should have deleted the email fields so the old schema would be consistent with a fresh-install schema.

    Maybe there was a better way to populate my database then a dump? Is there an export database function somewhere?

    Al
    Last edited by al3; 2007-12-29 at 03:58 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Sugar Events - programing hooks
    By gasparz in forum Developer Help
    Replies: 8
    Last Post: 2011-08-24, 07:55 AM
  2. Replies: 9
    Last Post: 2007-06-04, 07:50 PM
  3. Replies: 2
    Last Post: 2006-05-29, 11:33 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •