text: # ************************************************************
  # Sequel Pro SQL dump
  # Version 4541
  #
  # http://www.sequelpro.com/
  # https://github.com/sequelpro/sequelpro
  #
  # Host: 127.0.0.1 (MySQL 5.5.5-10.3.16-MariaDB)
  # Database: yii2_templates
  # Generation Time: 2020-08-15 12:37:11 +0000
  # ************************************************************
  
  
  /*!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 */;
  /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
  /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
  /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
  
  
  # Dump of table admin
  # ------------------------------------------------------------
  
  DROP TABLE IF EXISTS `admin`;
  
  CREATE TABLE `admin` (
    `id` int(11) NOT NULL AUTO_INCREMENT,
    `username` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
    `auth_key` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
    `password_hash` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
    `password_reset_token` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
    `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
    `status` smallint(6) NOT NULL DEFAULT 10,
    `created_at` datetime NOT NULL,
    `updated_at` datetime NOT NULL,
    `role` int(11) DEFAULT 0,
    `created_by` int(11) DEFAULT NULL,
    `updated_by` int(11) DEFAULT NULL,
    `photo` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
    PRIMARY KEY (`id`),
    UNIQUE KEY `username` (`username`),
    UNIQUE KEY `email` (`email`),
    UNIQUE KEY `password_reset_token` (`password_reset_token`)
  ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  
  LOCK TABLES `admin` WRITE;
  /*!40000 ALTER TABLE `admin` DISABLE KEYS */;
  
  INSERT INTO `admin` (`id`, `username`, `auth_key`, `password_hash`, `password_reset_token`, `email`, `status`, `created_at`, `updated_at`, `role`, `created_by`, `updated_by`, `photo`)
  VALUES
  	(1,'ardi','HQrJx4AGGyjCFOxc67OsznuwtfyLOkRy','$2y$13$K.eeO.jjCO6S3mO405TtKe0EwXN6.jc812kCmaROUxTcsV3rla712',NULL,'tan.ardi94@gmail.com',10,'2020-07-08 11:00:00','2020-07-08 11:00:00',11,NULL,NULL,NULL);
  
  /*!40000 ALTER TABLE `admin` ENABLE KEYS */;
  UNLOCK TABLES;
  
  
  # Dump of table users
  # ------------------------------------------------------------
  
  DROP TABLE IF EXISTS `users`;
  
  CREATE TABLE `users` (
    `id` int(11) NOT NULL AUTO_INCREMENT,
    `status` tinyint(4) NOT NULL DEFAULT 1,
    `unique_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
    `username` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
    `name` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
    `email` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
    `photo` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
    `encrypted_password` varchar(80) COLLATE utf8_unicode_ci DEFAULT NULL,
    `salt` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
    `auth_key` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
    `updated_password` int(4) NOT NULL,
    `created_at` datetime DEFAULT NULL,
    `created_by` int(11) NOT NULL DEFAULT -1,
    `updated_at` datetime DEFAULT NULL,
    `updated_by` int(11) NOT NULL DEFAULT -1,
    `gender` varchar(10) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'Male',
    `token` varchar(300) COLLATE utf8_unicode_ci DEFAULT NULL,
    `password_reset_token` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
    `phone` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
    `address` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
    PRIMARY KEY (`id`),
    UNIQUE KEY `unique_id` (`unique_id`),
    UNIQUE KEY `password_reset_token` (`password_reset_token`),
    KEY `username` (`username`),
    KEY `email` (`email`)
  ) ENGINE=InnoDB AUTO_INCREMENT=10002 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  
  LOCK TABLES `users` WRITE;
  /*!40000 ALTER TABLE `users` DISABLE KEYS */;
  
  INSERT INTO `users` (`id`, `status`, `unique_id`, `username`, `name`, `email`, `photo`, `encrypted_password`, `salt`, `auth_key`, `updated_password`, `created_at`, `created_by`, `updated_at`, `updated_by`, `gender`, `token`, `password_reset_token`, `phone`, `address`)
  VALUES
  	(10001,1,'291008191845d1db475e58c86.31984671','tanardi','ardi tan','valouriee22@yopmail.com',NULL,'mb6NE7G9Wzk4ghwhRQDB4V5J1EkzNjU4YjkzNmNk','3658b936cd',NULL,0,'2019-07-04 15:10:30',-1,'2019-07-04 15:10:30',-1,'Male',NULL,NULL,NULL,NULL);
  
  /*!40000 ALTER TABLE `users` ENABLE KEYS */;
  UNLOCK TABLES;
  
  
  
  /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
  /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  /*!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 */;
  