A few weeks ago my dashboards database table was deleted. Through the help of some people on here, I managed to recreate the table.
However now I get the following error when I click on the dashboards tab:
Query Failed:INSERT into dashboards set ::MySQL error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
I'm running the latest Sugarcrm community version
any help please anyone? i assume it's to do with the table I created. Thanks
ps. this is the code I used to recreate the dashboard table:
HTML Code:CREATE TABLE IF NOT EXISTS `dashboards` ( `id` char(36) NOT NULL, `deleted` tinyint(1) NOT NULL DEFAULT '0', `date_entered` datetime NOT NULL, `date_modified` datetime NOT NULL, `modified_user_id` char(36) NOT NULL, `assigned_user_id` char(36) DEFAULT NULL, `created_by` char(36) DEFAULT NULL, `name` varchar(100) DEFAULT NULL, `description` text, `content` text, PRIMARY KEY (`id`), KEY `idx_dashboard_name` (`name`,`deleted`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8;


LinkBack URL
About LinkBacks




Reply With Quote

Bookmarks