File size: 631B
<?
include "config.php";
mysql_query('drop table `news`;
drop table `news_com`;
CREATE TABLE `news` (
`id` int( 11 ) NOT NULL AUTO_INCREMENT ,
`date` int( 11 ) NOT NULL default '0',
`text` text NOT NULL ,
`plus` int( 11 ) NOT NULL default '0',
`minus` int( 11 ) NOT NULL default '0',
`ipsoft` text NOT NULL ,
KEY `id` ( `id` )
) TYPE = MYISAM AUTO_INCREMENT =1;
CREATE TABLE `news_com` (
`id` int( 11 ) NOT NULL AUTO_INCREMENT ,
`nid` int( 11 ) NOT NULL default '0',
`date` int( 11 ) NOT NULL default '0',
`name` text NOT NULL ,
`text` text NOT NULL ,
KEY `id` ( `id` )
) TYPE = MYISAM AUTO_INCREMENT =1;'
?>