[Vtigercrm-commits] [vtiger development] #6103: Table vtiger_user_module_preferences missing after upgrade from 5.0.4 to 5.1
vtiger development
vtiger-tickets at trac.vtiger.com
Tue Jun 30 07:48:11 EDT 2009
#6103: Table vtiger_user_module_preferences missing after upgrade from 5.0.4 to
5.1
---------------------------+------------------------------------------------
Reporter: brett.hooker | Owner: developer
Type: defect | Status: closed
Priority: major | Milestone: 5.1.0
Component: vtigercrm | Version: 5.1.0-val2
Resolution: wontfix | Keywords:
---------------------------+------------------------------------------------
Changes (by brett.hooker):
* status: new => closed
* resolution: => wontfix
Comment:
I can confirm that the vtiger_tab table is indeed a MyISAM table.
Strange, as about half of the vtiger tables are MyISAM. The upgrade test
is being performed on a 504 database. Don't know how the tables got to be
MyISAM.
I ran
ALTER TABLE vtiger_tab ENGINE=InnoDB;
and then
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;
and retested and the problem was fixed...
So, I just need to work out why my upgrade data has a bunch of MyISAM
tables in it...
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/6103#comment:1>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list