/*
SQLyog Ultimate v12.5.1 (64 bit)
MySQL - 5.5.68-MariaDB : Database - run_jodomart_admin
*********************************************************************
*/

/*!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 */;
/*Table structure for table `per_cabang` */

DROP TABLE IF EXISTS `per_cabang`;

CREATE TABLE `per_cabang` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `last_update` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `nama` varchar(45) DEFAULT NULL,
  `kelurahan` varchar(45) DEFAULT NULL,
  `kecamatan` varchar(45) DEFAULT NULL,
  `kabupaten` varchar(45) DEFAULT NULL,
  `propinsi` varchar(45) DEFAULT NULL,
  `alamat` tinytext,
  `toko_id` varchar(255) NOT NULL DEFAULT '',
  `status` int(1) DEFAULT '1',
  `trash` int(1) DEFAULT '0',
  `jenis` varchar(64) DEFAULT NULL,
  `harga_jenis` varchar(32) DEFAULT NULL,
  `point_jenis` varchar(32) DEFAULT NULL,
  `dtime` datetime DEFAULT NULL,
  `creator_nama` varchar(32) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=102 DEFAULT CHARSET=latin1;

/*Data for the table `per_cabang` */

insert  into `per_cabang`(`id`,`last_update`,`nama`,`kelurahan`,`kecamatan`,`kabupaten`,`propinsi`,`alamat`,`toko_id`,`status`,`trash`,`jenis`,`harga_jenis`,`point_jenis`,`dtime`,`creator_nama`) values 
(-1,'2023-06-20 17:47:39','pusat',NULL,NULL,NULL,NULL,NULL,'1001',1,0,'pusat','harga_list',NULL,NULL,NULL),
(100,'2023-06-21 08:40:35','cabang utama',NULL,NULL,'','','','1001',1,0,'cabang','harga_list','point',NULL,NULL),
(101,'2023-06-21 19:29:20','CABANG KEDUA',NULL,NULL,'','','','1001',1,0,'cabang','harga_list','point_baru',NULL,NULL);

/*!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 */;
