-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Feb 01, 2024 at 01:07 AM
-- Server version: 10.4.32-MariaDB
-- PHP Version: 8.1.25

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: `live_chat`
--

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

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

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

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

--
-- Table structure for table `messages`
--

CREATE TABLE `messages` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` varchar(255) NOT NULL,
  `sender_id` varchar(255) NOT NULL,
  `receiver_id` varchar(255) NOT NULL,
  `message` longtext DEFAULT NULL,
  `msg_file` varchar(255) DEFAULT NULL,
  `status` varchar(255) 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 `messages`
--

INSERT INTO `messages` (`id`, `user_id`, `sender_id`, `receiver_id`, `message`, `msg_file`, `status`, `created_at`, `updated_at`) VALUES
(1, '2', '2', '1', 'Hello james my name is jhon !', NULL, '0', '2024-01-31 05:25:25', '2024-01-31 05:25:25'),
(2, '1', '1', '2', 'Hi jhon, how are you doing today ?', NULL, '0', '2024-01-31 05:26:02', '2024-01-31 05:26:02'),
(3, '1', '1', '2', 'my name is zesh', NULL, '0', '2024-01-31 06:16:42', '2024-01-31 06:16:42'),
(4, '1', '1', '2', 'zee', NULL, '0', '2024-01-31 23:54:37', '2024-01-31 23:54:37'),
(5, '1', '1', '3', 'Hi ! hello zee...', NULL, '0', '2024-01-31 23:56:29', '2024-01-31 23:56:29'),
(6, '2', '2', '3', 'my name is jamu', NULL, '0', '2024-02-01 00:05:40', '2024-02-01 00:05:40'),
(7, '1', '1', '2', 'my name is zesh', NULL, '0', '2024-02-01 02:48:24', '2024-02-01 02:48:24'),
(8, '2', '2', '1', 'Hi ! hello admin...', NULL, '0', '2024-02-01 02:49:00', '2024-02-01 02:49:00'),
(9, '2', '2', '1', 'ghjgjh', NULL, '0', '2024-02-01 04:16:30', '2024-02-01 04:16:30'),
(10, '1', '1', '2', 'hi jhon ?', NULL, '0', '2024-02-01 04:17:16', '2024-02-01 04:17:16'),
(11, '1', '1', '2', 'Hi how was the day ?', NULL, '0', '2024-02-01 04:29:03', '2024-02-01 04:29:03'),
(12, '1', '1', '3', 'Hi ! hello zee, how are you doing ?', NULL, '0', '2024-02-01 04:34:42', '2024-02-01 04:34:42'),
(13, '3', '3', '1', 'Yeah james, i am fine what about you ?', NULL, '0', '2024-02-01 04:35:55', '2024-02-01 04:35:55'),
(14, '1', '1', '3', 'Ohh nice to meet you !', NULL, '0', '2024-02-01 04:36:18', '2024-02-01 04:36:18'),
(15, '2', '2', '1', 'Yeah it was fun today.', NULL, '0', '2024-02-01 04:56:29', '2024-02-01 04:56:29'),
(16, '1', '1', '2', 'very nice, whats the plans for weekend ?', NULL, '0', '2024-02-01 05:00:29', '2024-02-01 05:00:29'),
(17, '2', '2', '1', 'Nothing, because i have some house work at week end.', NULL, '0', '2024-02-01 05:02:01', '2024-02-01 05:02:01'),
(18, '1', '1', '2', 'ok, then fine.', NULL, '0', '2024-02-01 05:03:02', '2024-02-01 05:03:02'),
(19, '2', '2', '1', 'ok, lets meet today evening.', NULL, '0', '2024-02-01 05:03:59', '2024-02-01 05:03:59'),
(20, '1', '1', '2', 'Ok ! done ....', NULL, '0', '2024-02-01 05:04:14', '2024-02-01 05:04:14'),
(21, '2', '2', '1', 'ok see you later !', NULL, '0', '2024-02-01 05:07:11', '2024-02-01 05:07:11'),
(22, '2', '2', '1', 'zee', NULL, '0', '2024-02-01 05:09:05', '2024-02-01 05:09:05'),
(23, '1', '1', '2', 'Yes Jhon, what happened ?', NULL, '0', '2024-02-01 05:10:37', '2024-02-01 05:10:37'),
(24, '1', '1', '3', 'How are you zee ?', NULL, '0', '2024-02-01 05:13:07', '2024-02-01 05:13:07'),
(25, '3', '3', '1', 'I am fine james, what\'s up ?', NULL, '0', '2024-02-01 05:14:10', '2024-02-01 05:14:10'),
(26, '3', '3', '1', 'sadffsdfsf', NULL, '0', '2024-02-01 05:17:01', '2024-02-01 05:17:01'),
(27, '1', '1', '3', 'ghjgjh', NULL, '0', '2024-02-01 05:17:51', '2024-02-01 05:17:51'),
(28, '3', '3', '1', 'my name is zesh', NULL, '0', '2024-02-01 05:23:56', '2024-02-01 05:23:56'),
(29, '1', '1', '3', 'Hi ! hello admin...', NULL, '0', '2024-02-01 05:27:02', '2024-02-01 05:27:02'),
(30, '3', '3', '1', 'my name is zesh', NULL, '0', '2024-02-01 05:29:07', '2024-02-01 05:29:07'),
(31, '1', '1', '3', 'Hi ! hello admin...', NULL, '0', '2024-02-01 05:30:32', '2024-02-01 05:30:32'),
(32, '3', '3', '1', 'my name is zesh', NULL, '0', '2024-02-01 05:33:09', '2024-02-01 05:33:09'),
(33, '1', '1', '3', 'my name is zesh', NULL, '0', '2024-02-01 05:34:01', '2024-02-01 05:34:01'),
(34, '3', '3', '1', 's', NULL, '0', '2024-02-01 05:35:45', '2024-02-01 05:35:45'),
(35, '1', '1', '3', 'sadffsdfsf', NULL, '0', '2024-02-01 05:39:00', '2024-02-01 05:39:00'),
(36, '3', '3', '1', 'sadffsdfsf', NULL, '0', '2024-02-01 05:42:59', '2024-02-01 05:42:59'),
(37, '1', '1', '3', 'my name is zesh', NULL, '0', '2024-02-01 05:43:58', '2024-02-01 05:43:58'),
(38, '3', '3', '1', 'Hi ! hello admin...', NULL, '0', '2024-02-01 05:56:39', '2024-02-01 05:56:39'),
(39, '1', '1', '3', 'my name is james', NULL, '0', '2024-02-01 05:57:33', '2024-02-01 05:57:33'),
(40, '1', '1', '3', 'sadffsdfsf', NULL, '0', '2024-02-01 05:58:55', '2024-02-01 05:58:55'),
(41, '3', '3', '1', 'my name is zesh', NULL, '0', '2024-02-01 06:00:44', '2024-02-01 06:00:44'),
(42, '1', '1', '3', 'zee', NULL, '0', '2024-02-01 06:01:23', '2024-02-01 06:01:23'),
(43, '3', '3', '1', 'my name is zesh', NULL, '0', '2024-02-01 06:09:25', '2024-02-01 06:09:25'),
(44, '1', '1', '3', 'xyzzzzzz', NULL, '0', '2024-02-01 06:10:36', '2024-02-01 06:10:36'),
(45, '3', '3', '1', 'sadffsdfsf', NULL, '0', '2024-02-01 06:11:42', '2024-02-01 06:11:42'),
(46, '1', '1', '3', 'Hi ! hello admin...', NULL, '0', '2024-02-01 06:12:45', '2024-02-01 06:12:45'),
(47, '3', '3', '1', 'xyzzzzzz', NULL, '0', '2024-02-01 06:14:43', '2024-02-01 06:14:43'),
(48, '1', '1', '3', 'sadffsdfsf', NULL, '0', '2024-02-01 06:15:42', '2024-02-01 06:15:42'),
(49, '3', '3', '1', 'xyzzzzzz', NULL, '0', '2024-02-01 06:16:20', '2024-02-01 06:16:20'),
(50, '1', '1', '3', 'ghjgjh', NULL, '0', '2024-02-01 06:16:58', '2024-02-01 06:16:58'),
(51, '3', '3', '1', 'sadffsdfsf', NULL, '0', '2024-02-01 06:18:20', '2024-02-01 06:18:20'),
(52, '1', '1', '3', 'my name is zesh', NULL, '0', '2024-02-01 06:18:53', '2024-02-01 06:18:53'),
(53, '3', '3', '1', 'Hi ! hello admin...', NULL, '0', '2024-02-01 06:21:22', '2024-02-01 06:21:22'),
(54, '1', '1', '3', 'my name is zesh', NULL, '0', '2024-02-01 06:24:32', '2024-02-01 06:24:32'),
(55, '3', '3', '1', 'ghjgjh', NULL, '0', '2024-02-01 06:28:11', '2024-02-01 06:28:11'),
(56, '1', '1', '3', 'my name is zesh', NULL, '0', '2024-02-01 06:28:46', '2024-02-01 06:28:46'),
(57, '3', '3', '1', 'Hi ! hello admin...', NULL, '0', '2024-02-01 06:30:54', '2024-02-01 06:30:54'),
(58, '1', '1', '3', 'xyzzzzzz', NULL, '0', '2024-02-01 06:32:50', '2024-02-01 06:32:50'),
(59, '3', '3', '1', 'my name is zesh', NULL, '0', '2024-02-01 06:37:34', '2024-02-01 06:37:34'),
(60, '1', '1', '3', 'xyzzzzzz', NULL, '0', '2024-02-01 06:40:21', '2024-02-01 06:40:21'),
(61, '3', '3', '1', 'Hi ! hello admin...', NULL, '0', '2024-02-01 06:41:14', '2024-02-01 06:41:14'),
(62, '1', '1', '3', 'sadffsdfsf', NULL, '0', '2024-02-01 06:44:42', '2024-02-01 06:44:42'),
(63, '3', '3', '1', 'Hi ! hello admin...', NULL, '0', '2024-02-01 06:45:14', '2024-02-01 06:45:14'),
(64, '3', '3', '2', 'I love you', NULL, '0', '2024-02-01 06:46:03', '2024-02-01 06:46:03'),
(65, '2', '2', 'undefined', 'undefined', 'uploads/audio/yrSXEP0Jw4EasxT3ZNLpDYR9SzozmRgVtHN5kvHC.webm', '0', '2024-02-01 08:00:48', '2024-02-01 08:00:48');

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

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

CREATE TABLE `migrations` (
  `id` int(10) UNSIGNED NOT NULL,
  `migration` varchar(255) NOT NULL,
  `batch` int(11) NOT NULL
) ENGINE=InnoDB 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_reset_tokens_table', 1),
(3, '2019_08_19_000000_create_failed_jobs_table', 1),
(4, '2019_12_14_000001_create_personal_access_tokens_table', 1),
(5, '2024_01_29_202325_create_messages_table', 1);

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

--
-- Table structure for table `password_reset_tokens`
--

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

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

--
-- Table structure for table `personal_access_tokens`
--

CREATE TABLE `personal_access_tokens` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tokenable_type` varchar(255) NOT NULL,
  `tokenable_id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `token` varchar(64) NOT NULL,
  `abilities` text DEFAULT NULL,
  `last_used_at` timestamp NULL DEFAULT NULL,
  `expires_at` timestamp NULL 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(20) UNSIGNED NOT NULL,
  `profile` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `password` varchar(255) NOT NULL,
  `status` varchar(255) NOT NULL DEFAULT '0',
  `email_verified_at` timestamp NULL DEFAULT NULL,
  `remember_token` varchar(100) 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 `users`
--

INSERT INTO `users` (`id`, `profile`, `name`, `email`, `password`, `status`, `email_verified_at`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, '1706560233.jpg', 'James Rogers', 'james@gmail.com', '$2y$12$/B4CJEj2QbFCmMMKxbhl0ORp9Q2eGo2.BOhcnLFvXfeIxxbsR49fm', '0', NULL, NULL, '2024-01-30 04:30:33', '2024-02-01 06:46:14'),
(2, '1706560595.jpg', 'Jhon', 'jhon@gmail.com', '$2y$12$0BWfnLQtrsi6VzHuL9q0geXNIDKUv7M2edh9q7xyQMKQ3M9lxZmBa', '1', NULL, NULL, '2024-01-30 04:36:35', '2024-02-01 06:46:18'),
(3, '1706716551.jpg', 'Zee', 'zee@gmail.com', '$2y$12$twIY6WYOZSOjNsa77AAhDu7q8Mz.qqBfdQzc0o6mLppEIKTZHUk0y', '0', NULL, NULL, '2024-01-31 23:55:51', '2024-02-01 06:46:34');

--
-- Indexes for dumped tables
--

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

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

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

--
-- Indexes for table `password_reset_tokens`
--
ALTER TABLE `password_reset_tokens`
  ADD PRIMARY KEY (`email`);

--
-- Indexes for table `personal_access_tokens`
--
ALTER TABLE `personal_access_tokens`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `personal_access_tokens_token_unique` (`token`),
  ADD KEY `personal_access_tokens_tokenable_type_tokenable_id_index` (`tokenable_type`,`tokenable_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 `failed_jobs`
--
ALTER TABLE `failed_jobs`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `messages`
--
ALTER TABLE `messages`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=66;

--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `personal_access_tokens`
--
ALTER TABLE `personal_access_tokens`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
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 */;
