text: -- phpMyAdmin SQL Dump
  -- version 4.9.0.1
  -- https://www.phpmyadmin.net/
  --
  -- Host: 127.0.0.1
  -- Generation Time: Mar 25, 2020 at 06:58 AM
  -- Server version: 10.3.16-MariaDB
  -- PHP Version: 7.3.7
  
  SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  SET AUTOCOMMIT = 0;
  START TRANSACTION;
  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 utf8mb4 */;
  
  --
  -- Database: `moviezone`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `articles`
  --
  
  CREATE TABLE `articles` (
    `id` int(11) NOT NULL,
    `title` varchar(155) NOT NULL,
    `body` longtext NOT NULL,
    `user_id` int(11) NOT NULL,
    `image` varchar(255) DEFAULT NULL,
    `created_on` datetime DEFAULT current_timestamp()
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `articles`
  --
  
  INSERT INTO `articles` (`id`, `title`, `body`, `user_id`, `image`, `created_on`) VALUES
  (16, 'What Is Singularity A.I.?', 'The Singularity is the hypothetical future creation of superintelligent machines. Superintelligence is defined as a technologically-created cognitive capacity far beyond that possible for humans. Should the Singularity occur, technology will advance beyond our ability to foresee or control its outcomes and the world will be transformed beyond recognition by the application of superintelligence to humans and/or human problems, including poverty, disease and mortality.', 1, 'http://localhost/techverge/upload/artificial-intelligence-singularity.jpg', '2020-03-24 23:05:05'),
  (18, 'Mind Uploading: Can We Become Immortal?', 'Whole brain emulation (WBE), mind upload or brain upload (sometimes called \"mind copying\" or \"mind transfer\") is the hypothetical futuristic process of scanning the mental state (including long-term memory and \"self\") of a particular brain substrate and copying it to a computer. The computer could then run a simulation model of the brain\'s information processing, such that it would respond in essentially the same way as the original brain (i.e., indistinguishable from the brain for all relevant purposes) and experience having a conscious mind.', 1, 'http://localhost/techverge/upload/mind-uploading.png', '2020-03-24 23:10:50');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `users`
  --
  
  CREATE TABLE `users` (
    `id` int(11) NOT NULL,
    `username` varchar(155) NOT NULL,
    `password` varchar(155) NOT NULL,
    `firstname` varchar(155) NOT NULL,
    `lastname` varchar(155) NOT NULL,
    `email` varchar(255) DEFAULT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `users`
  --
  
  INSERT INTO `users` (`id`, `username`, `password`, `firstname`, `lastname`, `email`) VALUES
  (1, 'apoorvkarmalkar', '1234567890', 'Apoorv', 'Karmalkar', 'apoorvkarmalkar8111995@gmail.com');
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indexes for table `articles`
  --
  ALTER TABLE `articles`
    ADD PRIMARY KEY (`id`),
    ADD KEY `user_id` (`user_id`);
  
  --
  -- Indexes for table `users`
  --
  ALTER TABLE `users`
    ADD PRIMARY KEY (`id`);
  
  --
  -- AUTO_INCREMENT for dumped tables
  --
  
  --
  -- AUTO_INCREMENT for table `articles`
  --
  ALTER TABLE `articles`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;
  
  --
  -- AUTO_INCREMENT for table `users`
  --
  ALTER TABLE `users`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
  
  --
  -- Constraints for dumped tables
  --
  
  --
  -- Constraints for table `articles`
  --
  ALTER TABLE `articles`
    ADD CONSTRAINT `articles_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`);
  COMMIT;
  
  /*!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 */;
  