text: -- phpMyAdmin SQL Dump
  -- version 4.3.11
  -- http://www.phpmyadmin.net
  --
  -- Host: 127.0.0.1
  -- Generation Time: Apr 04, 2016 at 03:02 PM
  -- Server version: 5.6.24
  -- PHP Version: 5.6.8
  
  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: `taskmanagement`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `tasks`
  --
  
  CREATE TABLE IF NOT EXISTS `tasks` (
    `id` int(11) NOT NULL,
    `summary` text NOT NULL,
    `assigneeId` int(11) NOT NULL,
    `dueDate` datetime NOT NULL,
    `created_at` datetime NOT NULL,
    `updated_at` datetime DEFAULT NULL
  ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `tasks`
  --
  
  INSERT INTO `tasks` (`id`, `summary`, `assigneeId`, `dueDate`, `created_at`, `updated_at`) VALUES
  (1, 'Summary', 1, '2016-04-22 00:00:00', '2016-04-03 21:37:22', '2016-04-03 21:37:22'),
  (2, 'Summary', 1, '2016-04-29 00:00:00', '2016-04-03 21:40:28', '2016-04-03 21:40:28'),
  (3, 'Summary', 1, '2016-04-29 00:00:00', '2016-04-03 21:41:27', '2016-04-03 21:41:27'),
  (4, 'My last test', 2, '2016-04-29 00:00:00', '2016-04-03 22:22:35', '2016-04-03 22:22:35'),
  (5, 'My last test', 2, '2016-04-29 00:00:00', '2016-04-03 22:23:43', '2016-04-03 22:23:43');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `users`
  --
  
  CREATE TABLE IF NOT EXISTS `users` (
    `id` int(11) NOT NULL,
    `userName` varchar(255) NOT NULL,
    `email` varchar(255) NOT NULL,
    `createdOn` datetime NOT NULL,
    `password` varchar(255) NOT NULL
  ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `users`
  --
  
  INSERT INTO `users` (`id`, `userName`, `email`, `createdOn`, `password`) VALUES
  (1, 'ahmedbilal', 'bilalahmed589@yahoo.com', '2016-04-03 18:15:11', ''),
  (2, 'a.bilal', 'bilalahmed589@gmail.com', '2016-04-03 18:15:41', '');
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indexes for table `tasks`
  --
  ALTER TABLE `tasks`
    ADD PRIMARY KEY (`id`), ADD KEY `fk_assignee_id` (`assigneeId`);
  
  --
  -- Indexes for table `users`
  --
  ALTER TABLE `users`
    ADD PRIMARY KEY (`id`);
  
  --
  -- AUTO_INCREMENT for dumped tables
  --
  
  --
  -- AUTO_INCREMENT for table `tasks`
  --
  ALTER TABLE `tasks`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=6;
  --
  -- AUTO_INCREMENT for table `users`
  --
  ALTER TABLE `users`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=3;
  --
  -- Constraints for dumped tables
  --
  
  --
  -- Constraints for table `tasks`
  --
  ALTER TABLE `tasks`
  ADD CONSTRAINT `fk_assignee_id` FOREIGN KEY (`assigneeId`) REFERENCES `users` (`id`);
  
  /*!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 */;
  