#!/bin/sh

/usr/bin/mysql ftp_logs <<EOF
CREATE TABLE $1 (
  time_stamp int not null,
  xfertime int not null,
  address char(100) not null,
  filesize int not null,
  file char(255) not null,
  transfer_type char(1) not null,
  login_type char(1) not null,
  anon_passwd char(32) not null,
  directions char(1)
);
