-- MySQL dump 8.22
--
-- Host: localhost    Database: aim
---------------------------------------------------------
-- Server version	3.23.52

--
-- Table structure for table 'buddies'
--

CREATE TABLE buddies (
  id smallint(5) unsigned NOT NULL auto_increment,
  ip varchar(20) default NULL,
  ts datetime default NULL,
  buddygroup varchar(255) default NULL,
  buddylist longtext,
  PRIMARY KEY  (id)
) TYPE=MyISAM;

--
-- Table structure for table 'handles'
--

CREATE TABLE handles (
  id smallint(5) unsigned NOT NULL auto_increment,
  ts datetime default NULL,
  ip varchar(20) default NULL,
  handle varchar(255) default NULL,
  username varchar(255) default NULL,
  machine varchar(255) default NULL,
  PRIMARY KEY  (id)
) TYPE=MyISAM;

--
-- Table structure for table 'logs'
--

CREATE TABLE logs (
  id bigint(20) NOT NULL auto_increment,
  ts datetime default NULL,
  ip varchar(20) default NULL,
  fromHandle varchar(255) default NULL,
  handle varchar(255) default NULL,
  direction varchar(10) default NULL,
  message text,
  PRIMARY KEY  (id)
) TYPE=MyISAM;

--
-- Table structure for table 'versions'
--

CREATE TABLE versions (
  id smallint(5) unsigned NOT NULL auto_increment,
  ip varchar(15) default NULL,
  ts datetime default NULL,
  handle varchar(255) default NULL,
  version varchar(255) default NULL,
  country varchar(5) default NULL,
  language varchar(5) default NULL,
  PRIMARY KEY  (id)
) TYPE=MyISAM;

