-- http://www.phpmyadmin.net
--




--
-- Database: `emergency_db`
--

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

--
-- Table structure for table `em_admin`
--

CREATE TABLE `em_admin` (
  `username` varchar(30) NOT NULL,
  `password` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `em_admin`
--

INSERT INTO `em_admin` (`username`, `password`) VALUES
('admin', 'admin');

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

--
-- Table structure for table `em_message`
--

CREATE TABLE `em_message` (
  `id` int(11) NOT NULL,
  `uname` varchar(30) NOT NULL,
  `latitude` varchar(30) NOT NULL,
  `longitude` varchar(30) NOT NULL,
  `message` varchar(200) NOT NULL,
  `dtime` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `em_message`
--

INSERT INTO `em_message` (`id`, `uname`, `latitude`, `longitude`, `message`, `dtime`) VALUES
(1, 'raja', '', '', 'traffic in anna salai', '2016-12-14 17:51:35');

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

--
-- Table structure for table `em_register`
--

CREATE TABLE `em_register` (
  `name` varchar(30) NOT NULL,
  `contact` bigint(20) NOT NULL,
  `email` varchar(50) NOT NULL,
  `latitude` varchar(30) NOT NULL,
  `longitude` varchar(30) NOT NULL,
  `uname` varchar(30) NOT NULL,
  `pass` varchar(30) NOT NULL,
  `msg_id` int(11) NOT NULL,
  `rdate` varchar(15) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `em_register`
--

INSERT INTO `em_register` (`name`, `contact`, `email`, `latitude`, `longitude`, `uname`, `pass`, `msg_id`, `rdate`) VALUES
('Raja', 9976570006, 'raja@gmail.com', '', '', 'raja', '123456', 1, '');
