Paste this code in a costumepage in adminstration, give a temp title & then run a preview once and youre done.


<?php
$result = dbquery("
CREATE TABLE `".$db_prefix."recept_comments` (
  `comment_id` smallint(5) unsigned NOT NULL auto_increment,
  `comment_item_id` smallint(5) unsigned NOT NULL default '0',
  `comment_type` char(1) NOT NULL default '',
  `comment_name` varchar(50) NOT NULL default '',
  `comment_message` text NOT NULL,
  `comment_datestamp` int(10) unsigned NOT NULL default '0',
  `comment_ip` varchar(20) NOT NULL default '0.0.0.0',
  PRIMARY KEY  (`comment_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;
");


$result1 = dbquery("

CREATE TABLE `".$db_prefix."recept_ratings` (
  `rating_id` smallint(5) unsigned NOT NULL auto_increment,
  `rating_item_id` smallint(5) unsigned NOT NULL default '0',
  `rating_type` char(1) NOT NULL default '',
  `rating_user` smallint(5) unsigned NOT NULL default '0',
  `rating_vote` tinyint(1) unsigned NOT NULL default '0',
  `rating_datestamp` int(10) unsigned NOT NULL default '0',
  `rating_ip` varchar(20) NOT NULL default '0.0.0.0',
  PRIMARY KEY  (`rating_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;
");
?>
