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

START TRANSACTION;



--
-- Database: `oltar`
--

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

--
-- Table structure for table `blogs`
--

CREATE TABLE `blogs` (
  `blog_id` bigint UNSIGNED NOT NULL,
  `blog_title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `blog_description` longtext COLLATE utf8mb4_unicode_ci,
  `blog_images` text COLLATE utf8mb4_unicode_ci,
  `blog_slug` text COLLATE utf8mb4_unicode_ci,
  `blog_status` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `blogs`
--

INSERT INTO `blogs` (`blog_id`, `blog_title`, `blog_description`, `blog_images`, `blog_slug`, `blog_status`, `created_by`, `created_at`, `updated_at`) VALUES
(1, 'Dolorum optio tempore voluptas dignissimos cumque fuga qui quibusdam quia', '<p><span style=\"color: rgb(5, 7, 60);\">Lorem Ipsum&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s,</span></p><p><span style=\"color: rgb(5, 7, 60);\">when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</span></p><p><span style=\"color: rgb(5, 7, 60);\">It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</span></p><p><span style=\"color: rgb(5, 7, 60);\">Lorem Ipsum&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s,</span></p><p><span style=\"color: rgb(5, 7, 60);\">when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</span></p><p><span style=\"color: rgb(5, 7, 60);\"><span class=\"ql-cursor\">﻿</span>It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</span></p>', '67adc1162c58b.png', NULL, '1', '1', '2025-02-13 14:11:47', '2025-02-13 15:23:26');

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

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

CREATE TABLE `categories` (
  `category_id` bigint UNSIGNED NOT NULL,
  `category_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `category_image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `category_status` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deleted_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;

--
-- Dumping data for table `categories`
--

INSERT INTO `categories` (`category_id`, `category_name`, `category_image`, `category_status`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'Individual', '675fce2208d11.png', '1', NULL, '2024-12-16 01:22:18', '2024-12-16 01:34:51'),
(3, 'Organization', '675fe8e206b6a.png', '1', NULL, '2024-12-16 03:16:26', '2024-12-16 03:16:26');

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

--
-- Table structure for table `communities`
--

CREATE TABLE `communities` (
  `community_id` bigint UNSIGNED NOT NULL,
  `community_rules_image` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `community_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `community_category` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `community_interested_area` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `community_group_task` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `community_description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `community_rules_regulation` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `community_created_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deleted_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;

--
-- Dumping data for table `communities`
--

INSERT INTO `communities` (`community_id`, `community_rules_image`, `community_title`, `community_category`, `community_interested_area`, `community_group_task`, `community_description`, `community_rules_regulation`, `community_created_by`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, '6784c7079ff97community.png', 'Community1', '2', 'dsdd', 'public', 'dsdsd', 'dsdsdsdsdsd', '11', NULL, '2025-01-09 03:51:28', '2025-01-13 13:25:51'),
(2, '678223497d674community.png', 'Community2', '1', 'dsds', 'private', 'dsdsd', 'sdsdsd', '11', NULL, '2025-01-09 03:52:00', '2025-01-11 02:22:41'),
(3, '678203cd40400community.png', 'Private Community', '2', 'Private', 'private', 'private', 'private', '5', NULL, '2025-01-11 00:08:21', '2025-01-11 00:08:21'),
(4, '678219c87e09fcommunity.png', 'Private car community', '1', 'Private car community', 'private', 'It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using \'Content here, content here\', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for \'lorem ipsum\' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).', 'It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using \'Content here, content here\', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for \'lorem ipsum\' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).', '5', NULL, '2025-01-11 00:10:28', '2025-01-11 01:42:08');

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

--
-- Table structure for table `community_members`
--

CREATE TABLE `community_members` (
  `community_member_id` bigint UNSIGNED NOT NULL,
  `community_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `accepted_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_admin` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `community_members`
--

INSERT INTO `community_members` (`community_member_id`, `community_id`, `user_id`, `status`, `accepted_by`, `is_admin`, `created_at`, `updated_at`) VALUES
(1, '2', '2', '1', '11', '0', '2025-01-09 04:31:35', '2025-01-09 04:35:57'),
(2, '2', '11', '1', '', '1', '2025-01-09 04:31:48', '2025-01-09 04:31:48'),
(3, '1', '11', '1', '11', '0', '2025-01-10 01:52:44', '2025-01-10 01:52:44'),
(4, '3', '5', '1', '3', '1', '2025-01-11 00:08:21', '2025-01-11 00:08:21'),
(5, '4', '5', '1', '4', '1', '2025-01-11 00:10:28', '2025-01-11 00:10:28'),
(6, '4', '2', '1', '5', '1', '2025-01-11 00:11:08', '2025-01-11 00:13:17'),
(7, '4', '14', '1', '2', '0', '2025-01-11 00:14:32', '2025-01-11 00:15:38'),
(8, '4', '15', '1', '2', '0', '2025-01-11 00:17:52', '2025-01-11 00:18:05'),
(11, '2', '5', '0', '', '0', '2025-01-11 17:07:51', '2025-01-11 17:07:51'),
(12, '3', '11', '0', '', '0', '2025-02-12 12:49:13', '2025-02-12 12:49:13'),
(13, '4', '11', '0', '', '0', '2025-02-12 12:49:28', '2025-02-12 12:49:28');

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

--
-- Table structure for table `community_posts`
--

CREATE TABLE `community_posts` (
  `community_post_id` bigint UNSIGNED NOT NULL,
  `community_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `community_member_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `community_post_image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `community_post_comment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `community_post_created_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `community_post_accepted_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `community_post_status` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deleted_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;

--
-- Dumping data for table `community_posts`
--

INSERT INTO `community_posts` (`community_post_id`, `community_id`, `community_member_id`, `community_post_image`, `community_post_comment`, `community_post_created_by`, `community_post_accepted_by`, `community_post_status`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, '2', '2', '6780a32aa9874.jpg', 'dsdsdsdsdsd', '11', NULL, '1', NULL, '2025-01-09 23:03:46', '2025-01-09 23:03:46'),
(2, '2', '2', '6780bb7c1d808.jpg', 'Ritik Roshan', '11', '11', '1', NULL, '2025-01-10 00:47:32', '2025-01-10 01:47:16'),
(3, '1', '3', '6784d615969f8community.png', 'wwwd', '11', '11', '1', NULL, '2025-01-10 01:53:06', '2025-01-13 14:30:05'),
(4, '2', '2', '6780cb23e760a.jpg', 'Car', '11', '11', '1', NULL, '2025-01-10 01:54:19', '2025-01-10 01:54:48'),
(6, '2', '2', '6780d396bcc93community.png', 'gfgfgfgfgf', '11', '2', '1', NULL, '2025-01-10 02:30:22', '2025-01-10 02:30:22'),
(7, '2', '1', '67811174bd6d1community.png', 'dsdsdsdsd', '2', '', '0', NULL, '2025-01-10 06:54:20', '2025-01-10 06:54:20'),
(9, '4', '7', '6784d6666cd2ccommunity.png', 'There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don\'t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn\'t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.', '14', '5', '0', NULL, '2025-01-11 00:16:36', '2025-01-13 14:31:26'),
(10, '4', '8', '6782064d42430community.png', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.', '15', '5', '1', NULL, '2025-01-11 00:19:01', '2025-01-11 17:51:51');

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

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

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

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

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

CREATE TABLE `migrations` (
  `id` int UNSIGNED NOT NULL,
  `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `batch` int NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `migrations`
--

INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2014_10_12_000000_create_users_table', 1),
(2, '2014_10_12_100000_create_password_reset_tokens_table', 1),
(3, '2019_08_19_000000_create_failed_jobs_table', 1),
(4, '2019_12_14_000001_create_personal_access_tokens_table', 1),
(5, '2024_12_14_063145_create_permission_tables', 1),
(6, '2024_12_16_033829_create_plans_table', 2),
(7, '2014_10_12_100000_create_password_resets_table', 3),
(8, '2024_12_16_060649_create_categories_table', 3),
(9, '2024_12_16_060700_create_sub_categories_table', 3),
(10, '2024_12_23_083721_create_poli_categories_table', 4),
(12, '2024_12_23_111121_create_polis_table', 5),
(13, '2024_12_24_034953_create_poli_steps_table', 6),
(14, '2024_12_25_035739_create_poli_completed_steps_table', 7),
(15, '2024_12_26_110501_create_petitions_table', 8),
(16, '2025_01_01_092943_create_petetion_signeds_table', 9),
(17, '2025_01_03_102003_create_communities_table', 10),
(18, '2025_01_08_121001_create_community_members_table', 11),
(20, '2025_01_09_102324_create_community_posts_table', 12),
(21, '2025_01_13_205048_create_surveys_table', 13),
(22, '2025_01_16_172804_create_survey_questions_table', 14),
(23, '2025_01_16_201122_create_survey_question_options_table', 15),
(24, '2025_02_12_225000_create_blogs_table', 16);

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

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

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

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

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

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

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

--
-- Table structure for table `permissions`
--

CREATE TABLE `permissions` (
  `id` bigint UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `guard_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `petetion_signeds`
--

CREATE TABLE `petetion_signeds` (
  `petetion_signeds_id` bigint UNSIGNED NOT NULL,
  `petetion_signeds_signed_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `petetion_signeds_petetion_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deleted_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;

--
-- Dumping data for table `petetion_signeds`
--

INSERT INTO `petetion_signeds` (`petetion_signeds_id`, `petetion_signeds_signed_by`, `petetion_signeds_petetion_id`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, '5', '2', NULL, '2025-01-01 04:12:40', '2025-01-01 04:12:40'),
(2, '2', '2', NULL, '2025-01-31 04:12:40', '2025-01-01 04:12:40'),
(3, '3', '3', NULL, '2025-01-02 05:35:00', '2025-01-02 05:35:00'),
(4, '11', '2', NULL, '2025-01-06 22:28:06', '2025-01-06 22:28:06'),
(5, '23', '2', NULL, '2025-01-07 00:09:24', '2025-01-07 00:09:24'),
(6, '23', '1', NULL, '2025-01-07 00:09:57', '2025-01-07 00:09:57'),
(7, '11', '6', NULL, '2025-01-13 15:18:35', '2025-01-13 15:18:35'),
(9, '11', NULL, NULL, '2025-02-12 17:17:17', '2025-02-12 17:17:17');

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

--
-- Table structure for table `petitions`
--

CREATE TABLE `petitions` (
  `petition_id` bigint UNSIGNED NOT NULL,
  `petition_scope` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `petition_category_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `petition_title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `petition_tagged_person` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `petition_description` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `petition_neighbourhood_area` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `petition_contact` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `petition_signature_target` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `petition_total_view` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `petition_images` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `petition_goals` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `petition_created_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deleted_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;

--
-- Dumping data for table `petitions`
--

INSERT INTO `petitions` (`petition_id`, `petition_scope`, `petition_category_id`, `petition_title`, `petition_tagged_person`, `petition_description`, `petition_neighbourhood_area`, `petition_contact`, `petition_signature_target`, `petition_total_view`, `petition_images`, `petition_goals`, `petition_created_by`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, '1', '1', 'Rare diseases policy fund not utilised by GOI, babies like Sera is battling to Survive.', '[\"2\",\"4\"]', '<p><span style=\"color: rgb(0, 0, 0);\">My daughter baby Sera is diagnosed with a very rare genetic disease, Infantile Hypophosphatasia. She’s the only one in India at present who’s been diagnosed with the disease. She needs an orphan drug, ASFOTASE ALFA , which has an exhorbitant cost of 2.5Crore per year and it will increase with each passing year. This is the only therapy available world wide at present.</span></p><p><span style=\"color: rgb(0, 0, 0);\">We’ve spent 75L so far and have been chasing GOI and also MINISTRY OF HEALTH, GOI since last December. We’ve even applied for NRDP fund for rare diseases of 50Lacs, MOHFW and GOI is not even willing to help with rare diseases fund, claiming it won’t be enough for one year medicine. Meanwhile my daughters medicine is running out.</span></p><p><span style=\"color: rgb(0, 0, 0);\">GOI has almost allocated 100crores every year for rare diseases fund  only 10% of it is used in past few years, which is stuck in bureaucracy.</span></p><p><span style=\"color: rgb(0, 0, 0);\">We request MOHFW and policy makers to consider and implement to give more support and fund to rare category 3 (a&amp;b) , like Sera, as 50Lac aid is not a long term support, instead of leaving them in peril, we request GOI and MOHFW to take care of their treatment expenses, there are more research and upcoming drugs in few years, letting these children and patients suffer without help when they can be saved is inhuman. </span></p><p><span style=\"color: rgb(0, 0, 0);\">REQUEST GOI TO SUPPORT AND SAVE BABIES AND CHILDREN LIKE MY DAUGHTER SERA. OUR COUNTRY IS PURCHASING WEAPONS FOR FEW THOUSAND CRORES CANT THEY ALSO SAVE SUCH CHILDREN, WHO WILL BECOME FUTURE GENERATION. </span></p><p><br></p>', 'Mehshana', '88798799899', '4', '29', '6776726210b35.png', '[\"2\",\"3\"]', '5', NULL, '2024-12-31 06:30:21', '2025-02-12 14:10:25'),
(2, '1', '1', 'Rare diseases policy fund not utilised by GOI, babies like Sera is battling to Survive.', '[\"2\",\"4\"]', '<p><span style=\"color: rgb(0, 0, 0);\">My daughter baby Sera is diagnosed with a very rare genetic disease, Infantile Hypophosphatasia. She’s the only one in India at present who’s been diagnosed with the disease. She needs an orphan drug, ASFOTASE ALFA , which has an exhorbitant cost of 2.5Crore per year and it will increase with each passing year. This is the only therapy available world wide at present.</span></p><p><span style=\"color: rgb(0, 0, 0);\">We’ve spent 75L so far and have been chasing GOI and also MINISTRY OF HEALTH, GOI since last December. We’ve even applied for NRDP fund for rare diseases of 50Lacs, MOHFW and GOI is not even willing to help with rare diseases fund, claiming it won’t be enough for one year medicine. Meanwhile my daughters medicine is running out.</span></p><p><span style=\"color: rgb(0, 0, 0);\">GOI has almost allocated 100crores every year for rare diseases fund  only 10% of it is used in past few years, which is stuck in bureaucracy.</span></p><p><span style=\"color: rgb(0, 0, 0);\">We request MOHFW and policy makers to consider and implement to give more support and fund to rare category 3 (a&amp;b) , like Sera, as 50Lac aid is not a long term support, instead of leaving them in peril, we request GOI and MOHFW to take care of their treatment expenses, there are more research and upcoming drugs in few years, letting these children and patients suffer without help when they can be saved is inhuman. </span></p><p><span style=\"color: rgb(0, 0, 0);\">REQUEST GOI TO SUPPORT AND SAVE BABIES AND CHILDREN LIKE MY DAUGHTER SERA. OUR COUNTRY IS PURCHASING WEAPONS FOR FEW THOUSAND CRORES CANT THEY ALSO SAVE SUCH CHILDREN, WHO WILL BECOME FUTURE GENERATION. </span></p><p><br></p>', 'Mehshana', '88798799899', '10', '1151', '6776726210b35.png', '[\"2\",\"3\"]', '5', NULL, '2024-12-31 06:31:45', '2025-02-13 09:31:58'),
(4, '1', '1', 'ghfhghgf', '[\"2\"]', '<p>d</p>', 'ddd', '988877777777', '1000', NULL, '677cbe70b8a6a.jpg', '[\"2\",\"3\"]', '23', NULL, '2025-01-07 00:11:04', '2025-02-12 17:17:35'),
(5, '1', '2', 'ds', '[\"5\"]', '<p>dfdfd Goala</p>', 'ds', 'ds', '111', NULL, '677cc0f40ad76.jpg', '[\"11\",\"100\"]', '23', NULL, '2025-01-07 00:21:48', '2025-01-11 16:39:38'),
(6, '1', '1', 'Why do we use it?', '[\"3\",\"1\"]', '<p>sssss</p>', 'sss', '998877667', '11', '34', '6784a93d4ed10uploaded_image.png', '[\"5\",\"5\",\"1\"]', '11', NULL, '2025-01-13 11:18:45', '2025-02-12 12:18:30');

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

--
-- Table structure for table `plans`
--

CREATE TABLE `plans` (
  `id` bigint UNSIGNED NOT NULL,
  `plan_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plan_duration` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plan_price` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plan_inclusion` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plan_status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deleted_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;

--
-- Dumping data for table `plans`
--

INSERT INTO `plans` (`id`, `plan_name`, `plan_duration`, `plan_price`, `plan_inclusion`, `plan_status`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'Starter', '6', '120', '[{\"value\":\"All limted link\"},{\"value\":\"Own analytics platform\"},{\"value\":\"Chat support\"},{\"value\":\"Optimize hashtags\"},{\"value\":\"Unlimited users\"}]', '1', NULL, '2024-12-15 23:32:18', '2024-12-16 00:11:09'),
(2, 'gfgfg', '10', '10', '[{\"value\":\"fgfgf\"}]', '1', '2024-12-16 00:20:10', '2024-12-16 00:20:07', '2024-12-16 00:20:10');

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

--
-- Table structure for table `polis`
--

CREATE TABLE `polis` (
  `poli_id` bigint UNSIGNED NOT NULL,
  `poli_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `poli_description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `poli_category_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `poli_location` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `poli_postalcode` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `poli_images` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `poli_created_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `poli_tagged_person` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `poli_reject_reson` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `is_poli_feed_back_send` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `poli_emoji_feedback` int DEFAULT NULL,
  `poli_feedback` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `poli_status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deleted_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;

--
-- Dumping data for table `polis`
--

INSERT INTO `polis` (`poli_id`, `poli_title`, `poli_description`, `poli_category_id`, `poli_location`, `poli_postalcode`, `poli_images`, `poli_created_by`, `poli_tagged_person`, `poli_reject_reson`, `is_poli_feed_back_send`, `poli_emoji_feedback`, `poli_feedback`, `poli_status`, `deleted_at`, `created_at`, `updated_at`) VALUES
(2, 'Street Issu', 'fdfdfdfdf', '2', 'Mehshana', '323232', '676bdd4878c7buploaded_image.png', '2', '5', 'This is not from our side', '1', 1, 'dsdsf', '1', NULL, '2024-12-25 04:54:08', '2025-01-03 04:21:17'),
(3, 'Street Issu', '32323', '1', 'Mehshana', '323232', '677385ae37a07uploaded_image.png', '11', '5', NULL, '1', 3, 'Testing', '1', NULL, '2024-12-31 00:18:30', '2025-01-10 23:59:27'),
(4, 'Street Issu', 'Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus Bonorum et Malorum\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \"Lorem ipsum dolor sit amet..\", comes from a line in section 1.10.32.', '1', 'Mehshana', '323232', '677b5aaf05df7uploaded_image.png', '18', '5', 'dfdfdfdfddfdf', NULL, NULL, NULL, '0', NULL, '2025-01-05 22:53:11', '2025-01-05 23:21:19'),
(5, 'Street Issu', 'sddds', '2', 'Mehshana', '323232', '677cad704de48uploaded_image.png', '23', '18', NULL, NULL, NULL, NULL, '0', NULL, '2025-01-06 22:58:32', '2025-01-06 22:58:32'),
(6, 'Street Issu', 'df', '1', 'Mehshana', '323232', '677cadb203660uploaded_image.png', '23', '14', NULL, NULL, NULL, NULL, '0', NULL, '2025-01-06 22:59:38', '2025-01-06 22:59:38'),
(7, 'What is Lorem Ipsum?', 'It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using \'Content here, content here\', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for \'lorem ipsum\' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).', '2', 'Mehshana', '385002', '6781ec178e8a0uploaded_image.png', '2', '11', NULL, NULL, NULL, NULL, '1', NULL, '2025-01-10 22:27:11', '2025-01-10 23:31:20'),
(8, 'Street Issu', 'ds', '2', 'Mehshana', '323232', '678245fcc3291uploaded_image.png', '5', '5', NULL, NULL, NULL, NULL, '0', NULL, '2025-01-11 15:50:44', '2025-01-11 15:50:44');

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

--
-- Table structure for table `poli_categories`
--

CREATE TABLE `poli_categories` (
  `poli_category_id` bigint UNSIGNED NOT NULL,
  `poli_category_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `poli_category_status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `deleted_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;

--
-- Dumping data for table `poli_categories`
--

INSERT INTO `poli_categories` (`poli_category_id`, `poli_category_name`, `poli_category_status`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'Education', '1', NULL, '2024-12-23 03:30:12', '2024-12-23 03:33:19'),
(2, 'Street Issue', '1', NULL, '2024-12-23 03:33:30', '2024-12-23 03:33:30'),
(3, 'Technical Issue', '1', NULL, '2024-12-23 03:33:57', '2024-12-23 03:33:57');

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

--
-- Table structure for table `poli_completed_steps`
--

CREATE TABLE `poli_completed_steps` (
  `poli_completed_step_id` bigint UNSIGNED NOT NULL,
  `poli_step_id` int DEFAULT NULL,
  `poli_id` int DEFAULT NULL,
  `poli_completed_step_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `poli_completed_step_type` int DEFAULT NULL,
  `poli_completedstep_image` text COLLATE utf8mb4_unicode_ci,
  `poli_completedstep_comment` text COLLATE utf8mb4_unicode_ci,
  `poli_completed_step_status` int DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `completed_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tagged_person_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `poli_completed_steps`
--

INSERT INTO `poli_completed_steps` (`poli_completed_step_id`, `poli_step_id`, `poli_id`, `poli_completed_step_name`, `poli_completed_step_type`, `poli_completedstep_image`, `poli_completedstep_comment`, `poli_completed_step_status`, `deleted_at`, `created_at`, `updated_at`, `completed_by`, `tagged_person_id`) VALUES
(1, 1, 2, 'Your Concern Is Received', 1, '', '', 1, NULL, '2024-12-25 11:16:12', '2025-01-03 03:58:12', '5', NULL),
(2, 2, 2, 'Your Concern Is Forwarded', 0, '6777ae086bab1.jpg', 'ddd', 1, NULL, '2024-12-09 11:16:15', '2025-01-03 03:59:44', '5', NULL),
(3, 3, 2, 'Your Concern In Progress', 1, '', '', 0, NULL, '2024-12-10 11:16:17', '2024-12-30 01:33:04', '5', NULL),
(4, 4, 2, 'Your Concern Is Resolved', 1, '', '', 0, NULL, '2024-12-18 11:16:20', '2024-12-30 01:34:21', '5', NULL),
(5, 5, 2, 'Your Concern Is Closed', 0, '6772463da2bf7.png', 'dsfd', 0, NULL, '2024-12-12 11:16:23', '2024-12-30 01:35:33', '5', NULL),
(6, 1, 3, 'Your Concern Is Received', 1, '', '', 1, NULL, '2024-12-31 00:18:30', '2024-12-31 00:21:38', '5', '5'),
(7, 2, 3, 'Your Concern Is Forwarded', 0, '677386a81a1ed.png', 'Your conencerr is forwarder', 1, NULL, '2024-12-31 00:18:30', '2024-12-31 00:22:40', '5', '5'),
(8, 3, 3, 'Your Concern In Progress', 1, '', '', 1, NULL, '2024-12-31 00:18:30', '2024-12-31 00:23:06', '5', '5'),
(9, 4, 3, 'Your Concern Is Resolved', 1, '', '', 1, NULL, '2024-12-31 00:18:30', '2024-12-31 00:23:18', '5', '5'),
(10, 5, 3, 'Your Concern Is Closed', 0, '677386dd5ce36.png', 'fdfddf', 1, NULL, '2024-12-31 00:18:30', '2024-12-31 00:23:33', '5', '5'),
(11, 1, 4, 'Your Concern Is Received', 1, '', '', 0, NULL, '2025-01-05 22:53:11', '2025-01-06 03:59:42', '5', '5'),
(12, 2, 4, 'Your Concern Is Forwarded', 0, '', '', 0, NULL, '2025-01-05 22:53:11', '2025-01-06 03:58:34', '5', '5'),
(13, 3, 4, 'Your Concern In Progress', 1, '', '', 0, NULL, '2025-01-05 22:53:11', '2025-01-06 03:58:38', '5', '5'),
(14, 4, 4, 'Your Concern Is Resolved', 1, '', '', 0, NULL, '2025-01-05 22:53:11', '2025-01-06 03:58:42', '5', '5'),
(15, 5, 4, 'Your Concern Is Closed', 0, '677ba251130c4.jpg', 'ddd', 0, NULL, '2025-01-05 22:53:11', '2025-01-06 03:58:49', '5', '5'),
(16, 1, 5, 'Your Concern Is Received', 1, '', NULL, 0, NULL, '2025-01-06 22:58:32', NULL, '', '18'),
(17, 2, 5, 'Your Concern Is Forwarded', 0, '', NULL, 0, NULL, '2025-01-06 22:58:32', NULL, '', '18'),
(18, 3, 5, 'Your Concern In Progress', 1, '', NULL, 0, NULL, '2025-01-06 22:58:32', NULL, '', '18'),
(19, 4, 5, 'Your Concern Is Resolved', 1, '', NULL, 0, NULL, '2025-01-06 22:58:32', NULL, '', '18'),
(20, 5, 5, 'Your Concern Is Closed', 0, '', NULL, 0, NULL, '2025-01-06 22:58:32', NULL, '', '18'),
(21, 1, 6, 'Your Concern Is Received', 1, '', NULL, 0, NULL, '2025-01-06 22:59:38', NULL, '', '14'),
(22, 2, 6, 'Your Concern Is Forwarded', 0, '', NULL, 0, NULL, '2025-01-06 22:59:38', NULL, '', '14'),
(23, 3, 6, 'Your Concern In Progress', 1, '', NULL, 0, NULL, '2025-01-06 22:59:38', NULL, '', '14'),
(24, 4, 6, 'Your Concern Is Resolved', 1, '', NULL, 0, NULL, '2025-01-06 22:59:38', NULL, '', '14'),
(25, 5, 6, 'Your Concern Is Closed', 0, '', NULL, 0, NULL, '2025-01-06 22:59:38', NULL, '', '14'),
(26, 1, 7, 'Your Concern Is Received', 1, '', NULL, 0, NULL, '2025-01-10 22:27:11', NULL, '', '11'),
(27, 2, 7, 'Your Concern Is Forwarded', 0, '', NULL, 0, NULL, '2025-01-10 22:27:11', NULL, '', '11'),
(28, 3, 7, 'Your Concern In Progress', 1, '', NULL, 0, NULL, '2025-01-10 22:27:11', NULL, '', '11'),
(29, 4, 7, 'Your Concern Is Resolved', 1, '', NULL, 0, NULL, '2025-01-10 22:27:11', NULL, '', '11'),
(30, 5, 7, 'Your Concern Is Closed', 0, '', NULL, 0, NULL, '2025-01-10 22:27:11', NULL, '', '11'),
(31, 1, 8, 'Your Concern Is Received', 1, '', NULL, 0, NULL, '2025-01-11 15:50:44', NULL, '', '5'),
(32, 2, 8, 'Your Concern Is Forwarded', 0, '', NULL, 0, NULL, '2025-01-11 15:50:44', NULL, '', '5'),
(33, 3, 8, 'Your Concern In Progress', 1, '', NULL, 0, NULL, '2025-01-11 15:50:44', NULL, '', '5'),
(34, 4, 8, 'Your Concern Is Resolved', 1, '', NULL, 0, NULL, '2025-01-11 15:50:44', NULL, '', '5'),
(35, 5, 8, 'Your Concern Is Closed', 0, '', NULL, 0, NULL, '2025-01-11 15:50:44', NULL, '', '5');

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

--
-- Table structure for table `poli_steps`
--

CREATE TABLE `poli_steps` (
  `poli_step_id` bigint UNSIGNED NOT NULL,
  `poli_step_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `poli_step_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `poli_step_status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deleted_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;

--
-- Dumping data for table `poli_steps`
--

INSERT INTO `poli_steps` (`poli_step_id`, `poli_step_name`, `poli_step_type`, `poli_step_status`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'Your Concern Is Received', '1', '1', NULL, '2024-12-23 23:16:33', '2024-12-23 23:16:33'),
(2, 'Your Concern Is Forwarded', '0', '1', NULL, '2024-12-23 23:18:13', '2024-12-23 23:24:30'),
(3, 'Your Concern In Progress', '1', '1', NULL, '2024-12-23 23:23:39', '2024-12-23 23:23:39'),
(4, 'Your Concern Is Resolved', '1', '1', NULL, '2024-12-23 23:23:49', '2024-12-23 23:23:49'),
(5, 'Your Concern Is Closed', '0', '1', NULL, '2024-12-23 23:24:01', '2024-12-23 23:24:01');

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

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

CREATE TABLE `roles` (
  `id` bigint UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `guard_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

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

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

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

--
-- Table structure for table `sub_categories`
--

CREATE TABLE `sub_categories` (
  `subcategory_id` bigint UNSIGNED NOT NULL,
  `category_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `subcategory_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `subcategory_image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_paid` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_searchable` int DEFAULT NULL,
  `subcategory_status` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deleted_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;

--
-- Dumping data for table `sub_categories`
--

INSERT INTO `sub_categories` (`subcategory_id`, `category_id`, `subcategory_name`, `subcategory_image`, `is_paid`, `is_searchable`, `subcategory_status`, `deleted_at`, `created_at`, `updated_at`) VALUES
(2, '1', 'Normal User', '675fd81d6ba74.png', '0', 0, '1', NULL, '2024-12-16 02:04:53', '2024-12-16 04:38:59'),
(3, '1', 'Politician', '675fd837af5e1.png', '1', 1, '1', NULL, '2024-12-16 02:05:19', '2024-12-17 06:34:24'),
(4, '1', 'Political Person', '675fd85514ecb.png', '1', 0, '1', NULL, '2024-12-16 02:05:49', '2024-12-17 06:35:05'),
(5, '1', 'Party members', '675fd8d6b934e.png', '0', 0, '1', NULL, '2024-12-16 02:07:58', '2024-12-16 04:39:11');

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

--
-- Table structure for table `surveys`
--

CREATE TABLE `surveys` (
  `survey_id` bigint UNSIGNED NOT NULL,
  `survey_title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `survey_images` text COLLATE utf8mb4_unicode_ci,
  `survey_category` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deleted_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;

--
-- Dumping data for table `surveys`
--

INSERT INTO `surveys` (`survey_id`, `survey_title`, `survey_images`, `survey_category`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'About Your self', '6788fbddbf37euploaded_image.png', '1', NULL, '2025-01-16 10:41:54', '2025-01-16 18:00:21'),
(2, 'dsdsd', '67a03aebf01aauploaded_image.png', '1', NULL, '2025-02-03 09:10:06', '2025-02-03 09:11:31');

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

--
-- Table structure for table `survey_questions`
--

CREATE TABLE `survey_questions` (
  `survey_question_id` bigint UNSIGNED NOT NULL,
  `survey_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `survey_question_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `survey_question_title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `survey_question_answer` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deleted_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;

--
-- Dumping data for table `survey_questions`
--

INSERT INTO `survey_questions` (`survey_question_id`, `survey_id`, `survey_question_type`, `survey_question_title`, `survey_question_answer`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, '1', 'open-ended', 'What is Lorem Ipsum?', NULL, NULL, '2025-01-16 15:32:07', '2025-01-16 15:32:07'),
(2, '1', 'multi-choice', 'What is Lorem Ipsum?', NULL, NULL, '2025-01-16 15:32:07', '2025-01-16 15:32:07'),
(3, '1', 'open-ended', 'Where can I get some?', NULL, NULL, '2025-01-16 15:32:07', '2025-01-16 15:32:07'),
(4, '1', 'multi-choice', 'Where does it come from?', NULL, NULL, '2025-01-16 15:32:07', '2025-01-16 15:32:07');

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

--
-- Table structure for table `survey_question_options`
--

CREATE TABLE `survey_question_options` (
  `survey_option_id` bigint UNSIGNED NOT NULL,
  `survey_question_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `survey_option` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `survey_question_options`
--

INSERT INTO `survey_question_options` (`survey_option_id`, `survey_question_id`, `survey_option`, `created_at`, `updated_at`) VALUES
(1, '2', 'Option1', '2025-01-16 15:32:07', '2025-01-16 15:32:07'),
(2, '2', 'Option2', '2025-01-16 15:32:07', '2025-01-16 15:32:07'),
(3, '2', 'Option3', '2025-01-16 15:32:07', '2025-01-16 15:32:07'),
(4, '2', 'Option4', '2025-01-16 15:32:07', '2025-01-16 15:32:07'),
(5, '4', 'op1', '2025-01-16 15:32:07', '2025-01-16 15:32:07'),
(6, '4', 'op2', '2025-01-16 15:32:07', '2025-01-16 15:32:07'),
(7, '4', 'op3', '2025-01-16 15:32:07', '2025-01-16 15:32:07'),
(8, '4', 'op4', '2025-01-16 15:32:07', '2025-01-16 15:32:07');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `blogs`
--
ALTER TABLE `blogs`
  ADD PRIMARY KEY (`blog_id`);

--
-- Indexes for table `categories`
--
ALTER TABLE `categories`
  ADD PRIMARY KEY (`category_id`);

--
-- Indexes for table `communities`
--
ALTER TABLE `communities`
  ADD PRIMARY KEY (`community_id`);

--
-- Indexes for table `community_members`
--
ALTER TABLE `community_members`
  ADD PRIMARY KEY (`community_member_id`);

--
-- Indexes for table `community_posts`
--
ALTER TABLE `community_posts`
  ADD PRIMARY KEY (`community_post_id`);

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

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

--
-- Indexes for table `model_has_permissions`
--
ALTER TABLE `model_has_permissions`
  ADD PRIMARY KEY (`permission_id`,`model_id`,`model_type`),
  ADD KEY `model_has_permissions_model_id_model_type_index` (`model_id`,`model_type`);

--
-- Indexes for table `model_has_roles`
--
ALTER TABLE `model_has_roles`
  ADD PRIMARY KEY (`role_id`,`model_id`,`model_type`),
  ADD KEY `model_has_roles_model_id_model_type_index` (`model_id`,`model_type`);

--
-- Indexes for table `permissions`
--
ALTER TABLE `permissions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `permissions_name_guard_name_unique` (`name`,`guard_name`);

--
-- Indexes for table `petetion_signeds`
--
ALTER TABLE `petetion_signeds`
  ADD PRIMARY KEY (`petetion_signeds_id`);

--
-- Indexes for table `petitions`
--
ALTER TABLE `petitions`
  ADD PRIMARY KEY (`petition_id`);

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

--
-- Indexes for table `polis`
--
ALTER TABLE `polis`
  ADD PRIMARY KEY (`poli_id`);

--
-- Indexes for table `poli_categories`
--
ALTER TABLE `poli_categories`
  ADD PRIMARY KEY (`poli_category_id`);

--
-- Indexes for table `poli_completed_steps`
--
ALTER TABLE `poli_completed_steps`
  ADD PRIMARY KEY (`poli_completed_step_id`);

--
-- Indexes for table `poli_steps`
--
ALTER TABLE `poli_steps`
  ADD PRIMARY KEY (`poli_step_id`);

--
-- Indexes for table `roles`
--
ALTER TABLE `roles`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `roles_name_guard_name_unique` (`name`,`guard_name`);

--
-- Indexes for table `role_has_permissions`
--
ALTER TABLE `role_has_permissions`
  ADD PRIMARY KEY (`permission_id`,`role_id`),
  ADD KEY `role_has_permissions_role_id_foreign` (`role_id`);

--
-- Indexes for table `sub_categories`
--
ALTER TABLE `sub_categories`
  ADD PRIMARY KEY (`subcategory_id`);

--
-- Indexes for table `surveys`
--
ALTER TABLE `surveys`
  ADD PRIMARY KEY (`survey_id`);

--
-- Indexes for table `survey_questions`
--
ALTER TABLE `survey_questions`
  ADD PRIMARY KEY (`survey_question_id`);

--
-- Indexes for table `survey_question_options`
--
ALTER TABLE `survey_question_options`
  ADD PRIMARY KEY (`survey_option_id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `blogs`
--
ALTER TABLE `blogs`
  MODIFY `blog_id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `categories`
--
ALTER TABLE `categories`
  MODIFY `category_id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `communities`
--
ALTER TABLE `communities`
  MODIFY `community_id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `community_members`
--
ALTER TABLE `community_members`
  MODIFY `community_member_id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;

--
-- AUTO_INCREMENT for table `community_posts`
--
ALTER TABLE `community_posts`
  MODIFY `community_post_id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;

--
-- AUTO_INCREMENT for table `permissions`
--
ALTER TABLE `permissions`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `petetion_signeds`
--
ALTER TABLE `petetion_signeds`
  MODIFY `petetion_signeds_id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- AUTO_INCREMENT for table `petitions`
--
ALTER TABLE `petitions`
  MODIFY `petition_id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `plans`
--
ALTER TABLE `plans`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `polis`
--
ALTER TABLE `polis`
  MODIFY `poli_id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `poli_categories`
--
ALTER TABLE `poli_categories`
  MODIFY `poli_category_id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `poli_completed_steps`
--
ALTER TABLE `poli_completed_steps`
  MODIFY `poli_completed_step_id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=36;

--
-- AUTO_INCREMENT for table `poli_steps`
--
ALTER TABLE `poli_steps`
  MODIFY `poli_step_id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `roles`
--
ALTER TABLE `roles`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sub_categories`
--
ALTER TABLE `sub_categories`
  MODIFY `subcategory_id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `surveys`
--
ALTER TABLE `surveys`
  MODIFY `survey_id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `survey_questions`
--
ALTER TABLE `survey_questions`
  MODIFY `survey_question_id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `survey_question_options`
--
ALTER TABLE `survey_question_options`
  MODIFY `survey_option_id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- Constraints for dumped tables
--

--
-- Constraints for table `model_has_permissions`
--
ALTER TABLE `model_has_permissions`
  ADD CONSTRAINT `model_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `model_has_roles`
--
ALTER TABLE `model_has_roles`
  ADD CONSTRAINT `model_has_roles_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `role_has_permissions`
--
ALTER TABLE `role_has_permissions`
  ADD CONSTRAINT `role_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `role_has_permissions_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE;
COMMIT;

