   `created` datetime NOT NULL default '0000-00-00 00:00:00',
   `active` tinyint(1) NOT NULL default '1',
   KEY `username` (`username`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='Postfix Admin - Domain Admins';
-
--- --------------------------------------------------------
-
---
--- Table structure for table `xpa_log`
---
-
-CREATE TABLE IF NOT EXISTS `xpa_log` (
-  `timestamp` datetime NOT NULL default '0000-00-00 00:00:00',
-  `username` varchar(255) NOT NULL default '',
-  `domain` varchar(255) NOT NULL default '',
-  `action` varchar(255) NOT NULL default '',
-  `data` varchar(255) NOT NULL default '',
-  KEY `timestamp` (`timestamp`)
-) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Postfix Admin - Log';
+) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Postfix Admin - Domain Admins';
 
 -- --------------------------------------------------------
 

--

CREATE TABLE IF NOT EXISTS `xpa_alias` (
  `address` varchar(255) NOT NULL default '',
  `goto` text NOT NULL,
  `domain` varchar(255) NOT NULL default '',
  `created` datetime NOT NULL default '0000-00-00 00:00:00',
  `modified` datetime NOT NULL default '0000-00-00 00:00:00',
  `active` tinyint(1) NOT NULL default '1',
  PRIMARY KEY  (`address`),
  KEY `address` (`address`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Postfix Admin - Virtual Aliases';

-- --------------------------------------------------------


  `cache` text NOT NULL,
  `domain` varchar(255) NOT NULL default '',
  `created` datetime NOT NULL default '0000-00-00 00:00:00',
  `active` tinyint(1) NOT NULL default '1'
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Postfix Admin - Virtual Vacation';

--
-- Constraints for dumped tables
--

--
-- Constraints for table `xpa_alias`
--
ALTER TABLE `xpa_alias`
  ADD CONSTRAINT `xpa_alias_ibfk_1` FOREIGN KEY (`alias_id`) REFERENCES `xpa_domain` (`domain_id`) ON DELETE CASCADE;

--
-- Constraints for table `xpa_mailbox`
--
ALTER TABLE `xpa_mailbox`
  ADD CONSTRAINT `xpa_mailbox_ibfk_1` FOREIGN KEY (`mailbox_id`) REFERENCES `xpa_domain` (`domain_id`);

