Advertisement
cheungtifan

Untitled

Apr 16th, 2012
377
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.49 KB | None | 0 0
  1. CREATE TABLE IF NOT EXISTS `syslog` (
  2.   `ID` INT(11) NOT NULL AUTO_INCREMENT,
  3.   `date` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  4.   `IP` text COLLATE utf8_unicode_ci NOT NULL,
  5.   `hostname` text COLLATE utf8_unicode_ci NOT NULL,
  6.   `facility` text COLLATE utf8_unicode_ci NOT NULL,
  7.   `source` text COLLATE utf8_unicode_ci NOT NULL,
  8.   `message` text COLLATE utf8_unicode_ci NOT NULL,
  9.   PRIMARY KEY  (`ID`)
  10. ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement