-- phpMyAdmin SQL Dump
-- version 4.2.11
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Feb 09, 2018 at 10:35 AM
-- Server version: 5.6.21
-- PHP Version: 5.6.3

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- Database: `file_upload_dashboard`
--

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

--
-- Table structure for table `add_files`
--

CREATE TABLE IF NOT EXISTS `add_files` (
`id` int(11) NOT NULL,
  `admin_id` int(11) NOT NULL,
  `file_name` text COLLATE utf8_unicode_ci NOT NULL,
  `cur_date` date NOT NULL,
  `last_updated` datetime NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `add_files`
--

INSERT INTO `add_files` (`id`, `admin_id`, `file_name`, `cur_date`, `last_updated`) VALUES
(1, 11, '../uploadfile/file2018-02-09.pdf', '2018-02-09', '2018-02-09 11:52:10'),
(2, 1, '../uploadfile/file2018-02-09.xlsx', '2018-02-09', '2018-02-09 12:54:39');

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

--
-- Table structure for table `admindetails`
--

CREATE TABLE IF NOT EXISTS `admindetails` (
`adminid` int(11) NOT NULL,
  `category` varchar(30) DEFAULT NULL,
  `loginid` varchar(8) DEFAULT NULL,
  `password` varchar(8) DEFAULT NULL,
  `name` varchar(30) DEFAULT NULL,
  `gender` varchar(6) DEFAULT NULL,
  `dob` date DEFAULT NULL,
  `email` varchar(100) DEFAULT NULL,
  `alternateemail` varchar(100) DEFAULT NULL,
  `mobile` bigint(20) DEFAULT NULL,
  `hintquestion` varchar(30) DEFAULT NULL,
  `hintanswer` varchar(30) DEFAULT NULL,
  `doc` datetime DEFAULT NULL,
  `dom` datetime DEFAULT NULL,
  `dols` datetime DEFAULT NULL,
  `status` tinyint(4) DEFAULT '1'
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `admindetails`
--

INSERT INTO `admindetails` (`adminid`, `category`, `loginid`, `password`, `name`, `gender`, `dob`, `email`, `alternateemail`, `mobile`, `hintquestion`, `hintanswer`, `doc`, `dom`, `dols`, `status`) VALUES
(1, 'admin', 'admin', '12345', 'someone', 'male', NULL, 'enteradmin@email.com', NULL, 9898989898, NULL, NULL, '2018-02-01 10:56:12', '2018-02-01 10:56:12', '2018-02-02 13:44:39', 1);

--
-- Indexes for dumped tables
--

--
-- Indexes for table `add_files`
--
ALTER TABLE `add_files`
 ADD PRIMARY KEY (`id`), ADD KEY `admin_id` (`admin_id`);

--
-- Indexes for table `admindetails`
--
ALTER TABLE `admindetails`
 ADD PRIMARY KEY (`adminid`), ADD UNIQUE KEY `loginid` (`loginid`), ADD UNIQUE KEY `email` (`email`), ADD UNIQUE KEY `alternateemail` (`alternateemail`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `add_files`
--
ALTER TABLE `add_files`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `admindetails`
--
ALTER TABLE `admindetails`
MODIFY `adminid` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
