JS gevorderde |
|
CREATE TABLE `msgs` (
`id` int( 11 ) NOT NULL AUTO_INCREMENT ,
`who` varchar( 18 ) COLLATE latin1_general_ci NOT NULL default '',
`color` varchar( 7 ) COLLATE latin1_general_ci NOT NULL default '#000000',
`msg` varchar( 255 ) COLLATE latin1_general_ci NOT NULL default '',
`type` enum( 'msg', 'info', 'logoff', 'logon' ) COLLATE latin1_general_ci NOT NULL default 'msg',
`date` decimal( 25, 0 ) NOT NULL default '0',
PRIMARY KEY ( `id` ) ,
KEY `who` ( `who` , `color` , `msg` , `type` , `date` )
)
CREATE TABLE `msgs` ( `id` int( 11 ) NOT NULL AUTO_INCREMENT , `who` varchar( 18 ) COLLATE latin1_general_ci NOT NULL default '', `color` varchar( 7 ) COLLATE latin1_general_ci NOT NULL default '#000000', `msg` varchar( 255 ) COLLATE latin1_general_ci NOT NULL default '', `type` enum( 'msg', 'info', 'logoff', 'logon' ) COLLATE latin1_general_ci NOT NULL default 'msg', ` date` decimal ( 25, 0 ) NOT NULL default '0',KEY `who` ( `who` , `color` , `msg` , `type` , ` date` ) )
probeer een keer zo. 'k heb dat ook altijd dat die laatste dingen (ENGINE = MYISAM DEFAULT CHARSET = latin1 COLLATE = latin1_general_ci AUTO_INCREMENT =2967) weg mogen |