Your IP : 216.73.216.124


Current Path : /var/www/html/
Upload File :
Current File : /var/www/html/mysis_dev_01092026.sql

-- phpMyAdmin SQL Dump
-- version 6.0.0-dev+20250217.607071afb5
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Sep 01, 2026 at 03:13 AM
-- Server version: 8.2.0
-- PHP Version: 8.4.7

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `mysis_dev`
--

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

--
-- Table structure for table `abilities`
--

CREATE TABLE `abilities` (
  `id` bigint UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `entity_id` bigint UNSIGNED DEFAULT NULL,
  `entity_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `only_owned` tinyint(1) NOT NULL DEFAULT '0',
  `options` json DEFAULT NULL,
  `scope` int 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 `abilities`
--

INSERT INTO `abilities` (`id`, `name`, `title`, `entity_id`, `entity_type`, `only_owned`, `options`, `scope`, `created_at`, `updated_at`) VALUES
(1, 'safeguard-list', 'Safeguard list', NULL, NULL, 0, NULL, NULL, '2021-09-06 00:30:11', '2021-09-06 00:30:11'),
(2, 'safeguard-create', 'Safeguard create', NULL, NULL, 0, NULL, NULL, '2021-09-06 00:30:11', '2021-09-06 00:30:11'),
(3, 'safeguard-edit', 'Safeguard edit', NULL, NULL, 0, NULL, NULL, '2021-09-06 00:30:11', '2021-09-06 00:30:11'),
(4, 'safeguard-delete', 'Safeguard delete', NULL, NULL, 0, NULL, NULL, '2021-09-06 00:30:11', '2021-09-06 00:30:11'),
(5, 'state-list', 'State list', NULL, NULL, 0, NULL, NULL, '2021-09-06 00:30:11', '2021-09-06 00:30:11'),
(6, 'state-create', 'State create', NULL, NULL, 0, NULL, NULL, '2021-09-06 00:30:11', '2021-09-06 00:30:11'),
(7, 'state-edit', 'State edit', NULL, NULL, 0, NULL, NULL, '2021-09-06 00:30:11', '2021-09-06 00:30:11'),
(8, 'state-delete', 'State delete', NULL, NULL, 0, NULL, NULL, '2021-09-06 00:30:11', '2021-09-06 00:30:11'),
(9, 'fmu-list', 'Fmu list', NULL, NULL, 0, NULL, NULL, '2021-09-06 00:30:11', '2021-09-06 00:30:11'),
(10, 'fmu-create', 'Fmu create', NULL, NULL, 0, NULL, NULL, '2021-09-06 00:30:11', '2021-09-06 00:30:11'),
(11, 'fmu-edit', 'Fmu edit', NULL, NULL, 0, NULL, NULL, '2021-09-06 00:30:11', '2021-09-06 00:30:11'),
(12, 'fmu-delete', 'Fmu delete', NULL, NULL, 0, NULL, NULL, '2021-09-06 00:30:11', '2021-09-06 00:30:11'),
(13, 'indicator-list', 'Scoring List', NULL, NULL, 0, NULL, NULL, '2021-09-06 00:30:11', '2021-09-06 00:30:11'),
(14, 'indicator-create', 'Scoring Create', NULL, NULL, 0, NULL, NULL, '2021-09-06 00:30:11', '2021-09-06 00:30:11'),
(15, 'indicator-edit', 'Scoring Edit', NULL, NULL, 0, NULL, NULL, '2021-09-06 00:30:11', '2021-09-06 00:30:11'),
(16, 'indicator-delete', 'Scoring Delete', NULL, NULL, 0, NULL, NULL, '2021-09-06 00:30:11', '2021-09-06 00:30:11'),
(17, 'indicator-print', 'Scoring Report Print', NULL, NULL, 0, NULL, NULL, '2021-09-06 00:30:11', '2021-09-06 00:30:11'),
(18, 'indicator-respectResult', 'Scoring Respect Result', NULL, NULL, 0, NULL, NULL, '2021-09-06 00:30:11', '2021-09-06 00:30:11'),
(19, 'role-list', 'Role list', NULL, NULL, 0, NULL, NULL, '2021-09-06 00:30:11', '2021-09-06 00:30:11'),
(20, 'role-create', 'Role create', NULL, NULL, 0, NULL, NULL, '2021-09-06 00:30:11', '2021-09-06 00:30:11'),
(21, 'role-edit', 'Role edit', NULL, NULL, 0, NULL, NULL, '2021-09-06 00:30:11', '2021-09-06 00:30:11'),
(22, 'role-delete', 'Role delete', NULL, NULL, 0, NULL, NULL, '2021-09-06 00:30:11', '2021-09-06 00:30:11'),
(23, 'user-list', 'User list', NULL, NULL, 0, NULL, NULL, '2021-09-06 00:30:11', '2021-09-06 00:30:11'),
(24, 'user-create', 'User create', NULL, NULL, 0, NULL, NULL, '2021-09-06 00:30:11', '2021-09-06 00:30:11'),
(25, 'user-edit', 'User edit', NULL, NULL, 0, NULL, NULL, '2021-09-06 00:30:11', '2021-09-06 00:30:11'),
(26, 'user-delete', 'User delete', NULL, NULL, 0, NULL, NULL, '2021-09-06 00:30:11', '2021-09-06 00:30:11'),
(27, 'dashboard', 'Dashboard', NULL, NULL, 0, NULL, NULL, '2021-09-06 00:40:30', '2021-09-06 00:40:30');

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

--
-- Table structure for table `assigned_roles`
--

CREATE TABLE `assigned_roles` (
  `id` bigint UNSIGNED NOT NULL,
  `role_id` bigint UNSIGNED NOT NULL,
  `entity_id` bigint UNSIGNED NOT NULL,
  `entity_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `restricted_to_id` bigint UNSIGNED DEFAULT NULL,
  `restricted_to_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `scope` int DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `assigned_roles`
--

INSERT INTO `assigned_roles` (`id`, `role_id`, `entity_id`, `entity_type`, `restricted_to_id`, `restricted_to_type`, `scope`) VALUES
(1, 1, 1, 'App\\Models\\User', NULL, NULL, NULL),
(5, 1, 29, 'App\\Models\\User', NULL, NULL, NULL),
(9, 9, 9, 'App\\Models\\User', NULL, NULL, NULL),
(10, 1, 9, 'App\\Models\\User', NULL, NULL, NULL),
(26, 1, 24, 'App\\Models\\User', NULL, NULL, NULL),
(27, 1, 25, 'App\\Models\\User', NULL, NULL, NULL),
(28, 1, 26, 'App\\Models\\User', NULL, NULL, NULL),
(30, 1, 28, 'App\\Models\\User', NULL, NULL, NULL);

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

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

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

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

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

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

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

--
-- 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` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `queue` varchar(255) 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 `file_attachments`
--

CREATE TABLE `file_attachments` (
  `id` bigint UNSIGNED NOT NULL,
  `content_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `content_id` bigint UNSIGNED NOT NULL,
  `file_attachment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `file_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `file_path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `information_source` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `data_source_link` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `file_attachments`
--

INSERT INTO `file_attachments` (`id`, `content_type`, `content_id`, `file_attachment`, `file_name`, `file_path`, `information_source`, `data_source_link`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'App\\Models\\IndicatiorAddress', 1, 'file_a1.pdf', 'Report A1', 'uploads/indicators/file_a1.pdf', 'Source A', 'https://example.com/source-a', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(2, 'App\\Models\\IndicatiorAddress', 2, 'file_a2.pdf', 'Report A2', 'uploads/indicators/file_a2.pdf', 'Source B', 'https://example.com/source-b', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(3, 'App\\Models\\IndicatiorAddressRespect', 1, 'file_r1.pdf', 'Respect Report 1', 'uploads/respects/file_r1.pdf', 'Source C', 'https://example.com/source-c', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(4, 'App\\Models\\IndicatiorAddressRespect', 2, 'file_r2.pdf', 'Respect Report 2', 'uploads/respects/file_r2.pdf', 'Source D', 'https://example.com/source-d', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL);

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

--
-- Table structure for table `fmus`
--

CREATE TABLE `fmus` (
  `id` bigint UNSIGNED NOT NULL,
  `state_id` bigint UNSIGNED NOT NULL,
  `fmu_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `fmus`
--

INSERT INTO `fmus` (`id`, `state_id`, `fmu_name`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 1, 'Pengerang', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(2, 1, 'Mersing', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(3, 1, 'Kota Tinggi', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(4, 6, 'Rompin', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(5, 6, 'Pekan', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(6, 6, 'Maran', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(7, 7, 'Larut Matang', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(8, 7, 'Kinta Selatan', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(9, 7, 'Kuala Kangsar', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(10, 12, 'Hulu Selangor', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(11, 12, 'Klang', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(12, 12, 'Gombak', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL);

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

--
-- Table structure for table `indicatior_addresses`
--

CREATE TABLE `indicatior_addresses` (
  `id` bigint UNSIGNED NOT NULL,
  `indicator_id` bigint UNSIGNED NOT NULL,
  `address_verifier_description` text COLLATE utf8mb4_unicode_ci,
  `address_reporting_period` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address_comments` text COLLATE utf8mb4_unicode_ci,
  `address_updated_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address_data_entered_date` date DEFAULT NULL,
  `address_national_result` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address_definition` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address_note` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `respect_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `respect_indicator` text COLLATE utf8mb4_unicode_ci,
  `address_score` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `indicatior_addresses`
--

INSERT INTO `indicatior_addresses` (`id`, `indicator_id`, `address_verifier_description`, `address_reporting_period`, `address_comments`, `address_updated_by`, `address_data_entered_date`, `address_national_result`, `address_definition`, `address_note`, `respect_code`, `respect_indicator`, `address_score`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 1, 'Verifier description A1', '2024-Q1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(2, 2, 'Verifier description A2', '2024-Q1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '4', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(3, 3, 'Verifier description B1', '2024-Q1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '5', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(4, 4, 'Verifier description B2', '2024-Q1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(5, 5, 'Verifier description C1', '2024-Q1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(6, 6, 'Verifier description C2', '2024-Q1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '4', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL);

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

--
-- Table structure for table `indicatior_address_respects`
--

CREATE TABLE `indicatior_address_respects` (
  `id` bigint UNSIGNED NOT NULL,
  `indicator_address_id` bigint UNSIGNED NOT NULL,
  `respect_verifier_description` text COLLATE utf8mb4_unicode_ci,
  `respect_reporting_period` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `respect_comments` text COLLATE utf8mb4_unicode_ci,
  `respect_updated_by` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `respect_data_entered_date` date DEFAULT NULL,
  `respect_national_result` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `respect_definition` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `respect_note` text COLLATE utf8mb4_unicode_ci,
  `respect_score` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `indicatior_address_respects`
--

INSERT INTO `indicatior_address_respects` (`id`, `indicator_address_id`, `respect_verifier_description`, `respect_reporting_period`, `respect_comments`, `respect_updated_by`, `respect_data_entered_date`, `respect_national_result`, `respect_definition`, `respect_note`, `respect_score`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 1, 'Respect verifier A1', '2024-Q1', NULL, NULL, NULL, NULL, NULL, NULL, '3', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(2, 2, 'Respect verifier A2', '2024-Q1', NULL, NULL, NULL, NULL, NULL, NULL, '4', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(3, 3, 'Respect verifier B1', '2024-Q1', NULL, NULL, NULL, NULL, NULL, NULL, '5', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(4, 4, 'Respect verifier B2', '2024-Q1', NULL, NULL, NULL, NULL, NULL, NULL, '3', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(5, 5, 'Respect verifier C1', '2024-Q1', NULL, NULL, NULL, NULL, NULL, NULL, '2', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(6, 6, 'Respect verifier C2', '2024-Q1', NULL, NULL, NULL, NULL, NULL, NULL, '4', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL);

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

--
-- Table structure for table `indicators`
--

CREATE TABLE `indicators` (
  `id` bigint UNSIGNED NOT NULL,
  `safeguard_id` bigint UNSIGNED DEFAULT NULL,
  `address_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address_indicator` text COLLATE utf8mb4_unicode_ci,
  `notes` text COLLATE utf8mb4_unicode_ci,
  `indicator_score` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `indicators`
--

INSERT INTO `indicators` (`id`, `safeguard_id`, `address_code`, `address_indicator`, `notes`, `indicator_score`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 1, 'A1', 'Indicator A1 description', NULL, '5', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(2, 1, 'A2', 'Indicator A2 description', NULL, '5', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(3, 2, 'B1', 'Indicator B1 description', NULL, '5', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(4, 2, 'B2', 'Indicator B2 description', NULL, '5', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(5, 3, 'C1', 'Indicator C1 description', NULL, '5', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(6, 3, 'C2', 'Indicator C2 description', NULL, '5', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL);

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

--
-- Table structure for table `indicator_fmus`
--

CREATE TABLE `indicator_fmus` (
  `id` bigint UNSIGNED NOT NULL,
  `content_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `content_id` bigint UNSIGNED NOT NULL,
  `fmu_id` bigint UNSIGNED NOT NULL,
  `score` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `state_id` bigint UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `indicator_fmus`
--

INSERT INTO `indicator_fmus` (`id`, `content_type`, `content_id`, `fmu_id`, `score`, `state_id`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'App\\Models\\Indicator', 1, 1, '3', 1, '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(2, 'App\\Models\\Indicator', 1, 2, '4', 1, '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(3, 'App\\Models\\Indicator', 2, 1, '5', 1, '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(4, 'App\\Models\\Indicator', 2, 2, '3', 1, '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(5, 'App\\Models\\Indicator', 3, 7, '4', 7, '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(6, 'App\\Models\\Indicator', 3, 8, '2', 7, '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(7, 'App\\Models\\Indicator', 4, 7, '3', 7, '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(8, 'App\\Models\\Indicator', 4, 8, '5', 7, '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(9, 'App\\Models\\Indicator', 5, 10, '4', 12, '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(10, 'App\\Models\\Indicator', 5, 11, '3', 12, '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(11, 'App\\Models\\Indicator', 6, 10, '5', 12, '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(12, 'App\\Models\\Indicator', 6, 11, '4', 12, '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL);

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

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

CREATE TABLE `jobs` (
  `id` bigint UNSIGNED NOT NULL,
  `queue` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `attempts` smallint UNSIGNED NOT NULL,
  `reserved_at` int UNSIGNED DEFAULT NULL,
  `available_at` int UNSIGNED NOT NULL,
  `created_at` int 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) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `total_jobs` int NOT NULL,
  `pending_jobs` int NOT NULL,
  `failed_jobs` int NOT NULL,
  `failed_job_ids` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `options` mediumtext COLLATE utf8mb4_unicode_ci,
  `cancelled_at` int DEFAULT NULL,
  `created_at` int NOT NULL,
  `finished_at` int DEFAULT NULL
) 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, '0001_01_01_000000_create_users_table', 1),
(2, '0001_01_01_000001_create_cache_table', 1),
(3, '0001_01_01_000002_create_jobs_table', 1),
(4, '2026_07_23_192619_create_bouncer_tables', 1),
(5, '2026_07_23_192620_create_safeguards_table', 1),
(6, '2026_07_23_192621_create_indicators_table', 1),
(7, '2026_07_23_192622_create_states_table', 1),
(8, '2026_07_23_192623_create_fmus_table', 1),
(9, '2026_07_23_192624_create_indicatior_addresses_table', 1),
(10, '2026_07_23_192625_create_indicatior_address_respects_table', 1),
(11, '2026_07_23_192626_create_indicator_fmus_table', 1),
(12, '2026_07_23_192627_create_file_attachments_table', 1);

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

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

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

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

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

CREATE TABLE `permissions` (
  `id` bigint UNSIGNED NOT NULL,
  `ability_id` bigint UNSIGNED NOT NULL,
  `entity_id` bigint UNSIGNED DEFAULT NULL,
  `entity_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `forbidden` tinyint(1) NOT NULL DEFAULT '0',
  `scope` int DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `permissions`
--

INSERT INTO `permissions` (`id`, `ability_id`, `entity_id`, `entity_type`, `forbidden`, `scope`) VALUES
(1, 1, 1, 'roles', 0, NULL),
(2, 2, 1, 'roles', 0, NULL),
(3, 3, 1, 'roles', 0, NULL),
(4, 4, 1, 'roles', 0, NULL),
(5, 5, 1, 'roles', 0, NULL),
(6, 6, 1, 'roles', 0, NULL),
(7, 7, 1, 'roles', 0, NULL),
(8, 8, 1, 'roles', 0, NULL),
(9, 9, 1, 'roles', 0, NULL),
(10, 10, 1, 'roles', 0, NULL),
(11, 11, 1, 'roles', 0, NULL),
(12, 12, 1, 'roles', 0, NULL),
(13, 13, 1, 'roles', 0, NULL),
(14, 14, 1, 'roles', 0, NULL),
(15, 15, 1, 'roles', 0, NULL),
(16, 16, 1, 'roles', 0, NULL),
(17, 17, 1, 'roles', 0, NULL),
(18, 18, 1, 'roles', 0, NULL),
(19, 19, 1, 'roles', 0, NULL),
(20, 20, 1, 'roles', 0, NULL),
(21, 21, 1, 'roles', 0, NULL),
(22, 22, 1, 'roles', 0, NULL),
(23, 23, 1, 'roles', 0, NULL),
(24, 24, 1, 'roles', 0, NULL),
(25, 25, 1, 'roles', 0, NULL),
(26, 26, 1, 'roles', 0, NULL),
(27, 27, 1, 'roles', 0, NULL),
(28, 1, 4, 'roles', 0, NULL),
(29, 2, 4, 'roles', 0, NULL),
(30, 3, 4, 'roles', 0, NULL),
(31, 4, 4, 'roles', 0, NULL),
(32, 5, 4, 'roles', 0, NULL),
(33, 6, 4, 'roles', 0, NULL),
(34, 7, 4, 'roles', 0, NULL),
(35, 8, 4, 'roles', 0, NULL),
(36, 9, 4, 'roles', 0, NULL),
(37, 10, 4, 'roles', 0, NULL),
(38, 11, 4, 'roles', 0, NULL),
(39, 12, 4, 'roles', 0, NULL),
(40, 13, 4, 'roles', 0, NULL),
(41, 14, 4, 'roles', 0, NULL),
(42, 15, 4, 'roles', 0, NULL),
(43, 16, 4, 'roles', 0, NULL),
(44, 17, 4, 'roles', 0, NULL),
(45, 18, 4, 'roles', 0, NULL),
(46, 19, 4, 'roles', 0, NULL),
(47, 20, 4, 'roles', 0, NULL),
(48, 21, 4, 'roles', 0, NULL),
(49, 22, 4, 'roles', 0, NULL),
(50, 23, 4, 'roles', 0, NULL),
(51, 24, 4, 'roles', 0, NULL),
(52, 25, 4, 'roles', 0, NULL),
(53, 26, 4, 'roles', 0, NULL),
(54, 27, 4, 'roles', 0, NULL),
(55, 1, 5, 'roles', 0, NULL),
(56, 2, 5, 'roles', 0, NULL),
(57, 3, 5, 'roles', 0, NULL),
(58, 4, 5, 'roles', 0, NULL),
(59, 5, 5, 'roles', 0, NULL),
(60, 6, 5, 'roles', 0, NULL),
(61, 7, 5, 'roles', 0, NULL),
(62, 8, 5, 'roles', 0, NULL),
(63, 9, 5, 'roles', 0, NULL),
(64, 10, 5, 'roles', 0, NULL),
(65, 11, 5, 'roles', 0, NULL),
(66, 12, 5, 'roles', 0, NULL),
(67, 13, 5, 'roles', 0, NULL),
(68, 14, 5, 'roles', 0, NULL),
(69, 15, 5, 'roles', 0, NULL),
(70, 16, 5, 'roles', 0, NULL),
(71, 17, 5, 'roles', 0, NULL),
(72, 18, 5, 'roles', 0, NULL),
(73, 19, 5, 'roles', 0, NULL),
(74, 20, 5, 'roles', 0, NULL),
(75, 21, 5, 'roles', 0, NULL),
(76, 22, 5, 'roles', 0, NULL),
(77, 23, 5, 'roles', 0, NULL),
(78, 24, 5, 'roles', 0, NULL),
(79, 25, 5, 'roles', 0, NULL),
(80, 26, 5, 'roles', 0, NULL),
(81, 27, 5, 'roles', 0, NULL),
(82, 1, 9, 'roles', 0, NULL),
(83, 2, 9, 'roles', 0, NULL),
(84, 3, 9, 'roles', 0, NULL),
(85, 4, 9, 'roles', 0, NULL),
(86, 5, 9, 'roles', 0, NULL),
(87, 6, 9, 'roles', 0, NULL),
(88, 7, 9, 'roles', 0, NULL),
(89, 8, 9, 'roles', 0, NULL),
(90, 9, 9, 'roles', 0, NULL),
(91, 10, 9, 'roles', 0, NULL),
(92, 11, 9, 'roles', 0, NULL),
(93, 12, 9, 'roles', 0, NULL),
(94, 13, 9, 'roles', 0, NULL),
(95, 14, 9, 'roles', 0, NULL),
(96, 15, 9, 'roles', 0, NULL),
(97, 16, 9, 'roles', 0, NULL),
(98, 17, 9, 'roles', 0, NULL),
(99, 18, 9, 'roles', 0, NULL),
(100, 19, 9, 'roles', 0, NULL),
(101, 20, 9, 'roles', 0, NULL),
(102, 21, 9, 'roles', 0, NULL),
(103, 22, 9, 'roles', 0, NULL),
(104, 23, 9, 'roles', 0, NULL),
(105, 24, 9, 'roles', 0, NULL),
(106, 25, 9, 'roles', 0, NULL),
(107, 26, 9, 'roles', 0, NULL),
(108, 27, 9, 'roles', 0, NULL);

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

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

CREATE TABLE `roles` (
  `id` bigint UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `scope` int 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 `roles`
--

INSERT INTO `roles` (`id`, `name`, `title`, `scope`, `created_at`, `updated_at`) VALUES
(1, 'superadmin', 'has access to everything', NULL, '2021-07-27 04:20:21', '2021-07-27 04:20:21'),
(4, 'Syed Mohazri Syed Hazari', 'SIS Database & Design Consultant', NULL, '2021-08-30 10:17:52', '2021-08-30 10:17:52'),
(5, 'Charlotte Hicks', 'International Consultant (SIS)', NULL, '2021-08-30 10:18:14', '2021-08-30 10:18:14'),
(9, 'REDD Plus Unit', 'Super Admin', NULL, '2022-01-03 09:14:41', '2023-09-27 07:33:29');

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

--
-- Table structure for table `safeguards`
--

CREATE TABLE `safeguards` (
  `id` bigint UNSIGNED NOT NULL,
  `title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `principle` text COLLATE utf8mb4_unicode_ci,
  `marks` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `safeguards`
--

INSERT INTO `safeguards` (`id`, `title`, `principle`, `marks`, `status`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'Safeguard A', 'Principle A description', '10', 'active', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(2, 'Safeguard B', 'Principle B description', '10', 'active', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(3, 'Safeguard C', 'Principle C description', '10', 'active', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(4, 'Safeguard D', 'Principle D description', '10', 'active', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(5, 'Safeguard E', 'Principle E description', '10', 'active', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(6, 'Safeguard F', 'Principle F description', '10', 'active', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(7, 'Safeguard G', 'Principle G description', '10', 'active', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(8, 'Safeguard H', 'Principle H description', '10', 'active', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL);

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

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

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

--
-- Dumping data for table `sessions`
--

INSERT INTO `sessions` (`id`, `user_id`, `ip_address`, `user_agent`, `payload`, `last_activity`) VALUES
('ERK0GAfOwUyqLY5R0wyrnForTraF9vBYR9cQS47g', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36', 'eyJfdG9rZW4iOiJFVG8ycDU2SFBXWE9HbGFWT1lndGRJNG9ldWc5VmhWUUREeFpveGVVIiwidXJsIjp7ImludGVuZGVkIjoiaHR0cDpcL1wvMTI3LjAuMC4xOjgwMDBcL2luZGljYXRvclwvaW5kZXgifSwiX3ByZXZpb3VzIjp7InVybCI6Imh0dHA6XC9cLzEyNy4wLjAuMTo4MDAwXC9sb2dpbiIsInJvdXRlIjoibG9naW4ifSwiX2ZsYXNoIjp7Im9sZCI6W10sIm5ldyI6W119LCJmbGFzaGVyOjplbnZlbG9wZXMiOltdfQ==', 1785515360),
('hWBF5WuANEwY5EoRWa2STTppLZ67UuBJficrB4B1', 29, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36', 'eyJfdG9rZW4iOiJQSEoxWXFEYjVYREllVUo4RVZKTmFMejkzMGVLRGY4VGU3bVgybDIwIiwiZmxhc2hlcjo6ZW52ZWxvcGVzIjpbXSwiX3ByZXZpb3VzIjp7InVybCI6Imh0dHA6XC9cLzEyNy4wLjAuMTo4MDAwXC9kYXNoYm9hcmQiLCJyb3V0ZSI6ImRhc2hib2FyZCJ9LCJfZmxhc2giOnsib2xkIjpbXSwibmV3IjpbXX0sImxvZ2luX3dlYl81OWJhMzZhZGRjMmIyZjk0MDE1ODBmMDE0YzdmNThlYTRlMzA5ODlkIjoyOX0=', 1786678591),
('TaPVv5sd8FG5ptuT2qtuT0TfLSPCUREiN7DuJyMW', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36', 'eyJfdG9rZW4iOiJnQkVFejRpT2JXdjJ3SXlDaGpvV0dYczBOTjB1NExCMldSVHYwcVpsIiwidXJsIjp7ImludGVuZGVkIjoiaHR0cDpcL1wvMTI3LjAuMC4xOjgwMDBcL2luZGljYXRvclwvZWRpdFwvNiJ9LCJfcHJldmlvdXMiOnsidXJsIjoiaHR0cDpcL1wvMTI3LjAuMC4xOjgwMDBcL2xvZ2luIiwicm91dGUiOiJsb2dpbiJ9LCJfZmxhc2giOnsib2xkIjpbXSwibmV3IjpbXX0sImZsYXNoZXI6OmVudmVsb3BlcyI6W119', 1785718989);

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

--
-- Table structure for table `states`
--

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

--
-- Dumping data for table `states`
--

INSERT INTO `states` (`id`, `state_name`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'Johor', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(2, 'Kedah', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(3, 'Kelantan', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(4, 'Melaka', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(5, 'Negeri Sembilan', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(6, 'Pahang', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(7, 'Perak', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(8, 'Perlis', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(9, 'Pulau Pinang', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(10, 'Sabah', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(11, 'Sarawak', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(12, 'Selangor', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(13, 'Terengganu', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(14, 'WP Kuala Lumpur', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(15, 'WP Labuan', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL),
(16, 'WP Putrajaya', '2024-07-22 02:00:00', '2024-07-22 02:00:00', NULL);

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

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

CREATE TABLE `users` (
  `id` bigint UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `email_verified_at` timestamp NULL DEFAULT NULL,
  `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `role_id` bigint UNSIGNED DEFAULT NULL,
  `profile_image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `contact_no` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `remember_token` varchar(100) 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 `users`
--

INSERT INTO `users` (`id`, `name`, `email`, `email_verified_at`, `password`, `role_id`, `profile_image`, `contact_no`, `is_active`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 'Admin', 'redd.plus@nres.gov.my', NULL, '$2y$10$dQ197jWtdmH703VgtGYJe.4itexzFFYWcWXvkqyEmBY2vjddcHBca', 1, '1/Karuna-Zoom-Wallpaper.jpg', NULL, 1, NULL, '2021-07-27 04:20:21', '2025-07-30 06:58:45'),
(9, 'Safiah Rosli', 'safiahrosli@nres.gov.my', NULL, '$2y$10$.YXGNOBgrrcFeZ19Jt93GuV6GuWTC4sMiisbeDrcMl86HlUpX8ZeW', 9, NULL, NULL, 1, NULL, '2022-01-03 09:14:57', '2025-11-11 02:52:54'),
(24, 'Rasnidaayu', 'rasnidaayu@nres.gov.my', NULL, '$2y$10$EFz2K/28D3tKRwyZG.34NuF7TGNXtWukqdPrL007ZRQqa6tsdxJbG', 1, NULL, NULL, 1, NULL, '2024-03-20 04:39:21', '2026-05-20 08:05:13'),
(25, 'Nurul Shazwani', 'wani.jismi@nres.gov.my', NULL, '$2y$10$deXofoVdqlm6S173c1Hz4e55FToVuzu3idvPibEFT1/4b8ZVaMDcy', 1, NULL, NULL, 1, NULL, '2024-03-20 04:49:23', '2024-07-24 07:18:45'),
(26, 'Ernewaty', 'ernewaty@nres.gov.my', NULL, '$2y$10$h5n4wTh3vBo8YdvfWLhnW.Vda50NDeoTjHENYc.Tj6lJ/MT3xWClq', 1, NULL, NULL, 1, NULL, '2024-03-20 04:49:35', '2026-05-20 08:20:56'),
(28, 'Yasnizar Opensoft', 'yasnizar@myopensoft.net', NULL, '$2y$10$neS7u3.3MafRXoAFRtjr/O6RAbtuMgzlOCiQwPksBEz5L6b2mU4si', 1, NULL, NULL, 1, NULL, '2026-05-20 08:32:13', '2026-05-20 09:04:06'),
(29, 'Super Admin', 'admin@sis.com', NULL, '$2y$12$YbZP9uVaGN3uYpHdiIskceJl9nPAgQiHr6MP9iHdMa0JNq8AJ2.v.', 1, NULL, NULL, 1, NULL, '2026-07-23 16:00:00', '2026-07-23 16:00:00');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `abilities`
--
ALTER TABLE `abilities`
  ADD PRIMARY KEY (`id`),
  ADD KEY `abilities_entity_id_entity_type_index` (`entity_id`,`entity_type`),
  ADD KEY `abilities_scope_index` (`scope`);

--
-- Indexes for table `assigned_roles`
--
ALTER TABLE `assigned_roles`
  ADD PRIMARY KEY (`id`),
  ADD KEY `assigned_roles_entity_index` (`entity_id`,`entity_type`,`scope`),
  ADD KEY `assigned_roles_role_id_index` (`role_id`),
  ADD KEY `assigned_roles_scope_index` (`scope`);

--
-- Indexes for table `cache`
--
ALTER TABLE `cache`
  ADD PRIMARY KEY (`key`),
  ADD KEY `cache_expiration_index` (`expiration`);

--
-- Indexes for table `cache_locks`
--
ALTER TABLE `cache_locks`
  ADD PRIMARY KEY (`key`),
  ADD KEY `cache_locks_expiration_index` (`expiration`);

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

--
-- Indexes for table `file_attachments`
--
ALTER TABLE `file_attachments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `file_attachments_content_type_content_id_index` (`content_type`,`content_id`);

--
-- Indexes for table `fmus`
--
ALTER TABLE `fmus`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fmus_state_id_foreign` (`state_id`);

--
-- Indexes for table `indicatior_addresses`
--
ALTER TABLE `indicatior_addresses`
  ADD PRIMARY KEY (`id`),
  ADD KEY `indicatior_addresses_indicator_id_foreign` (`indicator_id`);

--
-- Indexes for table `indicatior_address_respects`
--
ALTER TABLE `indicatior_address_respects`
  ADD PRIMARY KEY (`id`),
  ADD KEY `indicatior_address_respects_indicator_address_id_foreign` (`indicator_address_id`);

--
-- Indexes for table `indicators`
--
ALTER TABLE `indicators`
  ADD PRIMARY KEY (`id`),
  ADD KEY `indicators_safeguard_id_foreign` (`safeguard_id`);

--
-- Indexes for table `indicator_fmus`
--
ALTER TABLE `indicator_fmus`
  ADD PRIMARY KEY (`id`),
  ADD KEY `indicator_fmus_content_type_content_id_index` (`content_type`,`content_id`),
  ADD KEY `indicator_fmus_fmu_id_foreign` (`fmu_id`),
  ADD KEY `indicator_fmus_state_id_foreign` (`state_id`);

--
-- Indexes for table `jobs`
--
ALTER TABLE `jobs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `jobs_queue_index` (`queue`);

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

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

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

--
-- Indexes for table `permissions`
--
ALTER TABLE `permissions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `permissions_entity_index` (`entity_id`,`entity_type`,`scope`),
  ADD KEY `permissions_ability_id_index` (`ability_id`),
  ADD KEY `permissions_scope_index` (`scope`);

--
-- Indexes for table `roles`
--
ALTER TABLE `roles`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `roles_name_unique` (`name`,`scope`),
  ADD KEY `roles_scope_index` (`scope`);

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

--
-- Indexes for table `sessions`
--
ALTER TABLE `sessions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sessions_user_id_index` (`user_id`),
  ADD KEY `sessions_last_activity_index` (`last_activity`);

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

--
-- Indexes for table `users`
--
ALTER TABLE `users`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `users_email_unique` (`email`);

--
-- AUTO_INCREMENT for dumped tables
--

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `jobs`
--
ALTER TABLE `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=13;

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

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

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

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

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

--
-- Constraints for dumped tables
--

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

--
-- Constraints for table `fmus`
--
ALTER TABLE `fmus`
  ADD CONSTRAINT `fmus_state_id_foreign` FOREIGN KEY (`state_id`) REFERENCES `states` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `indicatior_addresses`
--
ALTER TABLE `indicatior_addresses`
  ADD CONSTRAINT `indicatior_addresses_indicator_id_foreign` FOREIGN KEY (`indicator_id`) REFERENCES `indicators` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `indicatior_address_respects`
--
ALTER TABLE `indicatior_address_respects`
  ADD CONSTRAINT `indicatior_address_respects_indicator_address_id_foreign` FOREIGN KEY (`indicator_address_id`) REFERENCES `indicatior_addresses` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `indicators`
--
ALTER TABLE `indicators`
  ADD CONSTRAINT `indicators_safeguard_id_foreign` FOREIGN KEY (`safeguard_id`) REFERENCES `safeguards` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `indicator_fmus`
--
ALTER TABLE `indicator_fmus`
  ADD CONSTRAINT `indicator_fmus_fmu_id_foreign` FOREIGN KEY (`fmu_id`) REFERENCES `fmus` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `indicator_fmus_state_id_foreign` FOREIGN KEY (`state_id`) REFERENCES `states` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `permissions`
--
ALTER TABLE `permissions`
  ADD CONSTRAINT `permissions_ability_id_foreign` FOREIGN KEY (`ability_id`) REFERENCES `abilities` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;