[Vtigercrm-commits] [vtiger development] #5972: Migration fails from 504 to 510

vtiger development vtiger-tickets at trac.vtiger.com
Wed May 27 07:24:10 EDT 2009


#5972: Migration fails from 504 to 510
-----------------------+----------------------------------------------------
 Reporter:  nitin      |       Owner:  developer 
     Type:  defect     |      Status:  new       
 Priority:  critical   |   Milestone:  5.1.0     
Component:  vtigercrm  |     Version:  5.1.0-val2
 Keywords:             |  
-----------------------+----------------------------------------------------
 During migration i got these two queries failure,

 ALTER TABLE vtiger_homestuff ADD CONSTRAINT fk_1_vtiger_homestuff FOREIGN
 KEY (userid) REFERENCES vtiger_users (id) ON DELETE CASCADE

 CREATE TABLE IF NOT EXISTS vtiger_user_module_preferences (userid int,
 tabid int, default_cvid int, primary key(userid, tabid), CONSTRAINT
 fk_1_vtiger_user_module_preferences FOREIGN KEY (userid) REFERENCES
 vtiger_users (id) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT
 fk_2_vtiger_user_module_preferences FOREIGN KEY (tabid) REFERENCES
 vtiger_tab (tabid) ON DELETE CASCADE ON UPDATE CASCADE) ENGINE=InnoDB
 DEFAULT CHARSET=utf8; ::

 after that i login into the crm and for me no more list-view in the
 modules,
 then i changed the second query to:

 CREATE TABLE IF NOT EXISTS vtiger_user_module_preferences (userid int,
 tabid int, default_cvid int, primary key(userid, tabid)) ENGINE=InnoDB
 DEFAULT CHARSET=utf8

 and i got list-view back.

-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/5972>
vtiger development <http://trac.vtiger.com/>
vtigerCRM




More information about the vtigercrm-commits mailing list