text: -- phpMyAdmin SQL Dump
  -- version 4.6.4
  -- https://www.phpmyadmin.net/
  --
  -- Host: 127.0.0.1
  -- Generation Time: Feb 14, 2017 at 09:36 AM
  -- Server version: 5.7.14
  -- PHP Version: 5.6.25
  
  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 utf8mb4 */;
  
  --
  -- Database: `lingo`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `leaderboard`
  --
  
  CREATE TABLE `leaderboard` (
    `id` int(11) NOT NULL,
    `user_id` int(11) NOT NULL,
    `highscore` int(11) DEFAULT NULL COMMENT '\n'
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `users`
  --
  
  CREATE TABLE `users` (
    `id` int(11) NOT NULL,
    `username` varchar(255) NOT NULL,
    `email` varchar(255) DEFAULT NULL,
    `password` char(80) NOT NULL,
    `create_time` datetime(6) DEFAULT NULL
  ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  
  --
  -- Dumping data for table `users`
  --
  
  INSERT INTO `users` (`id`, `username`, `email`, `password`, `create_time`) VALUES
  (1, 'rick', 'rick@gmail.com', '$2a$08$xQvLdE0W3mzJWo0yxVTVcOpRgptofJQ9VTzb5mwEz1kKF8JbaDraG', '2017-02-13 10:20:14.662272');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `wordlist`
  --
  
  CREATE TABLE `wordlist` (
    `id` int(11) NOT NULL,
    `words` varchar(50) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  --
  -- Dumping data for table `wordlist`
  --
  
  INSERT INTO `wordlist` (`id`, `words`) VALUES
  (1, 'test');
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indexes for table `leaderboard`
  --
  ALTER TABLE `leaderboard`
    ADD PRIMARY KEY (`id`,`user_id`),
    ADD UNIQUE KEY `id_UNIQUE` (`id`),
    ADD KEY `fk_leaderboard_user_idx` (`user_id`);
  
  --
  -- Indexes for table `users`
  --
  ALTER TABLE `users`
    ADD PRIMARY KEY (`id`),
    ADD UNIQUE KEY `usercol_UNIQUE` (`id`);
  
  --
  -- Indexes for table `wordlist`
  --
  ALTER TABLE `wordlist`
    ADD PRIMARY KEY (`id`),
    ADD UNIQUE KEY `id_UNIQUE` (`id`);
  
  --
  -- AUTO_INCREMENT for dumped tables
  --
  
  --
  -- AUTO_INCREMENT for table `leaderboard`
  --
  ALTER TABLE `leaderboard`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  --
  -- AUTO_INCREMENT for table `users`
  --
  ALTER TABLE `users`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
  --
  -- AUTO_INCREMENT for table `wordlist`
  --
  ALTER TABLE `wordlist`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
  --
  -- Constraints for dumped tables
  --
  
  --
  -- Constraints for table `leaderboard`
  --
  ALTER TABLE `leaderboard`
    ADD CONSTRAINT `fk_leaderboard_user` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON UPDATE NO ACTION;
  
  /*!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 */;
  