-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Nov 10, 2026 at 01:46 PM
-- Server version: 10.4.32-MariaDB
-- PHP Version: 8.2.12

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

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

--
-- Table structure for table `academic_programs`
--

CREATE TABLE `academic_programs` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `department_id` bigint(20) UNSIGNED DEFAULT NULL,
  `faculty_id` bigint(20) UNSIGNED NOT NULL,
  `slug` varchar(255) NOT NULL,
  `level` enum('certificate','diploma','undergraduate','postgraduate') NOT NULL,
  `duration` varchar(255) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `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 `academic_programs`
--

INSERT INTO `academic_programs` (`id`, `department_id`, `faculty_id`, `slug`, `level`, `duration`, `is_active`, `sort_order`, `created_at`, `updated_at`) VALUES
(1, NULL, 1, 'ba-islamic-studies', 'undergraduate', '4 years', 1, 1, '2026-11-09 15:54:01', '2026-11-09 15:54:01'),
(2, NULL, 1, 'ba-quranic-sciences', 'undergraduate', '4 years', 1, 2, '2026-11-09 15:54:02', '2026-11-09 15:54:02'),
(3, NULL, 1, 'ma-islamic-studies', 'postgraduate', '2 years', 1, 3, '2026-11-09 15:54:02', '2026-11-10 06:24:45'),
(5, NULL, 2, 'bed-primary-education', 'undergraduate', '4 years', 1, 5, '2026-11-09 15:54:02', '2026-11-10 06:24:55'),
(6, NULL, 2, 'med-educational-leadership', 'postgraduate', '2 years', 1, 6, '2026-11-09 15:54:02', '2026-11-09 15:54:02'),
(9, NULL, 3, 'bsc-computer-science', 'undergraduate', '4 years', 1, 9, '2026-11-09 15:54:02', '2026-11-09 15:54:02'),
(12, NULL, 4, 'mba', 'postgraduate', '2 years', 1, 12, '2026-11-09 15:54:02', '2026-11-10 06:25:25');

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

--
-- Table structure for table `admission_inquiries`
--

CREATE TABLE `admission_inquiries` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `full_name` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `phone` varchar(255) NOT NULL,
  `country` varchar(255) DEFAULT NULL,
  `program_of_interest` varchar(255) DEFAULT NULL,
  `message` text NOT NULL,
  `status` enum('new','in_progress','responded','closed') NOT NULL DEFAULT 'new',
  `admin_notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `admission_inquiries`
--

INSERT INTO `admission_inquiries` (`id`, `full_name`, `email`, `phone`, `country`, `program_of_interest`, `message`, `status`, `admin_notes`, `created_at`, `updated_at`) VALUES
(1, 'Mussa Ame', 'mussaamell@gmail.com', '+255628997077', 'Tanzania', 'Master of Arts in Islamic Studies', 'admission form test', 'responded', NULL, '2026-11-10 07:59:57', '2026-11-10 08:00:57');

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

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

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

--
-- Dumping data for table `cache`
--

INSERT INTO `cache` (`key`, `value`, `expiration`) VALUES
('marwa-university-cache-5c785c036466adea360111aa28563bfd556b5fba', 'i:1;', 1794312456),
('marwa-university-cache-5c785c036466adea360111aa28563bfd556b5fba:timer', 'i:1794312456;', 1794312456),
('marwa-university-cache-setting.admissions_open', 's:1:\"0\";', 2109655606),
('marwa-university-cache-setting.contact_address', 's:18:\"Zanzibar, Tanzania\";', 2109664341),
('marwa-university-cache-setting.contact_email', 's:34:\"info@marwauniversityzanzibar.ac.tz\";', 2109611998),
('marwa-university-cache-setting.contact_phone', 's:20:\"+255 (0) 770 000 000\";', 2109611998),
('marwa-university-cache-setting.contact_whatsapp', 's:20:\"+255 (0) 770 000 000\";', 2109611998),
('marwa-university-cache-setting.office_hours', 's:40:\"Monday – Friday: 08:00 – 16:00 (EAT)\";', 2109666588);

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

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

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

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

--
-- Table structure for table `contact_messages`
--

CREATE TABLE `contact_messages` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `subject` varchar(255) NOT NULL,
  `message` text NOT NULL,
  `is_read` tinyint(1) NOT NULL DEFAULT 0,
  `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 `contact_messages`
--

INSERT INTO `contact_messages` (`id`, `name`, `email`, `phone`, `subject`, `message`, `is_read`, `created_at`, `updated_at`) VALUES
(1, 'Mussa Ame', 'mussaamell@gmail.com', NULL, 'Private trip request', 'Testing contact Message', 0, '2026-11-10 09:06:36', '2026-11-10 09:06:36');

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

--
-- Table structure for table `departments`
--

CREATE TABLE `departments` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `faculty_id` bigint(20) UNSIGNED NOT NULL,
  `slug` varchar(255) NOT NULL,
  `is_active` tinyint(1) 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 `department_translations`
--

CREATE TABLE `department_translations` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `department_id` bigint(20) UNSIGNED NOT NULL,
  `locale` varchar(5) NOT NULL,
  `name` varchar(255) NOT NULL,
  `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `events`
--

CREATE TABLE `events` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `slug` varchar(255) NOT NULL,
  `image` varchar(255) DEFAULT NULL,
  `location` varchar(255) DEFAULT NULL,
  `starts_at` datetime NOT NULL,
  `ends_at` datetime DEFAULT NULL,
  `status` enum('draft','published') NOT NULL DEFAULT 'draft',
  `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 `event_translations`
--

CREATE TABLE `event_translations` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `event_id` bigint(20) UNSIGNED NOT NULL,
  `locale` varchar(5) NOT NULL,
  `title` varchar(255) NOT NULL,
  `description` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `faculties`
--

CREATE TABLE `faculties` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `slug` varchar(255) NOT NULL,
  `image` varchar(255) DEFAULT NULL,
  `icon` varchar(255) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `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 `faculties`
--

INSERT INTO `faculties` (`id`, `slug`, `image`, `icon`, `is_active`, `sort_order`, `created_at`, `updated_at`) VALUES
(1, 'faculty-of-islamic-studies', NULL, 'islamic', 1, 1, '2026-11-09 15:51:51', '2026-11-09 15:53:50'),
(2, 'faculty-of-education', NULL, 'education', 1, 2, '2026-11-09 15:51:51', '2026-11-09 15:53:50'),
(3, 'faculty-of-arts-and-sciences', NULL, 'sciences', 1, 3, '2026-11-09 15:51:51', '2026-11-09 15:53:50'),
(4, 'faculty-of-business-studies', NULL, 'business', 1, 4, '2026-11-09 15:51:51', '2026-11-09 15:53:50'),
(5, 'faculty-of-social-sciences', NULL, 'social', 1, 5, '2026-11-09 15:51:51', '2026-11-09 15:53:50');

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

--
-- Table structure for table `faculty_translations`
--

CREATE TABLE `faculty_translations` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `faculty_id` bigint(20) UNSIGNED NOT NULL,
  `locale` varchar(5) NOT NULL,
  `name` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `meta_title` varchar(255) DEFAULT NULL,
  `meta_description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `faculty_translations`
--

INSERT INTO `faculty_translations` (`id`, `faculty_id`, `locale`, `name`, `description`, `meta_title`, `meta_description`) VALUES
(1, 1, 'en', 'Faculty of Islamic Studies', 'Dedicated to the study of the Qur\'an, Hadith, Islamic jurisprudence, theology, and the rich intellectual heritage of Islamic civilisation.', NULL, NULL),
(2, 1, 'ar', 'كلية الدراسات الإسلامية', 'مكرسة لدراسة القرآن الكريم والحديث والفقه والعقيدة والتراث الفكري الغني للحضارة الإسلامية.', NULL, NULL),
(3, 1, 'sw', 'Kitivo cha Masomo ya Kiislamu', 'Inajitolea kwa masomo ya Qur\'ani, Hadith, fiqhi, na urithi tajiri wa kiakili wa ustaarabu wa Kiislamu.', NULL, NULL),
(4, 2, 'en', 'Faculty of Education', 'Preparing skilled educators and academic leaders through rigorous pedagogical training, curriculum development, and educational research.', NULL, NULL),
(5, 2, 'ar', 'كلية التربية', 'إعداد المعلمين المهرة والقادة الأكاديميين من خلال التدريب التربوي الصارم وتطوير المناهج والبحث التربوي.', NULL, NULL),
(6, 2, 'sw', 'Kitivo cha Elimu', 'Kuandaa walimu wenye ujuzi na viongozi wa kitaaluma kupitia mafunzo thabiti ya ualimu na utafiti wa kielimu.', NULL, NULL),
(7, 3, 'en', 'Faculty of Arts and Sciences', 'Offering programmes in languages, literature, mathematics, and the natural sciences, fostering intellectual breadth and analytical rigour.', NULL, NULL),
(8, 3, 'ar', 'كلية الآداب والعلوم', 'تقديم برامج في اللغات والأدب والرياضيات والعلوم الطبيعية، وتعزيز الاتساع الفكري والدقة التحليلية.', NULL, NULL),
(9, 3, 'sw', 'Kitivo cha Sanaa na Sayansi', 'Kutoa programu za lugha, fasihi, hisabati, na sayansi asilia, kukuza upana wa kiakili na umakini wa uchambuzi.', NULL, NULL),
(10, 4, 'en', 'Faculty of Business Studies', 'Developing principled business leaders through programmes in accounting, management, finance, and entrepreneurship grounded in Islamic ethics.', NULL, NULL),
(11, 4, 'ar', 'كلية الدراسات التجارية', 'إعداد قادة أعمال مبدئيين من خلال برامج في المحاسبة والإدارة والتمويل وريادة الأعمال المبنية على الأخلاق الإسلامية.', NULL, NULL),
(12, 4, 'sw', 'Kitivo cha Masomo ya Biashara', 'Kuandaa viongozi wa biashara wenye kanuni kupitia programu za uhasibu, usimamizi, fedha, na ujasiriamali unaozingatia maadili ya Kiislamu.', NULL, NULL),
(13, 5, 'en', 'Faculty of Social Sciences', 'Exploring society, governance, and human development through programmes in sociology, political science, and community development.', NULL, NULL),
(14, 5, 'ar', 'كلية العلوم الاجتماعية', 'دراسة المجتمع والحكم والتنمية البشرية من خلال برامج في علم الاجتماع والعلوم السياسية وتنمية المجتمع.', NULL, NULL),
(15, 5, 'sw', 'Kitivo cha Sayansi ya Jamii', 'Kuchunguza jamii, utawala, na maendeleo ya binadamu kupitia programu za sosholojia, sayansi ya siasa, na maendeleo ya jamii.', NULL, NULL);

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

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

CREATE TABLE `faqs` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `category` varchar(255) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `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 `faqs`
--

INSERT INTO `faqs` (`id`, `category`, `is_active`, `sort_order`, `created_at`, `updated_at`) VALUES
(1, 'admissions', 1, 1, '2026-11-10 03:33:02', '2026-11-10 03:33:02'),
(2, 'admissions', 1, 2, '2026-11-10 03:33:03', '2026-11-10 03:33:03'),
(3, 'finance', 1, 3, '2026-11-10 03:33:03', '2026-11-10 04:20:16');

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

--
-- Table structure for table `faq_translations`
--

CREATE TABLE `faq_translations` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `faqs_id` bigint(20) UNSIGNED NOT NULL,
  `locale` varchar(5) NOT NULL,
  `question` varchar(255) NOT NULL,
  `answer` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `faq_translations`
--

INSERT INTO `faq_translations` (`id`, `faqs_id`, `locale`, `question`, `answer`) VALUES
(1, 1, 'en', 'How do I apply for admission?', 'You can apply by filling out the inquiry form on our Admissions page. Once you submit an inquiry, our admissions team will contact you with the application package and next steps.'),
(2, 1, 'sw', 'Ninawezaje kuomba udahili?', 'Unaweza kuomba kwa kujaza fomu ya maswali kwenye ukurasa wetu wa Uandikishaji. Mara baada ya kuwasilisha swali, timu yetu ya uandikishaji itawasiliana nawe kwa kifurushi cha maombi na hatua zinazofuata.'),
(3, 1, 'ar', 'كيف يمكنني التقديم للقبول؟', 'يمكنك التقديم عن طريق ملء نموذج الاستفسار في صفحة القبول لدينا. بمجرد تقديم الاستفسار، سيتصل بك فريق القبول لدينا مع حزمة الطلب والخطوات التالية.'),
(4, 2, 'en', 'What are the admission requirements?', 'Requirements vary by programme. Generally, undergraduate applicants need a secondary school certificate, while postgraduate applicants need a relevant bachelor\'s degree. Specific requirements are listed on each programme\'s detail page.'),
(5, 2, 'sw', 'Je, ni mahitaji gani ya udahili?', 'Mahitaji hutofautiana kulingana na programu. Kwa ujumla, waombaji wa shahada ya kwanza wanahitaji cheti cha sekondari, wakati waombaji wa shahada ya uzamili wanahitaji shahada ya kwanza inayohusika.'),
(6, 2, 'ar', 'ما هي متطلبات القبول؟', 'تختلف المتطلبات حسب البرنامج. بشكل عام، يحتاج المتقدمون للبكالوريوس إلى شهادة الثانوية العامة، بينما يحتاج المتقدمون للدراسات العليا إلى درجة البكالوريوس ذات الصلة.'),
(7, 3, 'en', 'Are scholarships available?', 'No, the university offers a limited number of merit-based and need-based scholarships. Please contact the admissions office for more information on eligibility and application deadlines.'),
(8, 3, 'sw', 'Je, kuna ufadhili wa masomo?', 'Hapana, chuo kikuu kinatoa idadi ndogo ya ufadhili wa masomo kulingana na sifa na mahitaji. Tafadhali wasiliana na ofisi ya uandikishaji kwa habari zaidi kuhusu sifa na tarehe za mwisho za maombi.'),
(9, 3, 'ar', 'هل المنح الدراسية متاحة؟', 'نعم، تقدم الجامعة عددًا محدودًا من المنح الدراسية القائمة على الجدارة والحاجة. يرجى الاتصال بمكتب القبول للحصول على مزيد من المعلومات حول الأهلية ومواعيد التقديم.');

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

--
-- Table structure for table `gallery_categories`
--

CREATE TABLE `gallery_categories` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `slug` 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;

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

--
-- Table structure for table `gallery_category_translations`
--

CREATE TABLE `gallery_category_translations` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `gallery_category_id` bigint(20) UNSIGNED NOT NULL,
  `locale` varchar(5) NOT NULL,
  `name` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `gallery_images`
--

CREATE TABLE `gallery_images` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `gallery_category_id` bigint(20) UNSIGNED DEFAULT NULL,
  `image_path` varchar(255) NOT NULL,
  `caption_en` varchar(255) DEFAULT NULL,
  `caption_ar` varchar(255) DEFAULT NULL,
  `caption_sw` varchar(255) DEFAULT NULL,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `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 `hero_slides`
--

CREATE TABLE `hero_slides` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `image` varchar(255) DEFAULT NULL,
  `cta_url` varchar(255) DEFAULT NULL,
  `cta2_url` varchar(255) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `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 `hero_slides`
--

INSERT INTO `hero_slides` (`id`, `image`, `cta_url`, `cta2_url`, `is_active`, `sort_order`, `created_at`, `updated_at`) VALUES
(1, 'images/hero-1.jpg', '/about', '/academics/programs', 1, 1, '2026-11-09 09:00:58', '2026-11-09 09:00:58'),
(2, 'images/hero-2.jpg', '/about', '/admissions', 1, 2, '2026-11-09 09:00:58', '2026-11-09 09:00:58'),
(3, 'images/hero-3.jpg', '/admissions', '/contact', 1, 3, '2026-11-09 09:00:58', '2026-11-09 09:00:58'),
(4, 'images/hero-1.jpg', '/about', '/academics', 1, 1, '2026-11-10 07:42:26', '2026-11-10 07:42:26');

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

--
-- Table structure for table `hero_slide_translations`
--

CREATE TABLE `hero_slide_translations` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `hero_slide_id` bigint(20) UNSIGNED NOT NULL,
  `locale` varchar(5) NOT NULL,
  `title` varchar(255) NOT NULL,
  `subtitle` text DEFAULT NULL,
  `cta_label` varchar(255) DEFAULT NULL,
  `cta2_label` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `hero_slide_translations`
--

INSERT INTO `hero_slide_translations` (`id`, `hero_slide_id`, `locale`, `title`, `subtitle`, `cta_label`, `cta2_label`) VALUES
(1, 4, 'en', 'Knowledge, Faith, and Excellence', 'A distinguished Islamic university preparing the next generation of scholars, professionals, and leaders.', 'Learn More', 'Discover Programs'),
(2, 4, 'ar', 'العلم والإيمان والتميّز', 'جامعة إسلامية متميزة تعدّ الجيل القادم من العلماء والمهنيين والقادة.', 'اعرف المزيد', 'استكشف البرامج'),
(3, 4, 'sw', 'Maarifa, Imani, na Ubora', 'Chuo kikuu cha Kiislamu kinachotukuka kinachoandaa kizazi kijacho cha wanazuoni, wataalamu, na viongozi.', 'Jifunze Zaidi', 'Gundua Programu');

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

--
-- 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 `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, '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, '2024_01_01_000010_create_university_tables', 1),
(5, '2026_11_09_061950_create_permission_tables', 1),
(6, '2026_11_09_100550_create_hero_slides_table', 1),
(7, '2024_01_01_000010_create_university_tables', 3),
(8, '2026_11_10_103122_create_hero_slide_translations_table', 4);

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

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

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

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

--
-- Dumping data for table `model_has_roles`
--

INSERT INTO `model_has_roles` (`role_id`, `model_type`, `model_id`) VALUES
(1, 'App\\Models\\User', 1);

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

--
-- Table structure for table `news`
--

CREATE TABLE `news` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `news_category_id` bigint(20) UNSIGNED DEFAULT NULL,
  `slug` varchar(255) NOT NULL,
  `featured_image` varchar(255) DEFAULT NULL,
  `is_featured` tinyint(1) NOT NULL DEFAULT 0,
  `status` enum('draft','published') NOT NULL DEFAULT 'draft',
  `published_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 `news`
--

INSERT INTO `news` (`id`, `news_category_id`, `slug`, `featured_image`, `is_featured`, `status`, `published_at`, `created_at`, `updated_at`) VALUES
(1, 1, 'welcome-to-marwa-university-zanzibar', 'images/news/1794305719_xZHHDH8ZrB.jfif', 1, 'published', '2026-11-07 15:55:00', '2026-11-09 15:55:43', '2026-11-10 07:15:19'),
(2, 4, 'admissions-open-2027', 'images/news/admissions-2027.jpg', 1, 'published', '2026-11-04 15:55:43', '2026-11-09 15:55:43', '2026-11-09 15:55:43'),
(3, 3, 'annual-quran-recitation-competition', 'images/news/quran-competition.jpg', 0, 'published', '2026-10-31 15:55:43', '2026-11-09 15:55:43', '2026-11-09 15:55:43'),
(4, 2, 'new-library-resources', 'images/news/library.jpg', 0, 'published', '2026-10-26 15:55:43', '2026-11-09 15:55:43', '2026-11-09 15:55:43'),
(5, 5, 'research-colloquium-islamic-finance', 'news/VTCwc65Knjasju4nR93e33m2arNj2MhCVSRGrzlM.png', 0, 'published', '2026-10-20 15:55:00', '2026-11-09 15:55:43', '2026-11-10 06:29:03');

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

--
-- Table structure for table `news_categories`
--

CREATE TABLE `news_categories` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `slug` 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 `news_categories`
--

INSERT INTO `news_categories` (`id`, `slug`, `created_at`, `updated_at`) VALUES
(1, 'announcements', '2026-11-09 15:55:43', '2026-11-09 15:55:43'),
(2, 'academics', '2026-11-09 15:55:43', '2026-11-09 15:55:43'),
(3, 'events', '2026-11-09 15:55:43', '2026-11-09 15:55:43'),
(4, 'admissions', '2026-11-09 15:55:43', '2026-11-09 15:55:43'),
(5, 'research', '2026-11-09 15:55:43', '2026-11-09 15:55:43');

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

--
-- Table structure for table `news_category_translations`
--

CREATE TABLE `news_category_translations` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `news_category_id` bigint(20) UNSIGNED NOT NULL,
  `locale` varchar(5) NOT NULL,
  `name` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `news_category_translations`
--

INSERT INTO `news_category_translations` (`id`, `news_category_id`, `locale`, `name`) VALUES
(1, 1, 'en', 'Announcements'),
(2, 1, 'ar', 'إعلانات'),
(3, 1, 'sw', 'Matangazo'),
(4, 2, 'en', 'Academics'),
(5, 2, 'ar', 'الأكاديمية'),
(6, 2, 'sw', 'Taaluma'),
(7, 3, 'en', 'Events'),
(8, 3, 'ar', 'الفعاليات'),
(9, 3, 'sw', 'Matukio'),
(10, 4, 'en', 'Admissions'),
(11, 4, 'ar', 'القبول'),
(12, 4, 'sw', 'Uandikishaji'),
(13, 5, 'en', 'Research'),
(14, 5, 'ar', 'البحث العلمي'),
(15, 5, 'sw', 'Utafiti');

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

--
-- Table structure for table `news_translations`
--

CREATE TABLE `news_translations` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `news_id` bigint(20) UNSIGNED NOT NULL,
  `locale` varchar(5) NOT NULL,
  `title` varchar(255) NOT NULL,
  `excerpt` text DEFAULT NULL,
  `body` longtext NOT NULL,
  `meta_title` varchar(255) DEFAULT NULL,
  `meta_description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `news_translations`
--

INSERT INTO `news_translations` (`id`, `news_id`, `locale`, `title`, `excerpt`, `body`, `meta_title`, `meta_description`) VALUES
(1, 1, 'en', 'Welcome to Marwa International Islamic University — Zanzibar Branch', 'We are pleased to welcome students, faculty, and visitors to the official website of our Zanzibar Branch. Explore our academic programmes, admissions, and campus life.', '<p>It is with great pleasure that we welcome you to the official website of Marwa International Islamic University — Zanzibar Branch. This website is designed to serve as a comprehensive resource for prospective students, current students, faculty, staff, and visitors from around the world.</p>\r\n\r\n<p>Here you will find detailed information about our academic programmes, admissions procedures, research activities, campus facilities, and the vibrant student life that defines our community. We invite you to explore these pages and to contact us with any questions you may have.</p>\r\n\r\n<p>Our institution is committed to academic excellence, Islamic values, and the holistic development of every student. We look forward to accompanying you on your educational journey.</p>', NULL, NULL),
(2, 1, 'ar', 'مرحباً بكم في جامعة مروة الدولية الإسلامية — فرع زنجبار', 'يسعدنا أن نرحب بالطلاب وأعضاء هيئة التدريس والزوار في الموقع الرسمي لفرعنا في زنجبار. استكشفوا برامجنا الأكاديمية والقبول والحياة الجامعية.', '<p>يسرنا أن نرحب بكم في الموقع الرسمي لجامعة مروة الدولية الإسلامية — فرع زنجبار. صُمم هذا الموقع ليكون مصدراً شاملاً للطلاب المحتملين والطلاب الحاليين وأعضاء هيئة التدريس والموظفين والزوار من جميع أنحاء العالم.</p>\r\n\r\n<p>ستجدون هنا معلومات مفصلة عن برامجنا الأكاديمية وإجراءات القبول وأنشطة البحث ومرافق الحرم الجامعي والحياة الطلابية النابضة بالحياة. ندعوكم لاستكشاف هذه الصفحات والتواصل معنا بأي أسئلة.</p>\r\n\r\n<p>تلتزم مؤسستنا بالتميز الأكاديمي والقيم الإسلامية والتنمية الشاملة لكل طالب. ونتطلع إلى مرافقتكم في رحلتكم التعليمية.</p>', NULL, NULL),
(3, 1, 'sw', 'Karibu Chuo Kikuu cha Kimataifa cha Kiislamu cha Marwa — Tawi la Zanzibar', 'Tuna furaha kuwarakaribisha wanafunzi, walimu, na wageni kwenye tovuti rasmi ya Tawi letu la Zanzibar. Gundua programu zetu za kitaaluma, uandikishaji, na maisha ya chuo.', '<p>Kwa furaha kubwa tunawakaribisha kwenye tovuti rasmi ya Chuo Kikuu cha Kimataifa cha Kiislamu cha Marwa — Tawi la Zanzibar. Tovuti hii imeundwa kuwa rasilimali kamili kwa wanafunzi watarajiwa, wanafunzi wa sasa, walimu, wafanyakazi, na wageni kutoka kote ulimwenguni.</p>\r\n\r\n<p>Hapa utapata taarifa za kina kuhusu programu zetu za kitaaluma, taratibu za uandikishaji, shughuli za utafiti, vifaa vya chuo, na maisha mazuri ya wanafunzi. Tunakualika kuchunguza kurasa hizi na kuwasiliana nasi kwa maswali yoyote.</p>\r\n\r\n<p>Taasisi yetu imejitolea kwa ubora wa kitaaluma, maadili ya Kiislamu, na maendeleo kamili ya kila mwanafunzi. Tunatarajia kuandamana nawe katika safari yako ya elimu.</p>', NULL, NULL),
(4, 2, 'en', 'Admissions Now Open for the 2027 Academic Year', 'Applications for the 2027 intake are now open. Prospective students are invited to apply for undergraduate, postgraduate, and certificate programmes.', '<p>We are pleased to announce that admissions for the 2027 academic year are now open. Prospective students from Tanzania and around the world are invited to apply for our undergraduate, postgraduate, diploma, and certificate programmes.</p>\n\n<p><strong>Important dates:</strong></p>\n<ul>\n    <li>Application opens: 1 January 2027</li>\n    <li>Early application deadline: 30 April 2027</li>\n    <li>Final application deadline: 31 July 2027</li>\n</ul>\n\n<p>Applications are submitted through our online admissions portal. Required documents include academic transcripts, certificates, identification, and passport-sized photographs.</p>\n\n<p>For detailed requirements and to begin your application, please visit the Admissions section of this website or contact the Admissions Office directly.</p>', NULL, NULL),
(5, 2, 'ar', 'القبول مفتوح الآن للعام الدراسي 2027', 'باب التقديم للعام 2027 مفتوح الآن. يُدعى الطلاب المحتملون للتقديم لبرامج البكالوريوس والدراسات العليا والشهادات.', '<p>يسرنا الإعلان عن فتح باب القبول للعام الدراسي 2027. يُدعى الطلاب المحتملون من تنزانيا وحول العالم للتقديم لبرامج البكالوريوس والدراسات العليا والدبلوم والشهادات.</p>\n\n<p><strong>مواعيد مهمة:</strong></p>\n<ul>\n    <li>فتح باب التقديم: 1 يناير 2027</li>\n    <li>الموعد النهائي للتقديم المبكر: 30 أبريل 2027</li>\n    <li>الموعد النهائي النهائي: 31 يوليو 2027</li>\n</ul>\n\n<p>تُقدَّم الطلبات عبر بوابة القبول الإلكترونية. تشمل المستندات المطلوبة كشوف الدرجات والشهادات والهوية والصور الشخصية.</p>\n\n<p>لمعرفة المتطلبات التفصيلية وبدء التقديم، يرجى زيارة قسم القبول في هذا الموقع أو التواصل مباشرة مع مكتب القبول.</p>', NULL, NULL),
(6, 2, 'sw', 'Uandikishaji Umefunguliwa kwa Mwaka wa Masomo 2027', 'Maombi ya mwaka 2027 yamefunguliwa. Wanafunzi watarajiwa wanakaribishwa kuomba kwa programu za shahada ya kwanza, uzamili, na vyeti.', '<p>Tunafurahi kutangaza kuwa uandikishaji wa mwaka wa masomo 2027 umefunguliwa. Wanafunzi watarajiwa kutoka Tanzania na kote duniani wanakaribishwa kuomba kwa programu zetu za shahada ya kwanza, uzamili, diploma, na vyeti.</p>\n\n<p><strong>Tarehe muhimu:</strong></p>\n<ul>\n    <li>Maombi yanafunguliwa: 1 Januari 2027</li>\n    <li>Tarehe ya mwisho ya maombi ya mapema: 30 Aprili 2027</li>\n    <li>Tarehe ya mwisho ya maombi ya mwisho: 31 Julai 2027</li>\n</ul>\n\n<p>Maombi yanawasilishwa kupitia mfumo wetu wa mtandao wa uandikishaji. Nyaraka zinazohitajika ni pamoja na nakala za alama, vyeti, kitambulisho, na picha za ukubwa wa pasipoti.</p>\n\n<p>Kwa mahitaji ya kina na kuanza maombi yako, tafadhali tembelea sehemu ya Uandikishaji kwenye tovuti hii au wasiliana moja kwa moja na Ofisi ya Uandikishaji.</p>', NULL, NULL),
(7, 3, 'en', 'Annual Qur\'an Recitation Competition to be Held This Semester', 'The university will host its annual Qur\'an recitation competition, bringing together students from all faculties in a celebration of scholarship and devotion.', '<p>The university is delighted to announce its annual Qur\\\'an recitation competition, scheduled to take place during the current semester. This event brings together students from every faculty in a spirit of friendly competition, scholarly excellence, and spiritual devotion.</p>\n\n<p>Participants will be evaluated by a panel of qualified judges on the accuracy of recitation (tajweed), memorisation (hifz), and the beauty of their delivery. Prizes will be awarded in several categories including full Qur\\\'an memorisation, partial memorisation, and best recitation.</p>\n\n<p>All students are encouraged to participate or attend in support of their peers. Registration details will be announced through the Student Affairs Office.</p>\n\n<p>We look forward to a blessed and inspiring event.</p>', NULL, NULL),
(8, 3, 'ar', 'مسابقة القرآن الكريم السنوية ستُعقد هذا الفصل', 'تستضيف الجامعة مسابقة القرآن الكريم السنوية، حيث تجمع طلاباً من جميع الكليات احتفالاً بالعلم والتدين.', '<p>يسر الجامعة الإعلان عن مسابقة القرآن الكريم السنوية، المقرر عقدها خلال الفصل الدراسي الحالي. يجمع هذا الحدث الطلاب من كل كلية بروح المنافسة الودية والتميز العلمي والتدين الروحي.</p>\n\n<p>سيتم تقييم المشاركين من قبل لجنة من الحكام المؤهلين على دقة التلاوة (التجويد) والحفظ وجمال الأداء. ستُمنح الجوائز في عدة فئات تشمل حفظ القرآن كاملاً والحفظ الجزئي وأفضل تلاوة.</p>\n\n<p>يُشجع جميع الطلاب على المشاركة أو الحضور لدعم أقرانهم. ستُعلن تفاصيل التسجيل عبر مكتب شؤون الطلاب.</p>\n\n<p>نتطلع إلى حدث مبارك وملهم.</p>', NULL, NULL),
(9, 3, 'sw', 'Mashindano ya Mwaka ya Usomaji wa Qur\'ani Yatafanyika Muhula Huu', 'Chuo kitaandaa mashindano yake ya mwaka ya usomaji wa Qur\'ani, kikikusanya wanafunzi kutoka vitivo vyote katika sherehe ya elimu na ibada.', '<p>Chuo kinafurahi kutangaza mashindano yake ya mwaka ya usomaji wa Qur\\\'ani, yaliyopangwa kufanyika katika muhula huu. Tukio hili linakusanya wanafunzi kutoka kila kitivo katika roho ya ushindani wa kirafiki, ubora wa kitaaluma, na ibada ya kiroho.</p>\n\n<p>Washiriki watapimwa na jopo la waamuzi waliohitimu kwa usahihi wa usomaji (tajweed), ukariri (hifz), na uzuri wa uwasilishaji wao. Zawadi zitatolewa katika makundi kadhaa ikiwa ni pamoja na ukariri kamili wa Qur\\\'ani, ukariri wa sehemu, na usomaji bora.</p>\n\n<p>Wanafunzi wote wanahimizwa kushiriki au kuhudhuria kuunga mkono wenzao. Maelezo ya usajili yatatangazwa kupitia Ofisi ya Masuala ya Wanafunzi.</p>\n\n<p>Tunatarajia tukio la baraka na la kuhamasisha.</p>', NULL, NULL),
(10, 4, 'en', 'University Library Expands Digital Resources', 'The university library has significantly expanded its digital collection, adding thousands of academic journals, e-books, and Islamic scholarly texts to support students and faculty.', '<p>The university library is pleased to announce a significant expansion of its digital resources. Students and faculty now have access to thousands of additional academic journals, e-books, and Islamic scholarly texts through the library\\\'s online portal.</p>\n\n<p>New additions include:</p>\n<ul>\n    <li>Full-text access to major international academic databases</li>\n    <li>Digitised classical Islamic texts and commentaries</li>\n    <li>Contemporary e-books in all academic disciplines offered by the university</li>\n    <li>Arabic and Swahili language resources for multilingual research</li>\n</ul>\n\n<p>Access is available on-campus and remotely using university credentials. Library staff are available to assist with searching, citation management, and resource discovery.</p>\n\n<p>We encourage all students and faculty to take advantage of these new resources to enrich their teaching and research.</p>', NULL, NULL),
(11, 4, 'ar', 'مكتبة الجامعة توسع مواردها الرقمية', 'وسعت مكتبة الجامعة مجموعتها الرقمية بشكل كبير، بإضافة آلاف المجلات الأكاديمية والكتب الإلكترونية والنصوص العلمية الإسلامية.', '<p>يسر مكتبة الجامعة الإعلان عن توسع كبير في مواردها الرقمية. أصبح بإمكان الطلاب وأعضاء هيئة التدريس الوصول إلى آلاف المجلات الأكاديمية الإضافية والكتب الإلكترونية والنصوص العلمية الإسلامية من خلال بوابة المكتبة الإلكترونية.</p>\n\n<p>تشمل الإضافات الجديدة:</p>\n<ul>\n    <li>الوصول الكامل إلى قواعد البيانات الأكاديمية الدولية الرئيسية</li>\n    <li>النصوص الإسلامية الكلاسيكية والتعليقات المرقمنة</li>\n    <li>كتب إلكترونية معاصرة في جميع التخصصات الأكاديمية التي تقدمها الجامعة</li>\n    <li>موارد باللغتين العربية والسواحيلية للبحث متعدد اللغات</li>\n</ul>\n\n<p>الوصول متاح داخل الحرم الجامعي وعن بُعد باستخدام بيانات اعتماد الجامعة. موظفو المكتبة متاحون للمساعدة في البحث وإدارة الاستشهادات واكتشاف الموارد.</p>\n\n<p>نشجع جميع الطلاب وأعضاء هيئة التدريس على الاستفادة من هذه الموارد الجديدة لإثراء تدريسهم وأبحاثهم.</p>', NULL, NULL),
(12, 4, 'sw', 'Maktaba ya Chuo Inapanua Rasilimali za Kidijitali', 'Maktaba ya chuo imepanua kwa kiasi kikubwa mkusanyiko wake wa kidijitali, ikiongeza maelfu ya majarida ya kitaaluma, vitabu vya kielektroniki, na maandishi ya Kiislamu.', '<p>Maktaba ya chuo inafurahi kutangaza upanuzi mkubwa wa rasilimali zake za kidijitali. Wanafunzi na walimu sasa wanaweza kufikia maelfu ya majarida ya ziada ya kitaaluma, vitabu vya kielektroniki, na maandishi ya Kiislamu kupitia lango la mtandao la maktaba.</p>\n\n<p>Nyongeza mpya ni pamoja na:</p>\n<ul>\n    <li>Ufikiaji kamili wa hifadhidata kuu za kimataifa za kitaaluma</li>\n    <li>Maandishi ya Kiislamu ya kitamaduni yaliyohifadhiwa kidijitali na fasili zake</li>\n    <li>Vitabu vya kisasa vya kielektroniki katika taaluma zote zinazotolewa na chuo</li>\n    <li>Rasilimali za lugha ya Kiarabu na Kiswahili kwa utafiti wa lugha nyingi</li>\n</ul>\n\n<p>Ufikiaji unapatikana chuoni na kwa mbali kwa kutumia vitambulisho vya chuo. Wafanyakazi wa maktaba wapo kusaidia katika utafutaji, usimamizi wa marejeo, na ugunduzi wa rasilimali.</p>\n\n<p>Tunawatia moyo wanafunzi wote na walimu kutumia rasilimali hizi mpya ili kuimarisha ualimu na utafiti wao.</p>', NULL, NULL),
(13, 5, 'en', 'Research Colloquium on Islamic Finance and Sustainable Development', 'The Faculty of Business Studies will host a research colloquium bringing together scholars and practitioners to discuss Islamic finance and its role in sustainable development.', '<p>The Faculty of Business Studies is pleased to host a research colloquium on the theme \"Islamic Finance and Sustainable Development.\" The event will bring together academics, practitioners, and policymakers to discuss the role of Islamic financial principles in advancing sustainable economic development.</p>\r\n\r\n<p>Topics will include:</p>\r\n<ul>\r\n    <li>Islamic banking and its contribution to financial inclusion</li>\r\n    <li>Sukuk (Islamic bonds) and infrastructure financing</li>\r\n    <li>Zakat and waqf in social welfare systems</li>\r\n    <li>Ethical investment and environmental sustainability</li>\r\n</ul>\r\n\r\n<p>The colloquium will feature keynote presentations, panel discussions, and paper sessions. Researchers from within and outside the university are invited to submit abstracts.</p>\r\n\r\n<p>Further details, including submission deadlines and registration information, will be announced soon.</p>', NULL, NULL),
(14, 5, 'ar', 'ندوة بحثية حول التمويل الإسلامي والتنمية المستدامة', 'تستضيف كلية الدراسات التجارية ندوة بحثية تجمع العلماء والممارسين لمناقشة التمويل الإسلامي ودوره في التنمية المستدامة.', '<p>يسر كلية الدراسات التجارية استضافة ندوة بحثية حول موضوع \"التمويل الإسلامي والتنمية المستدامة\". سيجمع الحدث أكاديميين وممارسين وصناع سياسات لمناقشة دور المبادئ المالية الإسلامية في تعزيز التنمية الاقتصادية المستدامة.</p>\r\n\r\n<p>ستشمل الموضوعات:</p>\r\n<ul>\r\n    <li>المصرفية الإسلامية ومساهمتها في الشمول المالي</li>\r\n    <li>الصكوك وتمويل البنية التحتية</li>\r\n    <li>الزكاة والوقف في أنظمة الرعاية الاجتماعية</li>\r\n    <li>الاستثمار الأخلاقي والاستدامة البيئية</li>\r\n</ul>\r\n\r\n<p>ستتضمن الندوة عروضاً رئيسية وحلقات نقاش وجلسات أوراق بحثية. يُدعى الباحثون من داخل الجامعة وخارجها لتقديم ملخصات.</p>\r\n\r\n<p>سيُعلن عن مزيد من التفاصيل، بما في ذلك مواعيد التقديم ومعلومات التسجيل، قريباً.</p>', NULL, NULL),
(15, 5, 'sw', 'Kongamano la Utafiti kuhusu Fedha za Kiislamu na Maendeleo Endelevu', 'Kitivo cha Masomo ya Biashara kitaandaa kongamano la utafiti likikusanya wanazuoni na wataalamu kujadili fedha za Kiislamu na nafasi yake katika maendeleo endelevu.', '<p>Kitivo cha Masomo ya Biashara kinafurahi kuandaa kongamano la utafiti kuhusu mada \"Fedha za Kiislamu na Maendeleo Endelevu.\" Tukio hili litawakusanya wanataaluma, wataalamu, na watunga sera kujadili nafasi ya kanuni za fedha za Kiislamu katika kuendeleza maendeleo endelevu ya kiuchumi.</p>\r\n\r\n<p>Mada zitajumuisha:</p>\r\n<ul>\r\n    <li>Benki za Kiislamu na mchango wake katika ujumuishaji wa kifedha</li>\r\n    <li>Sukuk (hati funga za Kiislamu) na ufadhili wa miundombinu</li>\r\n    <li>Zaka na wakfu katika mifumo ya ustawi wa jamii</li>\r\n    <li>Uwekezaji wa kimaadili na uendelevu wa mazingira</li>\r\n</ul>\r\n\r\n<p>Kongamano litajumuisha mawasilisho makuu, mijadala ya paneli, na vikao vya karatasi. Watafiti kutoka ndani na nje ya chuo wanakaribishwa kuwasilisha muhtasari.</p>\r\n\r\n<p>Maelezo zaidi, ikiwa ni pamoja na tarehe za mwisho za uwasilishaji na taarifa za usajili, yatatangazwa hivi karibuni.</p>', NULL, NULL);

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

--
-- Table structure for table `pages`
--

CREATE TABLE `pages` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `slug` varchar(255) NOT NULL,
  `template` varchar(255) NOT NULL DEFAULT 'default',
  `status` enum('draft','published') NOT NULL DEFAULT 'draft',
  `show_in_nav` tinyint(1) NOT NULL DEFAULT 0,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `hero_image` varchar(255) 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 `pages`
--

INSERT INTO `pages` (`id`, `slug`, `template`, `status`, `show_in_nav`, `sort_order`, `hero_image`, `created_at`, `updated_at`) VALUES
(1, 'about', 'default', 'published', 0, 1, NULL, '2026-11-10 02:29:45', '2026-11-10 02:29:45'),
(2, 'vision-mission', 'default', 'published', 0, 1, NULL, '2026-11-10 02:29:45', '2026-11-10 02:29:45'),
(3, 'leadership', 'default', 'published', 0, 1, NULL, '2026-11-10 02:29:45', '2026-11-10 02:29:45'),
(4, 'history', 'default', 'published', 1, 4, NULL, '2026-11-10 02:38:21', '2026-11-10 02:38:21');

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

--
-- Table structure for table `page_translations`
--

CREATE TABLE `page_translations` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `page_id` bigint(20) UNSIGNED NOT NULL,
  `locale` varchar(5) NOT NULL,
  `title` varchar(255) NOT NULL,
  `excerpt` text DEFAULT NULL,
  `body` longtext DEFAULT NULL,
  `meta_title` varchar(255) DEFAULT NULL,
  `meta_description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `page_translations`
--

INSERT INTO `page_translations` (`id`, `page_id`, `locale`, `title`, `excerpt`, `body`, `meta_title`, `meta_description`) VALUES
(1, 1, 'en', 'About the University', 'Discover our rich history, our commitment to academic excellence, and our dedication to nurturing the next generation of leaders.', '<h2>Our Foundation</h2><p>Marwa International Islamic University — Zanzibar Branch is dedicated to providing a transformative educational experience. We combine rigorous academic scholarship with Islamic values to prepare students for success in a globalised world.</p><h3>Why We Exist</h3><p>Our institution was founded on the belief that true knowledge must be paired with strong moral character. We provide a learning environment where students are encouraged to think critically, act ethically, and serve their communities with distinction.</p><ul><li><strong>Academic Excellence:</strong> We maintain high standards in teaching, research, and scholarship.</li><li><strong>Islamic Identity:</strong> We foster a deep understanding of Islamic principles and ethics.</li><li><strong>Global Perspective:</strong> We prepare students to engage with a diverse world.</li></ul><h3>A Vision for the Future</h3><p>As we grow, we remain steadfast in our commitment to creating an inclusive, intellectually vibrant community. We invite you to explore our programmes and join us on this journey of discovery.</p>', NULL, NULL),
(2, 2, 'en', 'Vision & Mission', 'Guided by our values, we strive to be a leading institution of higher learning.', '<h2>Our Vision</h2><p>To be a distinguished international Islamic university, recognised for academic excellence, research innovation, and the holistic development of ethical leaders.</p><hr class=\"my-8\"><h2>Our Mission</h2><p>We are committed to:</p><ol><li><strong>Education:</strong> Providing high-quality, internationally recognised academic programmes.</li><li><strong>Research:</strong> Advancing knowledge through rigorous scholarship and research.</li><li><strong>Character:</strong> Instilling Islamic values and ethical responsibility in all members of our community.</li><li><strong>Service:</strong> Contributing to the social and economic development of Zanzibar and beyond.</li></ol>', NULL, NULL),
(3, 3, 'en', 'University Leadership', 'Meet the dedicated individuals guiding our university.', '<p>The university is led by a team of experienced academics and administrators who are dedicated to our mission and values.</p><h3>Office of the Rector</h3><p>The Rector serves as the chief academic and administrative officer of the university, providing strategic direction and ensuring the highest standards of education.</p><h3>Deputy Vice Chancellors</h3><p>Our leadership team includes Deputy Vice Chancellors overseeing Academic Affairs, Administration, and Finance. Together, they work to create an environment where both students and faculty can thrive.</p><blockquote class=\"border-l-4 border-gold pl-4 italic text-gray-600\">\"Our goal is to foster an environment where faith and reason illuminate the path to knowledge.\"</blockquote>', NULL, NULL),
(4, 4, 'en', 'Our History', 'Tracing our roots from humble beginnings to a distinguished international Islamic university.', '<h2>A Legacy of Knowledge</h2><p>Since its founding, Marwa International Islamic University has been driven by a singular vision: to cultivate a learning environment where academic excellence and Islamic values are seamlessly integrated.</p><p>What began as a small initiative to provide accessible, high-quality education to the local community in Zanzibar has grown into a vibrant, international institution. Over the years, we have expanded our faculties, modernized our facilities, and welcomed students and scholars from across the globe.</p><blockquote class=\"border-l-4 border-gold pl-4 italic text-gray-600 my-8 bg-ivory py-4 pr-4\">\"The pursuit of knowledge is a lifelong journey, and we are proud to lay the foundation for our students to become the leaders and thinkers of tomorrow.\"</blockquote><h3>Milestones</h3><ul><li><strong>The Early Years:</strong> Establishing our core faculties in Islamic Studies and Education.</li><li><strong>Expansion:</strong> Introducing programmes in Business, Arts, and Sciences to meet the evolving needs of the modern world.</li><li><strong>Today:</strong> A thriving campus community dedicated to research, innovation, and ethical leadership.</li></ul><p>As we look to the future, we remain steadfast in our commitment to our founding principles, continuously evolving to meet the challenges and opportunities of a changing world.</p>', NULL, NULL);

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

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

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

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

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

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

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

--
-- Table structure for table `program_translations`
--

CREATE TABLE `program_translations` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `academic_program_id` bigint(20) UNSIGNED NOT NULL,
  `locale` varchar(5) NOT NULL,
  `name` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `requirements` text DEFAULT NULL,
  `career_prospects` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `program_translations`
--

INSERT INTO `program_translations` (`id`, `academic_program_id`, `locale`, `name`, `description`, `requirements`, `career_prospects`) VALUES
(1, 1, 'en', 'Bachelor of Arts in Islamic Studies', 'A comprehensive undergraduate programme covering Qur\'anic sciences, Hadith, Islamic jurisprudence, theology, and Islamic history.', 'Secondary school certificate (or equivalent) with a strong academic record and proficiency in Arabic.', 'Graduates pursue careers in education, religious leadership, research, community development, and further postgraduate study.'),
(2, 1, 'ar', 'بكالوريوس الآداب في الدراسات الإسلامية', 'برنامج شامل على مستوى البكالوريوس يغطي علوم القرآن والحديث والفقه والعقيدة والتاريخ الإسلامي.', 'شهادة الثانوية العامة (أو ما يعادلها) بسجل أكاديمي قوي وإتقان اللغة العربية.', 'يعمل الخريجون في التعليم والقيادة الدينية والبحث وتنمية المجتمع والدراسات العليا.'),
(3, 1, 'sw', 'Shahada ya Sanaa katika Masomo ya Kiislamu', 'Programu kamili ya shahada ya kwanza inayohusu sayansi ya Qur\'ani, Hadith, fiqhi, theolojia, na historia ya Kiislamu.', 'Cheti cha sekondari (au sawa) chenye rekodi nzuri ya kitaaluma na umahiri wa Kiarabu.', 'Wahitimu hufanya kazi katika elimu, uongozi wa kidini, utafiti, maendeleo ya jamii, na masomo ya juu.'),
(4, 2, 'en', 'Bachelor of Arts in Qur\'anic Sciences', 'Focused study of the Qur\'an including recitation, exegesis (tafsir), sciences of the Qur\'an, and Arabic linguistic analysis.', 'Secondary school certificate with strong Arabic and Islamic studies background.', 'Graduates work as Qur\'an teachers, imams, and specialists in Islamic education.'),
(5, 2, 'ar', 'بكالوريوس الآداب في علوم القرآن', 'دراسة متخصصة للقرآن الكريم تشمل التلاوة والتفسير وعلوم القرآن والتحليل اللغوي العربي.', 'شهادة الثانوية العامة مع خلفية قوية في العربية والدراسات الإسلامية.', 'يعمل الخريجون كمعلمي القرآن وأئمة ومتخصصين في التربية الإسلامية.'),
(6, 2, 'sw', 'Shahada ya Sanaa katika Sayansi ya Qur\'ani', 'Masomo maalumu ya Qur\'ani ikiwa ni pamoja na usomaji, tafsiri, sayansi ya Qur\'ani, na uchambuzi wa lugha ya Kiarabu.', 'Cheti cha sekondari chenye msingi imara wa Kiarabu na masomo ya Kiislamu.', 'Wahitimu hufanya kazi kama walimu wa Qur\'ani, maimamu, na wataalamu wa elimu ya Kiislamu.'),
(7, 3, 'en', 'Master of Arts in Islamic Studies', 'Advanced postgraduate research programme in Islamic thought, jurisprudence, and contemporary Islamic studies.', 'Bachelor\'s degree in Islamic studies or a related field with a minimum GPA of 3.0.', 'Preparation for doctoral research, academic careers, and senior positions in Islamic institutions.'),
(8, 3, 'ar', 'ماجستير الآداب في الدراسات الإسلامية', 'برنامج بحثي متقدم للدراسات العليا في الفكر الإسلامي والفقه والدراسات الإسلامية المعاصرة.', 'درجة البكالوريوس في الدراسات الإسلامية أو مجال ذي صلة بمعدل لا يقل عن 3.0.', 'التحضير للبحث في الدكتوراه والمسارات الأكاديمية والمناصب العليا في المؤسسات الإسلامية.'),
(9, 3, 'sw', 'Shahada ya Uzamili katika Masomo ya Kiislamu', 'Programu ya utafiti ya juu katika fikra za Kiislamu, fiqhi, na masomo ya Kiislamu ya kisasa.', 'Shahada ya kwanza katika masomo ya Kiislamu au fani inayohusiana na GPA ya chini ya 3.0.', 'Maandalizi ya utafiti wa udaktari, taaluma, na nafasi za juu katika taasisi za Kiislamu.'),
(13, 5, 'en', 'Bachelor of Education (Primary)', 'Comprehensive teacher training programme preparing graduates for primary school teaching across the curriculum.', 'Secondary school certificate with strong academic record.', 'Primary school teacher, education officer, or curriculum specialist.'),
(14, 5, 'ar', 'بكالوريوس التربية (المرحلة الابتدائية)', 'برنامج شامل لإعداد المعلمين للمرحلة الابتدائية في جميع مواد المنهج.', 'شهادة الثانوية العامة بسجل أكاديمي قوي.', 'معلم ابتدائي، مسؤول تعليمي، أو متخصص في المناهج.'),
(15, 5, 'sw', 'Shahada ya Elimu (Msingi)', 'Programu kamili ya mafunzo ya ualimu kwa walimu wa shule za msingi katika mitaala yote.', 'Cheti cha sekondari chenye rekodi nzuri ya kitaaluma.', 'Mwalimu wa msingi, afisa elimu, au mtaalamu wa mitaala.'),
(16, 6, 'en', 'Master of Education in Educational Leadership', 'Postgraduate programme for current and aspiring school leaders, focusing on administration, policy, and educational improvement.', 'Bachelor\'s degree in education or related field with relevant teaching experience.', 'School principal, education administrator, policy advisor, or doctoral candidate.'),
(17, 6, 'ar', 'ماجستير التربية في القيادة التربوية', 'برنامج للدراسات العليا لقادة المدارس الحاليين والطامحين، يركز على الإدارة والسياسات والتحسين التربوي.', 'درجة البكالوريوس في التربية أو مجال ذي صلة مع خبرة تدريسية.', 'مدير مدرسة، مسؤول تعليمي، مستشار سياسات، أو مرشح للدكتوراه.'),
(18, 6, 'sw', 'Shahada ya Uzamili ya Elimu katika Uongozi wa Elimu', 'Programu ya uzamili kwa viongozi wa shule wa sasa na wanaotarajia, ikilenga usimamizi, sera, na uboreshaji wa elimu.', 'Shahada ya kwanza katika elimu au fani inayohusiana na uzoefu wa ualimu.', 'Mkuu wa shule, msimamizi wa elimu, mshauri wa sera, au mgombea wa udaktari.'),
(25, 9, 'en', 'Bachelor of Science in Computer Science', 'Modern programme covering programming, algorithms, databases, networking, and software engineering with Islamic ethics in technology.', 'Secondary school certificate with mathematics and science background.', 'Software developer, systems analyst, database administrator, or IT consultant.'),
(26, 9, 'ar', 'بكالوريوس العلوم في علوم الحاسوب', 'برنامج حديث يشمل البرمجة والخوارزميات وقواعد البيانات والشبكات وهندسة البرمجيات مع الأخلاق الإسلامية في التكنولوجيا.', 'شهادة الثانوية العامة مع خلفية في الرياضيات والعلوم.', 'مطور برمجيات، محلل نظم، مسؤول قواعد بيانات، أو مستشار تقنية معلومات.'),
(27, 9, 'sw', 'Shahada ya Sayansi katika Sayansi ya Kompyuta', 'Programu ya kisasa inayohusu upangaji programu, algoriti, hifadhidata, mitandao, na uhandisi wa programu pamoja na maadili ya Kiislamu katika teknolojia.', 'Cheti cha sekondari chenye msingi wa hisabati na sayansi.', 'Msanidi programu, mchambuzi wa mifumo, msimamizi wa hifadhidata, au mshauri wa TEHAMA.'),
(34, 12, 'en', 'Master of Business Administration (MBA)', 'Advanced postgraduate programme developing strategic management, leadership, and entrepreneurial skills grounded in Islamic business ethics.', 'Bachelor\'s degree with a minimum of 2 years of professional experience.', 'Senior management, consulting, entrepreneurship, or executive leadership.'),
(35, 12, 'ar', 'ماجستير إدارة الأعمال (MBA)', 'برنامج متقدم للدراسات العليا يطور الإدارة الاستراتيجية والقيادة ومهارات ريادة الأعمال المبنية على أخلاقيات الأعمال الإسلامية.', 'درجة البكالوريوس مع خبرة مهنية لا تقل عن سنتين.', 'الإدارة العليا، الاستشارات، ريادة الأعمال، أو القيادة التنفيذية.'),
(36, 12, 'sw', 'Shahada ya Uzamili ya Utawala wa Biashara (MBA)', 'Programu ya juu ya uzamili inayokuza usimamizi wa kimkakati, uongozi, na ujuzi wa ujasiriamali unaozingatia maadili ya biashara ya Kiislamu.', 'Shahada ya kwanza na uzoefu wa kitaalamu wa miaka 2.', 'Usimamizi wa juu, ushauri, ujasiriamali, au uongozi mtendaji.');

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

--
-- 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, 'Super Administrator', 'web', '2026-11-09 07:42:32', '2026-11-09 07:42:32'),
(2, 'Website Administrator', 'web', '2026-11-09 07:42:32', '2026-11-09 07:42:32'),
(3, 'Content Editor', 'web', '2026-11-09 07:42:32', '2026-11-09 07:42:32'),
(4, 'Admissions Officer', 'web', '2026-11-09 07:42:32', '2026-11-09 07:42:32'),
(5, 'Academic Editor', 'web', '2026-11-09 07:42:32', '2026-11-09 07:42:32');

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

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

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

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

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

INSERT INTO `sessions` (`id`, `user_id`, `ip_address`, `user_agent`, `payload`, `last_activity`) VALUES
('p97o73bn7LoCzjra8HUJCIyO269wsKO9kqxZRa6D', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/157.0.0.0 Safari/537.36 Edg/157.0.0.0', 'YTozOntzOjY6Il90b2tlbiI7czo0MDoiRDlXVGN6b2pkaDFSS29MaW5KdnpQd0lXRDM5OHB1cG1OUlFybVMxeSI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6MjE6Imh0dHA6Ly8xMjcuMC4wLjE6ODAwMCI7czo1OiJyb3V0ZSI7czo0OiJob21lIjt9fQ==', 1794312453),
('tJ3si4sjpoKaIe3raFzGcQG1wCJ2uOnWEmlFKSzx', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Safari/537.36', 'YTo0OntzOjY6Il90b2tlbiI7czo0MDoiUWhkRWU5WWhIZ1RJZkgzeWQ4S3pWNVB0SGFheDhrQ1M3VDJDQ2VzbyI7czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6MjE6Imh0dHA6Ly8xMjcuMC4wLjE6ODAwMCI7czo1OiJyb3V0ZSI7czo0OiJob21lIjt9czo2OiJsb2NhbGUiO3M6MjoiZW4iO30=', 1794314647);

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

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

CREATE TABLE `settings` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `key` varchar(255) NOT NULL,
  `value` text DEFAULT NULL,
  `group` varchar(255) NOT NULL DEFAULT 'general',
  `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 `settings`
--

INSERT INTO `settings` (`id`, `key`, `value`, `group`, `created_at`, `updated_at`) VALUES
(1, 'university_name_en', 'Marwa International Islamic University', 'general', '2026-11-09 07:42:33', '2026-11-09 07:42:33'),
(2, 'university_name_ar', 'جامعة مروة الدولية الإسلامية', 'general', '2026-11-09 07:42:33', '2026-11-09 07:42:33'),
(3, 'university_name_sw', 'Chuo Kikuu cha Kimataifa cha Kiislamu cha Marwa', 'general', '2026-11-09 07:42:33', '2026-11-09 07:42:33'),
(4, 'branch_name', 'Zanzibar Branch', 'general', '2026-11-09 07:42:33', '2026-11-09 07:42:33'),
(5, 'contact_address', 'Zanzibar, Tanzania', 'general', '2026-11-09 07:42:33', '2026-11-09 07:42:33'),
(6, 'contact_phone', '+255 (0) 770 000 000', 'general', '2026-11-09 07:42:33', '2026-11-09 07:42:33'),
(7, 'contact_email', 'info@marwauniversityzanzibar.ac.tz', 'general', '2026-11-09 07:42:33', '2026-11-09 07:42:33'),
(8, 'contact_whatsapp', '+255 (0) 770 000 000', 'general', '2026-11-09 07:42:33', '2026-11-09 07:42:33'),
(9, 'office_hours', 'Monday – Friday: 08:00 – 16:00 (EAT)', 'general', '2026-11-09 07:42:33', '2026-11-09 07:42:33'),
(10, 'google_maps_embed', '', 'general', '2026-11-09 07:42:33', '2026-11-09 07:42:33'),
(11, 'admissions_open', '0', 'general', '2026-11-09 07:42:33', '2026-11-09 07:42:33'),
(12, 'meta_description', 'Marwa International Islamic University — Zanzibar Branch offers an environment where rigorous scholarship meets Islamic values.', 'general', '2026-11-10 06:49:40', '2026-11-10 06:49:40'),
(13, 'og_image', 'images/og-image.jpg', 'general', '2026-11-10 06:49:40', '2026-11-10 06:49:40');

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

--
-- Table structure for table `social_links`
--

CREATE TABLE `social_links` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `platform` varchar(255) NOT NULL,
  `url` varchar(255) NOT NULL,
  `icon` varchar(255) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `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 `social_links`
--

INSERT INTO `social_links` (`id`, `platform`, `url`, `icon`, `is_active`, `sort_order`, `created_at`, `updated_at`) VALUES
(1, 'facebook', 'https://facebook.com/yourpage', NULL, 1, 1, '2026-11-09 15:27:55', '2026-11-09 15:27:55'),
(2, 'instagram', 'https://instagram.com/yourpage', NULL, 1, 2, '2026-11-09 15:27:55', '2026-11-09 15:27:55'),
(3, 'youtube', 'https://youtube.com/@yourchannel', NULL, 1, 3, '2026-11-09 15:27:55', '2026-11-09 15:27:55');

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

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

CREATE TABLE `users` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `email_verified_at` timestamp NULL DEFAULT NULL,
  `password` varchar(255) NOT NULL,
  `remember_token` varchar(100) 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`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 'Super Administrator', 'mussaamell@gmail.com', '2026-11-09 07:42:33', '$2y$12$zX2FkAIqx.GJoQIcb06oBugSwDFuTAjtm4/kq/8L4v8l/bM.WMrzq', NULL, '2026-11-09 07:42:33', '2026-11-10 04:31:58');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `academic_programs`
--
ALTER TABLE `academic_programs`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `academic_programs_slug_unique` (`slug`),
  ADD KEY `academic_programs_department_id_foreign` (`department_id`),
  ADD KEY `academic_programs_faculty_id_foreign` (`faculty_id`);

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

--
-- 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 `contact_messages`
--
ALTER TABLE `contact_messages`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `departments`
--
ALTER TABLE `departments`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `departments_slug_unique` (`slug`),
  ADD KEY `departments_faculty_id_foreign` (`faculty_id`);

--
-- Indexes for table `department_translations`
--
ALTER TABLE `department_translations`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `department_translations_department_id_locale_unique` (`department_id`,`locale`);

--
-- Indexes for table `events`
--
ALTER TABLE `events`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `events_slug_unique` (`slug`);

--
-- Indexes for table `event_translations`
--
ALTER TABLE `event_translations`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `event_translations_event_id_locale_unique` (`event_id`,`locale`);

--
-- Indexes for table `faculties`
--
ALTER TABLE `faculties`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `faculties_slug_unique` (`slug`);

--
-- Indexes for table `faculty_translations`
--
ALTER TABLE `faculty_translations`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `faculty_translations_faculty_id_locale_unique` (`faculty_id`,`locale`);

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

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

--
-- Indexes for table `faq_translations`
--
ALTER TABLE `faq_translations`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `faq_translations_faqs_id_locale_unique` (`faqs_id`,`locale`);

--
-- Indexes for table `gallery_categories`
--
ALTER TABLE `gallery_categories`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `gallery_categories_slug_unique` (`slug`);

--
-- Indexes for table `gallery_category_translations`
--
ALTER TABLE `gallery_category_translations`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `gallery_category_translations_gallery_category_id_locale_unique` (`gallery_category_id`,`locale`);

--
-- Indexes for table `gallery_images`
--
ALTER TABLE `gallery_images`
  ADD PRIMARY KEY (`id`),
  ADD KEY `gallery_images_gallery_category_id_foreign` (`gallery_category_id`);

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

--
-- Indexes for table `hero_slide_translations`
--
ALTER TABLE `hero_slide_translations`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `hero_slide_translations_hero_slide_id_locale_unique` (`hero_slide_id`,`locale`);

--
-- 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 `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 `news`
--
ALTER TABLE `news`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `news_slug_unique` (`slug`),
  ADD KEY `news_news_category_id_foreign` (`news_category_id`);

--
-- Indexes for table `news_categories`
--
ALTER TABLE `news_categories`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `news_categories_slug_unique` (`slug`);

--
-- Indexes for table `news_category_translations`
--
ALTER TABLE `news_category_translations`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `news_category_translations_news_category_id_locale_unique` (`news_category_id`,`locale`);

--
-- Indexes for table `news_translations`
--
ALTER TABLE `news_translations`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `news_translations_news_id_locale_unique` (`news_id`,`locale`);

--
-- Indexes for table `pages`
--
ALTER TABLE `pages`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `pages_slug_unique` (`slug`);

--
-- Indexes for table `page_translations`
--
ALTER TABLE `page_translations`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `page_translations_page_id_locale_unique` (`page_id`,`locale`);

--
-- 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 UNIQUE KEY `permissions_name_guard_name_unique` (`name`,`guard_name`);

--
-- Indexes for table `program_translations`
--
ALTER TABLE `program_translations`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `program_translations_academic_program_id_locale_unique` (`academic_program_id`,`locale`);

--
-- 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 `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 `settings`
--
ALTER TABLE `settings`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `settings_key_unique` (`key`);

--
-- Indexes for table `social_links`
--
ALTER TABLE `social_links`
  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 `academic_programs`
--
ALTER TABLE `academic_programs`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- Constraints for dumped tables
--

--
-- Constraints for table `academic_programs`
--
ALTER TABLE `academic_programs`
  ADD CONSTRAINT `academic_programs_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `departments` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `academic_programs_faculty_id_foreign` FOREIGN KEY (`faculty_id`) REFERENCES `faculties` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `departments`
--
ALTER TABLE `departments`
  ADD CONSTRAINT `departments_faculty_id_foreign` FOREIGN KEY (`faculty_id`) REFERENCES `faculties` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `department_translations`
--
ALTER TABLE `department_translations`
  ADD CONSTRAINT `department_translations_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `departments` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `event_translations`
--
ALTER TABLE `event_translations`
  ADD CONSTRAINT `event_translations_event_id_foreign` FOREIGN KEY (`event_id`) REFERENCES `events` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `faculty_translations`
--
ALTER TABLE `faculty_translations`
  ADD CONSTRAINT `faculty_translations_faculty_id_foreign` FOREIGN KEY (`faculty_id`) REFERENCES `faculties` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `faq_translations`
--
ALTER TABLE `faq_translations`
  ADD CONSTRAINT `faq_translations_faqs_id_foreign` FOREIGN KEY (`faqs_id`) REFERENCES `faqs` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `gallery_category_translations`
--
ALTER TABLE `gallery_category_translations`
  ADD CONSTRAINT `gallery_category_translations_gallery_category_id_foreign` FOREIGN KEY (`gallery_category_id`) REFERENCES `gallery_categories` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `gallery_images`
--
ALTER TABLE `gallery_images`
  ADD CONSTRAINT `gallery_images_gallery_category_id_foreign` FOREIGN KEY (`gallery_category_id`) REFERENCES `gallery_categories` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `hero_slide_translations`
--
ALTER TABLE `hero_slide_translations`
  ADD CONSTRAINT `hero_slide_translations_hero_slide_id_foreign` FOREIGN KEY (`hero_slide_id`) REFERENCES `hero_slides` (`id`) ON DELETE CASCADE;

--
-- 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 `news`
--
ALTER TABLE `news`
  ADD CONSTRAINT `news_news_category_id_foreign` FOREIGN KEY (`news_category_id`) REFERENCES `news_categories` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `news_category_translations`
--
ALTER TABLE `news_category_translations`
  ADD CONSTRAINT `news_category_translations_news_category_id_foreign` FOREIGN KEY (`news_category_id`) REFERENCES `news_categories` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `news_translations`
--
ALTER TABLE `news_translations`
  ADD CONSTRAINT `news_translations_news_id_foreign` FOREIGN KEY (`news_id`) REFERENCES `news` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `page_translations`
--
ALTER TABLE `page_translations`
  ADD CONSTRAINT `page_translations_page_id_foreign` FOREIGN KEY (`page_id`) REFERENCES `pages` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `program_translations`
--
ALTER TABLE `program_translations`
  ADD CONSTRAINT `program_translations_academic_program_id_foreign` FOREIGN KEY (`academic_program_id`) REFERENCES `academic_programs` (`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;

/*!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 */;
