-- phpMyAdmin SQL Dump
-- version 5.1.1
-- https://www.phpmyadmin.net/
--
-- Hôte : 127.0.0.1
-- Généré le : sam. 08 août 2026 à 13:19
-- Version du serveur : 10.4.22-MariaDB
-- Version de PHP : 8.1.2

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

--
-- Base de données : `igf_bi`
--

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

--
-- Structure de la table `admin_sessions`
--

CREATE TABLE `admin_sessions` (
  `sid` varchar(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `expires` datetime DEFAULT NULL,
  `data` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Déchargement des données de la table `admin_sessions`
--

INSERT INTO `admin_sessions` (`sid`, `expires`, `data`, `created_at`, `updated_at`) VALUES
('nBk7g0XUXv7PDW18E0iSfnY7W-R18QAK', '2026-08-07 02:27:02', '{\"cookie\":{\"originalMaxAge\":28800000,\"expires\":\"2026-08-07T01:32:03.583Z\",\"httpOnly\":true,\"path\":\"/\"},\"isAdmin\":true}', '2026-08-06 17:32:03', '2026-08-06 18:27:02');

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

--
-- Structure de la table `articles`
--

CREATE TABLE `articles` (
  `id` int(11) NOT NULL,
  `title_fr` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL,
  `title_en` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `slug` varchar(270) COLLATE utf8mb4_unicode_ci NOT NULL,
  `excerpt_fr` varchar(400) COLLATE utf8mb4_unicode_ci DEFAULT '',
  `excerpt_en` varchar(400) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `body_fr` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `body_en` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cover_image` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `category_id` int(11) DEFAULT NULL,
  `is_published` tinyint(1) DEFAULT 1,
  `is_featured` tinyint(1) DEFAULT 0,
  `published_at` datetime DEFAULT NULL,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Déchargement des données de la table `articles`
--

INSERT INTO `articles` (`id`, `title_fr`, `title_en`, `slug`, `excerpt_fr`, `excerpt_en`, `body_fr`, `body_en`, `cover_image`, `category_id`, `is_published`, `is_featured`, `published_at`, `created_at`, `updated_at`) VALUES
(1, 'L\'IGF Burundi lance ses activités pour l\'année', 'IGF Burundi launches this year\'s activities', 'ligf-burundi-lance-ses-activites-pour-lannee', 'Le comité multi-acteurs de l\'IGF Burundi annonce le lancement de ses activités, avec un accent particulier sur l\'inclusion numérique et la cybersécurité.', 'The IGF Burundi multi-stakeholder committee announces the launch of its activities, with a particular focus on digital inclusion and cybersecurity.', 'Le comité de l\'IGF Burundi a le plaisir d\'annoncer le lancement officiel de ses activités pour cette année. Au programme : des ateliers thématiques, des consultations multi-acteurs et la préparation du forum national annuel.\n\nCette année, une attention particulière sera portée à deux axes prioritaires : l\'inclusion numérique des jeunes et des femmes en milieu rural, et le renforcement des capacités en cybersécurité pour les petites entreprises burundaises.\n\nNous invitons toutes les parties prenantes intéressées à nous rejoindre dans cette démarche.', 'The IGF Burundi committee is pleased to announce the official launch of its activities for this year. On the agenda: thematic workshops, multi-stakeholder consultations, and preparation for the annual national forum.\n\nThis year, particular attention will be given to two priority areas: digital inclusion for youth and women in rural areas, and building cybersecurity capacity for small Burundian businesses.\n\nWe invite all interested stakeholders to join us in this effort.', NULL, NULL, 1, 0, '2026-08-06 17:30:48', '2026-08-06 17:30:48', '2026-08-06 17:30:48'),
(2, 'Pourquoi la gouvernance de l\'Internet concerne chaque Burundais', 'Why Internet governance matters to every Burundian', 'pourquoi-la-gouvernance-de-linternet-concerne-chaque-burundais', 'Accès à Internet, protection des données, liberté d\'expression en ligne : un tour d\'horizon des enjeux qui touchent directement la vie numérique des citoyens.', 'Internet access, data protection, freedom of expression online: an overview of the issues that directly affect citizens\' digital lives.', 'Quand on parle de « gouvernance de l\'Internet », on pense souvent à des discussions techniques réservées à des experts. En réalité, ces décisions touchent directement la vie quotidienne de chaque Burundais connecté.\n\nL\'IGF Burundi existe précisément pour rendre ces discussions plus accessibles et plus inclusives, en donnant une place à la voix des citoyens aux côtés de celle des experts et des décideurs.', 'When people hear \"Internet governance,\" they often think of technical discussions reserved for experts. In reality, these decisions directly affect the daily life of every connected Burundian.\n\nIGF Burundi exists precisely to make these discussions more accessible and more inclusive, giving citizens a voice alongside experts and decision-makers.', NULL, NULL, 1, 0, '2026-08-06 17:30:48', '2026-08-06 17:30:48', '2026-08-06 17:30:48'),
(3, 'Appel à candidatures : rejoignez le comité multi-acteurs', 'Call for applications: join our multi-stakeholder committee', 'appel-a-candidatures-rejoignez-le-comite-multi-acteurs', 'L\'IGF Burundi recherche des volontaires motivés issus de différents secteurs pour renforcer son comité d\'organisation.', 'IGF Burundi is looking for motivated volunteers from different sectors to strengthen its organizing committee.', 'Vous êtes passionné par les enjeux numériques et souhaitez contribuer activement à la gouvernance de l\'Internet au Burundi ? L\'IGF Burundi lance un appel à candidatures pour élargir son comité multi-acteurs.\n\nLes candidatures peuvent être soumises via notre formulaire de contact.', 'Are you passionate about digital issues and want to actively contribute to Internet governance in Burundi? IGF Burundi is launching a call for applications to expand its multi-stakeholder committee.\n\nApplications can be submitted via our contact form.', NULL, NULL, 1, 0, '2026-08-06 17:30:48', '2026-08-06 17:30:48', '2026-08-06 17:30:48');

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

--
-- Structure de la table `categories`
--

CREATE TABLE `categories` (
  `id` int(11) NOT NULL,
  `name_fr` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name_en` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `slug` varchar(110) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Déchargement des données de la table `categories`
--

INSERT INTO `categories` (`id`, `name_fr`, `name_en`, `slug`, `created_at`, `updated_at`) VALUES
(1, 'Gouvernance de l\'Internet', 'Internet Governance', 'gouvernance-de-linternet', '2026-08-06 17:30:48', '2026-08-06 17:30:48'),
(2, 'Cybersécurité', 'Cybersecurity', 'cybersecurite', '2026-08-06 17:30:48', '2026-08-06 17:30:48'),
(3, 'Jeunesse et numérique', 'Youth and Digital', 'jeunesse-et-numerique', '2026-08-06 17:30:48', '2026-08-06 17:30:48'),
(4, 'Inclusion numérique', 'Digital Inclusion', 'inclusion-numerique', '2026-08-06 17:30:48', '2026-08-06 17:30:48'),
(5, 'Droits numériques', 'Digital Rights', 'droits-numeriques', '2026-08-06 17:30:48', '2026-08-06 17:30:48');

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

--
-- Structure de la table `chat_messages`
--

CREATE TABLE `chat_messages` (
  `id` int(11) NOT NULL,
  `session_id` int(11) NOT NULL,
  `role` enum('user','assistant') COLLATE utf8mb4_unicode_ci NOT NULL,
  `content` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `answer_source` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT '',
  `created_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Structure de la table `chat_sessions`
--

CREATE TABLE `chat_sessions` (
  `id` int(11) NOT NULL,
  `session_id` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
  `language` varchar(2) COLLATE utf8mb4_unicode_ci DEFAULT 'fr',
  `created_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Structure de la table `contact_messages`
--

CREATE TABLE `contact_messages` (
  `id` int(11) NOT NULL,
  `name` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(254) COLLATE utf8mb4_unicode_ci NOT NULL,
  `subject` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT '',
  `message` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `language` varchar(2) COLLATE utf8mb4_unicode_ci DEFAULT 'fr',
  `is_read` tinyint(1) DEFAULT 0,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Structure de la table `documents`
--

CREATE TABLE `documents` (
  `id` int(11) NOT NULL,
  `title` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `file` varchar(500) COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_public` tinyint(1) DEFAULT 1,
  `extracted_text` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Structure de la table `events`
--

CREATE TABLE `events` (
  `id` int(11) NOT NULL,
  `title_fr` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL,
  `title_en` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `slug` varchar(270) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description_fr` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `description_en` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `location_fr` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT '',
  `location_en` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `theme_fr` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT '',
  `theme_en` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `start_date` datetime NOT NULL,
  `end_date` datetime DEFAULT NULL,
  `registration_url` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT '',
  `programme_url` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT '',
  `cover_image` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_published` tinyint(1) DEFAULT 1,
  `manually_closed` tinyint(1) DEFAULT 0,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Déchargement des données de la table `events`
--

INSERT INTO `events` (`id`, `title_fr`, `title_en`, `slug`, `description_fr`, `description_en`, `location_fr`, `location_en`, `theme_fr`, `theme_en`, `start_date`, `end_date`, `registration_url`, `programme_url`, `cover_image`, `is_published`, `manually_closed`, `created_at`, `updated_at`) VALUES
(1, 'Forum national IGF Burundi', 'IGF Burundi National Forum', 'forum-national-igf-burundi', 'Le rendez-vous annuel de la gouvernance de l\'Internet au Burundi. Une journée de panels, d\'ateliers et de discussions ouvertes réunissant gouvernement, secteur privé, société civile, monde académique et communauté technique.', 'The annual gathering on Internet governance in Burundi. A day of panels, workshops, and open discussions bringing together government, private sector, civil society, academia, and the technical community.', 'Bujumbura, Burundi', 'Bujumbura, Burundi', 'L\'innovation numérique au service du développement durable', 'Building Burundi\'s digital governance together', '2026-09-25 06:00:00', '2026-09-25 16:30:00', 'igf.bi', 'igf.bi', '/media/events/1786040797051-IGF1.png', 1, 0, '2026-08-06 17:30:48', '2026-08-06 18:26:37'),
(2, 'Atelier : Cybersécurité pour les petites entreprises', 'Workshop: Cybersecurity for small businesses', 'atelier-cybersecurite-pour-les-petites-entreprises', 'Un atelier pratique destiné aux petites et moyennes entreprises burundaises souhaitant renforcer la sécurité de leurs outils numériques.', 'A hands-on workshop for small and medium Burundian businesses looking to strengthen the security of their digital tools.', 'Bujumbura, Burundi', 'Bujumbura, Burundi', '', '', '2026-08-03 15:30:00', '0000-00-00 00:00:00', '', '', NULL, 1, 0, '2026-08-06 17:30:48', '2026-08-06 18:27:02');

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

--
-- Structure de la table `faqs`
--

CREATE TABLE `faqs` (
  `id` int(11) NOT NULL,
  `question_fr` varchar(300) COLLATE utf8mb4_unicode_ci NOT NULL,
  `question_en` varchar(300) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `answer_fr` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `answer_en` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `order` int(11) DEFAULT 0,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Déchargement des données de la table `faqs`
--

INSERT INTO `faqs` (`id`, `question_fr`, `question_en`, `answer_fr`, `answer_en`, `order`, `created_at`, `updated_at`) VALUES
(1, 'Qu\'est-ce que l\'IGF Burundi ?', 'What is IGF Burundi?', 'L\'IGF Burundi est la déclinaison nationale du Forum sur la Gouvernance de l\'Internet (Internet Governance Forum), une initiative des Nations Unies qui réunit les différents acteurs concernés par Internet — gouvernement, secteur privé, société civile, monde académique et communauté technique — autour d\'un dialogue ouvert sur les enjeux numériques au Burundi.', 'IGF Burundi is the national chapter of the Internet Governance Forum, a United Nations initiative that brings together the different stakeholders involved with the Internet — government, private sector, civil society, academia, and the technical community — for open dialogue on digital issues in Burundi.', 0, '2026-08-06 17:30:48', '2026-08-06 17:30:48'),
(2, 'Qui peut participer aux activités de l\'IGF Burundi ?', 'Who can take part in IGF Burundi\'s activities?', 'Toute personne intéressée par les enjeux liés à Internet au Burundi peut participer : institutions publiques, entreprises technologiques, organisations de la société civile, chercheurs, étudiants, journalistes et citoyens. Le forum est ouvert à tous, dans une logique multi-acteurs.', 'Anyone interested in Internet-related issues in Burundi can take part: public institutions, tech companies, civil society organizations, researchers, students, journalists, and citizens. The forum is open to all, in a multi-stakeholder spirit.', 0, '2026-08-06 17:30:48', '2026-08-06 17:30:48'),
(3, 'Comment puis-je participer au forum annuel ?', 'How can I take part in the annual forum?', 'Les inscriptions au forum annuel sont annoncées à l\'avance sur ce site, dans la rubrique Événements, ainsi que sur nos réseaux sociaux. Vous pouvez également nous contacter via le formulaire de contact pour être informé des prochaines éditions.', 'Registration for the annual forum is announced in advance on this site, in the Events section, as well as on our social media. You can also reach us via the contact form to be informed about upcoming editions.', 0, '2026-08-06 17:30:48', '2026-08-06 17:30:48'),
(4, 'L\'IGF Burundi est-il lié au gouvernement burundais ?', 'Is IGF Burundi affiliated with the Burundian government?', 'L\'IGF Burundi fonctionne selon un modèle multi-acteurs : le gouvernement est l\'un des participants au dialogue, aux côtés du secteur privé, de la société civile, du monde académique et de la communauté technique, mais aucun acteur ne dirige seul le processus.', 'IGF Burundi operates on a multi-stakeholder model: the government is one participant in the dialogue, alongside the private sector, civil society, academia, and the technical community, but no single actor leads the process alone.', 0, '2026-08-06 17:30:48', '2026-08-06 17:30:48'),
(5, 'Comment puis-je proposer un sujet de discussion ou intervenir lors d\'un événement ?', 'How can I propose a discussion topic or speak at an event?', 'Vous pouvez nous soumettre votre proposition via le formulaire de contact, en précisant le sujet, le format souhaité (panel, atelier, présentation) et vos coordonnées. Notre équipe vous répondra dans un délai de moins de 24 heures.', 'You can submit your proposal via the contact form, specifying the topic, the desired format (panel, workshop, presentation), and your contact details. Our team will respond within less than 24 hours.', 0, '2026-08-06 17:30:48', '2026-08-06 17:30:48'),
(6, 'Où puis-je trouver les rapports et documents des éditions précédentes ?', 'Where can I find reports and documents from previous editions?', 'Les rapports, comptes-rendus et documents de référence sont disponibles dans la rubrique Ressources du site, une fois publiés par notre équipe.', 'Reports, summaries, and reference documents are available in the Resources section of the site, once published by our team.', 0, '2026-08-06 17:30:48', '2026-08-06 17:30:48');

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

--
-- Structure de la table `gallery_images`
--

CREATE TABLE `gallery_images` (
  `id` int(11) NOT NULL,
  `image` varchar(500) COLLATE utf8mb4_unicode_ci NOT NULL,
  `caption_fr` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT '',
  `caption_en` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `event_id` int(11) DEFAULT NULL,
  `order` int(11) DEFAULT 0,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Structure de la table `hero_slides`
--

CREATE TABLE `hero_slides` (
  `id` int(11) NOT NULL,
  `image` varchar(500) COLLATE utf8mb4_unicode_ci NOT NULL,
  `caption` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT '',
  `order` int(11) DEFAULT 0,
  `is_published` tinyint(1) DEFAULT 1,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Déchargement des données de la table `hero_slides`
--

INSERT INTO `hero_slides` (`id`, `image`, `caption`, `order`, `is_published`, `created_at`, `updated_at`) VALUES
(1, '/media/hero-slides/1786037910152-IGF1.png', 'IGF panel', 1, 1, '2026-08-06 17:38:30', '2026-08-06 17:38:30'),
(2, '/media/hero-slides/1786037924695-IGF2.png', 'IGF panel', 2, 1, '2026-08-06 17:38:44', '2026-08-06 18:23:21'),
(3, '/media/hero-slides/1786037939871-IGF3.png', 'IGF panel', 3, 1, '2026-08-06 17:38:59', '2026-08-06 18:23:16'),
(4, '/media/hero-slides/1786040523379-IGF4.png', 'IGF panel', 4, 1, '2026-08-06 18:22:03', '2026-08-06 18:22:03'),
(5, '/media/hero-slides/1786040539482-IGF5.png', 'IGF panel', 5, 1, '2026-08-06 18:22:19', '2026-08-06 18:22:19'),
(6, '/media/hero-slides/1786040554324-IGF6.png', 'IGF panel', 6, 1, '2026-08-06 18:22:34', '2026-08-06 18:22:34'),
(7, '/media/hero-slides/1786040577028-IGF7.png', 'IGF panel', 7, 1, '2026-08-06 18:22:57', '2026-08-06 18:22:57'),
(8, '/media/hero-slides/1786040590154-IGF8.png', 'IGF panel', 8, 1, '2026-08-06 18:23:10', '2026-08-06 18:23:10');

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

--
-- Structure de la table `important_links`
--

CREATE TABLE `important_links` (
  `id` int(11) NOT NULL,
  `label_fr` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL,
  `label_en` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `url` varchar(500) COLLATE utf8mb4_unicode_ci NOT NULL,
  `order` int(11) DEFAULT 0,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Structure de la table `knowledge_chunks`
--

CREATE TABLE `knowledge_chunks` (
  `id` int(11) NOT NULL,
  `source_type` enum('knowledge_item','faq','document','article','page') COLLATE utf8mb4_unicode_ci NOT NULL,
  `source_id` int(11) NOT NULL,
  `language` varchar(2) COLLATE utf8mb4_unicode_ci DEFAULT 'fr',
  `content` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `embedding` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`embedding`)),
  `created_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Structure de la table `knowledge_items`
--

CREATE TABLE `knowledge_items` (
  `id` int(11) NOT NULL,
  `question_fr` varchar(300) COLLATE utf8mb4_unicode_ci NOT NULL,
  `question_en` varchar(300) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `answer_fr` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `answer_en` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_published` tinyint(1) DEFAULT 1,
  `order` int(11) DEFAULT 0,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Structure de la table `pages`
--

CREATE TABLE `pages` (
  `id` int(11) NOT NULL,
  `title_fr` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
  `title_en` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `slug` varchar(220) COLLATE utf8mb4_unicode_ci NOT NULL,
  `body_fr` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `body_en` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_published` tinyint(1) DEFAULT 1,
  `order` int(11) DEFAULT 0,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Déchargement des données de la table `pages`
--

INSERT INTO `pages` (`id`, `title_fr`, `title_en`, `slug`, `body_fr`, `body_en`, `is_published`, `order`, `created_at`, `updated_at`) VALUES
(1, 'À propos de l\'IGF Burundi', 'About IGF Burundi', 'a-propos', 'L\'IGF Burundi (Internet Governance Forum Burundi) est la déclinaison\nnationale du Forum sur la Gouvernance de l\'Internet, une initiative\nmondiale portée par les Nations Unies. Il réunit dans un même espace de\ndialogue les représentants du gouvernement, du secteur privé, de la\nsociété civile, du monde académique et de la communauté technique\nautour des enjeux liés à Internet au Burundi.\n\nNotre mission est de favoriser un Internet ouvert, sûr et accessible à\ntous les Burundais, en encourageant un dialogue multi-acteurs sur des\nsujets tels que l\'accès à Internet, la cybersécurité, la protection des\ndonnées, la liberté d\'expression en ligne, et l\'inclusion numérique des\njeunes et des femmes.\n\n## Nos objectifs\n\n- Sensibiliser le public burundais aux enjeux de la gouvernance de l\'Internet ;\n- Favoriser un dialogue inclusif entre gouvernement, secteur privé, société civile et communauté technique ;\n- Renforcer les capacités locales sur les questions numériques ;\n- Représenter les intérêts du Burundi dans les discussions régionales et mondiales sur la gouvernance de l\'Internet ;\n- Promouvoir un accès à Internet plus large, plus sûr et plus abordable pour tous les Burundais.\n\n## Notre structure\n\nL\'IGF Burundi est animé par un comité multi-acteurs bénévole, composé\nde représentants des différents secteurs concernés par la gouvernance\nde l\'Internet au Burundi.', 'IGF Burundi (Internet Governance Forum Burundi) is the national chapter\nof the Internet Governance Forum, a global initiative led by the United\nNations. It brings together government representatives, the private\nsector, civil society, academia, and the technical community in a\nshared space for dialogue on Internet-related issues in Burundi.\n\nOur mission is to foster an open, safe, and accessible Internet for all\nBurundians, by encouraging multi-stakeholder dialogue on topics such as\nInternet access, cybersecurity, data protection, freedom of expression\nonline, and digital inclusion for youth and women.\n\n## Our objectives\n\n- Raise public awareness in Burundi about Internet governance issues;\n- Foster inclusive dialogue between government, private sector, civil society, and the technical community;\n- Strengthen local capacity on digital issues;\n- Represent Burundi\'s interests in regional and global discussions on Internet governance;\n- Promote wider, safer, and more affordable Internet access for all Burundians.\n\n## Our structure\n\nIGF Burundi is run by a volunteer multi-stakeholder committee, made up\nof representatives from the various sectors involved in Internet\ngovernance in Burundi.', 1, 1, '2026-08-06 17:30:48', '2026-08-06 17:30:48');

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

--
-- Structure de la table `partners`
--

CREATE TABLE `partners` (
  `id` int(11) NOT NULL,
  `name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
  `logo` varchar(500) COLLATE utf8mb4_unicode_ci NOT NULL,
  `website_url` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT '',
  `partner_type` enum('sponsor','institutional') COLLATE utf8mb4_unicode_ci DEFAULT 'sponsor',
  `order` int(11) DEFAULT 0,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Structure de la table `people`
--

CREATE TABLE `people` (
  `id` int(11) NOT NULL,
  `full_name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
  `title_fr` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT '',
  `title_en` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `bio_fr` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `bio_en` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `photo` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `role_type` enum('committee','speaker') COLLATE utf8mb4_unicode_ci DEFAULT 'committee',
  `event_id` int(11) DEFAULT NULL,
  `linkedin_url` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT '',
  `order` int(11) DEFAULT 0,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Structure de la table `stats`
--

CREATE TABLE `stats` (
  `id` int(11) NOT NULL,
  `value` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `label_fr` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL,
  `label_en` varchar(150) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `order` int(11) DEFAULT 0,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Structure de la table `testimonials`
--

CREATE TABLE `testimonials` (
  `id` int(11) NOT NULL,
  `quote_fr` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `quote_en` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `author_name` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL,
  `author_role_fr` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT '',
  `author_role_en` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `photo` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `order` int(11) DEFAULT 0,
  `is_published` tinyint(1) DEFAULT 1,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Index pour les tables déchargées
--

--
-- Index pour la table `admin_sessions`
--
ALTER TABLE `admin_sessions`
  ADD PRIMARY KEY (`sid`);

--
-- Index pour la table `articles`
--
ALTER TABLE `articles`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `slug` (`slug`),
  ADD KEY `category_id` (`category_id`);

--
-- Index pour la table `categories`
--
ALTER TABLE `categories`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `slug` (`slug`);

--
-- Index pour la table `chat_messages`
--
ALTER TABLE `chat_messages`
  ADD PRIMARY KEY (`id`),
  ADD KEY `session_id` (`session_id`);

--
-- Index pour la table `chat_sessions`
--
ALTER TABLE `chat_sessions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `session_id` (`session_id`);

--
-- Index pour la table `contact_messages`
--
ALTER TABLE `contact_messages`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `documents`
--
ALTER TABLE `documents`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `events`
--
ALTER TABLE `events`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `slug` (`slug`);

--
-- Index pour la table `faqs`
--
ALTER TABLE `faqs`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `gallery_images`
--
ALTER TABLE `gallery_images`
  ADD PRIMARY KEY (`id`),
  ADD KEY `event_id` (`event_id`);

--
-- Index pour la table `hero_slides`
--
ALTER TABLE `hero_slides`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `important_links`
--
ALTER TABLE `important_links`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `knowledge_chunks`
--
ALTER TABLE `knowledge_chunks`
  ADD PRIMARY KEY (`id`),
  ADD KEY `knowledge_chunks_source_type_source_id` (`source_type`,`source_id`);

--
-- Index pour la table `knowledge_items`
--
ALTER TABLE `knowledge_items`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `pages`
--
ALTER TABLE `pages`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `slug` (`slug`);

--
-- Index pour la table `partners`
--
ALTER TABLE `partners`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `people`
--
ALTER TABLE `people`
  ADD PRIMARY KEY (`id`),
  ADD KEY `event_id` (`event_id`);

--
-- Index pour la table `stats`
--
ALTER TABLE `stats`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `testimonials`
--
ALTER TABLE `testimonials`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT pour les tables déchargées
--

--
-- AUTO_INCREMENT pour la table `articles`
--
ALTER TABLE `articles`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT pour la table `categories`
--
ALTER TABLE `categories`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT pour la table `chat_messages`
--
ALTER TABLE `chat_messages`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `chat_sessions`
--
ALTER TABLE `chat_sessions`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `contact_messages`
--
ALTER TABLE `contact_messages`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `documents`
--
ALTER TABLE `documents`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `events`
--
ALTER TABLE `events`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT pour la table `faqs`
--
ALTER TABLE `faqs`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT pour la table `gallery_images`
--
ALTER TABLE `gallery_images`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `hero_slides`
--
ALTER TABLE `hero_slides`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT pour la table `important_links`
--
ALTER TABLE `important_links`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `knowledge_chunks`
--
ALTER TABLE `knowledge_chunks`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `knowledge_items`
--
ALTER TABLE `knowledge_items`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `pages`
--
ALTER TABLE `pages`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT pour la table `partners`
--
ALTER TABLE `partners`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `people`
--
ALTER TABLE `people`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `stats`
--
ALTER TABLE `stats`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `testimonials`
--
ALTER TABLE `testimonials`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- Contraintes pour les tables déchargées
--

--
-- Contraintes pour la table `articles`
--
ALTER TABLE `articles`
  ADD CONSTRAINT `articles_ibfk_1` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`) ON DELETE SET NULL ON UPDATE CASCADE;

--
-- Contraintes pour la table `chat_messages`
--
ALTER TABLE `chat_messages`
  ADD CONSTRAINT `chat_messages_ibfk_1` FOREIGN KEY (`session_id`) REFERENCES `chat_sessions` (`id`) ON DELETE NO ACTION ON UPDATE CASCADE;

--
-- Contraintes pour la table `gallery_images`
--
ALTER TABLE `gallery_images`
  ADD CONSTRAINT `gallery_images_ibfk_1` FOREIGN KEY (`event_id`) REFERENCES `events` (`id`) ON DELETE SET NULL ON UPDATE CASCADE;

--
-- Contraintes pour la table `people`
--
ALTER TABLE `people`
  ADD CONSTRAINT `people_ibfk_1` FOREIGN KEY (`event_id`) REFERENCES `events` (`id`) ON DELETE SET NULL 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 */;
