-- https://www.phpmyadmin.net/
--

START TRANSACTION;



--
-- Database: `effxgroup_retify`
--
CREATE DATABASE IF NOT EXISTS `effxgroup_retify` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `effxgroup_retify`;

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

--
-- Table structure for table `tb_auto_incre`
--

CREATE TABLE `tb_auto_incre` (
  `cl_id` bigint(20) UNSIGNED NOT NULL,
  `cl_count` bigint(20) NOT NULL,
  `cl_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `cl_prefix` varchar(100) 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 `tb_auto_incre`
--

INSERT INTO `tb_auto_incre` (`cl_id`, `cl_count`, `cl_type`, `cl_prefix`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 20, 'User', 'USR', NULL, '2025-01-28 10:02:05', NULL);

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

--
-- Table structure for table `tb_category`
--

CREATE TABLE `tb_category` (
  `cl_id` bigint(20) UNSIGNED NOT NULL,
  `cl_user_id` bigint(20) UNSIGNED NOT NULL,
  `cl_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cl_description` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cl_image` varchar(255) 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 `tb_category`
--

INSERT INTO `tb_category` (`cl_id`, `cl_user_id`, `cl_name`, `cl_description`, `cl_image`, `created_at`, `updated_at`, `deleted_at`) VALUES
(4, 10, 'Categoy e111', 'dlk', NULL, '2024-05-05 11:18:28', '2024-05-05 13:09:58', NULL),
(5, 16, 'Kafijas', NULL, NULL, '2024-05-19 05:41:30', '2024-05-19 05:41:30', NULL),
(6, 19, 'Kafija', NULL, NULL, '2024-07-26 05:58:45', '2024-07-26 05:58:45', NULL),
(7, 19, 'Sula', NULL, NULL, '2024-07-26 05:58:49', '2024-07-26 05:58:49', NULL),
(8, 19, 'Alkoholiskie kokteiļi', NULL, NULL, '2024-07-26 05:58:55', '2024-07-26 05:58:55', NULL),
(9, 19, 'Tēja', NULL, NULL, '2024-07-26 05:58:59', '2024-07-26 05:58:59', NULL),
(10, 19, 'Bezalkoholiskie dzērieni', NULL, NULL, '2024-07-26 05:59:03', '2024-07-26 05:59:03', NULL),
(11, 19, 'Degvīns', NULL, NULL, '2024-07-26 05:59:05', '2024-07-26 05:59:05', NULL),
(12, 19, 'Konjaks', NULL, NULL, '2024-07-26 05:59:10', '2024-07-26 05:59:10', NULL),
(13, 19, 'Viskijs', NULL, NULL, '2024-07-26 05:59:15', '2024-07-26 05:59:15', NULL),
(14, 20, 'Kafija', NULL, NULL, '2025-01-28 09:58:34', '2025-01-28 09:58:34', NULL),
(15, 20, 'Vīns', NULL, NULL, '2025-01-28 09:58:48', '2025-01-28 09:58:48', NULL),
(16, 20, 'Alus', NULL, NULL, '2025-01-28 09:58:51', '2025-01-28 09:58:51', NULL),
(17, 20, 'Bezalkoholiskie dzērieni', NULL, NULL, '2025-01-28 09:58:55', '2025-01-28 09:58:55', NULL),
(18, 20, 'SalÄti', NULL, NULL, '2025-01-28 10:37:36', '2025-01-28 10:37:36', NULL);

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

--
-- Table structure for table `tb_chef_notified`
--

CREATE TABLE `tb_chef_notified` (
  `cl_id` bigint(20) NOT NULL,
  `cl_order_id` bigint(20) NOT NULL,
  `cl_user_id` bigint(20) NOT NULL COMMENT 'chef ID',
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `tb_city`
--

CREATE TABLE `tb_city` (
  `cl_id` bigint(20) UNSIGNED NOT NULL,
  `cl_country_id` bigint(20) UNSIGNED NOT NULL,
  `cl_state_id` bigint(20) UNSIGNED NOT NULL,
  `cl_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT 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;

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

--
-- Table structure for table `tb_company`
--

CREATE TABLE `tb_company` (
  `cl_id` bigint(20) NOT NULL,
  `cl_company_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cl_city` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cl_user_id` bigint(20) UNSIGNED NOT NULL,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tb_company`
--

INSERT INTO `tb_company` (`cl_id`, `cl_company_name`, `cl_city`, `cl_user_id`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'CLuster', 'Kasaragod', 10, '2024-02-24 08:23:55', '2024-02-24 08:23:55', NULL),
(3, 'Test COmpany', 'sjdf', 15, '2024-05-18 21:56:52', '2024-05-18 21:56:52', NULL),
(4, 'SLRK Catering SIA', 'Ventspils', 16, '2024-05-19 08:37:22', '2024-05-19 08:37:22', NULL),
(5, 'tt', 'tt', 19, '2024-07-26 07:10:34', '2024-07-26 07:10:34', NULL),
(6, 'SILRAK', '22', 20, '2025-01-28 11:40:18', '2025-01-28 11:40:18', NULL);

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

--
-- Table structure for table `tb_country`
--

CREATE TABLE `tb_country` (
  `cl_id` bigint(20) UNSIGNED NOT NULL,
  `cl_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT 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;

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

--
-- Table structure for table `tb_files`
--

CREATE TABLE `tb_files` (
  `cl_id` bigint(20) UNSIGNED NOT NULL,
  `cl_image_location` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Server',
  `cl_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cl_image` varchar(1000) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cl_reference_id` bigint(20) NOT NULL,
  `cl_actual_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cl_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cl_extension` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cl_user_id` bigint(20) UNSIGNED NOT 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 `tb_files`
--

INSERT INTO `tb_files` (`cl_id`, `cl_image_location`, `cl_type`, `cl_image`, `cl_reference_id`, `cl_actual_name`, `cl_name`, `cl_extension`, `cl_user_id`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'CDN', 'Car Main', 'https://da0zw1zvl4zsg.cloudfront.net/stills_white_1280/MY2016/10529/10529_st1280_037.watermarked.jpg?fuel_app_key=ade45da9738d4d2396d1e44e861c50f8&Expires=1638126500&Signature=LlgrWCqACi4lnksZB-x5DiePWHFzxl3ChCigB9h7~x63wmQHkr0mZ3n4Iu~HK0PHcWdNLDICqRDjZ66BPcdZDv8TxbDpEV0NSdK0h~aQVcU5U~qX0MebB56QFA-lgqtUGxF24OIok7-7a-L2ANYpSfP-44W4GGeyZrPhvTjbZ8Qn2cL3zqbPPLiRFcCz~LfVqT1YelSGcQJpINrHI22uOdkZ6xM3k2QyANadprOl9yerL5VHkBoXDaPyUCxgXIu5MF1VNrOABrfMoPak0bz8guGAVJm9o46uMsfPGggWMzazHaRnzsDgjIlgu~U9BG9M8~94QPq8KreePKz7WOEkbg__&Key-Pair-Id=APKAJEHLXC3UBWDEGR3A', 1, NULL, NULL, NULL, 1, NULL, NULL, NULL);

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

--
-- Table structure for table `tb_menu`
--

CREATE TABLE `tb_menu` (
  `cl_id` bigint(20) UNSIGNED NOT NULL,
  `cl_user_id` bigint(20) UNSIGNED NOT NULL,
  `cl_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cl_cat_id` bigint(20) UNSIGNED NOT NULL,
  `cl_type` varchar(40) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cl_price` decimal(18,2) NOT NULL DEFAULT '0.00',
  `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 `tb_menu`
--

INSERT INTO `tb_menu` (`cl_id`, `cl_user_id`, `cl_name`, `cl_cat_id`, `cl_type`, `cl_price`, `created_at`, `updated_at`, `deleted_at`) VALUES
(9, 10, '111', 4, NULL, 12.00, '2024-05-05 11:33:51', '2024-05-05 11:33:51', NULL),
(10, 10, 'tty 11', 4, NULL, 70.00, '2024-05-05 11:35:25', '2024-05-05 13:22:15', NULL),
(11, 16, 'Balta Kafija', 5, NULL, 2.50, '2024-05-19 05:48:44', '2024-05-19 05:48:44', NULL),
(12, 16, 'Melna kafija', 5, NULL, 2.00, '2024-05-19 05:48:56', '2024-05-19 05:48:56', NULL),
(13, 16, 'Latte', 5, NULL, 3.50, '2024-05-19 05:49:04', '2024-05-19 05:49:04', NULL),
(14, 16, 'Expresso', 5, NULL, 1.50, '2024-05-19 05:49:13', '2024-05-19 05:49:13', NULL),
(15, 16, 'Ledus kafija', 5, NULL, 4.50, '2024-05-19 05:49:33', '2024-05-19 05:49:33', NULL),
(16, 19, 'Balta', 6, NULL, 1.20, '2024-07-26 06:01:56', '2024-07-26 06:01:56', NULL),
(17, 19, 'Melna', 6, NULL, 2.50, '2024-07-26 06:02:03', '2024-07-26 06:02:03', NULL),
(18, 19, 'Latte', 6, NULL, 3.00, '2024-07-26 06:02:10', '2024-07-26 06:02:10', NULL),
(19, 19, 'Expresso', 6, NULL, 5.99, '2024-07-26 06:02:19', '2024-07-26 06:02:19', NULL),
(20, 19, 'Mohiato', 6, NULL, 0.99, '2024-07-26 06:02:32', '2024-07-26 06:02:32', NULL),
(21, 20, 'Balta kafija', 14, 'Drinks', 2.50, '2025-01-28 10:37:12', '2025-01-28 10:37:12', NULL),
(22, 20, 'Užavas', 16, 'Drinks', 2.50, '2025-01-28 10:37:22', '2025-01-28 10:37:22', NULL),
(23, 20, 'Cēsu', 16, 'Drinks', 3.50, '2025-01-28 10:37:30', '2025-01-28 10:37:30', NULL),
(24, 20, 'Cēzara salÄti ar vistu', 18, 'Food', 7.50, '2025-01-28 10:37:51', '2025-01-28 10:38:12', NULL),
(25, 20, 'Grieķu salÄti', 18, 'Food', 6.50, '2025-01-28 10:38:06', '2025-01-28 10:38:06', NULL);

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

--
-- Table structure for table `tb_notification`
--

CREATE TABLE `tb_notification` (
  `cl_id` bigint(20) NOT NULL,
  `cl_type` varchar(255) DEFAULT NULL,
  `cl_order_item_id` bigint(20) NOT NULL,
  `cl_read` tinyint(1) NOT NULL DEFAULT '0',
  `cl_user_id` bigint(20) NOT NULL,
  `created_at` datetime DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `tb_order`
--

CREATE TABLE `tb_order` (
  `cl_id` bigint(20) UNSIGNED NOT NULL,
  `cl_user_id` bigint(20) UNSIGNED NOT NULL,
  `cl_company_id` bigint(20) UNSIGNED NOT NULL,
  `cl_table_no` int(11) NOT NULL DEFAULT '0',
  `cl_status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Pending',
  `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 `tb_order`
--

INSERT INTO `tb_order` (`cl_id`, `cl_user_id`, `cl_company_id`, `cl_table_no`, `cl_status`, `created_at`, `updated_at`, `deleted_at`) VALUES
(24, 12, 10, 0, 'Pending', '2024-05-05 15:27:32', '2024-05-05 15:29:36', NULL),
(25, 17, 16, 0, 'Pending', '2024-05-19 05:53:45', '2024-05-19 05:54:06', NULL);

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

--
-- Table structure for table `tb_order_item`
--

CREATE TABLE `tb_order_item` (
  `cl_id` int(11) NOT NULL,
  `cl_order_id` int(11) DEFAULT NULL,
  `cl_menu_id` int(11) DEFAULT NULL,
  `cl_quantity` int(11) DEFAULT NULL,
  `cl_price` decimal(18,2) NOT NULL DEFAULT '0.00',
  `cl_status` varchar(255) NOT NULL DEFAULT 'Pending',
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tb_order_item`
--

INSERT INTO `tb_order_item` (`cl_id`, `cl_order_id`, `cl_menu_id`, `cl_quantity`, `cl_price`, `cl_status`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 25, 11, 1, 2.50, 'Pending', '2024-05-19 08:53:54', '2024-05-19 08:53:57', '2024-05-19 08:53:57'),
(2, 25, 11, 1, 2.50, 'Pending', '2024-05-19 08:54:03', '2024-05-19 08:54:03', NULL),
(3, 25, 12, 1, 2.00, 'Pending', '2024-05-19 08:54:05', '2024-05-19 08:54:05', NULL);

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

--
-- Table structure for table `tb_payments`
--

CREATE TABLE `tb_payments` (
  `cl_id` int(11) NOT NULL,
  `cl_amount` decimal(18,2) NOT NULL DEFAULT '0.00',
  `cl_payment_gateway` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cl_transaction_id` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cl_payment_date` date DEFAULT NULL,
  `cl_expiry_date` date DEFAULT NULL,
  `cl_user_id` bigint(20) UNSIGNED NOT NULL,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tb_payments`
--

INSERT INTO `tb_payments` (`cl_id`, `cl_amount`, `cl_payment_gateway`, `cl_transaction_id`, `cl_payment_date`, `cl_expiry_date`, `cl_user_id`, `created_at`, `updated_at`, `deleted_at`) VALUES
(3, 100.00, NULL, NULL, NULL, '2024-02-29', 10, '2024-02-24 10:26:19', '2024-02-24 10:26:19', NULL),
(4, 10.00, NULL, NULL, NULL, '2024-06-30', 16, '2024-05-19 08:53:26', '2024-05-19 08:53:26', NULL),
(5, 10.00, NULL, NULL, NULL, '2024-11-30', 16, '2024-11-05 20:06:49', '2024-11-05 20:06:49', NULL),
(6, 100.00, NULL, NULL, NULL, '2025-04-30', 20, '2025-01-28 11:41:11', '2025-01-28 11:41:11', NULL);

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

--
-- Table structure for table `tb_session_token`
--

CREATE TABLE `tb_session_token` (
  `cl_id` bigint(20) UNSIGNED NOT NULL,
  `cl_access_code` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cl_client_code` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cl_expiry_date` date 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 `tb_session_token`
--

INSERT INTO `tb_session_token` (`cl_id`, `cl_access_code`, `cl_client_code`, `cl_expiry_date`, `created_at`, `updated_at`) VALUES
(1, '826e2b7d419309311fe0097060dc6ff8467081979d37b5e3e5ae2fa4cc1b51de', NULL, '2021-12-12', '2021-12-07 02:19:37', '2021-12-07 02:19:37'),
(2, 'ebcc9e414d4b1f21308a20f1a03cc7ab597ca514f8e29259cb95955e1ec301ae', NULL, '2021-12-12', '2021-12-07 02:19:44', '2021-12-07 02:19:44'),
(3, 'fdf11548ac76bcbe3be875ec07ec418de8c1675ac828c419eaee90616b76c558', NULL, '2021-12-12', '2021-12-07 02:20:06', '2021-12-07 02:20:06'),
(4, '6790feba2b6040904a563829313875cfacd2b00990b8a4e63f0eeebc03d1ecb5', NULL, '2021-12-12', '2021-12-07 02:20:23', '2021-12-07 02:20:23'),
(5, 'd85c6cfb2a49136eaec90166f078df9fe832b8ee58061bf1229b685024457ad4', NULL, '2021-12-12', '2021-12-07 02:23:04', '2021-12-07 02:23:04'),
(6, '82981650cdd011f49f11184bdfce58c899f462107c0be7e88783396a50c07a0c', NULL, '2021-12-12', '2021-12-07 02:23:40', '2021-12-07 02:23:40'),
(7, '230e5a89e333dc8264392dd413b37f0b238cfbf806601c46a429ec84a7779bd7', NULL, '2021-12-12', '2021-12-07 02:24:00', '2021-12-07 02:24:00'),
(8, 'd1d224b0c82b6cb789224fcfa4161f2e133b369a82b8347f3eea96450d716b19', NULL, '2021-12-12', '2021-12-07 02:27:33', '2021-12-07 02:27:33'),
(9, 'b7677caea806157199025e218af5744e65edc8108e733b459a7bccfc68fee2d0', NULL, '2021-12-12', '2021-12-07 02:27:36', '2021-12-07 02:27:36'),
(10, '9181dc68030842027e1d2b94578c3bf52df11b188817094f9d8e540ee9518893', '1212', '2021-12-12', '2021-12-07 02:28:27', '2021-12-07 02:28:27'),
(11, '3e741c2c84c3023a4f25be3a477f5152a6713b6043878ec02901c4b69833d8fa', '1212', '2021-12-16', '2021-12-11 12:33:27', '2021-12-11 12:33:27'),
(12, '78d5bee0e67f49d3f260650fcbd9b1c2c425b3f5e3cbd8f6b92b6144c6cf8773', '1212', '2021-12-16', '2021-12-11 15:33:33', '2021-12-11 15:33:33'),
(13, 'e69a484dcb5d742cbaf72cc8a620dede3ff64553e73614036198a90ea8a5c815', '1212', '2024-01-17', '2024-01-12 01:00:53', '2024-01-12 01:00:53'),
(14, '635f4c45cb80c51613c4331c7ded17b4a458e54085f7f4bbdcb79d98cea3637d', '1212', '2024-01-20', '2024-01-15 00:26:19', '2024-01-15 00:26:19'),
(15, '9353456fdd30307b4a494cb4100bcddc7823e8898590dfa2258d5b4748731e2c', '1212', '2024-02-03', '2024-01-19 00:34:13', '2024-01-19 00:34:13'),
(16, '75346d42bd0797b5033df5d89fa7b969dc2cb40bff02dfd8fa7df62c3eb3a654', '1212', '2024-01-24', '2024-01-19 07:11:13', '2024-01-19 07:11:13'),
(17, 'ca6ad18320ebe5d943f31b231f26f0c04fcdcc605aa43eeb0ca321a60dd6a70d', '1212', '2024-02-06', '2024-01-22 00:11:49', '2024-01-22 00:11:49'),
(18, '051e59927786bb717eed908f04e74c728f6bbca088fa16de0deda69e6f1b7aee', '1212', '2024-01-27', '2024-01-22 00:20:29', '2024-01-22 00:20:29'),
(19, '440660b48eda15c530432bb5f5d9c33144ff53d3289b1c4c4849732fb6570315', 'eccbc87e4b5ce2fe28308fd9f2a7baf3', '2024-01-27', '2024-01-22 00:43:49', '2024-01-22 00:43:49'),
(20, '505ec2d3bb13e2a9965ac7f2a063629406350c6976e7b8bc0424a93879daa88b', 'eccbc87e4b5ce2fe28308fd9f2a7baf3', '2024-01-27', '2024-01-22 00:45:03', '2024-01-22 00:45:03'),
(21, '6d45f6149612a712a94bf058cf3a41c7a3b88f42835b93253479bc4a7b634819', 'e4da3b7fbbce2345d7772b0674a318d5', '2024-01-27', '2024-01-22 02:55:14', '2024-01-22 02:55:14'),
(22, '93c58128f6ed6220ed767239cc84eab17c3e4432efcfb0018281cdb4b42907b5', 'a87ff679a2f3e71d9181a67b7542122c', '2024-01-27', '2024-01-22 03:28:20', '2024-01-22 03:28:20'),
(23, '81ecc23f2c43169b1cea54558f16a2cc6126b20c2190e27c1d786d83e599a030', 'a87ff679a2f3e71d9181a67b7542122c', '2024-01-27', '2024-01-22 03:29:07', '2024-01-22 03:29:07'),
(24, '25d110ebae3118bbd7b7f938637ad850661916a8e9e9662ce75f05c095981d54', 'a87ff679a2f3e71d9181a67b7542122c', '2024-01-28', '2024-01-23 05:59:56', '2024-01-23 05:59:56'),
(25, '749e755b96e317eead22c582b5bcca925d02758d2a56aeda4997df58f1fe35b1', 'e4da3b7fbbce2345d7772b0674a318d5', '2024-01-28', '2024-01-23 06:18:25', '2024-01-23 06:18:25'),
(26, '95d9813366077e078ae99e12978984c65ad45c25b545757d89615681057b0c0a', 'e4da3b7fbbce2345d7772b0674a318d5', '2024-01-28', '2024-01-23 06:18:26', '2024-01-23 06:18:26'),
(27, 'f99e76d2cb3347b2ec7d6cd54bd27c6bfea9de8eb90063f345ae59977cb0acfb', 'e4da3b7fbbce2345d7772b0674a318d5', '2024-01-28', '2024-01-23 06:29:14', '2024-01-23 06:29:14'),
(28, '14a53aa02ffb55d093b649ba40489f74bd6eb509461e0bd8df075a1bd8e8e50d', '1212', '2024-02-05', '2024-01-31 16:49:21', '2024-01-31 16:49:21'),
(29, '039734575fc89e34e917c1ae13ba111fe23534d7613f54a47f24c6c2a1f5dd80', '1212', '2024-02-05', '2024-01-31 16:49:28', '2024-01-31 16:49:28'),
(30, 'a81b47d4b3cd65462b6d48cb5342c42f5a1ad664439ed4d135a1b131d14d3fe5', '1212', '2024-02-05', '2024-01-31 17:33:23', '2024-01-31 17:33:23'),
(31, 'e6272c9b3cad8d1d114bb5e10a7241450b5bb45dd7e6248df8cfcbbe6f902536', '1212', '2024-02-05', '2024-01-31 17:35:25', '2024-01-31 17:35:25'),
(32, 'a01c7c3720c671db2fb11ca7cee751d75130163b23778cb6025cbaacc8dc74f4', '1212', '2024-02-05', '2024-01-31 17:39:46', '2024-01-31 17:39:46'),
(33, '114e1d76cac95f5f27e51e672b1ce880b9e8d2195675ef5cb04e28178b2e867e', '1212', '2024-02-18', '2024-02-12 20:31:17', '2024-02-12 20:31:17'),
(34, '3a48f9803afac0d86eb1b968503d52761364779b757757f0ce7125a35318f029', '1212', '2024-02-29', '2024-02-24 01:47:09', '2024-02-24 01:47:09'),
(35, 'ba2e1febe1fd9a82213ee0a81b9f7c8b8c7a6e3a642a038c24db66ef25bc7ab2', 'd3d9446802a44259755d38e6d163e820', '2024-02-29', '2024-02-24 04:45:23', '2024-02-24 04:45:23'),
(36, '407354b0e7282c2111dc61a5534410c992cee65a1fd5a6b0b9a2315f9504b8a1', 'd3d9446802a44259755d38e6d163e820', '2024-02-29', '2024-02-24 04:46:16', '2024-02-24 04:46:16'),
(37, 'd9f9cbf80b6310dd7de89783a8cf47893e30039803d225caa615528aa5866622', '1212', '2024-02-29', '2024-02-24 04:53:50', '2024-02-24 04:53:50'),
(38, '97e8781c052e0d397bd1185d611105da392b45be22b967e302e163e3fc684202', 'd3d9446802a44259755d38e6d163e820', '2024-02-29', '2024-02-24 04:56:52', '2024-02-24 04:56:52'),
(39, '58ca20c7458a21c239c0af423af8db5de1b2d0f63f8d316e05d0b68558892397', '1212', '2024-05-05', '2024-04-30 12:39:50', '2024-04-30 12:39:50'),
(40, '7bc8af46e218521e8b010ac050bcf142462acd9e5150e00d63f7760e42f35ac9', '1212', '2024-05-19', '2024-05-04 00:52:57', '2024-05-04 00:52:57'),
(41, 'fb3dd7a2515b153cac3c454511e2086eb81147c3061c9428dc09e3a99a4842ec', 'd3d9446802a44259755d38e6d163e820', '2024-05-10', '2024-05-05 10:01:32', '2024-05-05 10:01:32'),
(42, 'fa8a247e4bd1577ba149fb010753f746e2c33a93b53a6df9c756882b7ae0139d', '1212', '2024-05-10', '2024-05-05 11:45:00', '2024-05-05 11:45:00'),
(43, '953bc7f9542d5b9143f3470f432b46c663bf410359a7e73eccb3f08d4f8628cf', 'd3d9446802a44259755d38e6d163e820', '2024-05-10', '2024-05-05 11:45:18', '2024-05-05 11:45:18'),
(44, '38c42795c36d0980afc333f85c89a6ecf5c743d342392c3c2b0ef1b9bfcd025e', 'c20ad4d76fe97759aa27a0c99bff6710', '2024-05-10', '2024-05-05 14:01:50', '2024-05-05 14:01:50'),
(45, 'db70ce96c735fab8ed675d9a342761a411a60f9bb30f294d3fa5c87a6b3fa509', 'aab3238922bcc25a6f606eb525ffdc56', '2024-05-10', '2024-05-05 14:04:39', '2024-05-05 14:04:39'),
(46, '3f5889222774578b0d4e30895dee11ed745d6fbf0f91d9b6bfe6edfaa0737296', 'c20ad4d76fe97759aa27a0c99bff6710', '2024-05-10', '2024-05-05 14:21:38', '2024-05-05 14:21:38'),
(47, '0b12fd52a25e0d6e5c20ec654f0acf2035cda2cf403dbf444d6c2b0f65b377a2', 'aab3238922bcc25a6f606eb525ffdc56', '2024-05-10', '2024-05-05 15:29:44', '2024-05-05 15:29:44'),
(48, '526bc058b05a1416434fa53be9a7235d25a528a66f47b31f3c02137fb66d4a7d', '1212', '2024-05-23', '2024-05-18 11:36:42', '2024-05-18 11:36:42'),
(49, 'a006755944433113167237dee70f1a59331260716e873b44aeeb39ca903728f9', '9bf31c7ff062936a96d3c8bd1f8f2ff3', '2024-05-23', '2024-05-18 18:57:04', '2024-05-18 18:57:04'),
(50, 'cfe4457e7cdab5f50a4b19359c1347a6dc0a3c78f767d42431477f0a463fb4be', 'd3d9446802a44259755d38e6d163e820', '2024-05-23', '2024-05-18 19:04:58', '2024-05-18 19:04:58'),
(51, '448987e34316d095afebcbe27ac4d4a7032d831339d2e9910f39305db3d1c95a', '1212', '2024-05-23', '2024-05-18 19:05:18', '2024-05-18 19:05:18'),
(52, '5110d72f7c52283fad3bea714fc14ab7b3b426f08a655e5e769aaf6b8d739bff', '1212', '2024-05-23', '2024-05-18 20:37:07', '2024-05-18 20:37:07'),
(53, 'caa784a513ee246589f5ce09afc986a0ffc40ab54b2194f5c2bb7c3381bd3b87', 'c74d97b01eae257e44aa9d5bade97baf', '2024-05-24', '2024-05-19 05:37:35', '2024-05-19 05:37:35'),
(54, 'dcd66c15b2036afef15d9a8aa82d0e9a77ccdf594a8516e7a950725e7c12ef3f', 'c74d97b01eae257e44aa9d5bade97baf', '2024-05-24', '2024-05-19 05:40:36', '2024-05-19 05:40:36'),
(55, '7b101edb0f59af46d0b61082693ff3e2a7e5dfae45550cd5ef930806d49dd7a8', '70efdf2ec9b086079795c442636b55fb', '2024-05-24', '2024-05-19 05:52:39', '2024-05-19 05:52:39'),
(56, '380b0f2f7335e01d54b29fe6f19d2d79f18008063c80f78fccf915ee99990f34', '6f4922f45568161a8cdf4ad2299f6d23', '2024-05-24', '2024-05-19 05:54:30', '2024-05-19 05:54:30'),
(57, 'dd0241472c9c672d3de390143b0de3695509b4f67879f713fec9b6cc37ffbf84', 'c74d97b01eae257e44aa9d5bade97baf', '2024-05-24', '2024-05-19 06:16:16', '2024-05-19 06:16:16'),
(58, 'f0f272eef69857528adc4332ba5053fbda7f3f51822d526ce3177c54db4e5373', '1212', '2024-06-04', '2024-05-20 16:46:57', '2024-05-20 16:46:57'),
(59, '21808a7daf7f4242049d0ea6ef4888b6c941a69e8de0ec7a494729596ba311f8', 'c74d97b01eae257e44aa9d5bade97baf', '2024-05-25', '2024-05-20 16:47:40', '2024-05-20 16:47:40'),
(60, '3edda59f03e1ec457609e0b1e72fdfc4123174f5a44c15596a230b31f9bbeb87', '1212', '2024-05-25', '2024-05-20 16:48:41', '2024-05-20 16:48:41'),
(61, '3db6ae4f83a5db7c5385e4fde45dcc7b0ce187258f895c33cb9a4296df6e9736', 'c74d97b01eae257e44aa9d5bade97baf', '2024-05-25', '2024-05-20 16:49:23', '2024-05-20 16:49:23'),
(62, '65585f2ba3b1a6fcc61864b1e5bb0d41544f7c1da7f3682bb1180b937bb45338', '1212', '2024-07-30', '2024-07-25 06:31:42', '2024-07-25 06:31:42'),
(63, 'e881f201d814188e6b03f8655d97359d84c73339679d4fd8495ce959e169809c', '1212', '2024-07-30', '2024-07-25 06:33:33', '2024-07-25 06:33:33'),
(64, '2bd03c20c7325615b77ef133d68a45357efb1861159fb86e5ba6870f6213fdf4', '1212', '2024-07-30', '2024-07-25 06:46:46', '2024-07-25 06:46:46'),
(65, 'c3c6d961edab07990c680a1b97916230841c13f7451ba24a49a40a27b1a482cd', 'd3d9446802a44259755d38e6d163e820', '2024-07-30', '2024-07-25 08:06:46', '2024-07-25 08:06:46'),
(66, '9d4ccf301aeb07e9761795945f3e140e48215d1972741f7627ec1928157f03f2', 'd3d9446802a44259755d38e6d163e820', '2024-07-31', '2024-07-26 05:45:49', '2024-07-26 05:45:49'),
(67, '53959bdcf22d613dbd1f29194bb24c3b4f8346c28283bfdd0f6054ca94e48ba5', '1f0e3dad99908345f7439f8ffabdffc4', '2024-07-31', '2024-07-26 05:57:48', '2024-07-26 05:57:48'),
(68, 'f018b82c755635658f79369648917804afcbc21fba1c343b2e3f8d7377d4c445', '1f0e3dad99908345f7439f8ffabdffc4', '2024-08-11', '2024-08-06 12:06:20', '2024-08-06 12:06:20'),
(69, 'ac9de15b025baf707af2c9d339a93a401c48b1f008f80634b47e29e498604ae0', '1212', '2024-08-11', '2024-08-06 12:07:11', '2024-08-06 12:07:11'),
(70, '96a5a8dcee626725990697a72b2943f256a1b5a5554a6d2809337d7d83899376', '1212', '2024-09-13', '2024-09-08 08:14:07', '2024-09-08 08:14:07'),
(71, 'baee1f2fbe57d5848c0d7c45fb3c5e13e565c559e0fe7b53b13a79fa657c72f4', '1212', '2024-09-25', '2024-09-10 07:25:05', '2024-09-10 07:25:05'),
(72, '6d0f3b0a071d08417b3683fdc68a22aeb0dcc21f2fa74295b96ca4a7a495f8e1', '1212', '2024-11-10', '2024-11-05 18:06:18', '2024-11-05 18:06:18'),
(73, 'e2a56bed7126bae76f9d264b40934ab8e951ed8c4d739df442c5b6ec408b3f0a', 'c74d97b01eae257e44aa9d5bade97baf', '2024-11-10', '2024-11-05 18:07:05', '2024-11-05 18:07:05'),
(74, 'cf72bfa19745ab8453ed17ae8ccbdc177edda7fd1ff4f957cbe4adde4dd916d7', '1212', '2025-02-02', '2025-01-28 09:38:00', '2025-01-28 09:38:00'),
(75, 'dc24d79a805baa64711397ae12350595054f6eeea77261dcb1891a8b90fa705f', '98f13708210194c475687be6106a3b84', '2025-02-02', '2025-01-28 09:40:50', '2025-01-28 09:40:50'),
(76, '1a051a04b4d3e814fa306d222a964ae36da6a1088683cf9de8b83d362d2d3dd7', '1212', '2025-02-02', '2025-01-28 09:56:08', '2025-01-28 09:56:08'),
(77, 'a5977ffac391437fb930886e9afe24df7505e650ac4cec1d0466c4f03d20002a', '3c59dc048e8850243be8079a5c74d079', '2025-02-02', '2025-01-28 10:02:43', '2025-01-28 10:02:43'),
(78, '467bc78cc084c9724afd03ff4a3f07e46d029e0e2140e839b862d6d6401c9e34', '3c59dc048e8850243be8079a5c74d079', '2025-02-02', '2025-01-28 10:04:23', '2025-01-28 10:04:23'),
(79, 'fbbf43710c2470ad23d0b0c7cbde3142dd0581d7737c713e53bc81c171c4102a', '98f13708210194c475687be6106a3b84', '2025-02-02', '2025-01-28 10:36:53', '2025-01-28 10:36:53'),
(80, '3699589d7c41dc476116bab391cc489aac674836436e835c483f90e5566d3717', '3c59dc048e8850243be8079a5c74d079', '2025-02-02', '2025-01-28 10:38:27', '2025-01-28 10:38:27'),
(81, 'cad6187dcda0597422767d2ee8a5deb955a0d06e6289f05e464ca12887b893a0', 'b6d767d2f8ed5d21a44b0e5886680cb9', '2025-02-02', '2025-01-28 10:38:39', '2025-01-28 10:38:39'),
(82, 'e8d85c0f6eec78237e188f691b336235a6d4cbc8a1ed530a0847d4dd48fce867', 'c74d97b01eae257e44aa9d5bade97baf', '2025-02-02', '2025-01-28 13:36:28', '2025-01-28 13:36:28');

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

--
-- Table structure for table `tb_state`
--

CREATE TABLE `tb_state` (
  `cl_id` bigint(20) UNSIGNED NOT NULL,
  `cl_country_id` bigint(20) UNSIGNED NOT NULL,
  `cl_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT 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;

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

--
-- Table structure for table `tb_tables`
--

CREATE TABLE `tb_tables` (
  `cl_id` bigint(20) NOT NULL,
  `cl_user_id` bigint(20) UNSIGNED NOT NULL,
  `cl_table_name` varchar(100) NOT NULL,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL,
  `deleted_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `tb_tables`
--

INSERT INTO `tb_tables` (`cl_id`, `cl_user_id`, `cl_table_name`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 16, '1', '2024-11-05 20:07:19', '2024-11-05 20:07:19', NULL),
(2, 16, '2', '2024-11-05 20:07:21', '2024-11-05 20:07:21', NULL),
(3, 16, '3', '2024-11-05 20:07:22', '2024-11-05 20:07:22', NULL),
(4, 16, '4', '2024-11-05 20:07:24', '2024-11-05 20:07:24', NULL),
(5, 20, '1', '2025-01-28 11:40:18', '2025-01-28 11:40:18', NULL),
(6, 20, '2', '2025-01-28 11:40:18', '2025-01-28 11:40:18', NULL),
(7, 20, '3', '2025-01-28 11:40:18', '2025-01-28 11:40:18', NULL),
(8, 20, '4', '2025-01-28 11:40:18', '2025-01-28 11:40:18', NULL),
(9, 20, '5', '2025-01-28 11:40:18', '2025-01-28 11:40:18', NULL),
(10, 20, '6', '2025-01-28 11:40:18', '2025-01-28 11:40:18', NULL),
(11, 20, '7', '2025-01-28 11:40:18', '2025-01-28 11:40:18', NULL),
(12, 20, '8', '2025-01-28 11:40:18', '2025-01-28 11:40:18', NULL),
(13, 20, '9', '2025-01-28 11:40:18', '2025-01-28 11:40:18', NULL),
(14, 20, '10', '2025-01-28 11:40:18', '2025-01-28 11:40:18', NULL);

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

--
-- Table structure for table `tb_users`
--

CREATE TABLE `tb_users` (
  `cl_id` bigint(20) UNSIGNED NOT NULL,
  `cl_user_id` int(11) NOT NULL,
  `cl_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cl_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'user',
  `cl_username` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cl_email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `cl_password` varchar(500) COLLATE utf8mb4_unicode_ci NOT NULL,
  `cl_first_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cl_last_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cl_phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cl_address` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cl_starting_year` bigint(20) NOT NULL DEFAULT '1970',
  `cl_location` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cl_forgot_password_1` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cl_forgot_password_2` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cl_register_1` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cl_register_2` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cl_expiry_date` date DEFAULT NULL,
  `cl_user_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `cl_city` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cl_logo` text COLLATE utf8mb4_unicode_ci,
  `cl_no_of_tables` tinyint(1) NOT NULL DEFAULT '0',
  `cl_chef_order` tinyint(1) NOT NULL DEFAULT '0' COMMENT '1. Chef receives all the orders 2.Chef receives all food orders and bar receives all drinks orders	',
  `cl_food_delivery` tinyint(1) NOT NULL DEFAULT '0' COMMENT '1.Confirm orders from chef is recived back to the one who placed order 2. Runners required. Orders completed from chef will be delivered to runners head	'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tb_users`
--

INSERT INTO `tb_users` (`cl_id`, `cl_user_id`, `cl_code`, `cl_type`, `cl_username`, `cl_email`, `cl_password`, `cl_first_name`, `cl_last_name`, `cl_phone`, `cl_address`, `cl_starting_year`, `cl_location`, `cl_forgot_password_1`, `cl_forgot_password_2`, `cl_register_1`, `cl_register_2`, `cl_expiry_date`, `cl_user_code`, `remember_token`, `created_at`, `updated_at`, `deleted_at`, `cl_city`, `cl_logo`, `cl_no_of_tables`, `cl_chef_order`, `cl_food_delivery`) VALUES
(1, 0, '1212', 'admin', NULL, 'admin@admin.com', '$2y$10$0.6ueNw1uQLH9hr/dpuoGeakcnjNudxtX.v9HjLffm9DcJjrzBPfi', 'Admin', 'user', NULL, '1234', 1970, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-01-22 00:20:16', NULL, '', '', 0, 0, 0),
(10, 1, 'd3d9446802a44259755d38e6d163e820', 'customer_admin', NULL, 'shayasmk@gmail.com', '$2y$10$wOSOMGZltPS1JV8s9.McWOvpKQMCKGrgTV1DpNnS4oIPLc0hblbxK', 'Mohammed', 'M K', '+919946005652', NULL, 1970, NULL, NULL, NULL, NULL, NULL, NULL, 'USR-6', NULL, '2024-02-24 02:53:55', '2024-02-24 02:53:55', NULL, NULL, NULL, 0, 0, 0),
(12, 10, 'c20ad4d76fe97759aa27a0c99bff6710', 'manager', NULL, 'manager@manager.com', '$2y$10$eljEWg2LeP5Z6OuzNJQYOeh9SPYrGqu4W3b8tCkmUH9AAX0OxPiIG', 'Manager 11', '11', '978', NULL, 1970, NULL, NULL, NULL, NULL, NULL, NULL, 'USR-8', NULL, '2024-05-05 12:23:57', '2024-05-05 13:04:09', NULL, NULL, NULL, 0, 0, 0),
(14, 10, 'aab3238922bcc25a6f606eb525ffdc56', 'chef', NULL, 'chef@chef.com', '$2y$10$AejFcZ4kzzYgt5Mmo.py9emuK2RxrCIiu1mHJ8fvI0dV6BhWLj4uy', 'Chef', '11', '23940', NULL, 1970, NULL, NULL, NULL, NULL, NULL, NULL, 'USR-10', NULL, '2024-05-05 12:41:48', '2024-05-05 13:03:02', NULL, NULL, NULL, 0, 0, 0),
(15, 1, '9bf31c7ff062936a96d3c8bd1f8f2ff3', 'customer_admin', NULL, 'testc@cc.com', '$2y$10$sC0nVUaVhMbn29Ty24fCWepEqxxHRY9e9DN9FklVPJbXvAWUGXGWm', 'Test', 'Comp', '2309492', NULL, 1970, NULL, NULL, NULL, NULL, NULL, NULL, 'USR-11', NULL, '2024-05-18 18:56:52', '2024-05-18 18:56:52', NULL, NULL, NULL, 0, 0, 0),
(16, 1, 'c74d97b01eae257e44aa9d5bade97baf', 'customer_admin', NULL, 'info@silrak.lv', '$2y$10$/bRBxh0rsMA.5Px72XR3NutJCBkgn7Inx59Z4N1H6oT.kyiIgISZi', 'KÄrlis', 'Drieks', '24920344', NULL, 1970, NULL, NULL, NULL, NULL, NULL, NULL, 'USR-12', NULL, '2024-05-19 05:37:22', '2024-05-19 05:37:22', NULL, NULL, NULL, 0, 0, 0),
(17, 16, '70efdf2ec9b086079795c442636b55fb', 'manager', NULL, 'info1@silrak.lv', '$2y$10$1qh2uuhXahtnp917gKrty.gZOvxtKrY8oqzJguo4jLYX.VpCDJCzm', 'KÄrlis', 'D', '24920344', NULL, 1970, NULL, NULL, NULL, NULL, NULL, NULL, 'USR-13', NULL, '2024-05-19 05:51:07', '2024-05-19 05:51:07', NULL, NULL, NULL, 0, 0, 0),
(18, 16, '6f4922f45568161a8cdf4ad2299f6d23', 'chef', NULL, 'info2@silrak.lv', '$2y$10$iY9E1xtFXFLFHlXtTvgnZu9cpfIB2krYGIFyOW5DS0gZ8jg7jkWBW', 'test', 'test', 'test', NULL, 1970, NULL, NULL, NULL, NULL, NULL, NULL, 'USR-14', NULL, '2024-05-19 05:51:27', '2024-05-19 05:51:27', NULL, NULL, NULL, 0, 0, 0),
(19, 1, '1f0e3dad99908345f7439f8ffabdffc4', 'customer_admin', NULL, 'info11@silrak.lv', '$2y$10$GnOiFrmdnU0.E9ajZepbIeqVO5GZAfAUJxlTx9Gx/51hAZavVZSSa', 'tt', 'tt', 'bralis100', NULL, 1970, NULL, NULL, NULL, NULL, NULL, NULL, 'USR-15', NULL, '2024-07-26 04:10:34', '2024-07-26 04:10:34', NULL, NULL, NULL, 0, 0, 0),
(20, 1, '98f13708210194c475687be6106a3b84', 'customer_admin', NULL, 'test@silrak.lv', '$2y$10$lfNXWmx6cuHFZHGpbXOcLO3UnoatgKG1ePoNnDC8kGrIJupgkCCIW', 'SILRAK', 'SILRAK', '22', NULL, 1970, NULL, NULL, NULL, NULL, NULL, NULL, 'USR-16', NULL, '2025-01-28 09:40:18', '2025-01-28 09:40:18', NULL, NULL, NULL, 0, 2, 2),
(21, 20, '3c59dc048e8850243be8079a5c74d079', 'runner_head', NULL, 'pasutijumi@silrak.lv', '$2y$10$Ld79F/raqXyAyPUQ5oZBy.Aw0lWIQHukmnXW5Z/DDktYuro7eK4Sm', 'kase', 'D', '24920344', NULL, 1970, NULL, NULL, NULL, NULL, NULL, NULL, 'USR-17', NULL, '2025-01-28 10:01:13', '2025-01-28 10:01:13', NULL, NULL, NULL, 0, 0, 0),
(22, 20, 'b6d767d2f8ed5d21a44b0e5886680cb9', 'chef', NULL, 'virtuve@silrak.lv', '$2y$10$iK.bZ2/jEZ46wk5Eka5Px.6N2dZPjBzuhfJr9.uChcortA1SLJuny', 'virtuve', 'tt', 'tt', NULL, 1970, NULL, NULL, NULL, NULL, NULL, NULL, 'USR-18', NULL, '2025-01-28 10:01:39', '2025-01-28 10:01:39', NULL, NULL, NULL, 0, 0, 0),
(23, 20, '37693cfc748049e45d87b8c7d8b9aacd', 'bar', NULL, 'bars@silrak.lv', '$2y$10$ioNx9EnUAZtE6tinWywjdOMQ9qQh6fchw4nSLlemdgX2J6zM0z6iW', 'bars', '22', '22', NULL, 1970, NULL, NULL, NULL, NULL, NULL, NULL, 'USR-19', NULL, '2025-01-28 10:02:05', '2025-01-28 10:02:05', NULL, NULL, NULL, 0, 0, 0);

--
-- Indexes for dumped tables
--

--
-- Indexes for table `tb_auto_incre`
--
ALTER TABLE `tb_auto_incre`
  ADD PRIMARY KEY (`cl_id`);

--
-- Indexes for table `tb_category`
--
ALTER TABLE `tb_category`
  ADD PRIMARY KEY (`cl_id`),
  ADD KEY `tb_Category_tb_users_cl_user_id_foreign` (`cl_user_id`);

--
-- Indexes for table `tb_chef_notified`
--
ALTER TABLE `tb_chef_notified`
  ADD PRIMARY KEY (`cl_id`);

--
-- Indexes for table `tb_city`
--
ALTER TABLE `tb_city`
  ADD PRIMARY KEY (`cl_id`),
  ADD KEY `tb_city_cl_country_id_foreign` (`cl_country_id`),
  ADD KEY `tb_city_cl_state_id_foreign` (`cl_state_id`);

--
-- Indexes for table `tb_company`
--
ALTER TABLE `tb_company`
  ADD PRIMARY KEY (`cl_id`),
  ADD KEY `tb_company_tb_users_id` (`cl_user_id`);

--
-- Indexes for table `tb_country`
--
ALTER TABLE `tb_country`
  ADD PRIMARY KEY (`cl_id`);

--
-- Indexes for table `tb_files`
--
ALTER TABLE `tb_files`
  ADD PRIMARY KEY (`cl_id`),
  ADD KEY `tb_files_cl_user_id_foreign` (`cl_user_id`);

--
-- Indexes for table `tb_menu`
--
ALTER TABLE `tb_menu`
  ADD PRIMARY KEY (`cl_id`),
  ADD KEY `tb_car_cl_cat_id_foreign` (`cl_cat_id`),
  ADD KEY `tb_car_cl_user_id_foreign` (`cl_user_id`);

--
-- Indexes for table `tb_notification`
--
ALTER TABLE `tb_notification`
  ADD PRIMARY KEY (`cl_id`);

--
-- Indexes for table `tb_order`
--
ALTER TABLE `tb_order`
  ADD PRIMARY KEY (`cl_id`),
  ADD KEY `tb_book_cl_user_id_foreign` (`cl_user_id`),
  ADD KEY `tb_book_cl_driver_id_foreign` (`cl_company_id`);

--
-- Indexes for table `tb_order_item`
--
ALTER TABLE `tb_order_item`
  ADD PRIMARY KEY (`cl_id`);

--
-- Indexes for table `tb_payments`
--
ALTER TABLE `tb_payments`
  ADD PRIMARY KEY (`cl_id`),
  ADD KEY `tb_payments_tb_user_foreign` (`cl_user_id`);

--
-- Indexes for table `tb_session_token`
--
ALTER TABLE `tb_session_token`
  ADD PRIMARY KEY (`cl_id`);

--
-- Indexes for table `tb_state`
--
ALTER TABLE `tb_state`
  ADD PRIMARY KEY (`cl_id`),
  ADD KEY `tb_state_cl_country_id_foreign` (`cl_country_id`);

--
-- Indexes for table `tb_tables`
--
ALTER TABLE `tb_tables`
  ADD PRIMARY KEY (`cl_id`),
  ADD KEY `cl_user_id_tb_users` (`cl_user_id`);

--
-- Indexes for table `tb_users`
--
ALTER TABLE `tb_users`
  ADD PRIMARY KEY (`cl_id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `tb_auto_incre`
--
ALTER TABLE `tb_auto_incre`
  MODIFY `cl_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `tb_category`
--
ALTER TABLE `tb_category`
  MODIFY `cl_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;

--
-- AUTO_INCREMENT for table `tb_chef_notified`
--
ALTER TABLE `tb_chef_notified`
  MODIFY `cl_id` bigint(20) NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `tb_company`
--
ALTER TABLE `tb_company`
  MODIFY `cl_id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

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

--
-- AUTO_INCREMENT for table `tb_files`
--
ALTER TABLE `tb_files`
  MODIFY `cl_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `tb_menu`
--
ALTER TABLE `tb_menu`
  MODIFY `cl_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=26;

--
-- AUTO_INCREMENT for table `tb_notification`
--
ALTER TABLE `tb_notification`
  MODIFY `cl_id` bigint(20) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tb_order`
--
ALTER TABLE `tb_order`
  MODIFY `cl_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=26;

--
-- AUTO_INCREMENT for table `tb_order_item`
--
ALTER TABLE `tb_order_item`
  MODIFY `cl_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `tb_payments`
--
ALTER TABLE `tb_payments`
  MODIFY `cl_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `tb_session_token`
--
ALTER TABLE `tb_session_token`
  MODIFY `cl_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=83;

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

--
-- AUTO_INCREMENT for table `tb_tables`
--
ALTER TABLE `tb_tables`
  MODIFY `cl_id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

--
-- AUTO_INCREMENT for table `tb_users`
--
ALTER TABLE `tb_users`
  MODIFY `cl_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24;

--
-- Constraints for dumped tables
--

--
-- Constraints for table `tb_category`
--
ALTER TABLE `tb_category`
  ADD CONSTRAINT `tb_Category_tb_users_cl_user_id_foreign` FOREIGN KEY (`cl_user_id`) REFERENCES `tb_users` (`cl_id`);

--
-- Constraints for table `tb_city`
--
ALTER TABLE `tb_city`
  ADD CONSTRAINT `tb_city_cl_country_id_foreign` FOREIGN KEY (`cl_country_id`) REFERENCES `tb_country` (`cl_id`),
  ADD CONSTRAINT `tb_city_cl_state_id_foreign` FOREIGN KEY (`cl_state_id`) REFERENCES `tb_state` (`cl_id`);

--
-- Constraints for table `tb_company`
--
ALTER TABLE `tb_company`
  ADD CONSTRAINT `tb_company_tb_users_id` FOREIGN KEY (`cl_user_id`) REFERENCES `tb_users` (`cl_id`);

--
-- Constraints for table `tb_files`
--
ALTER TABLE `tb_files`
  ADD CONSTRAINT `tb_files_cl_user_id_foreign` FOREIGN KEY (`cl_user_id`) REFERENCES `tb_users` (`cl_id`);

--
-- Constraints for table `tb_menu`
--
ALTER TABLE `tb_menu`
  ADD CONSTRAINT `tb_car_cl_cat_id_foreign` FOREIGN KEY (`cl_cat_id`) REFERENCES `tb_category` (`cl_id`),
  ADD CONSTRAINT `tb_car_cl_user_id_foreign` FOREIGN KEY (`cl_user_id`) REFERENCES `tb_users` (`cl_id`);

--
-- Constraints for table `tb_payments`
--
ALTER TABLE `tb_payments`
  ADD CONSTRAINT `tb_payments_tb_user_foreign` FOREIGN KEY (`cl_user_id`) REFERENCES `tb_users` (`cl_id`);

--
-- Constraints for table `tb_state`
--
ALTER TABLE `tb_state`
  ADD CONSTRAINT `tb_state_cl_country_id_foreign` FOREIGN KEY (`cl_country_id`) REFERENCES `tb_country` (`cl_id`);

--
-- Constraints for table `tb_tables`
--
ALTER TABLE `tb_tables`
  ADD CONSTRAINT `cl_user_id_tb_users` FOREIGN KEY (`cl_user_id`) REFERENCES `tb_users` (`cl_id`);
COMMIT;

