CREATE TABLE IF NOT EXISTS `coursemanager_bookmarks` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `pageId` int(11) NOT NULL,
  `courseId` int(11) NOT NULL,
  `lessonId` int(11) NOT NULL,
  `type` varchar(255) NOT NULL,
  `userId` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8;