CREATE TABLE `pytox_nyheder` (
`id` INT NOT NULL AUTO_INCREMENT ,
`time` TINYTEXT NOT NUL ,
`show` INT NOT NULL ,
`udgivet` INT DEFAULT '1' NOT NULL ,
`overskrift` TINYTEXT NOT NULL ,
`nyhed` LONGTEXT NOT NULL ,
`forfatter` TINYTEXT NOT NULL ,
PRIMARY KEY ( `id` )
) TYPE = MYISAM ;

CREATE TABLE `pytox_artikler` (
`id` INT NOT NULL AUTO_INCREMENT ,
`crew` INT NOT NULL ,
`show` INT NOT NULL ,
`udgivet` INT DEFAULT '0' NOT NULL ,
`time` TINYTEXT NOT NULL ,
`overskrift` TINYTEXT NOT NULL ,
`artikel` LONGTEXT NOT NULL ,
`brodtekst` LONGTEXT NOT NULL ,
`forfatter` TINYTEXT NOT NULL ,
PRIMARY KEY ( `id` )
) TYPE = MYISAM ;

CREATE TABLE `pytox_tagwall` (
`id` INT NOT NULL AUTO_INCREMENT ,
`ip` TINYTEXT NOT NULL ,
`user` TINYTEXT NOT NULL ,
`message` LONGTEXT NOT NULL ,
`time` TINYTEXT NOT NULL ,
PRIMARY KEY ( `id` )
) TYPE = MYISAM ;

CREATE TABLE `pytox_affiliates` (
`id` INT NOT NULL AUTO_INCREMENT ,
`exist` INT( 1 ) NOT NULL ,
`navn` TINYTEXT NOT NULL ,
`url` TINYTEXT NOT NULL ,
`text` LONGTEXT NOT NULL ,
`img` TINYTEXT NOT NULL ,
PRIMARY KEY ( `id` )
) TYPE = MYISAM ;

CREATE TABLE `pytox_post` (
`id` INT NOT NULL AUTO_INCREMENT ,
`til` TINYTEXT NOT NULL ,
`fra` TINYTEXT NOT NULL ,
`tid` TINYTEXT NOT NULL ,
`emne` TINYTEXT NOT NULL ,
`besked` LONGTEXT NOT NULL ,
`laest` TINYTEXT NOT NULL ,
`show` TINYTEXT NOT NULL ,
PRIMARY KEY ( `id` )
) TYPE = MYISAM ;

CREATE TABLE `pytox_crewchat` (
`id` INT NOT NULL AUTO_INCREMENT ,
`ip` TINYTEXT NOT NULL ,
`user` TINYTEXT NOT NULL ,
`message` LONGTEXT NOT NULL ,
`time` TINYTEXT NOT NULL ,
PRIMARY KEY ( `id` )
) TYPE = MYISAM ;

CREATE TABLE `pytox_chat` (
`id` INT NOT NULL AUTO_INCREMENT ,
`ip` TINYTEXT NOT NULL ,
`show` TINYTEXT NOT NULL ,
`user` TINYTEXT NOT NULL ,
`message` LONGTEXT NOT NULL ,
`time` TINYTEXT NOT NULL ,
PRIMARY KEY ( `id` )
) TYPE = MYISAM ;

CREATE TABLE `pytox_gb` (
`id` INT NOT NULL AUTO_INCREMENT ,
`ip` TINYTEXT NOT NULL ,
`show` TINYTEXT NOT NULL ,
`fra` TINYTEXT NOT NULL ,
`til` TINYTEXT NOT NULL ,
`tid` TINYTEXT NOT NULL ,
`besked` LONGTEXT NOT NULL ,
PRIMARY KEY ( `id` )
) TYPE = MYISAM ;

CREATE TABLE `pytox_ting` (
`id` INT NOT NULL AUTO_INCREMENT ,
`exist` TINYTEXT NOT NULL ,
`owner` INT NOT NULL ,
`bought` INT NOT NULL ,
`thingid` INT NOT NULL ,
PRIMARY KEY ( `id` )
) TYPE = MYISAM ;

CREATE TABLE `pytox_menu` (
`id` INT NOT NULL AUTO_INCREMENT ,
`prioritet` TINYTEXT NOT NULL ,
`navn` TINYTEXT NOT NULL ,
`href` TINYTEXT NOT NULL ,
PRIMARY KEY ( `id` )
) TYPE = MYISAM ;

CREATE TABLE `pytox_tingdb` (
`id` INT NOT NULL AUTO_INCREMENT ,
`name` TINYTEXT NOT NULL ,
`price` TINYTEXT NOT NULL ,
`image` TINYTEXT NOT NULL ,
`instore` INT NOT NULL ,
PRIMARY KEY ( `id` )
) TYPE = MYISAM ;

CREATE TABLE `pytox_validate` (
`id` INT NOT NULL AUTO_INCREMENT ,
`code` TINYTEXT NOT NULL ,
`function` TINYTEXT NOT NULL ,
`userid` INT NOT NULL ,
PRIMARY KEY ( `id` )
) TYPE = MYISAM ;

CREATE TABLE `pytox_comment` (
`id` INT NOT NULL AUTO_INCREMENT ,
`time` TINYTEXT NOT NULL ,
`articleid` INT NOT NULL ,
`userid` TINYTEXT NOT NULL ,
`comment` TINYTEXT NOT NULL ,
PRIMARY KEY ( `id` )
) TYPE = MYISAM ;

CREATE TABLE `pytox_tingliste` (
`id` INT NOT NULL AUTO_INCREMENT ,
`name` TINYTEXT NOT NULL ,
`antal` INT NOT NULL ,
`kind` TINYTEXT NOT NULL ,
`image` TINYTEXT NOT NULL ,
`pris` TINYTEXT NOT NULL ,
`userid` INT NOT NULL ,
PRIMARY KEY ( `id` )
) TYPE = MYISAM ;

CREATE TABLE `pytox_tingtyper` (
`id` INT NOT NULL AUTO_INCREMENT ,
`name` TINYTEXT NOT NULL ,
`priority` INT NOT NULL ,
PRIMARY KEY ( `id` )
) TYPE = MYISAM ;