Boarding Pass
-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: May 29, 2025 at 01:10 PM
-- Server version: 10.4.32-MariaDB
-- PHP Version: 8.0.30
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: `petra`
--
-- --------------------------------------------------------
--
-- Table structure for table `about_texts`
--
CREATE TABLE `about_texts` (
`id` int(11) NOT NULL,
`section` enum('mission','vision') NOT NULL,
`content` text NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `about_texts`
--
INSERT INTO `about_texts` (`id`, `section`, `content`, `created_at`) VALUES
(2, 'mission', 'To deliver superior quality tissue products that enhance everyday comfort and hygiene while maintaining sustainable and ethical production practices. We strive to exceed customer expectations through innovation, reliability, and exceptional service.', '2025-05-25 18:39:54'),
(3, 'vision', 'To be the leading tissue products manufacturer in the region, recognized for our commitment to quality, sustainability, and customer satisfaction. We aim to expand our reach while maintaining the values that have defined us since 1985.', '2025-05-25 18:40:03');
-- --------------------------------------------------------
--
-- Table structure for table `applications`
--
CREATE TABLE `applications` (
`id` int(11) NOT NULL,
`full_name` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`phone` varchar(20) DEFAULT NULL,
`position_id` int(11) DEFAULT NULL,
`resume` varchar(255) DEFAULT NULL,
`cover_letter` text DEFAULT NULL,
`applied_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `applications`
--
INSERT INTO `applications` (`id`, `full_name`, `email`, `phone`, `position_id`, `resume`, `cover_letter`, `applied_at`) VALUES
(1, 'Bachar Karhani', 'bacharkarhani0@gmail.com', '71620569', 1, '1748439900_abdelhadi merheb_cv 2 2 (1).pdf', '', '2025-05-28 13:45:00'),
(2, 'moustafa', 'moustafa@gmail.com', '71084103', 3, '1748440375_Abdelhadi_Merheb_CV_Corrected.docx', '', '2025-05-28 13:52:55');
-- --------------------------------------------------------
--
-- Table structure for table `benefits`
--
CREATE TABLE `benefits` (
`id` int(11) NOT NULL,
`icon` varchar(255) DEFAULT NULL,
`title` varchar(255) NOT NULL,
`description` text NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `benefits`
--
INSERT INTO `benefits` (`id`, `icon`, `title`, `description`, `created_at`) VALUES
(1, 'fas fa-star', 'Established Reputation', 'Over 35 years of excellence in the tissue industry with a strong market presence and trusted brand.', '2025-05-28 13:09:07'),
(2, 'fas fa-users', 'Collaborative Environment', 'Teamwork and respect are the foundation of our company culture. We value every team member\'s contribution.', '2025-05-28 13:09:07'),
(3, 'fas fa-chart-line', 'Growth Opportunities', 'We invest in our people with training, development programs, and clear career advancement paths.', '2025-05-28 13:09:07'),
(4, 'fas fa-lightbulb', 'Innovation Focus', 'Join a company that values craftsmanship and forward-thinking solutions in product development.', '2025-05-28 13:09:07'),
(5, 'fas fa-heartbeat', 'Health & Wellness', 'Comprehensive health insurance and wellness programs to support our employees\' wellbeing.', '2025-05-28 13:09:07'),
(6, 'fas fa-gift', 'Competitive Benefits', 'Attractive compensation packages, performance bonuses, and employee recognition programs.', '2025-05-28 13:09:07');
-- --------------------------------------------------------
--
-- Table structure for table `blogs`
--
CREATE TABLE `blogs` (
`id` int(11) NOT NULL,
`title` varchar(255) NOT NULL,
`author` varchar(255) DEFAULT NULL,
`date` date DEFAULT NULL,
`image` varchar(255) DEFAULT NULL,
`content` text DEFAULT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `blogs`
--
INSERT INTO `blogs` (`id`, `title`, `author`, `date`, `image`, `content`, `created_at`) VALUES
(2, 'Sustainable Practices in Tissue Manufacturing', 'Admin', '2023-06-15', '1748436356_photo-1556228453-efd6c1ff04f6.jfif', 'Discover how Petra Tissue is leading the way in eco-friendly production methods that reduce environmental impact without compromising quality.', '2025-05-28 12:45:33'),
(3, 'The Importance of Quality Tissue Products for Hygiene', 'Health Expert', '2023-05-28', '1748436363_photo-1556228578-8c89e6adf883.jfif', 'Learn why choosing high-quality tissue products matters for personal and public health, and how Petra Tissue meets these essential standards.', '2025-05-28 12:45:33'),
(4, 'Innovations in Tissue Product Development', 'Product Team', '2023-04-10', '1748436372_photo-1486312338219-ce68d2c6f44d.jfif', 'Explore the latest technological advancements in tissue products and how Petra Tissue incorporates innovation into our manufacturing process.', '2025-05-28 12:45:33'),
(5, 'Behind the Scenes: A Day at Petra Tissue Factory', 'Operations', '2023-03-22', '1748436381_photo-1499750310107-5fef28a66643.jfif', 'Take a virtual tour of our state-of-the-art manufacturing facility and meet the team behind our premium tissue products.', '2025-05-28 12:45:33'),
(6, 'Choosing the Right Tissue Products for Your Business', 'Sales Team', '2023-02-15', '1748436387_photo-1581337204873-ef36aa186caa.jfif', 'A guide for commercial buyers on selecting the optimal tissue solutions for different business needs and environments.', '2025-05-28 12:45:33'),
(7, 'The Benefits of Private Label Tissue Products', 'Marketing', '2023-01-30', '1748436393_photo-1605000797499-95a51c5269ae.jfif', 'How retailers and distributors can grow their brands with high-quality private label tissue products from Petra Tissue.', '2025-05-28 12:45:33');
-- --------------------------------------------------------
--
-- Table structure for table `careers`
--
CREATE TABLE `careers` (
`id` int(11) NOT NULL,
`title` varchar(255) NOT NULL,
`department` varchar(255) DEFAULT NULL,
`description` text DEFAULT NULL,
`requirements` text DEFAULT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
`is_active` tinyint(1) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `careers`
--
INSERT INTO `careers` (`id`, `title`, `department`, `description`, `requirements`, `created_at`, `is_active`) VALUES
(1, 'Production Supervisor', 'Production', 'We are seeking an experienced Production Supervisor to oversee our tissue manufacturing operations. The ideal candidate will ensure efficient production while maintaining our high quality standards.', '• Bachelor\'s degree in Engineering or related field\r\n• 5+ years experience in manufacturing supervision\r\n• Strong knowledge of production processes and quality control\r\n• Excellent leadership and communication skills\r\n• Experience in paper/tissue manufacturing preferred', '2025-05-28 13:25:56', 1),
(2, 'Quality Control Technician', 'Quality Assurance', 'Join our QA team to ensure all our tissue products meet the highest standards of quality and safety. You\'ll conduct tests, monitor production processes, and help maintain our quality certifications.', '• Degree in Chemistry, Biology, or related scientific field\n• 2+ years experience in quality control\n• Knowledge of quality assurance methodologies\n• Attention to detail and analytical skills\n• Experience with ISO standards is a plus', '2025-05-28 13:25:56', 1),
(3, 'Sales Representative', 'Sales & Marketing', 'We\'re looking for a dynamic Sales Representative to join our team, responsible for building relationships with distributors and retailers to expand our market presence.', '• Bachelor\'s degree in Business or related field\n• 3+ years in B2B sales\n• Proven track record of meeting sales targets\n• Excellent negotiation and communication skills\n• Knowledge of FMCG industry preferred', '2025-05-28 13:25:56', 1);
-- --------------------------------------------------------
--
-- Table structure for table `categories`
--
CREATE TABLE `categories` (
`id` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `categories`
--
INSERT INTO `categories` (`id`, `name`, `created_at`) VALUES
(1, 'Facial Tissues', '2025-05-25 15:52:02'),
(2, 'Towel Tissues', '2025-05-25 15:52:02'),
(3, 'Toilet Tissues', '2025-05-25 15:52:02');
-- --------------------------------------------------------
--
-- Table structure for table `company_story`
--
CREATE TABLE `company_story` (
`id` int(11) NOT NULL,
`title` varchar(255) DEFAULT NULL,
`content` text DEFAULT NULL,
`image` varchar(255) DEFAULT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `company_story`
--
INSERT INTO `company_story` (`id`, `title`, `content`, `image`, `created_at`) VALUES
(2, 'A Legacy of Quality and Care', 'Established in 1985, Petra Tissue Company has grown into a leading name in tissue manufacturing, built on a foundation of craftsmanship, innovation, and integrity. With a deep understanding of our customers\' needs, we produce tissue products that combine gentle softness, high absorbency, and consistent quality.\r\n\r\nOur journey began with a simple mission: to deliver hygiene and comfort through responsibly made products that cater to everyday needs. Backed by decades of expertise and advanced production technology, Petra Tissue continues to be a name synonymous with excellence in the tissue industry.\r\n\r\nFrom our humble beginnings to becoming a trusted brand across multiple markets, our commitment to quality has never wavered. We take pride in our heritage while continuously innovating to meet the evolving needs of our customers.', '1748418358_photo-1581337204873-ef36aa186caa.jfif', '2025-05-28 07:45:58');
-- --------------------------------------------------------
--
-- Table structure for table `contact_us_section`
--
CREATE TABLE `contact_us_section` (
`id` int(11) NOT NULL,
`address1` varchar(255) DEFAULT NULL,
`address2` varchar(255) DEFAULT NULL,
`phone_number` varchar(50) DEFAULT NULL,
`email` varchar(100) DEFAULT NULL,
`business_hours` text DEFAULT NULL,
`map1` text DEFAULT NULL,
`map2` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `contact_us_section`
--
INSERT INTO `contact_us_section` (`id`, `address1`, `address2`, `phone_number`, `email`, `business_hours`, `map1`, `map2`) VALUES
(1, 'Lebanon : Tripoli , El Mina, Mahjar El Sohi', 'Oman : AL Batinah South Governorate Sultanate of Oman', '+961 06625510', 'info@petratissue.com', 'Sunday – Thursday: 8:00 AM – 5:00 PM\r\nFriday – Saturday: Closed', '<iframe src=\"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3289.959663463262!2d35.84305902554568!3d34.45317179645621!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x1521f59000dbc669%3A0x542e68a3bd10a176!2sPetra%20Tissue%20-%20Malak%20%26%20Co.%20for%20Trd.%20%26%20Ind.!5e0!3m2!1sar!2slb!4v1748505677060!5m2!1sar!2slb\" width=\"600\" height=\"450\" style=\"border:0;\" allowfullscreen=\"\" loading=\"lazy\" referrerpolicy=\"no-referrer-when-downgrade\"></iframe>', '<iframe src=\"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d14615.173417219565!2d57.92466518693789!3d23.683346857800466!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3e8dc5242415a3d7%3A0xa81daf74a2379146!2zUGV0cmEgVGlzc3VlIC0gT21hbiDYtNix2YPYqSDZhdmE2YMg2Ygg2LTYsdmD2KfZhyDZhNmE2KrYrNin2LHYqSDZiCDYp9mE2LXZhtin2LnYqQ!5e0!3m2!1sar!2slb!4v1748505707812!5m2!1sar!2slb\" width=\"600\" height=\"450\" style=\"border:0;\" allowfullscreen=\"\" loading=\"lazy\" referrerpolicy=\"no-referrer-when-downgrade\"></iframe>');
-- --------------------------------------------------------
--
-- Table structure for table `core_values`
--
CREATE TABLE `core_values` (
`id` int(11) NOT NULL,
`icon` varchar(255) DEFAULT NULL,
`title` varchar(255) NOT NULL,
`description` text NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `core_values`
--
INSERT INTO `core_values` (`id`, `icon`, `title`, `description`, `created_at`) VALUES
(1, 'fas fa-medal', 'Quality', 'We prioritize eco-friendly practices in our production processes and material sourcing.', '2025-05-28 08:49:22'),
(2, 'fas fa-leaf', 'Sustainability', 'We prioritize eco-friendly practices in our production processes and material sourcing.', '2025-05-28 08:54:22'),
(3, 'fas fa-users', 'Customer Focus', 'We listen to our customers and continuously innovate to meet their evolving needs.', '2025-05-28 08:56:33'),
(4, 'fas fa-handshake', 'Integrity', 'We conduct our business with honesty, transparency, and respect for all stakeholders.', '2025-05-28 08:56:56');
-- --------------------------------------------------------
--
-- Table structure for table `differentiators`
--
CREATE TABLE `differentiators` (
`id` int(11) NOT NULL,
`icon` varchar(255) DEFAULT NULL,
`title` varchar(255) NOT NULL,
`description` text NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `differentiators`
--
INSERT INTO `differentiators` (`id`, `icon`, `title`, `description`, `created_at`) VALUES
(1, 'fas fa-check-circle', 'Consistent Quality', 'We use premium raw materials and strict quality controls to ensure every product meets our high standards.', '2025-05-28 11:50:27'),
(2, 'fas fa-broom', 'Hygienic Production', 'Our facilities follow modern, eco-conscious manufacturing practices to guarantee product safety and cleanliness.', '2025-05-28 11:52:23'),
(3, 'fas fa-tags', 'Custom Solutions', 'Private labeling and flexible packaging options tailored to your brand or business needs.', '2025-05-28 11:52:46'),
(4, 'fas fa-truck', 'Reliable Distribution', 'A strong logistics network ensures timely delivery across local and international markets.', '2025-05-28 11:53:13');
-- --------------------------------------------------------
--
-- Table structure for table `emails`
--
CREATE TABLE `emails` (
`id` int(11) NOT NULL,
`name` varchar(100) DEFAULT NULL,
`email` varchar(100) DEFAULT NULL,
`phone_number` varchar(50) DEFAULT NULL,
`subject` varchar(255) DEFAULT NULL,
`message` text DEFAULT NULL,
`submitted_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `emails`
--
INSERT INTO `emails` (`id`, `name`, `email`, `phone_number`, `subject`, `message`, `submitted_at`) VALUES
(1, 'Bachar Karhani', 'bacharkarhani0@gmail.com', '71620569', 'Private Labeling', 'ss', '2025-05-29 08:44:35');
-- --------------------------------------------------------
--
-- Table structure for table `faqs`
--
CREATE TABLE `faqs` (
`id` int(11) NOT NULL,
`question` varchar(500) NOT NULL,
`answer` text NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `faqs`
--
INSERT INTO `faqs` (`id`, `question`, `answer`, `created_at`) VALUES
(1, 'What types of tissue products does Petra Tissue manufacture?', 'Petra Tissue specializes in manufacturing a complete range of premium tissue products including facial tissues, towel tissues, and toilet tissues. We also offer private labeling options for businesses looking to brand our high-quality products.', '2025-05-28 14:01:25'),
(2, 'How can I place a bulk or wholesale order?', 'For bulk or wholesale orders, please contact our sales team through the contact form or directly via email/phone. We\'ll guide you through our ordering process, which may include signing a formal agreement or submitting a purchase order depending on the order size.', '2025-05-28 14:01:38');
-- --------------------------------------------------------
--
-- Table structure for table `highlights`
--
CREATE TABLE `highlights` (
`id` int(11) NOT NULL,
`icon` varchar(255) DEFAULT NULL,
`title` varchar(255) NOT NULL,
`description` text NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `highlights`
--
INSERT INTO `highlights` (`id`, `icon`, `title`, `description`, `created_at`) VALUES
(1, 'fas fa-calendar-alt', '35+ Years Experience', 'Decades of expertise in perfecting tissue products that combine comfort, strength, and value.', '2025-05-28 18:09:30'),
(2, 'fas fa-leaf', 'Sustainable Materials', 'Responsibly sourced fibers and eco-friendly production methods that reduce environmental impact.', '2025-05-28 18:10:55'),
(3, 'fas fa-flask', 'Advanced Technology', 'Innovative manufacturing processes that deliver superior quality with consistent results.', '2025-05-28 18:11:17'),
(4, 'fas fa-globe', 'Global Standards', 'Products that meet and exceed international quality and safety requirements.', '2025-05-28 18:11:34');
-- --------------------------------------------------------
--
-- Table structure for table `leadership`
--
CREATE TABLE `leadership` (
`id` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`title` varchar(255) NOT NULL,
`image` varchar(255) DEFAULT NULL,
`facebook` varchar(255) DEFAULT NULL,
`twitter` varchar(255) DEFAULT NULL,
`linkedin` varchar(255) DEFAULT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `leadership`
--
INSERT INTO `leadership` (`id`, `name`, `title`, `image`, `facebook`, `twitter`, `linkedin`, `created_at`) VALUES
(1, 'John Smiths', 'Chief Executive Officer', '1748423449_photo-1560250097-0b93528c311a.jfif', '#', '#', '#', '2025-05-28 09:09:16'),
(2, 'Sarah Johnson', 'Operations Director', '1748423519_photo-1573497019940-1c28c88b4f3e.jfif', '#', '#', '#', '2025-05-28 09:11:59'),
(3, 'Michael Brown', 'Sales Director', '1748423550_photo-1507003211169-0a1dd7228f2d.jfif', '#', '#', '#', '2025-05-28 09:12:30'),
(4, 'Emily Davis', 'Quality Assurance Manager', '1748423685_photo-1494790108377-be9c29b29330.jfif', '', '', '', '2025-05-28 09:14:45');
-- --------------------------------------------------------
--
-- Table structure for table `products`
--
CREATE TABLE `products` (
`id` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`image` varchar(255) DEFAULT NULL,
`description` text DEFAULT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
`category_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `products`
--
INSERT INTO `products` (`id`, `name`, `image`, `description`, `created_at`, `category_id`) VALUES
(2, 'Soft Touch Tissue', '1748432510_download (2).jfif', 'Premium soft tissue for daily comfort.', '2025-05-28 11:38:45', 1),
(3, 'Ultra Clean Tissue', '1748432518_download (1).jfif', 'Strong and absorbent for all uses.', '2025-05-28 11:38:45', 1),
(4, 'Eco Fresh Towels', '1748432483_images (1).jfif', 'Environmentally friendly disposable towels.', '2025-05-28 11:38:45', 2),
(5, 'Aqua Dry Towels', '1748432467_download (2).jfif', 'Super absorbent for kitchen and bath.', '2025-05-28 11:38:45', 2),
(6, 'Petra Napkins Classic', '1748432459_download.jfif', 'Elegant napkins for dining tables.', '2025-05-28 11:38:45', 3),
(7, 'Petra Napkins Floral', '1748432449_images.jfif', 'Printed napkins with floral design.', '2025-05-28 11:38:45', 3);
-- --------------------------------------------------------
--
-- Table structure for table `roles`
--
CREATE TABLE `roles` (
`id` int(11) NOT NULL,
`name` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `roles`
--
INSERT INTO `roles` (`id`, `name`) VALUES
(1, 'admin'),
(2, 'user');
-- --------------------------------------------------------
--
-- Table structure for table `stats`
--
CREATE TABLE `stats` (
`id` int(11) NOT NULL,
`label` varchar(255) NOT NULL,
`value` int(11) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `stats`
--
INSERT INTO `stats` (`id`, `label`, `value`, `created_at`) VALUES
(1, 'Years of Excellence', 38, '2025-05-28 18:21:15'),
(2, 'Product Variants', 24, '2025-05-28 18:21:33'),
(3, 'Satisfied Clients', 1500, '2025-05-28 18:21:43'),
(4, 'Countries Served', 2, '2025-05-28 18:21:54');
-- --------------------------------------------------------
--
-- Table structure for table `subscription`
--
CREATE TABLE `subscription` (
`id` int(11) NOT NULL,
`email` varchar(255) NOT NULL,
`subscribed_at` datetime DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `subscription`
--
INSERT INTO `subscription` (`id`, `email`, `subscribed_at`) VALUES
(1, 'bacharkarhani0@gmail.com', '2025-05-29 12:02:38'),
(2, 'asdasdasd@gmail.com', '2025-05-29 12:14:49');
-- --------------------------------------------------------
--
-- Table structure for table `testimonials`
--
CREATE TABLE `testimonials` (
`id` int(11) NOT NULL,
`author_name` varchar(255) NOT NULL,
`author_title` varchar(255) DEFAULT NULL,
`quote` text NOT NULL,
`rating` int(11) DEFAULT 5,
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `testimonials`
--
INSERT INTO `testimonials` (`id`, `author_name`, `author_title`, `quote`, `rating`, `created_at`) VALUES
(1, 'Hussein M.', 'Retail Chain Manager', 'As a supermarket chain, we demand both quality and reliability from our suppliers. Petra Tissue has consistently delivered on both fronts, with products that our customers love and a supply chain we can depend on.', 5, '2025-05-28 18:36:39'),
(2, 'Layla S.', 'Hotel Group Procurement', 'We switched to Petra Tissue products five years ago and haven’t looked back. Their premium quality tissues have significantly improved guest satisfaction in our hotel chain while reducing our costs through bulk purchasing options.', 4, '2025-05-28 18:37:51');
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`password` varchar(255) NOT NULL,
`phone` varchar(20) DEFAULT NULL,
`dob` date DEFAULT NULL,
`role_id` int(11) DEFAULT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `name`, `email`, `password`, `phone`, `dob`, `role_id`, `created_at`) VALUES
(1, 'Bachar Karhani', 'bacharkarhani0@gmail.com', '$2a$12$tjCQfsTxJJMjXlBHdsoou.yKO.VXZwfySdgo4xoo9kSzklKA6kRGu', '71620569', '2015-05-07', 1, '2025-05-25 17:17:35');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `about_texts`
--
ALTER TABLE `about_texts`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `applications`
--
ALTER TABLE `applications`
ADD PRIMARY KEY (`id`),
ADD KEY `position_id` (`position_id`);
--
-- Indexes for table `benefits`
--
ALTER TABLE `benefits`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `blogs`
--
ALTER TABLE `blogs`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `careers`
--
ALTER TABLE `careers`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `categories`
--
ALTER TABLE `categories`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `company_story`
--
ALTER TABLE `company_story`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `contact_us_section`
--
ALTER TABLE `contact_us_section`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `core_values`
--
ALTER TABLE `core_values`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `differentiators`
--
ALTER TABLE `differentiators`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `emails`
--
ALTER TABLE `emails`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `faqs`
--
ALTER TABLE `faqs`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `highlights`
--
ALTER TABLE `highlights`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `leadership`
--
ALTER TABLE `leadership`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `products`
--
ALTER TABLE `products`
ADD PRIMARY KEY (`id`),
ADD KEY `category_id` (`category_id`);
--
-- Indexes for table `roles`
--
ALTER TABLE `roles`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `stats`
--
ALTER TABLE `stats`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `subscription`
--
ALTER TABLE `subscription`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `email` (`email`);
--
-- Indexes for table `testimonials`
--
ALTER TABLE `testimonials`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `email` (`email`),
ADD KEY `role_id` (`role_id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `about_texts`
--
ALTER TABLE `about_texts`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `applications`
--
ALTER TABLE `applications`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `benefits`
--
ALTER TABLE `benefits`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `blogs`
--
ALTER TABLE `blogs`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `careers`
--
ALTER TABLE `careers`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `categories`
--
ALTER TABLE `categories`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `company_story`
--
ALTER TABLE `company_story`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `contact_us_section`
--
ALTER TABLE `contact_us_section`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `core_values`
--
ALTER TABLE `core_values`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `differentiators`
--
ALTER TABLE `differentiators`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `emails`
--
ALTER TABLE `emails`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `faqs`
--
ALTER TABLE `faqs`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `highlights`
--
ALTER TABLE `highlights`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `leadership`
--
ALTER TABLE `leadership`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `products`
--
ALTER TABLE `products`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT for table `roles`
--
ALTER TABLE `roles`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `stats`
--
ALTER TABLE `stats`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `subscription`
--
ALTER TABLE `subscription`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `testimonials`
--
ALTER TABLE `testimonials`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `applications`
--
ALTER TABLE `applications`
ADD CONSTRAINT `applications_ibfk_1` FOREIGN KEY (`position_id`) REFERENCES `careers` (`id`) ON DELETE CASCADE;
--
-- Constraints for table `products`
--
ALTER TABLE `products`
ADD CONSTRAINT `products_ibfk_1` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`) ON DELETE SET NULL;
--
-- Constraints for table `users`
--
ALTER TABLE `users`
ADD CONSTRAINT `users_ibfk_1` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`);
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 */;
Sindabad File Uploader 1.0, Coded By Sindbad EG ~ The Terrorists