CREATE DATABASE `asapt`;
CONNECT asapt;
DROP TABLE IF EXISTS `reqs`;
CREATE TABLE IF NOT EXISTS `reqs` (
  `id` int(16) NOT NULL auto_increment,
  `timestamp` datetime NOT NULL default '0000-00-00 00:00:00',
  `mac` varchar(17) NOT NULL default '',
  `ip` int(4) unsigned NOT NULL default '0',
  `hostname` varchar(64) NOT NULL default '',
  `site` varchar(32) NOT NULL default '',
  `swname` varchar(64) NOT NULL default '',
  `swport` varchar(32) NOT NULL default '',
  `origvlan` int(4) NOT NULL default '0',
  `vlanreq` int(4) NOT NULL default '0',
  `reqip` int(4) unsigned NOT NULL default '0',
  `os` varchar(32) NOT NULL default '',
  `proc` tinyint(1) NOT NULL default '0',
  `method` varchar(16) NOT NULL default '',
  `requname` varchar(32) NOT NULL default '',
  PRIMARY KEY  (`id`)
) TYPE=MyISAM AUTO_INCREMENT=357 ;
