-- phpMyAdmin SQL Dump
-- version 5.2.2
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Jun 29, 2026 at 06:54 AM
-- Server version: 8.4.3
-- PHP Version: 8.1.32

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
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: `credit_assistance`
--

-- --------------------------------------------------------

--
-- Table structure for table `card_tokens`
--

CREATE TABLE `card_tokens` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` bigint NOT NULL,
  `token` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `contents`
--

CREATE TABLE `contents` (
  `id` bigint UNSIGNED NOT NULL,
  `terms_service` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `contents`
--

INSERT INTO `contents` (`id`, `terms_service`, `created_at`, `updated_at`) VALUES
(1, 'content/terms_and_service.html', '2023-10-22 21:08:46', '2023-10-22 21:08:46');

-- --------------------------------------------------------

--
-- Table structure for table `creditreports`
--

CREATE TABLE `creditreports` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` int NOT NULL DEFAULT '0',
  `report_type` tinyint NOT NULL DEFAULT '3',
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `file_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `creditreport_providers`
--

CREATE TABLE `creditreport_providers` (
  `id` bigint UNSIGNED NOT NULL,
  `company_type` tinyint NOT NULL,
  `link` varchar(350) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `creditreport_providers`
--

INSERT INTO `creditreport_providers` (`id`, `company_type`, `link`, `created_at`, `updated_at`) VALUES
(1, 1, 'https://www.identityiq.com/sc-securepreferred.aspx?offercode=431144NA', '2023-03-15 10:53:30', '2023-09-20 13:53:05'),
(2, 3, 'https://www.smartcredit.com/?PID=11885', '2023-03-23 04:24:33', '2023-03-23 05:06:09');

-- --------------------------------------------------------

--
-- Table structure for table `failed_jobs`
--

CREATE TABLE `failed_jobs` (
  `id` bigint UNSIGNED NOT NULL,
  `uuid` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `connection` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `queue` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `payload` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `exception` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `failed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `iq_call_histories`
--

CREATE TABLE `iq_call_histories` (
  `id` bigint UNSIGNED NOT NULL,
  `ip` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `port` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `page` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `error_code` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` tinyint NOT NULL DEFAULT '0' COMMENT '0 = failed, 1=success',
  `created_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `migrations`
--

CREATE TABLE `migrations` (
  `id` int UNSIGNED NOT NULL,
  `migration` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `batch` int NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `modules`
--

CREATE TABLE `modules` (
  `id` bigint UNSIGNED NOT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` tinyint NOT NULL DEFAULT '0' COMMENT 'for employee 1 otherwise 0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `modules`
--

INSERT INTO `modules` (`id`, `name`, `status`, `created_at`, `updated_at`) VALUES
(1, 'Client Management', 1, '2023-01-05 07:44:41', '2023-01-05 07:44:41'),
(2, 'Training Video', 1, '2023-01-05 07:44:41', '2023-01-05 07:44:41'),
(3, 'Sales Report', 0, '2023-01-05 07:44:41', '2023-01-05 07:44:41'),
(4, 'Terms And Service', 1, '2023-01-05 07:44:41', '2023-01-05 07:44:41'),
(5, 'Employee Management', 1, '2023-01-05 07:44:41', '2023-01-05 07:44:41'),
(7, 'Account Information', 0, '2023-01-19 13:05:27', '2023-01-19 13:05:27'),
(8, 'Software Training', 0, '2023-01-19 13:05:27', '2023-01-19 13:05:27'),
(9, 'WORK AREA', 0, '2023-01-19 13:05:27', '2023-01-19 13:05:27'),
(10, 'Profile', 0, '2023-01-19 13:05:27', '2023-01-19 13:05:27'),
(11, 'Payment Setting', 0, '2023-01-19 13:05:27', '2023-01-19 13:05:27'),
(12, 'Cancel Account', 0, '2023-01-19 13:05:27', '2023-01-19 13:05:27'),
(14, 'Credit Report Provider', 1, '2023-03-23 12:50:12', '2023-03-23 12:50:12');

-- --------------------------------------------------------

--
-- Table structure for table `packages`
--

CREATE TABLE `packages` (
  `id` bigint UNSIGNED NOT NULL,
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` double(12,4) NOT NULL DEFAULT '0.0000' COMMENT 'Package price',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `password_resets`
--

CREATE TABLE `password_resets` (
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `token` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `permissions`
--

CREATE TABLE `permissions` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` int NOT NULL,
  `submodule_id` int NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `permissions`
--

INSERT INTO `permissions` (`id`, `user_id`, `submodule_id`, `created_at`, `updated_at`) VALUES
(1, 6, 1, '2023-08-27 16:32:09', '2023-08-27 16:32:09'),
(2, 6, 2, '2023-08-27 16:32:09', '2023-08-27 16:32:09'),
(3, 6, 3, '2023-08-27 16:32:09', '2023-08-27 16:32:09'),
(4, 6, 26, '2023-08-27 16:32:09', '2023-08-27 16:32:09');

-- --------------------------------------------------------

--
-- Table structure for table `recurrings`
--

CREATE TABLE `recurrings` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` bigint NOT NULL DEFAULT '0',
  `last_process_date` datetime DEFAULT NULL,
  `status` tinyint NOT NULL DEFAULT '1' COMMENT '1=active,2= inactive',
  `transaction_status` tinyint NOT NULL DEFAULT '0',
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `subscription_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `transaction_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `recurring_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plan_payments` smallint NOT NULL DEFAULT '0',
  `plan_amount` double(8,2) NOT NULL DEFAULT '0.00',
  `day_frequency` tinyint NOT NULL DEFAULT '0',
  `month_frequency` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `day_of_month` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `sales`
--

CREATE TABLE `sales` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` int NOT NULL DEFAULT '0',
  `status` tinyint NOT NULL COMMENT '1=completed,0=failed,2=pending',
  `order_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cc_number` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL COMMENT 'masking and last 4 digit card number',
  `auth_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'from api response authcode',
  `transaction_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'from api response tranx id',
  `recurring_id` int NOT NULL DEFAULT '0',
  `ip` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `security_questions`
--

CREATE TABLE `security_questions` (
  `id` bigint UNSIGNED NOT NULL,
  `questions` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `submodules`
--

CREATE TABLE `submodules` (
  `id` bigint UNSIGNED NOT NULL,
  `module_id` int NOT NULL,
  `key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `submodules`
--

INSERT INTO `submodules` (`id`, `module_id`, `key`, `name`, `created_at`, `updated_at`) VALUES
(1, 1, 'client-list', 'List', '2023-01-05 01:44:41', '2023-01-05 01:44:41'),
(2, 1, 'client-view', 'View', '2023-01-05 01:44:41', '2023-01-05 01:44:41'),
(3, 1, 'client-edit', 'Edit', '2023-01-05 01:44:41', '2023-01-05 01:44:41'),
(4, 1, 'client-delete', 'Delete', '2023-01-05 01:44:41', '2023-01-05 01:44:41'),
(5, 2, 'training-video-create', 'Create', '2023-01-05 01:44:41', '2023-01-05 01:44:41'),
(6, 2, 'training-video-edit', 'Edit', '2023-01-05 01:44:41', '2023-01-05 01:44:41'),
(7, 2, 'training-video-delete', 'Delete', '2023-01-05 01:44:41', '2023-01-05 01:44:41'),
(8, 3, 'sales-report', 'Sales Report', '2023-01-05 01:44:41', '2023-01-05 01:44:41'),
(9, 4, 'terms-service', 'Terms And Service', '2023-01-05 01:44:41', '2023-01-05 01:44:41'),
(10, 5, 'employee-list', 'List', '2023-01-05 01:44:41', '2023-01-05 01:44:41'),
(11, 6, 'user-permission-create', 'Create', '2023-01-05 01:44:41', '2023-01-05 01:44:41'),
(12, 6, 'user-permission-view', 'View', '2023-01-05 01:44:41', '2023-01-05 01:44:41'),
(13, 7, 'client-profile-view', 'View', '2023-01-05 01:44:41', '2023-01-05 01:44:41'),
(14, 7, 'client-profile-edit', 'Edit', '2023-01-05 01:44:41', '2023-01-05 01:44:41'),
(15, 12, 'client-cancel-account', 'Cancel Account', '2023-01-05 01:44:41', '2023-01-05 01:44:41'),
(16, 11, 'client-cancel-account', 'Payment Setting', '2023-01-05 01:44:41', '2023-01-05 01:44:41'),
(17, 8, 'client-training-video-view', 'View', '2023-01-05 01:44:41', '2023-01-05 01:44:41'),
(18, 9, 'client-letter-view-update', 'View', '2023-01-05 01:44:41', '2023-01-05 01:44:41'),
(19, 9, 'client-generate-pdf', 'Generate Pdf', '2023-01-05 01:44:41', '2023-01-05 01:44:41'),
(20, 9, 'client-get-credit-report', 'Credit Report', '2023-01-05 01:44:41', '2023-01-05 01:44:41'),
(21, 9, 'client-upload-credit-report', 'Upload Credit Report', '2023-01-05 01:44:41', '2023-01-05 01:44:41'),
(22, 5, 'employee-create', 'Create', '2023-01-05 01:44:41', '2023-01-05 01:44:41'),
(23, 5, 'employee-view', 'View', '2023-01-05 01:44:41', '2023-01-05 01:44:41'),
(24, 5, 'employee-edit', 'Edit', '2023-01-05 01:44:41', '2023-01-05 01:44:41'),
(25, 5, 'employee-delete', 'Delete', '2023-01-23 18:13:37', '2023-01-23 18:13:37'),
(26, 1, 'client-create', 'Create', '2023-03-09 13:30:34', '2023-03-09 13:30:34'),
(27, 14, 'credit-report-provider-create', 'Create', '2023-01-05 01:44:41', '2023-01-05 01:44:41'),
(28, 14, 'credit-report-provider-edit', 'Edit', '2023-01-05 01:44:41', '2023-01-05 01:44:41'),
(29, 14, 'credit-report-provider-delete', 'Delete', '2023-01-05 01:44:41', '2023-01-05 01:44:41');

-- --------------------------------------------------------

--
-- Table structure for table `supports`
--

CREATE TABLE `supports` (
  `id` bigint UNSIGNED NOT NULL,
  `sender_id` int NOT NULL,
  `assigned_id` int NOT NULL DEFAULT '0',
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `priority` tinyint NOT NULL DEFAULT '1' COMMENT '1=normal,2=high, 3= Very High, 4=urgent',
  `is_read` tinyint NOT NULL DEFAULT '0' COMMENT '1=normal,2=high, 3= Very High, 4=urgent',
  `status` tinyint NOT NULL DEFAULT '0' COMMENT '0 = Pending, 1 = In progress, 2 = closed, 3 = replied',
  `created_at` datetime DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `supports`
--

INSERT INTO `supports` (`id`, `sender_id`, `assigned_id`, `title`, `priority`, `is_read`, `status`, `created_at`, `updated_at`) VALUES
(50, 90, 0, 'test', 1, 0, 0, '2026-06-29 06:21:56', '2026-06-29 06:21:56');

-- --------------------------------------------------------

--
-- Table structure for table `support_replies`
--

CREATE TABLE `support_replies` (
  `id` bigint UNSIGNED NOT NULL,
  `sender_id` int NOT NULL,
  `support_id` int NOT NULL,
  `is_read` tinyint NOT NULL DEFAULT '0' COMMENT '0=no read,1=read',
  `message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `attachment_path` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `support_replies`
--

INSERT INTO `support_replies` (`id`, `sender_id`, `support_id`, `is_read`, `message`, `attachment_path`, `created_at`, `updated_at`) VALUES
(148, 90, 50, 0, 'import problem', NULL, '2026-06-29 06:21:56', '2026-06-29 06:21:56');

-- --------------------------------------------------------

--
-- Table structure for table `tmp_sales`
--

CREATE TABLE `tmp_sales` (
  `id` bigint UNSIGNED NOT NULL,
  `status` tinyint NOT NULL DEFAULT '2' COMMENT '1=completed,0=failed,2=pending',
  `order_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `uploadmedias`
--

CREATE TABLE `uploadmedias` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` int NOT NULL,
  `image_type_id` int NOT NULL,
  `image_path` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `users`
--

CREATE TABLE `users` (
  `id` bigint UNSIGNED NOT NULL,
  `first_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `last_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_type` tinyint NOT NULL DEFAULT '0' COMMENT '1=admin,0=client,2=employee',
  `subscription_status` tinyint NOT NULL DEFAULT '0' COMMENT 'if payment success then(0=unsubscribed, 1= subscribed,2=cancel account)',
  `status` tinyint NOT NULL DEFAULT '1' COMMENT 'active = 1, inactive = 2',
  `credit_report_company_type` tinyint NOT NULL DEFAULT '3',
  `is_first_login` tinyint NOT NULL DEFAULT '1',
  `is_import` tinyint NOT NULL DEFAULT '0' COMMENT '1= eligible for import new report, 0= not yet',
  `last_payment_date` datetime DEFAULT NULL,
  `user_access_end_date` datetime DEFAULT NULL,
  `last_import_date` datetime DEFAULT NULL,
  `account_cancel_datetime` datetime DEFAULT NULL,
  `wave` tinyint NOT NULL DEFAULT '0',
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `street_no` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `street_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `city` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `state` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `birth_date` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `zip_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ssn` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email_verified_at` timestamp NULL DEFAULT NULL,
  `remember_token` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `users`
--

INSERT INTO `users` (`id`, `first_name`, `last_name`, `user_type`, `subscription_status`, `status`, `credit_report_company_type`, `is_first_login`, `is_import`, `last_payment_date`, `user_access_end_date`, `last_import_date`, `account_cancel_datetime`, `wave`, `email`, `password`, `street_no`, `street_name`, `city`, `state`, `birth_date`, `phone`, `zip_code`, `ssn`, `email_verified_at`, `remember_token`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'Jesse', 'Miller', 1, 1, 1, 3, 0, 1, NULL, NULL, '2022-10-06 10:35:10', NULL, 1, 'jesse@clickletters.com', 'YTZLd2xBTTM4K0prVGc1bE5sODlIQT09', '3555', 'Roosevelt Street', 'San Francisco', 'IL', '10/05/2000', '415-374-2261', '94108', '5555', NULL, NULL, '2022-10-06 16:27:05', '2022-12-22 22:18:22', NULL);

-- --------------------------------------------------------

--
-- Table structure for table `user_identity_question_answers`
--

CREATE TABLE `user_identity_question_answers` (
  `id` bigint UNSIGNED NOT NULL,
  `question` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `answer` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` int NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `user_packages`
--

CREATE TABLE `user_packages` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` int NOT NULL,
  `package_id` int NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `user_security_questions`
--

CREATE TABLE `user_security_questions` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` int NOT NULL,
  `answer_id` int NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `user_security_question_answers`
--

CREATE TABLE `user_security_question_answers` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` int NOT NULL,
  `question_id` int NOT NULL,
  `answer` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `user_waves`
--

CREATE TABLE `user_waves` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` int NOT NULL DEFAULT '0',
  `wave` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `video_settings`
--

CREATE TABLE `video_settings` (
  `id` bigint UNSIGNED NOT NULL,
  `link` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `section_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` tinyint NOT NULL DEFAULT '1' COMMENT '0-inaction, 1-active',
  `is_welcome_video` tinyint NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `video_settings`
--

INSERT INTO `video_settings` (`id`, `link`, `section_name`, `status`, `is_welcome_video`, `created_at`, `updated_at`) VALUES
(1, 'https://vimeo.com/879617245?', 'Welcome Video', 1, 0, '2023-08-27 20:35:58', '2023-11-04 15:03:03'),
(2, 'https://vimeo.com/858446778', 'How to use the Software', 1, 0, '2023-10-31 00:52:19', '2023-10-31 00:52:19'),
(3, 'https://vimeo.com/881194312', 'Intro Video', 1, 1, '2023-11-04 15:03:36', '2023-11-04 15:03:36'),
(4, 'https://vimeo.com/881196911', 'Error When Saving', 1, 0, '2023-11-04 15:13:39', '2023-11-04 15:13:39'),
(5, 'https://vimeo.com/881197877', 'Personal Information To Add To Letters', 1, 0, '2023-11-04 15:19:49', '2023-11-04 15:19:49'),
(6, 'https://vimeo.com/881199460', 'How to Attack Inquiries', 1, 0, '2023-11-04 15:28:55', '2023-11-04 15:28:55'),
(7, 'https://vimeo.com/881200151', 'How To Attack Accounts or Bankruptcies 11 or 13', 1, 0, '2023-11-04 15:33:26', '2023-11-04 15:33:26'),
(8, 'https://vimeo.com/881200911', 'How To Upload Your Credit Report', 1, 0, '2023-11-04 15:36:04', '2023-11-04 15:36:04');

-- --------------------------------------------------------

--
-- Table structure for table `wave_cycles`
--

CREATE TABLE `wave_cycles` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` int NOT NULL DEFAULT '0',
  `wave_cycle` int NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `card_tokens`
--
ALTER TABLE `card_tokens`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `contents`
--
ALTER TABLE `contents`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `creditreports`
--
ALTER TABLE `creditreports`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `creditreport_providers`
--
ALTER TABLE `creditreport_providers`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`);

--
-- Indexes for table `iq_call_histories`
--
ALTER TABLE `iq_call_histories`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `modules`
--
ALTER TABLE `modules`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `packages`
--
ALTER TABLE `packages`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `password_resets`
--
ALTER TABLE `password_resets`
  ADD KEY `password_resets_email_index` (`email`);

--
-- Indexes for table `permissions`
--
ALTER TABLE `permissions`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `recurrings`
--
ALTER TABLE `recurrings`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `sales`
--
ALTER TABLE `sales`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `security_questions`
--
ALTER TABLE `security_questions`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `submodules`
--
ALTER TABLE `submodules`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `supports`
--
ALTER TABLE `supports`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `support_replies`
--
ALTER TABLE `support_replies`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tmp_sales`
--
ALTER TABLE `tmp_sales`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `tmp_sales_order_id_unique` (`order_id`);

--
-- Indexes for table `uploadmedias`
--
ALTER TABLE `uploadmedias`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `users`
--
ALTER TABLE `users`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `email` (`email`);

--
-- Indexes for table `user_identity_question_answers`
--
ALTER TABLE `user_identity_question_answers`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `user_packages`
--
ALTER TABLE `user_packages`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `user_security_questions`
--
ALTER TABLE `user_security_questions`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `user_security_question_answers`
--
ALTER TABLE `user_security_question_answers`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `user_waves`
--
ALTER TABLE `user_waves`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `video_settings`
--
ALTER TABLE `video_settings`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `section_id` (`section_name`),
  ADD UNIQUE KEY `section_id_2` (`section_name`);

--
-- Indexes for table `wave_cycles`
--
ALTER TABLE `wave_cycles`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `card_tokens`
--
ALTER TABLE `card_tokens`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `contents`
--
ALTER TABLE `contents`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `creditreports`
--
ALTER TABLE `creditreports`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=87;

--
-- AUTO_INCREMENT for table `creditreport_providers`
--
ALTER TABLE `creditreport_providers`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `iq_call_histories`
--
ALTER TABLE `iq_call_histories`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=275;

--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=26;

--
-- AUTO_INCREMENT for table `modules`
--
ALTER TABLE `modules`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

--
-- AUTO_INCREMENT for table `packages`
--
ALTER TABLE `packages`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `permissions`
--
ALTER TABLE `permissions`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `recurrings`
--
ALTER TABLE `recurrings`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sales`
--
ALTER TABLE `sales`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `security_questions`
--
ALTER TABLE `security_questions`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `submodules`
--
ALTER TABLE `submodules`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30;

--
-- AUTO_INCREMENT for table `supports`
--
ALTER TABLE `supports`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=51;

--
-- AUTO_INCREMENT for table `support_replies`
--
ALTER TABLE `support_replies`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=149;

--
-- AUTO_INCREMENT for table `tmp_sales`
--
ALTER TABLE `tmp_sales`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `uploadmedias`
--
ALTER TABLE `uploadmedias`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=224;

--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=91;

--
-- AUTO_INCREMENT for table `user_identity_question_answers`
--
ALTER TABLE `user_identity_question_answers`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `user_packages`
--
ALTER TABLE `user_packages`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `user_security_questions`
--
ALTER TABLE `user_security_questions`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `user_security_question_answers`
--
ALTER TABLE `user_security_question_answers`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `user_waves`
--
ALTER TABLE `user_waves`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=102;

--
-- AUTO_INCREMENT for table `video_settings`
--
ALTER TABLE `video_settings`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `wave_cycles`
--
ALTER TABLE `wave_cycles`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
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 */;
