-- phpMyAdmin SQL Dump
-- version 5.2.3
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Apr 29, 2026 at 04:08 PM
-- Server version: 10.11.10-MariaDB-log
-- PHP Version: 8.3.27

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

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

--
-- Table structure for table `app_business`
--

CREATE TABLE `app_business` (
  `id` int(11) NOT NULL,
  `app_user_id` int(11) NOT NULL,
  `name` varchar(255) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `about` text DEFAULT NULL,
  `logo` varchar(255) DEFAULT NULL,
  `address` text DEFAULT NULL,
  `mobile` varchar(15) DEFAULT NULL,
  `socialmedia_type` varchar(20) DEFAULT NULL,
  `socialmedia_value` text DEFAULT NULL,
  `is_active` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Table structure for table `app_political`
--

CREATE TABLE `app_political` (
  `id` int(11) NOT NULL,
  `app_user_id` int(11) DEFAULT NULL,
  `party_id` int(11) DEFAULT NULL,
  `name` varchar(255) DEFAULT NULL,
  `designation` varchar(255) DEFAULT NULL,
  `other_info` text DEFAULT NULL,
  `avatar` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Table structure for table `app_users`
--

CREATE TABLE `app_users` (
  `id` int(11) NOT NULL,
  `login_type` varchar(10) DEFAULT NULL,
  `name` varchar(255) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `mobile` varchar(15) DEFAULT NULL,
  `logo` varchar(255) DEFAULT NULL,
  `designation` varchar(255) DEFAULT NULL,
  `socialmedia_type` varchar(20) DEFAULT NULL,
  `socialmedia_value` text DEFAULT NULL,
  `is_subscribed` int(11) NOT NULL DEFAULT 0,
  `subscription_id` int(11) DEFAULT NULL,
  `subscription_start_date` date DEFAULT NULL,
  `subscription_end_date` date DEFAULT NULL,
  `is_active` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Table structure for table `background`
--

CREATE TABLE `background` (
  `id` int(11) NOT NULL,
  `item_url` varchar(1000) NOT NULL,
  `category_id` int(11) NOT NULL DEFAULT 0,
  `status` int(11) NOT NULL DEFAULT 1,
  `updated_at` datetime NOT NULL DEFAULT current_timestamp(),
  `created_at` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Table structure for table `background_category`
--

CREATE TABLE `background_category` (
  `id` int(11) NOT NULL,
  `name` varchar(1000) NOT NULL,
  `status` int(11) NOT NULL DEFAULT 1,
  `image` varchar(255) DEFAULT NULL,
  `updated_at` datetime NOT NULL DEFAULT current_timestamp(),
  `created_at` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Table structure for table `business`
--

CREATE TABLE `business` (
  `id` int(11) NOT NULL,
  `name` varchar(255) DEFAULT NULL,
  `tag_line` varchar(255) DEFAULT NULL,
  `logo` varchar(255) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `mobile_no` bigint(20) DEFAULT NULL,
  `website` text DEFAULT NULL,
  `detail` text DEFAULT NULL,
  `address` text DEFAULT NULL,
  `user_id` text DEFAULT NULL,
  `is_default` int(11) DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `category` text DEFAULT NULL,
  `social_facebook` text DEFAULT NULL,
  `social_instagram` text DEFAULT NULL,
  `social_youtube` text DEFAULT NULL,
  `social_twitter` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Table structure for table `cache`
--

CREATE TABLE `cache` (
  `key` varchar(255) NOT NULL,
  `value` mediumtext NOT NULL,
  `expiration` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Table structure for table `cache_locks`
--

CREATE TABLE `cache_locks` (
  `key` varchar(255) NOT NULL,
  `owner` varchar(255) NOT NULL,
  `expiration` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `categories`
--

CREATE TABLE `categories` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `language_id` int(11) DEFAULT NULL,
  `type` varchar(255) NOT NULL,
  `title` varchar(255) NOT NULL,
  `image` varchar(255) NOT NULL,
  `is_active` int(11) NOT NULL DEFAULT 1,
  `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 `category`
--

CREATE TABLE `category` (
  `id` int(11) NOT NULL,
  `name` varchar(255) DEFAULT NULL,
  `icon` varchar(255) DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT 1,
  `trending` int(11) NOT NULL DEFAULT 0,
  `is_featured` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Table structure for table `category_frame`
--

CREATE TABLE `category_frame` (
  `id` int(11) NOT NULL,
  `category_id` int(11) DEFAULT NULL,
  `language_id` int(11) DEFAULT NULL,
  `frame_type` varchar(10) NOT NULL DEFAULT 'image',
  `frame_video` varchar(255) DEFAULT NULL,
  `frame_image` text DEFAULT NULL,
  `thumbnail` text DEFAULT NULL,
  `paid` int(11) DEFAULT 0,
  `status` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `is_video` int(11) NOT NULL DEFAULT 0,
  `dimension` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Table structure for table `contact`
--

CREATE TABLE `contact` (
  `id` int(11) NOT NULL,
  `device_id` varchar(255) NOT NULL,
  `mobile` varchar(15) NOT NULL,
  `message` varchar(10000) NOT NULL,
  `updated_at` datetime NOT NULL DEFAULT current_timestamp(),
  `created_at` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Table structure for table `contact_list`
--

CREATE TABLE `contact_list` (
  `id` int(11) NOT NULL,
  `name` varchar(255) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `mobile_no` bigint(20) DEFAULT NULL,
  `message` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `custom_frame`
--

CREATE TABLE `custom_frame` (
  `id` int(11) NOT NULL,
  `user_id` int(11) DEFAULT NULL,
  `title` varchar(255) DEFAULT NULL,
  `thumbnail` text DEFAULT NULL,
  `zip` text DEFAULT NULL,
  `ratio` text DEFAULT NULL,
  `premium` int(11) NOT NULL DEFAULT 0,
  `status` int(11) NOT NULL DEFAULT 1,
  `frame_category` text DEFAULT NULL,
  `frame_type` text DEFAULT NULL,
  `is_deleted` int(11) DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Table structure for table `devices`
--

CREATE TABLE `devices` (
  `id` int(11) NOT NULL,
  `device_id` varchar(255) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Table structure for table `entry`
--

CREATE TABLE `entry` (
  `id` int(11) NOT NULL,
  `name` varchar(255) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `mobile_no` bigint(20) DEFAULT NULL,
  `subject_id` varchar(255) DEFAULT NULL,
  `message` text 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 `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 `feature_post`
--

CREATE TABLE `feature_post` (
  `id` int(11) NOT NULL,
  `category_id` int(11) DEFAULT NULL,
  `festival_id` int(11) DEFAULT NULL,
  `custom_id` int(11) DEFAULT NULL,
  `type` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Table structure for table `festivals`
--

CREATE TABLE `festivals` (
  `id` int(11) NOT NULL,
  `type` varchar(10) DEFAULT NULL,
  `title` varchar(255) DEFAULT NULL,
  `image` varchar(255) DEFAULT NULL,
  `festivals_date` varchar(255) DEFAULT NULL,
  `activation_date` varchar(255) DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Table structure for table `festivals_frame`
--

CREATE TABLE `festivals_frame` (
  `id` int(11) NOT NULL,
  `festivals_id` int(11) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `language_id` int(11) DEFAULT NULL,
  `frame_type` varchar(10) NOT NULL DEFAULT 'image',
  `frame_video` varchar(255) DEFAULT NULL,
  `frame_image` text DEFAULT NULL,
  `thumbnail` text DEFAULT NULL,
  `paid` int(11) DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `is_video` int(11) NOT NULL DEFAULT 0,
  `dimension` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Table structure for table `greetings`
--

CREATE TABLE `greetings` (
  `id` int(11) NOT NULL,
  `category_id` int(11) DEFAULT NULL,
  `language_id` int(11) DEFAULT NULL,
  `image` varchar(255) DEFAULT NULL,
  `is_paid` int(11) NOT NULL DEFAULT 0,
  `is_active` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE current_timestamp(),
  `zip_folder` varchar(255) DEFAULT NULL,
  `json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`json`)),
  `height` varchar(50) DEFAULT NULL,
  `width` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Table structure for table `greeting_categories`
--

CREATE TABLE `greeting_categories` (
  `id` int(11) NOT NULL,
  `name` varchar(255) NOT NULL,
  `icon` varchar(255) DEFAULT NULL,
  `is_active` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Table structure for table `jobs`
--

CREATE TABLE `jobs` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `queue` varchar(255) NOT NULL,
  `payload` longtext NOT NULL,
  `attempts` tinyint(3) UNSIGNED NOT NULL,
  `reserved_at` int(10) UNSIGNED DEFAULT NULL,
  `available_at` int(10) UNSIGNED NOT NULL,
  `created_at` int(10) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `job_batches`
--

CREATE TABLE `job_batches` (
  `id` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `total_jobs` int(11) NOT NULL,
  `pending_jobs` int(11) NOT NULL,
  `failed_jobs` int(11) NOT NULL,
  `failed_job_ids` longtext NOT NULL,
  `options` mediumtext DEFAULT NULL,
  `cancelled_at` int(11) DEFAULT NULL,
  `created_at` int(11) NOT NULL,
  `finished_at` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `language`
--

CREATE TABLE `language` (
  `id` int(11) NOT NULL,
  `title` varchar(255) DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- 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_resets_table', 1),
(3, '2019_08_19_000000_create_failed_jobs_table', 1),
(4, '2019_12_14_000001_create_personal_access_tokens_table', 1),
(5, '2022_08_10_202111_create_permission_tables', 2);

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

--
-- Table structure for table `model_has_permissions`
--

CREATE TABLE `model_has_permissions` (
  `permission_id` bigint(20) UNSIGNED NOT NULL,
  `model_type` varchar(255) NOT NULL,
  `model_id` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `model_has_permissions`
--

INSERT INTO `model_has_permissions` (`permission_id`, `model_type`, `model_id`) VALUES
(1, 'App\\Models\\User', 1),
(2, 'App\\Models\\User', 1),
(3, 'App\\Models\\User', 1),
(4, 'App\\Models\\User', 1),
(5, 'App\\Models\\User', 1),
(6, 'App\\Models\\User', 1),
(7, 'App\\Models\\User', 1),
(8, 'App\\Models\\User', 1),
(9, 'App\\Models\\User', 1),
(10, 'App\\Models\\User', 1),
(11, 'App\\Models\\User', 1),
(12, 'App\\Models\\User', 1),
(14, 'App\\Models\\User', 1),
(15, 'App\\Models\\User', 1),
(16, 'App\\Models\\User', 1),
(17, 'App\\Models\\User', 1),
(18, 'App\\Models\\User', 1),
(19, 'App\\Models\\User', 1),
(20, 'App\\Models\\User', 1),
(22, 'App\\Models\\User', 1),
(23, 'App\\Models\\User', 1),
(24, 'App\\Models\\User', 1),
(25, 'App\\Models\\User', 1),
(26, 'App\\Models\\User', 1),
(27, 'App\\Models\\User', 1),
(28, 'App\\Models\\User', 1),
(29, 'App\\Models\\User', 1),
(30, 'App\\Models\\User', 1),
(31, 'App\\Models\\User', 1),
(32, 'App\\Models\\User', 1),
(33, 'App\\Models\\User', 1),
(34, 'App\\Models\\User', 1),
(35, 'App\\Models\\User', 1),
(36, 'App\\Models\\User', 1),
(37, 'App\\Models\\User', 1),
(1, 'App\\Models\\User', 2),
(2, 'App\\Models\\User', 2),
(3, 'App\\Models\\User', 2),
(4, 'App\\Models\\User', 2),
(5, 'App\\Models\\User', 2),
(6, 'App\\Models\\User', 2),
(7, 'App\\Models\\User', 2),
(8, 'App\\Models\\User', 2),
(9, 'App\\Models\\User', 2),
(10, 'App\\Models\\User', 2),
(11, 'App\\Models\\User', 2),
(12, 'App\\Models\\User', 2),
(14, 'App\\Models\\User', 2),
(15, 'App\\Models\\User', 2),
(16, 'App\\Models\\User', 2),
(17, 'App\\Models\\User', 2),
(18, 'App\\Models\\User', 2),
(19, 'App\\Models\\User', 2),
(20, 'App\\Models\\User', 2),
(22, 'App\\Models\\User', 2),
(23, 'App\\Models\\User', 2),
(24, 'App\\Models\\User', 2),
(25, 'App\\Models\\User', 2),
(26, 'App\\Models\\User', 2),
(27, 'App\\Models\\User', 2),
(28, 'App\\Models\\User', 2),
(29, 'App\\Models\\User', 2),
(30, 'App\\Models\\User', 2),
(31, 'App\\Models\\User', 2),
(32, 'App\\Models\\User', 2),
(33, 'App\\Models\\User', 2),
(34, 'App\\Models\\User', 2),
(35, 'App\\Models\\User', 2),
(36, 'App\\Models\\User', 2),
(37, 'App\\Models\\User', 2),
(1, 'App\\Models\\User', 3),
(2, 'App\\Models\\User', 3),
(3, 'App\\Models\\User', 3),
(4, 'App\\Models\\User', 3),
(5, 'App\\Models\\User', 3),
(6, 'App\\Models\\User', 3),
(7, 'App\\Models\\User', 3),
(8, 'App\\Models\\User', 3),
(9, 'App\\Models\\User', 3),
(10, 'App\\Models\\User', 3),
(11, 'App\\Models\\User', 3),
(12, 'App\\Models\\User', 3),
(14, 'App\\Models\\User', 3),
(15, 'App\\Models\\User', 3),
(16, 'App\\Models\\User', 3),
(17, 'App\\Models\\User', 3),
(18, 'App\\Models\\User', 3),
(19, 'App\\Models\\User', 3),
(20, 'App\\Models\\User', 3),
(22, 'App\\Models\\User', 3),
(23, 'App\\Models\\User', 3),
(24, 'App\\Models\\User', 3),
(25, 'App\\Models\\User', 3),
(26, 'App\\Models\\User', 3),
(27, 'App\\Models\\User', 3),
(28, 'App\\Models\\User', 3),
(29, 'App\\Models\\User', 3),
(30, 'App\\Models\\User', 3),
(31, 'App\\Models\\User', 3),
(32, 'App\\Models\\User', 3),
(33, 'App\\Models\\User', 3),
(34, 'App\\Models\\User', 3),
(35, 'App\\Models\\User', 3),
(36, 'App\\Models\\User', 3),
(37, 'App\\Models\\User', 3);

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

--
-- Table structure for table `model_has_roles`
--

CREATE TABLE `model_has_roles` (
  `role_id` bigint(20) UNSIGNED NOT NULL,
  `model_type` varchar(255) NOT NULL,
  `model_id` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `notifications`
--

CREATE TABLE `notifications` (
  `id` int(11) NOT NULL,
  `title` varchar(1000) DEFAULT NULL,
  `message` varchar(10000) DEFAULT NULL,
  `thumbnail` varchar(1000) DEFAULT NULL,
  `action` varchar(1000) NOT NULL,
  `action_item` varchar(1000) DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT 0,
  `updated_at` datetime NOT NULL DEFAULT current_timestamp(),
  `created_at` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Table structure for table `offer_dialogs`
--

CREATE TABLE `offer_dialogs` (
  `id` int(11) NOT NULL,
  `name` varchar(255) DEFAULT NULL,
  `type` varchar(50) DEFAULT NULL,
  `url` text DEFAULT NULL,
  `image` varchar(255) DEFAULT NULL,
  `is_active` int(11) DEFAULT 1,
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Table structure for table `parties`
--

CREATE TABLE `parties` (
  `id` int(11) NOT NULL,
  `name` varchar(500) DEFAULT NULL,
  `icon` varchar(255) DEFAULT NULL,
  `is_active` int(11) DEFAULT 1,
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- 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 `permissions`
--

CREATE TABLE `permissions` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `guard_name` varchar(255) 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`, `name`, `guard_name`, `created_at`, `updated_at`) VALUES
(1, 'Language', 'web', '2022-08-12 07:53:01', '2022-08-12 07:53:01'),
(2, 'Category', 'web', '2022-08-12 07:53:01', '2022-08-12 07:53:01'),
(3, 'CategoryFrame', 'web', '2022-08-12 07:53:01', '2022-08-12 07:53:01'),
(4, 'Festival', 'web', '2022-08-12 07:53:01', '2022-08-12 07:53:01'),
(5, 'FestivalFrame', 'web', '2022-08-12 07:53:01', '2022-08-12 07:53:01'),
(7, 'CustomFrame', 'web', '2022-08-12 07:53:01', '2022-08-12 07:53:01'),
(9, 'Stories', 'web', '2022-08-12 07:53:01', '2022-08-12 07:53:01'),
(10, 'Users', 'web', '2022-08-12 07:53:01', '2022-08-12 07:53:01'),
(11, 'Businesses', 'web', '2022-08-12 07:53:01', '2022-08-12 07:53:01'),
(14, 'ContactList', 'web', '2022-08-12 07:53:01', '2022-08-12 07:53:01'),
(16, 'Notification', 'web', '2022-08-12 07:53:01', '2022-08-12 07:53:01'),
(17, 'UserRoleManagement', 'web', NULL, NULL),
(18, 'Settings', 'web', '2022-08-12 07:53:01', '2022-08-12 07:53:01'),
(19, 'BusinessCategory', 'web', '2022-08-13 06:45:47', '2022-08-13 06:45:47'),
(20, 'BusinessFrame', 'web', '2022-08-13 06:45:47', '2022-08-13 06:45:47'),
(22, 'FinancialStatistics', 'web', '2022-08-13 07:38:39', '2022-08-13 07:38:39'),
(23, 'Video', 'web', '2022-10-11 04:58:42', '2022-10-11 04:58:42'),
(25, 'BusinessCard', 'web', '2022-10-22 05:53:26', '2022-10-22 05:53:26'),
(26, 'StickerCategory', 'web', '2022-11-03 11:40:45', '2022-11-03 11:40:45'),
(27, 'Sticker', 'web', '2022-11-03 11:40:45', '2022-11-03 11:40:45'),
(28, 'Offer', 'web', '2022-11-04 06:42:14', '2022-11-04 06:42:14'),
(32, 'PosterTemplates', 'web', '2022-12-09 05:41:39', '2022-12-09 05:41:39'),
(35, 'BusinessSubCategory', 'web', '2023-01-18 07:53:34', '2023-01-18 07:53:34'),
(37, 'WhatsAppMessage', 'web', '2023-03-24 13:10:37', '2023-03-24 13:10:37'),
(38, 'GreetingCategory', 'web', NULL, NULL),
(39, 'GreetingFrame', 'web', NULL, NULL),
(40, 'Music', 'web', NULL, NULL),
(41, 'MusicCategory', 'web', NULL, NULL),
(42, 'AnimatedCategory', 'web', NULL, NULL),
(43, 'AnimatedTemplate', 'web', NULL, NULL),
(44, 'Background', 'web', NULL, NULL),
(45, 'BackgroundCategory', 'web', NULL, NULL),
(46, 'Banner', 'web', NULL, NULL),
(47, 'PosterCategory', 'web', NULL, NULL);

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

--
-- 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 `posts`
--

CREATE TABLE `posts` (
  `id` int(11) NOT NULL,
  `title` varchar(1400) DEFAULT NULL,
  `thumb_url` varchar(10000) DEFAULT NULL,
  `frame_url` varchar(1000) DEFAULT NULL,
  `folder_name` varchar(1000) DEFAULT NULL,
  `item_url` varchar(1000) NOT NULL,
  `slug` text DEFAULT NULL,
  `type` varchar(100) DEFAULT NULL COMMENT 'festival,bussiness',
  `json` text DEFAULT NULL,
  `language` varchar(1000) NOT NULL,
  `category_id` int(11) NOT NULL DEFAULT 0,
  `sub_category_id` int(11) DEFAULT 0,
  `section_id` int(11) NOT NULL DEFAULT 0,
  `branding_section_id` int(11) NOT NULL DEFAULT 0,
  `business_section_id` int(11) NOT NULL DEFAULT 0,
  `custom_section_id` int(11) NOT NULL DEFAULT 0,
  `orientation` varchar(100) DEFAULT NULL,
  `height` int(11) DEFAULT 0,
  `width` int(11) DEFAULT 0,
  `views` int(11) NOT NULL DEFAULT 0,
  `status` int(11) NOT NULL DEFAULT 1,
  `premium` int(11) NOT NULL DEFAULT 0 COMMENT '1=premium',
  `post_type` varchar(10) NOT NULL DEFAULT 'Free',
  `amount` varchar(100) DEFAULT '0',
  `updated_at` datetime NOT NULL DEFAULT current_timestamp(),
  `created_at` datetime NOT NULL DEFAULT current_timestamp(),
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Table structure for table `roles`
--

CREATE TABLE `roles` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `guard_name` varchar(255) 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 `roles`
--

INSERT INTO `roles` (`id`, `name`, `guard_name`, `created_at`, `updated_at`) VALUES
(1, 'Admin', 'web', '2022-08-12 07:57:11', '2022-08-12 07:57:11'),
(2, 'Super Admin', 'web', '2024-08-16 12:18:14', '2024-08-16 12:24:58'),
(3, 'efsdf', 'web', '2024-08-28 03:02:59', '2024-08-28 03:02:59');

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

--
-- Table structure for table `role_has_permissions`
--

CREATE TABLE `role_has_permissions` (
  `permission_id` bigint(20) UNSIGNED NOT NULL,
  `role_id` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `role_has_permissions`
--

INSERT INTO `role_has_permissions` (`permission_id`, `role_id`) VALUES
(1, 1),
(2, 1),
(3, 1),
(4, 1),
(5, 1),
(7, 1),
(9, 1),
(10, 1),
(11, 1),
(14, 1),
(16, 1),
(18, 1),
(19, 1),
(20, 1),
(25, 1),
(28, 1),
(35, 1),
(32, 2),
(35, 2),
(37, 2),
(40, 2),
(44, 2),
(45, 2),
(46, 2),
(47, 2),
(32, 3),
(37, 3),
(39, 3);

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

--
-- Table structure for table `schedule_notifications`
--

CREATE TABLE `schedule_notifications` (
  `id` bigint(20) NOT NULL,
  `title` varchar(300) DEFAULT NULL,
  `message` text DEFAULT NULL,
  `image` varchar(200) DEFAULT NULL,
  `type` varchar(20) DEFAULT NULL,
  `type_id` int(11) DEFAULT NULL,
  `external_link` varchar(255) DEFAULT NULL,
  `date_time` datetime DEFAULT NULL,
  `is_active` int(11) NOT NULL DEFAULT 1,
  `status` varchar(10) NOT NULL DEFAULT 'pending',
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Table structure for table `sessions`
--

CREATE TABLE `sessions` (
  `id` varchar(255) NOT NULL,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `ip_address` varchar(45) DEFAULT NULL,
  `user_agent` text DEFAULT NULL,
  `payload` longtext NOT NULL,
  `last_activity` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Table structure for table `settings`
--

CREATE TABLE `settings` (
  `id` int(11) NOT NULL,
  `key` varchar(255) NOT NULL,
  `value` text DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `settings`
--

INSERT INTO `settings` (`id`, `key`, `value`, `created_at`, `updated_at`) VALUES
(1, 'app_title', 'DailypostV2', '2024-09-23 11:41:50', '2024-10-05 02:00:03'),
(2, 'app_version', '1.0', '2024-09-23 11:41:50', '2024-10-05 02:00:03'),
(3, 'app_author', 'Growwth', '2024-09-23 11:41:50', '2024-10-05 02:00:03'),
(4, 'app_api_key', '123456', '2024-09-23 11:41:50', '2024-10-05 02:00:03'),
(5, 'timezone', '1', '2024-09-23 11:41:50', '2024-10-05 02:00:03'),
(6, 'contact', '8521457895', '2024-09-23 11:41:50', '2024-10-05 02:00:03'),
(7, 'email', 'kaushalpatel955@gmail.com', '2024-09-23 11:41:50', '2024-10-05 02:00:03'),
(8, 'website', 'https://google.com', '2024-09-23 11:41:50', '2024-10-05 02:00:03'),
(9, 'developer', 'Growwth', '2024-09-23 11:41:50', '2024-10-05 02:00:03'),
(10, 'app_logo', '1727897601.dailypost 2.0 logo.png', '2024-09-23 11:41:50', '2024-10-02 14:03:21'),
(11, 'app_favicon', '1727897601.dailypost 2.0 logo.png', '2024-09-23 11:41:50', '2024-10-02 14:03:21'),
(12, 'app_description', NULL, '2024-09-23 11:55:19', '2024-10-05 02:00:03'),
(13, 'app_currency', 'INR', '2024-09-23 11:55:19', '2024-10-05 02:00:03'),
(14, 'ads_status', '1', '2024-09-23 12:31:52', '2024-10-05 02:04:41'),
(15, 'ads_publisher_id', 'ca-app-pub-3940256099942544', '2024-09-23 12:31:52', '2024-10-05 02:04:41'),
(16, 'ads_banner_status', '1', '2024-09-23 12:31:52', '2024-10-05 02:04:41'),
(17, 'ads_banner_id', 'ca-app-pub-3940256099942544/9214589741', '2024-09-23 12:31:52', '2024-10-05 02:04:41'),
(18, 'ads_app_open_status', '1', '2024-09-23 12:31:52', '2024-10-05 02:04:41'),
(19, 'ads_app_open_id', 'ca-app-pub-3940256099942544/9257395921', '2024-09-23 12:31:52', '2024-10-05 02:04:41'),
(20, 'ads_native_status', '1', '2024-09-23 12:31:52', '2024-10-05 02:04:41'),
(21, 'ads_native_ads_id', 'ca-app-pub-3940256099942544/2247696110', '2024-09-23 12:31:52', '2024-10-05 02:04:41'),
(22, 'ads_reward_status', '1', '2024-09-23 12:31:52', '2024-10-05 02:04:41'),
(23, 'ads_reward_id', 'ca-app-pub-3940256099942544/5224354917', '2024-09-23 12:31:52', '2024-10-05 02:04:41'),
(24, 'ads_interstitial_status', '1', '2024-09-23 12:31:52', '2024-10-05 02:04:41'),
(25, 'ads_interstitial_id', 'ca-app-pub-3940256099942544/1033173712', '2024-09-23 12:31:52', '2024-10-05 02:04:41'),
(26, 'ads_interstitial_count', '10', '2024-09-23 12:31:52', '2024-10-05 02:04:41'),
(27, 'payment_razorpay_status', '1', '2024-09-23 12:56:17', '2025-08-15 15:53:11'),
(28, 'payment_razorpay_key_id', 'rzp_test_', '2024-09-23 12:56:17', '2025-08-15 15:53:11'),
(29, 'payment_razorpay_secret_id', 'razorpay secret id', '2024-09-23 12:56:17', '2025-08-15 15:53:11'),
(30, 'notification_onesignal_id', '46497559-ab67-41d4-a05e-21a405de2926', '2024-09-23 13:02:27', '2024-10-06 10:52:40'),
(31, 'notification_onesignal_rest_key', 'OTU1MjU4NTYtM2Q0Ni00NTUwLWFlNTEtYTkyMGE3N2M5ODgx', '2024-09-23 13:02:27', '2024-10-06 10:52:40'),
(32, 'privacy_policy', 'Privacy Policy', '2024-09-23 13:07:49', '2024-11-12 18:35:22'),
(33, 'refund_policy', 'Refund Policy', '2024-09-23 13:08:05', '2024-10-05 02:06:52'),
(34, 'terms_condition', 'Terms & Condition', '2024-09-23 13:08:21', '2024-10-05 02:07:10');

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

--
-- Table structure for table `subscription`
--

CREATE TABLE `subscription` (
  `id` int(11) NOT NULL,
  `name` varchar(1400) NOT NULL,
  `type` varchar(1000) DEFAULT NULL,
  `value` int(11) DEFAULT 1,
  `price` int(11) DEFAULT NULL,
  `discount_price` int(11) DEFAULT 0,
  `image` varchar(1000) DEFAULT NULL,
  `status` int(11) DEFAULT 1,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp(),
  `created_at` timestamp NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Table structure for table `timezones`
--

CREATE TABLE `timezones` (
  `id` int(11) NOT NULL,
  `name` varchar(44) DEFAULT NULL,
  `timezone` varchar(30) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `timezones`
--

INSERT INTO `timezones` (`id`, `name`, `timezone`) VALUES
(1, '(GMT-11:00) Pacific/Midway ', 'Pacific/Midway'),
(2, '(GMT-11:00) Pacific/Samoa', 'Pacific/Samoa'),
(3, '(GMT-10:00) Pacific/Honolulu', 'Pacific/Honolulu'),
(4, '(GMT-09:00) America/Anchorage', 'America/Anchorage'),
(5, '(GMT-08:00) America/Los_Angeles', 'America/Los_Angeles'),
(6, '(GMT-08:00) America/Tijuana', 'America/Tijuana'),
(7, '(GMT-07:00) America/Chihuahua', 'America/Chihuahua'),
(9, '(GMT-07:00) America/Mazatlan', 'America/Mazatlan'),
(10, '(GMT-07:00) America/Denver', 'America/Denver'),
(11, '(GMT-06:00) America/Managua ', 'America/Managua'),
(12, '(GMT-06:00) America/Chicago', 'America/Chicago'),
(13, '(GMT-06:00) America/Mexico_City', 'America/Mexico_City'),
(15, '(GMT-06:00) America/Monterrey', 'America/Monterrey'),
(16, '(GMT-05:00) America/Bogota', 'America/Bogota'),
(17, '(GMT-05:00) America/New_York', 'America/New_York'),
(18, '(GMT-05:00) America/Lima', 'America/Lima'),
(20, '(GMT-04:00) Canada/Atlantic', 'Canada/Atlantic'),
(21, '(GMT-04:30) America/Caracas', 'America/Caracas'),
(22, '(GMT-04:00) America/La_Paz', 'America/La_Paz'),
(23, '(GMT-04:00) America/Santiago', 'America/Santiago'),
(24, '(GMT-03:30) America/St_Johns', 'America/St_Johns'),
(25, '(GMT-03:00) America/Sao_Paulo', 'America/Sao_Paulo'),
(26, '(GMT-03:00) America/Argentina/Buenos_Aires', 'America/Argentina/Buenos_Aires'),
(28, '(GMT-03:00) America/Godthab', 'America/Godthab'),
(29, '(GMT-02:00) America/Noronha ', 'America/Noronha'),
(30, '(GMT-01:00) Atlantic/Azores', 'Atlantic/Azores'),
(31, '(GMT-01:00) Atlantic/Cape_Verde ', 'Atlantic/Cape_Verde'),
(32, '(GMT+00:00) Africa/Casablanca', 'Africa/Casablanca'),
(33, '(GMT+00:00) Europe/London', 'Europe/London'),
(34, '(GMT+00:00) Europe/Dublin ', 'Europe/Dublin'),
(35, '(GMT+00:00) Europe/Lisbon', 'Europe/Lisbon'),
(37, '(GMT+00:00) Africa/Monrovia', 'Africa/Monrovia'),
(38, '(GMT+00:00) UTC ', 'UTC'),
(39, '(GMT+01:00) Europe/Amsterdam', 'Europe/Amsterdam'),
(40, '(GMT+01:00) Europe/Belgrade', 'Europe/Belgrade'),
(41, '(GMT+01:00) Europe/Berlin', 'Europe/Berlin'),
(43, '(GMT+01:00) Europe/Bratislava', 'Europe/Bratislava'),
(44, '(GMT+01:00) Europe/Brussels', 'Europe/Brussels'),
(45, '(GMT+01:00) Europe/Budapest', 'Europe/Budapest'),
(46, '(GMT+01:00) Europe/Copenhagen', 'Europe/Copenhagen'),
(47, '(GMT+01:00) Europe/Ljubljana', 'Europe/Ljubljana'),
(48, '(GMT+01:00) Europe/Madrid', 'Europe/Madrid'),
(49, '(GMT+01:00) Europe/Paris', 'Europe/Paris'),
(50, '(GMT+01:00) Europe/Prague', 'Europe/Prague'),
(51, '(GMT+01:00) Europe/Rome', 'Europe/Rome'),
(52, '(GMT+01:00) Europe/Sarajevo', 'Europe/Sarajevo'),
(53, '(GMT+01:00) Europe/Skopje', 'Europe/Skopje'),
(54, '(GMT+01:00) Europe/Stockholm', 'Europe/Stockholm'),
(55, '(GMT+01:00) Europe/Vienna', 'Europe/Vienna'),
(56, '(GMT+01:00) Europe/Warsaw', 'Europe/Warsaw'),
(57, '(GMT+01:00) Africa/Lagos', 'Africa/Lagos'),
(58, '(GMT+01:00) Europe/Zagreb', 'Europe/Zagreb'),
(59, '(GMT+02:00) Europe/Athens', 'Europe/Athens'),
(60, '(GMT+02:00) Europe/Bucharest', 'Europe/Bucharest'),
(61, '(GMT+02:00) Africa/Cairo', 'Africa/Cairo'),
(62, '(GMT+02:00) Africa/Harare', 'Africa/Harare'),
(63, '(GMT+02:00) Europe/Helsinki', 'Europe/Helsinki'),
(64, '(GMT+02:00) Europe/Istanbul', 'Europe/Istanbul'),
(65, '(GMT+02:00) Asia/Jerusalem', 'Asia/Jerusalem'),
(67, '(GMT+02:00) Africa/Johannesburg', 'Africa/Johannesburg'),
(68, '(GMT+02:00) Europe/Riga', 'Europe/Riga'),
(69, '(GMT+02:00) Europe/Sofia', 'Europe/Sofia'),
(70, '(GMT+02:00) Europe/Tallinn', 'Europe/Tallinn'),
(71, '(GMT+02:00) Europe/Vilnius', 'Europe/Vilnius'),
(72, '(GMT+03:00) Asia/Baghdad', 'Asia/Baghdad'),
(73, '(GMT+03:00) Asia/Kuwait', 'Asia/Kuwait'),
(74, '(GMT+03:00) Europe/Minsk', 'Europe/Minsk'),
(75, '(GMT+03:00) Africa/Nairobi', 'Africa/Nairobi'),
(76, '(GMT+03:00) Asia/Riyadh', 'Asia/Riyadh'),
(77, '(GMT+03:00) Europe/Volgograd', 'Europe/Volgograd'),
(78, '(GMT+03:30) Asia/Tehran', 'Asia/Tehran'),
(79, '(GMT+04:00) Asia/Muscat', 'Asia/Muscat'),
(80, '(GMT+04:00) Asia/Baku', 'Asia/Baku'),
(81, '(GMT+04:00) Europe/Moscow', 'Europe/Moscow'),
(82, '(GMT+04:00) Asia/Muscat', 'Asia/Muscat'),
(84, '(GMT+04:00) Asia/Tbilisi', 'Asia/Tbilisi'),
(85, '(GMT+04:00) Asia/Yerevan', 'Asia/Yerevan'),
(86, '(GMT+04:30) Asia/Kabul', 'Asia/Kabul'),
(87, '(GMT+05:00) Asia/Karachi', 'Asia/Karachi'),
(89, '(GMT+05:00) Asia/Tashkent', 'Asia/Tashkent'),
(90, '(GMT+05:30) Asia/Calcutta', 'Asia/Calcutta'),
(95, '(GMT+05:45) Asia/Katmandu', 'Asia/Katmandu'),
(96, '(GMT+06:00) Asia/Almaty', 'Asia/Almaty'),
(97, '(GMT+06:00) Asia/Dhaka', 'Asia/Dhaka'),
(99, '(GMT+06:00) Asia/Yekaterinburg', 'Asia/Yekaterinburg'),
(100, '(GMT+06:30) Asia/Rangoon', 'Asia/Rangoon'),
(101, '(GMT+07:00) Asia/Bangkok', 'Asia/Bangkok'),
(103, '(GMT+07:00) Asia/Jakarta', 'Asia/Jakarta'),
(104, '(GMT+07:00) Asia/Novosibirsk', 'Asia/Novosibirsk'),
(106, '(GMT+08:00) Asia/Chongqing', 'Asia/Chongqing'),
(107, '(GMT+08:00) Asia/Hong_Kong ', 'Asia/Hong_Kong'),
(108, '(GMT+08:00) Asia/Krasnoyarsk', 'Asia/Krasnoyarsk'),
(109, '(GMT+08:00) Asia/Kuala_Lumpur', 'Asia/Kuala_Lumpur'),
(110, '(GMT+08:00) Australia/Perth', 'Australia/Perth'),
(111, '(GMT+08:00) Asia/Singapore', 'Asia/Singapore'),
(112, '(GMT+08:00) Asia/Taipei', 'Asia/Taipei'),
(113, '(GMT+08:00) Asia/Ulan_Bator', 'Asia/Ulan_Bator'),
(114, '(GMT+08:00) Asia/Urumqi', 'Asia/Urumqi'),
(115, '(GMT+09:00) Asia/Irkutsk', 'Asia/Irkutsk'),
(116, '(GMT+09:00) Asia/Tokyo', 'Asia/Tokyo'),
(118, '(GMT+09:00) Asia/Seoul', 'Asia/Seoul'),
(120, '(GMT+09:30) Australia/Adelaide', 'Australia/Adelaide'),
(121, '(GMT+09:30) Australia/Darwin', 'Australia/Darwin'),
(122, '(GMT+10:00) Australia/Brisbane', 'Australia/Brisbane'),
(123, '(GMT+10:00) Australia/Canberra', 'Australia/Canberra'),
(124, '(GMT+10:00) Pacific/Guam', 'Pacific/Guam'),
(125, '(GMT+10:00) Australia/Hobart', 'Australia/Hobart'),
(126, '(GMT+10:00) Australia/Melbourne', 'Australia/Melbourne'),
(127, '(GMT+10:00) Pacific/Port_Moresby', 'Pacific/Port_Moresby'),
(128, '(GMT+10:00) Australia/Sydney', 'Australia/Sydney'),
(129, '(GMT+10:00) Asia/Yakutsk', 'Asia/Yakutsk'),
(130, '(GMT+11:00) Asia/Vladivostok', 'Asia/Vladivostok'),
(131, '(GMT+12:00) Pacific/Auckland', 'Pacific/Auckland'),
(132, '(GMT+12:00) Pacific/Fiji', 'Pacific/Fiji'),
(133, '(GMT+12:00) Pacific/Kwajalein', 'Pacific/Kwajalein'),
(134, '(GMT+12:00) Asia/Kamchatka', 'Asia/Kamchatka'),
(138, '(GMT+12:00) Asia/Magadan', 'Asia/Magadan'),
(139, '(GMT+12:00) Pacific/Auckland', 'Pacific/Auckland'),
(140, '(GMT+13:00) Pacific/Tongatapu', 'Pacific/Tongatapu');

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

--
-- Table structure for table `transactions`
--

CREATE TABLE `transactions` (
  `id` int(11) NOT NULL,
  `type` varchar(50) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `subscription_id` int(11) DEFAULT NULL,
  `promocode` varchar(20) DEFAULT NULL,
  `frame_id` varchar(50) DEFAULT NULL,
  `transaction_id` varchar(255) NOT NULL,
  `amount` varchar(50) NOT NULL,
  `subscription_start_date` timestamp NULL DEFAULT NULL,
  `subscription_end_date` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

CREATE TABLE `users` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `mobile_no` bigint(20) DEFAULT NULL,
  `address` text DEFAULT NULL,
  `image` varchar(255) DEFAULT NULL,
  `designation` text DEFAULT NULL,
  `user_type` varchar(255) DEFAULT 'User',
  `login_type` text DEFAULT NULL,
  `is_subscribed` int(11) DEFAULT NULL,
  `subscription_id` int(11) DEFAULT NULL,
  `subscription_start_date` varchar(255) DEFAULT NULL,
  `subscription_end_date` varchar(255) DEFAULT NULL,
  `business_limit` int(11) DEFAULT 1,
  `email_verified_at` timestamp NULL DEFAULT NULL,
  `password` varchar(255) DEFAULT NULL,
  `remember_token` varchar(100) DEFAULT NULL,
  `referral_code` varchar(255) DEFAULT NULL,
  `current_balance` bigint(20) NOT NULL DEFAULT 0,
  `total_balance` bigint(20) NOT NULL DEFAULT 0,
  `status` int(11) NOT NULL DEFAULT 1,
  `api_token` text 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`, `name`, `email`, `mobile_no`, `address`, `image`, `designation`, `user_type`, `login_type`, `is_subscribed`, `subscription_id`, `subscription_start_date`, `subscription_end_date`, `business_limit`, `email_verified_at`, `password`, `remember_token`, `referral_code`, `current_balance`, `total_balance`, `status`, `api_token`, `created_at`, `updated_at`) VALUES
(85, 'Admin', 'super@admin.com', NULL, NULL, '1727159044.fishing-8842590_640.jpg', NULL, 'super', NULL, NULL, NULL, NULL, NULL, 1, NULL, '$2y$12$0HewJ8UBiwWY7bZW/IEuKuV5LIdInMTPpsugq9/USn5/cpCjrdAKe', NULL, NULL, 0, 0, 1, NULL, '2024-09-23 09:39:00', '2024-09-24 00:54:04');

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

--
-- Table structure for table `user_business`
--

CREATE TABLE `user_business` (
  `_` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

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

--
-- Table structure for table `user_permission`
--

CREATE TABLE `user_permission` (
  `id` int(11) NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `permission_id` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

--
-- Dumping data for table `user_permission`
--

INSERT INTO `user_permission` (`id`, `user_id`, `permission_id`, `created_at`, `updated_at`) VALUES
(67, 85, 1, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(68, 85, 2, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(69, 85, 3, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(70, 85, 4, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(71, 85, 5, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(72, 85, 7, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(73, 85, 9, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(74, 85, 10, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(75, 85, 11, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(76, 85, 14, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(77, 85, 16, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(78, 85, 17, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(79, 85, 18, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(80, 85, 19, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(81, 85, 20, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(82, 85, 22, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(83, 85, 23, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(84, 85, 25, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(85, 85, 26, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(86, 85, 27, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(87, 85, 28, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(88, 85, 32, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(89, 85, 35, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(90, 85, 37, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(91, 85, 38, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(92, 85, 39, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(93, 85, 40, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(94, 85, 41, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(95, 85, 42, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(96, 85, 43, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(97, 85, 44, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(98, 85, 45, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(99, 85, 46, '2023-07-17 17:12:55', '2023-07-17 17:12:55'),
(100, 85, 47, '2023-07-17 17:12:55', '2023-07-17 17:12:55');

--
-- Indexes for dumped tables
--

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `user_permission`
--
ALTER TABLE `user_permission`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_id` (`user_id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `app_business`
--
ALTER TABLE `app_business`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=29;

--
-- AUTO_INCREMENT for table `app_political`
--
ALTER TABLE `app_political`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `app_users`
--
ALTER TABLE `app_users`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=137;

--
-- AUTO_INCREMENT for table `background`
--
ALTER TABLE `background`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=29;

--
-- AUTO_INCREMENT for table `background_category`
--
ALTER TABLE `background_category`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;

--
-- AUTO_INCREMENT for table `business`
--
ALTER TABLE `business`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=278;

--
-- AUTO_INCREMENT for table `category`
--
ALTER TABLE `category`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=64;

--
-- AUTO_INCREMENT for table `category_frame`
--
ALTER TABLE `category_frame`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=256;

--
-- AUTO_INCREMENT for table `contact_list`
--
ALTER TABLE `contact_list`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `custom_frame`
--
ALTER TABLE `custom_frame`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=126;

--
-- AUTO_INCREMENT for table `devices`
--
ALTER TABLE `devices`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=344;

--
-- AUTO_INCREMENT for table `entry`
--
ALTER TABLE `entry`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=31;

--
-- AUTO_INCREMENT for table `feature_post`
--
ALTER TABLE `feature_post`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=123;

--
-- AUTO_INCREMENT for table `festivals`
--
ALTER TABLE `festivals`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=56;

--
-- AUTO_INCREMENT for table `festivals_frame`
--
ALTER TABLE `festivals_frame`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=614;

--
-- AUTO_INCREMENT for table `greetings`
--
ALTER TABLE `greetings`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=293;

--
-- AUTO_INCREMENT for table `greeting_categories`
--
ALTER TABLE `greeting_categories`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=46;

--
-- AUTO_INCREMENT for table `language`
--
ALTER TABLE `language`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

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

--
-- AUTO_INCREMENT for table `offer_dialogs`
--
ALTER TABLE `offer_dialogs`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT for table `parties`
--
ALTER TABLE `parties`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

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

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

--
-- AUTO_INCREMENT for table `schedule_notifications`
--
ALTER TABLE `schedule_notifications`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;

--
-- AUTO_INCREMENT for table `settings`
--
ALTER TABLE `settings`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=35;

--
-- AUTO_INCREMENT for table `subscription`
--
ALTER TABLE `subscription`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `timezones`
--
ALTER TABLE `timezones`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=141;

--
-- AUTO_INCREMENT for table `transactions`
--
ALTER TABLE `transactions`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=105;

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

--
-- AUTO_INCREMENT for table `user_permission`
--
ALTER TABLE `user_permission`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=114;

--
-- Constraints for dumped tables
--

--
-- Constraints for table `user_permission`
--
ALTER TABLE `user_permission`
  ADD CONSTRAINT `user_permission_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`);
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 */;
