text: -- phpMyAdmin SQL Dump
  -- version 4.0.10deb1
  -- http://www.phpmyadmin.net
  --
  -- Host: localhost
  -- Generation Time: Apr 17, 2016 at 09:44 PM
  -- Server version: 5.5.47-0ubuntu0.14.04.1
  -- PHP Version: 5.5.9-1ubuntu4.14
  
  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: `sockeydb`
  --
  CREATE DATABASE IF NOT EXISTS `sockeydb` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
  USE `sockeydb`;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `users`
  --
  
  CREATE TABLE IF NOT EXISTS `users` (
    `id` int(255) NOT NULL AUTO_INCREMENT,
    `name` varchar(64) NOT NULL,
    `email` varchar(128) DEFAULT NULL,
    `password` varchar(128) NOT NULL,
    `date_register` int(10) NOT NULL,
    PRIMARY KEY (`id`)
  ) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=13 ;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `user_keys`
  --
  
  CREATE TABLE IF NOT EXISTS `user_keys` (
    `user_id` int(255) NOT NULL,
    `tokey` varchar(255) NOT NULL,
    `persistent` tinyint(1) NOT NULL DEFAULT '1',
    `insdate` int(11) NOT NULL,
    UNIQUE KEY `user_id` (`user_id`)
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Constraints for dumped tables
  --
  
  --
  -- Constraints for table `user_keys`
  --
  ALTER TABLE `user_keys`
    ADD CONSTRAINT `fk_user_keys_users` FOREIGN KEY (`user_id`) 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 */;
  