text: -- phpMyAdmin SQL Dump
  -- version 4.9.2
  -- https://www.phpmyadmin.net/
  --
  -- Host: 127.0.0.1:3306
  -- Generation Time: Jun 14, 2020 at 01:15 PM
  -- Server version: 10.4.10-MariaDB
  -- PHP Version: 7.3.12
  
  SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  SET AUTOCOMMIT = 0;
  START TRANSACTION;
  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: `digital_metrics_invest`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `admins`
  --
  
  DROP TABLE IF EXISTS `admins`;
  CREATE TABLE IF NOT EXISTS `admins` (
    `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,
    `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `username` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `email_verified_at` timestamp NULL DEFAULT NULL,
    `password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `created_at` timestamp NULL DEFAULT NULL,
    `updated_at` timestamp NULL DEFAULT NULL,
    PRIMARY KEY (`id`),
    UNIQUE KEY `admins_email_unique` (`email`),
    UNIQUE KEY `admins_username_unique` (`username`)
  ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  --
  -- Dumping data for table `admins`
  --
  
  INSERT INTO `admins` (`id`, `name`, `email`, `username`, `email_verified_at`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES
  (1, 'Administrator', 'admin@email.com', 'admin', NULL, '$2y$12$uzgJwASoDqzc67TuQNyxPemUZIwtxmulXJCYxw/3OfevucVr2hiZS', NULL, NULL, NULL);
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `failed_jobs`
  --
  
  DROP TABLE IF EXISTS `failed_jobs`;
  CREATE TABLE IF NOT EXISTS `failed_jobs` (
    `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,
    `connection` text COLLATE utf8mb4_unicode_ci NOT NULL,
    `queue` text COLLATE utf8mb4_unicode_ci NOT NULL,
    `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
    `exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
    `failed_at` timestamp NOT NULL DEFAULT current_timestamp(),
    PRIMARY KEY (`id`)
  ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `investments`
  --
  
  DROP TABLE IF EXISTS `investments`;
  CREATE TABLE IF NOT EXISTS `investments` (
    `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,
    `invest_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `investment_package_id` int(10) UNSIGNED DEFAULT NULL,
    `user_id` int(10) UNSIGNED DEFAULT NULL,
    `amount` int(11) NOT NULL,
    `is_approved` tinyint(1) NOT NULL DEFAULT 0,
    `created_at` timestamp NULL DEFAULT NULL,
    `updated_at` timestamp NULL DEFAULT NULL,
    PRIMARY KEY (`id`),
    KEY `investments_investment_package_id_index` (`investment_package_id`),
    KEY `investments_user_id_index` (`user_id`)
  ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  --
  -- Dumping data for table `investments`
  --
  
  INSERT INTO `investments` (`id`, `invest_id`, `investment_package_id`, `user_id`, `amount`, `is_approved`, `created_at`, `updated_at`) VALUES
  (1, 'DMI-36103', 1, 5, 35, 0, '2020-06-06 09:16:05', '2020-06-06 09:16:05'),
  (2, 'DMI-89297', 2, 5, 500, 0, '2020-06-06 09:22:02', '2020-06-06 09:22:02');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `investment_packages`
  --
  
  DROP TABLE IF EXISTS `investment_packages`;
  CREATE TABLE IF NOT EXISTS `investment_packages` (
    `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,
    `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `min` int(11) NOT NULL,
    `max` int(11) NOT NULL,
    `referral_bonus` int(11) NOT NULL,
    `monthly_profit` int(11) NOT NULL,
    `days_turnover` int(11) NOT NULL,
    `expert_advice` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `deposit_bonus` int(11) NOT NULL,
    `is_active` tinyint(1) NOT NULL DEFAULT 1,
    `created_at` timestamp NULL DEFAULT NULL,
    `updated_at` timestamp NULL DEFAULT NULL,
    PRIMARY KEY (`id`)
  ) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  --
  -- Dumping data for table `investment_packages`
  --
  
  INSERT INTO `investment_packages` (`id`, `name`, `min`, `max`, `referral_bonus`, `monthly_profit`, `days_turnover`, `expert_advice`, `deposit_bonus`, `is_active`, `created_at`, `updated_at`) VALUES
  (1, 'Economy', 0, 99, 10, 15, 90, 'Expert Advisors supported', 0, 1, NULL, NULL),
  (2, 'Regular', 100, 999, 15, 25, 120, 'Expert Advisors supported', 5, 1, NULL, NULL),
  (3, 'Standard', 1000, 24000, 15, 30, 90, 'Expert Advisors supported', 10, 1, NULL, NULL),
  (4, 'Professional', 25000, 249000, 20, 40, 120, 'Expert Advisors supported', 10, 1, NULL, NULL),
  (5, 'Executive', 250000, 449999, 20, 50, 90, 'Expert Advisors supported', 15, 1, NULL, NULL);
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `migrations`
  --
  
  DROP TABLE IF EXISTS `migrations`;
  CREATE TABLE IF NOT EXISTS `migrations` (
    `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
    `migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `batch` int(11) NOT NULL,
    PRIMARY KEY (`id`)
  ) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  --
  -- Dumping data for table `migrations`
  --
  
  INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
  (1, '2014_10_12_000000_create_users_table', 1),
  (2, '2014_10_12_100000_create_password_resets_table', 1),
  (3, '2019_08_19_000000_create_failed_jobs_table', 1),
  (4, '2020_05_30_200519_create_wallets_table', 1),
  (5, '2020_05_30_200548_create_admins_table', 1),
  (6, '2020_05_30_200614_create_investments_table', 1),
  (7, '2020_06_03_082900_create_investment_packages_table', 1);
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `password_resets`
  --
  
  DROP TABLE IF EXISTS `password_resets`;
  CREATE TABLE IF NOT EXISTS `password_resets` (
    `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `token` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `created_at` timestamp NULL DEFAULT NULL,
    KEY `password_resets_email_index` (`email`)
  ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `users`
  --
  
  DROP TABLE IF EXISTS `users`;
  CREATE TABLE IF NOT EXISTS `users` (
    `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,
    `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `email_verified_at` timestamp NULL DEFAULT NULL,
    `password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `image` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `wallet_id` int(10) UNSIGNED NOT NULL,
    `mobile` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `country` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `state` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `is_active` tinyint(1) NOT NULL DEFAULT 1,
    `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `created_at` timestamp NULL DEFAULT NULL,
    `updated_at` timestamp NULL DEFAULT NULL,
    PRIMARY KEY (`id`),
    UNIQUE KEY `users_email_unique` (`email`),
    KEY `users_wallet_id_index` (`wallet_id`)
  ) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  --
  -- Dumping data for table `users`
  --
  
  INSERT INTO `users` (`id`, `name`, `email`, `email_verified_at`, `password`, `image`, `wallet_id`, `mobile`, `country`, `state`, `address`, `is_active`, `remember_token`, `created_at`, `updated_at`) VALUES
  (5, 'Dexter Mbachu', 'neutrondeveloper@gmail.com', NULL, '$2y$10$6XaBcLmIoqc6vc0301GhUOZLifZq4gHz1BJG7c3rh1NOa5FJf18Uy', '1591224669WhatsApp Image 2020-05-28 at 8.05.22 PM.jpeg', 6, '1111111133', '-1', NULL, 'Address and stuff', 1, NULL, '2020-06-03 21:51:09', '2020-06-13 09:11:05');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `wallets`
  --
  
  DROP TABLE IF EXISTS `wallets`;
  CREATE TABLE IF NOT EXISTS `wallets` (
    `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,
    `amount` int(11) NOT NULL DEFAULT 0,
    `created_at` timestamp NULL DEFAULT NULL,
    `updated_at` timestamp NULL DEFAULT NULL,
    PRIMARY KEY (`id`)
  ) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  --
  -- Dumping data for table `wallets`
  --
  
  INSERT INTO `wallets` (`id`, `amount`, `created_at`, `updated_at`) VALUES
  (6, 723, '2020-06-03 21:51:09', '2020-06-13 10:08:47');
  COMMIT;
  
  /*!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 */;
  