text: /*
  SQLyog Ultimate v9.50 
  MySQL - 5.6.26 : Database - dealer_db
  *********************************************************************
  */
  
  
  /*!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*/`dealer_db` /*!40100 DEFAULT CHARACTER SET latin1 */;
  
  USE `dealer_db`;
  
  /*Table structure for table `m_aksesoris` */
  
  DROP TABLE IF EXISTS `m_aksesoris`;
  
  CREATE TABLE `m_aksesoris` (
    `kd_aksesoris` varchar(10) NOT NULL,
    `aksesoris` varchar(75) DEFAULT NULL,
    `kd_motor` varchar(10) DEFAULT NULL COMMENT 'kd_motor mengambil dari m_motor',
    `foto` varchar(255) DEFAULT NULL,
    `status_aksesoris` enum('1','2','3') DEFAULT NULL COMMENT '1(Aktif), 2(In-Aktif), 3(Delete)',
    `sys_create_user` int(11) DEFAULT NULL,
    `sys_update_user` int(11) DEFAULT NULL,
    `sys_delete_user` int(11) DEFAULT NULL,
    `sys_create_date` datetime DEFAULT NULL,
    `sys_update_date` datetime DEFAULT NULL,
    PRIMARY KEY (`kd_aksesoris`)
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  /*Data for the table `m_aksesoris` */
  
  /*!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 */;
  