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

START TRANSACTION;



--
-- 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 `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 `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 `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 `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 `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 `schedule_notifications`
--
ALTER TABLE `schedule_notifications`
  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 `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 `schedule_notifications`
--
ALTER TABLE `schedule_notifications`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;

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

