Database

parent 18fec42e
/*
SQLyog Community v12.2.1 (32 bit)
MySQL - 10.1.16-MariaDB : Database - tugaslaravel
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!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 */;
CREATE DATABASE /*!32312 IF NOT EXISTS*/`tugaslaravel` /*!40100 DEFAULT CHARACTER SET latin1 */;
USE `tugaslaravel`;
/*Table structure for table `migrations` */
DROP TABLE IF EXISTS `migrations`;
CREATE TABLE `migrations` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`migration` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`batch` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*Data for the table `migrations` */
insert into `migrations`(`id`,`migration`,`batch`) values
(1,'2016_11_24_174624_create_users_table',1);
/*Table structure for table `users` */
DROP TABLE IF EXISTS `users`;
CREATE TABLE `users` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`image` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`fullName` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`sex` varchar(6) COLLATE utf8_unicode_ci NOT NULL,
`identityCard` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`birthDate` date NOT NULL,
`privince` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`district` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`sector` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`cellar` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*Data for the table `users` */
insert into `users`(`id`,`image`,`fullName`,`sex`,`identityCard`,`birthDate`,`privince`,`district`,`sector`,`cellar`,`created_at`,`updated_at`) values
(1,'Zeus.jpg','Asep Komarudin','Male','12435232','1996-11-22','Sumbar','Tobasa','Laguboti','Sitoluama','2016-11-26 08:17:21','2016-11-26 08:24:08'),
(2,'Zeus.jpg','Ambrela Sipayung','Male','73293372','1996-01-02','Jatim','Solo','Solo','Solo Utara','2016-11-26 08:20:36','2016-11-26 08:20:36');
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment