text: -- phpMyAdmin SQL Dump
  -- version 4.5.1
  -- http://www.phpmyadmin.net
  --
  -- Host: 127.0.0.1
  -- Generation Time: Jul 01, 2017 at 06:58 PM
  -- Server version: 10.1.13-MariaDB
  -- PHP Version: 5.6.23
  
  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 utf8mb4 */;
  
  --
  -- Database: `dakocom_bt_db`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `cms_categories`
  --
  
  CREATE TABLE `cms_categories` (
    `id` int(10) UNSIGNED NOT NULL,
    `category_name` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
    `parent_category_id` int(11) NOT NULL,
    `created_at` timestamp NULL DEFAULT NULL,
    `updated_at` timestamp NULL DEFAULT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `comments`
  --
  
  CREATE TABLE `comments` (
    `id` int(10) UNSIGNED NOT NULL,
    `details` text COLLATE utf8_unicode_ci NOT NULL,
    `user_id` int(11) NOT NULL,
    `flag` char(255) COLLATE utf8_unicode_ci NOT NULL,
    `news_id` int(11) NOT NULL,
    `created_at` timestamp NULL DEFAULT NULL,
    `updated_at` timestamp NULL DEFAULT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  
  --
  -- Dumping data for table `comments`
  --
  
  INSERT INTO `comments` (`id`, `details`, `user_id`, `flag`, `news_id`, `created_at`, `updated_at`) VALUES
  (1, 'মেহবুব চৌধুরীকে গ্রেপ্তার করেন দুদকের উপপরিচালক শেখ আবদুস ছালাম। মেহবুব চৌধুরীকে বর্তমানে বনানী থানায় রাখা হয়েছে। আগামীকাল তাঁকে আদালতে উপস্থাপন করা হবে বলে দুদক সূত্র জানিয়েছে।', 1, '1', 1498815563, '2017-07-18 18:00:00', NULL);
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `migrations`
  --
  
  CREATE TABLE `migrations` (
    `migration` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
    `batch` int(11) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  
  --
  -- Dumping data for table `migrations`
  --
  
  INSERT INTO `migrations` (`migration`, `batch`) VALUES
  ('2014_10_12_000000_create_users_table', 1),
  ('2014_10_12_100000_create_password_resets_table', 1),
  ('2017_06_21_052350_create_table_cms_categories', 1),
  ('2017_06_21_054235_create_table_roles', 1),
  ('2017_06_21_062436_create_table_permission_users', 1),
  ('2017_06_21_065400_create_table_news', 1),
  ('2017_06_21_065838_alter_table_news', 1),
  ('2017_06_21_091210_alter_table_news11', 1),
  ('2017_06_21_091918_create_table_news_types', 1),
  ('2017_06_21_093547_alter_table_news32', 1),
  ('2017_07_01_153446_create_table_comments', 2);
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `news`
  --
  
  CREATE TABLE `news` (
    `id` int(10) UNSIGNED NOT NULL,
    `title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
    `featured_image` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
    `details` text COLLATE utf8_unicode_ci NOT NULL,
    `created_at` timestamp NULL DEFAULT NULL,
    `updated_at` timestamp NULL DEFAULT NULL,
    `created_by` int(11) NOT NULL,
    `flag` char(1) COLLATE utf8_unicode_ci NOT NULL,
    `language` varchar(255) COLLATE utf8_unicode_ci NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  
  --
  -- Dumping data for table `news`
  --
  
  INSERT INTO `news` (`id`, `title`, `featured_image`, `details`, `created_at`, `updated_at`, `created_by`, `flag`, `language`) VALUES
  (1498814955, '', '', '', '2017-06-30 03:29:15', '2017-06-30 03:29:15', 1, '1', 'bangla'),
  (1498815468, 'new data', 'featured_images_1498815468.png', '<h2>Mastering Julia</h2>\r\n\r\n<p>&nbsp;</p>\r\n\r\n<p><strong>This book will help you develop and enhance your programming skills in Julia to solve real-world automation challenge</strong>s. Compare the different ways of working with Julia and explore Julia&#39;s key features in-depth by looking at design and build. Experience how data works using simple statistics and analytics, and discov<em>er Julia&#39;s speed, </em>its real strength, which makes it particularly useful in highly intensive computing tasks and observe how Julia can cooperate with external processes in order to enhance graphics and data visualization.</p>\r\n', '2017-06-30 03:37:48', '2017-06-30 03:37:48', 1, '1', 'bangla'),
  (1498815563, 'fdasfs333333333', 'featured_images_1498815563.jpeg', '<p>aseef</p>\r\n', '2017-06-30 03:39:23', '2017-06-30 03:50:01', 1, '1', 'english');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `news_types`
  --
  
  CREATE TABLE `news_types` (
    `id` int(10) UNSIGNED NOT NULL,
    `news_id` int(11) NOT NULL,
    `category_id` int(11) NOT NULL,
    `created_at` timestamp NULL DEFAULT NULL,
    `updated_at` timestamp NULL DEFAULT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `password_resets`
  --
  
  CREATE TABLE `password_resets` (
    `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
    `token` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
    `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `permission_users`
  --
  
  CREATE TABLE `permission_users` (
    `id` int(10) UNSIGNED NOT NULL,
    `user_id` int(11) NOT NULL,
    `category_id` int(11) NOT NULL,
    `created_at` timestamp NULL DEFAULT NULL,
    `updated_at` timestamp NULL DEFAULT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `roles`
  --
  
  CREATE TABLE `roles` (
    `id` int(10) UNSIGNED NOT NULL,
    `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
    `created_at` timestamp NULL DEFAULT NULL,
    `updated_at` timestamp NULL DEFAULT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `users`
  --
  
  CREATE TABLE `users` (
    `id` int(10) UNSIGNED NOT NULL,
    `first_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
    `last_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
    `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
    `password` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
    `address_line_1` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
    `address_line_2` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
    `city` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
    `district` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
    `post_code` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
    `division` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
    `company` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
    `work_phone` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
    `home_phone` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
    `other_phone` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
    `role` char(1) COLLATE utf8_unicode_ci NOT NULL COMMENT '1=admin, 2=client, 3=employee',
    `verification_code` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
    `status` char(1) COLLATE utf8_unicode_ci NOT NULL COMMENT '0=inactive, 1=active, 2=suspend',
    `deleted_at` timestamp NULL DEFAULT NULL,
    `remember_token` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
    `created_at` timestamp NULL DEFAULT NULL,
    `updated_at` timestamp NULL DEFAULT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  
  --
  -- Dumping data for table `users`
  --
  
  INSERT INTO `users` (`id`, `first_name`, `last_name`, `email`, `password`, `address_line_1`, `address_line_2`, `city`, `district`, `post_code`, `division`, `company`, `work_phone`, `home_phone`, `other_phone`, `role`, `verification_code`, `status`, `deleted_at`, `remember_token`, `created_at`, `updated_at`) VALUES
  (1, 'Aseef', 'Ahmed', 'admin@gmail.com', '$2y$10$esMHCYOJqBLoMv59qvTpleYbkBmzPSJEgai.YaiFrSyYXdeFniXlG', '', '', '', '', '', '', '', '', '', '', '1', '', '', NULL, 'SARgWUYE7CtaBL2RjjNdtG7qIEFeV8aM5x0Iex8hmcP9vCTev2eiT9XTsnt4', NULL, '2017-06-30 02:49:54');
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indexes for table `cms_categories`
  --
  ALTER TABLE `cms_categories`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `comments`
  --
  ALTER TABLE `comments`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `news`
  --
  ALTER TABLE `news`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `news_types`
  --
  ALTER TABLE `news_types`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `password_resets`
  --
  ALTER TABLE `password_resets`
    ADD KEY `password_resets_email_index` (`email`),
    ADD KEY `password_resets_token_index` (`token`);
  
  --
  -- Indexes for table `permission_users`
  --
  ALTER TABLE `permission_users`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `roles`
  --
  ALTER TABLE `roles`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `users`
  --
  ALTER TABLE `users`
    ADD PRIMARY KEY (`id`),
    ADD UNIQUE KEY `users_email_unique` (`email`);
  
  --
  -- AUTO_INCREMENT for dumped tables
  --
  
  --
  -- AUTO_INCREMENT for table `cms_categories`
  --
  ALTER TABLE `cms_categories`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
  --
  -- AUTO_INCREMENT for table `comments`
  --
  ALTER TABLE `comments`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
  --
  -- AUTO_INCREMENT for table `news`
  --
  ALTER TABLE `news`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1498815564;
  --
  -- AUTO_INCREMENT for table `news_types`
  --
  ALTER TABLE `news_types`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
  --
  -- AUTO_INCREMENT for table `permission_users`
  --
  ALTER TABLE `permission_users`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
  --
  -- AUTO_INCREMENT for table `roles`
  --
  ALTER TABLE `roles`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
  --
  -- AUTO_INCREMENT for table `users`
  --
  ALTER TABLE `users`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
  /*!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 */;
  