inital commit

This commit is contained in:
2026-06-24 18:29:01 +06:00
commit f401802bf7
3918 changed files with 553085 additions and 0 deletions

883
database/ceditzombiesdb.sql Normal file
View File

@@ -0,0 +1,883 @@
-- phpMyAdmin SQL Dump
-- version 5.2.2
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Jun 24, 2026 at 06:27 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: `ceditzombiesdb`
--
-- --------------------------------------------------------
--
-- 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;
-- --------------------------------------------------------
--
-- 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://member.identityiq.com/creditpreferred.aspx?offercode=431141CQ', '2023-03-15 10:53:30', '2023-03-23 06:15:04'),
(3, 3, 'https://www.smartcredit.com/?PID=11885', '2024-01-03 04:03:18', '2024-01-03 04:03:18');
-- --------------------------------------------------------
--
-- 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', 1, '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'),
(15, 'Support', 1, '2023-11-09 10:43:46', '2023-11-09 10:43:46');
-- --------------------------------------------------------
--
-- 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;
--
-- Dumping data for table `packages`
--
INSERT INTO `packages` (`id`, `name`, `amount`, `created_at`, `updated_at`) VALUES
(1, 'Basic', 19.9700, NULL, NULL),
(2, 'Premium', 24.9700, NULL, NULL);
-- --------------------------------------------------------
--
-- 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;
-- --------------------------------------------------------
--
-- 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'),
(30, 15, 'client-support-create', 'Create', '2023-11-09 10:47:06', '2023-11-09 10:47:06'),
(31, 15, 'client-support-list', 'List', '2023-11-09 10:47:06', '2023-11-09 10:47:06'),
(32, 15, 'client-support-view', 'View', '2023-11-09 10:51:41', '2023-11-09 10:51:41'),
(33, 15, 'client-support-edit', 'Edit', '2023-11-09 10:51:41', '2023-11-09 10:51: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 '0=no read,1=read',
`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;
-- --------------------------------------------------------
--
-- 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;
-- --------------------------------------------------------
--
-- 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',
`is_free` tinyint NOT NULL DEFAULT '2' COMMENT ' ''if free customer =1 otherwise 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`, `is_free`, `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
(4, 'Jesse', 'Miller', 1, 1, 1, 2, 3, 0, 2, NULL, NULL, '2024-08-26 13:02:31', NULL, 2, 'jesse@clickletters.com', 'YTZLd2xBTTM4K0prVGc1bE5sODlIQT09', '3555', 'Roosevelt Street', 'San Francisco', 'IL', '10/05/2000', '415-374-2261', '94108', '5555', NULL, NULL, '2022-10-06 10:27:05', '2023-12-27 06:12:54', 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',
`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`, `created_at`, `updated_at`) VALUES
(3, 'https://vimeo.com/773528229', 'Account Information', 1, '2022-09-23 05:37:36', '2022-11-28 16:27:20'),
(4, 'https://vimeo.com/784865772', 'Wave 1 Attack Process', 1, '2022-12-28 21:39:22', '2022-12-28 21:39:22'),
(5, 'https://vimeo.com/784857219', 'Personal Information To Add To Letters', 1, '2023-01-10 20:29:31', '2023-01-10 20:29:31'),
(6, 'https://vimeo.com/792043198', 'Wave 2 Attack Process', 1, '2023-01-23 22:36:26', '2023-01-23 22:36:26');
-- --------------------------------------------------------
--
-- 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=2;
--
-- 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=185;
--
-- AUTO_INCREMENT for table `creditreport_providers`
--
ALTER TABLE `creditreport_providers`
MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=33;
--
-- AUTO_INCREMENT for table `iq_call_histories`
--
ALTER TABLE `iq_call_histories`
MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=163;
--
-- 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=16;
--
-- AUTO_INCREMENT for table `packages`
--
ALTER TABLE `packages`
MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `permissions`
--
ALTER TABLE `permissions`
MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=49;
--
-- AUTO_INCREMENT for table `recurrings`
--
ALTER TABLE `recurrings`
MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=111;
--
-- AUTO_INCREMENT for table `sales`
--
ALTER TABLE `sales`
MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=327;
--
-- AUTO_INCREMENT for table `security_questions`
--
ALTER TABLE `security_questions`
MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `submodules`
--
ALTER TABLE `submodules`
MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=34;
--
-- AUTO_INCREMENT for table `supports`
--
ALTER TABLE `supports`
MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
--
-- AUTO_INCREMENT for table `support_replies`
--
ALTER TABLE `support_replies`
MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=46;
--
-- AUTO_INCREMENT for table `tmp_sales`
--
ALTER TABLE `tmp_sales`
MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=174;
--
-- AUTO_INCREMENT for table `uploadmedias`
--
ALTER TABLE `uploadmedias`
MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=170;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=232;
--
-- AUTO_INCREMENT for table `user_identity_question_answers`
--
ALTER TABLE `user_identity_question_answers`
MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=191;
--
-- AUTO_INCREMENT for table `user_packages`
--
ALTER TABLE `user_packages`
MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- 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=211;
--
-- AUTO_INCREMENT for table `video_settings`
--
ALTER TABLE `video_settings`
MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `wave_cycles`
--
ALTER TABLE `wave_cycles`
MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
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 */;