-- phpMyAdmin SQL Dump -- version 2.11.3deb1ubuntu1 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Jul 14, 2008 at 09:09 PM -- Server version: 5.0.51 -- PHP Version: 5.2.4-2ubuntu5.2 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; -- -- Database: `jongra_mail` -- -- -------------------------------------------------------- -- -- Table structure for table `attachments` -- DROP TABLE IF EXISTS `attachments`; CREATE TABLE IF NOT EXISTS `attachments` ( `id` int(10) unsigned NOT NULL auto_increment, `message_id` varchar(255) NOT NULL, `type` varchar(255) NOT NULL, `mimetype` varchar(255) NOT NULL, `filename` varchar(255) NOT NULL, `filedata` longblob NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `attachments` -- -- -------------------------------------------------------- -- -- Table structure for table `contacts` -- DROP TABLE IF EXISTS `contacts`; CREATE TABLE IF NOT EXISTS `contacts` ( `id` int(10) unsigned NOT NULL auto_increment, `name` varchar(255) default NULL, `email` varchar(255) default NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `contacts` -- -- -------------------------------------------------------- -- -- Table structure for table `emails` -- DROP TABLE IF EXISTS `emails`; CREATE TABLE IF NOT EXISTS `emails` ( `id` int(10) unsigned NOT NULL auto_increment, `contact_id` int(11) NOT NULL, `message_id` varchar(255) default NULL, `sent` datetime default NULL, `received` timestamp NULL default CURRENT_TIMESTAMP, `fromaddress` varchar(255) default NULL, `from_email` varchar(255) default NULL, `from_name` varchar(255) default NULL, `subject` varchar(255) default NULL, `html_body` text, `text_body` text, `headers` varchar(255) default NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -- Dumping data for table `emails` --