--
-- Host: localhost    Database: hrdlog_m0vkg
-- ------------------------------------------------------


--
-- Table structure for table `users`
--

CREATE TABLE `users` (
  `user_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Unique user ID',
  `user_name` varchar(32) NOT NULL COMMENT 'Username',
  `user_password` varchar(64) NOT NULL COMMENT 'Password',
  `user_email` varchar(64) NOT NULL COMMENT 'E-mail address',
  `user_type` varchar(8) NOT NULL COMMENT 'User type',
  `user_callsign` varchar(32) NOT NULL COMMENT 'User''s callsign',
  `user_locator` varchar(16) NOT NULL COMMENT 'User''s locator',
  `user_firstname` varchar(32) NOT NULL COMMENT 'User''s first name',
  `user_lastname` varchar(32) NOT NULL COMMENT 'User''s last name',
  `user_timezone` int(3) NOT NULL DEFAULT '0',
  `user_lotw_name` varchar(32) DEFAULT NULL,
  `user_lotw_password` varchar(64) DEFAULT NULL,
  `user_eqsl_name` varchar(32) DEFAULT NULL,
  `user_eqsl_password` varchar(64) DEFAULT NULL,
  PRIMARY KEY (`user_id`),
  UNIQUE KEY `user_name` (`user_name`),
  UNIQUE KEY `user_email` (`user_email`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;


