HEX
Server: Apache/2.4.57 (Unix) OpenSSL/1.1.1k
System: Linux server.eshhar.net 4.18.0-553.89.1.el8_10.x86_64 #1 SMP Mon Dec 8 03:53:08 EST 2025 x86_64
User: xdas (1048)
PHP: 7.4.33
Disabled: mail,sendmail
Upload Files
File: /home/xdas/cpmove-xdas/homedir/map.sql
-- phpMyAdmin SQL Dump
-- version 4.7.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: May 25, 2019 at 10:33 PM
-- Server version: 10.1.28-MariaDB
-- PHP Version: 7.1.10

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
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: `map`
--

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

--
-- Table structure for table `ads`
--

CREATE TABLE `ads` (
  `id` int(10) UNSIGNED NOT NULL,
  `img1` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `link1` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description1` text COLLATE utf8mb4_unicode_ci,
  `status1` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1',
  `img2` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `link2` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description2` text COLLATE utf8mb4_unicode_ci,
  `status2` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1',
  `img3` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `link3` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description3` text COLLATE utf8mb4_unicode_ci,
  `status3` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1',
  `img4` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `link4` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description4` text COLLATE utf8mb4_unicode_ci,
  `status4` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1',
  `img5` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `link5` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description5` text COLLATE utf8mb4_unicode_ci,
  `status5` enum('0','1') COLLATE utf8mb4_unicode_ci 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;

--
-- Dumping data for table `ads`
--

INSERT INTO `ads` (`id`, `img1`, `link1`, `description1`, `status1`, `img2`, `link2`, `description2`, `status2`, `img3`, `link3`, `description3`, `status3`, `img4`, `link4`, `description4`, `status4`, `img5`, `link5`, `description5`, `status5`, `created_at`, `updated_at`) VALUES
(1, 'ads/larg/img1_1558526781.jpg', NULL, NULL, '1', NULL, NULL, NULL, '1', NULL, NULL, NULL, '1', NULL, NULL, NULL, '1', NULL, NULL, NULL, '1', '2019-05-22 10:06:23', '2019-05-22 10:06:23');

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

--
-- Table structure for table `catergories_places`
--

CREATE TABLE `catergories_places` (
  `id` int(10) UNSIGNED NOT NULL,
  `name_ar` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name_en` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1',
  `slogen_ar` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `slogen_en` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `cities`
--

CREATE TABLE `cities` (
  `id` int(10) UNSIGNED NOT NULL,
  `name_ar` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name_en` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name_fr` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `country_id` int(10) UNSIGNED 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 `cities`
--

INSERT INTO `cities` (`id`, `name_ar`, `name_en`, `name_fr`, `country_id`, `created_at`, `updated_at`) VALUES
(1, 'الشرقية', 'Ash Sharqiyah', 'Ash Sharqiyah', 59, NULL, NULL),
(2, 'الغربية', 'Al Gharbiyah', 'Al Gharbiyah', 59, NULL, NULL),
(3, 'الدقهلية', 'Ad Daqahliyah', 'Ad Daqahliyah', 59, NULL, NULL),
(4, 'الجيزة', 'Al Jizah', 'Al Jizah', 59, NULL, NULL),
(5, 'المنيا', 'Al Minya', 'Al Minya', 59, NULL, NULL),
(6, 'كفر الشيخ', 'Kafr ash Shaykh', 'Kafr ash Shaykh', 59, NULL, NULL),
(7, 'البحيرة', 'Al Buhayrah', 'Al Buhayrah', 59, NULL, NULL),
(8, 'قنا', 'Qina', 'Qina', 59, NULL, NULL),
(9, 'القاهره', 'Al Qahirah', 'Al Qahirah', 59, NULL, NULL),
(10, 'الاسكندرية', 'Al Iskandariyah', 'Al Iskandariyah', 59, NULL, NULL),
(11, 'الفيوم', 'Al Fayyum', 'Al Fayyum', 59, NULL, NULL),
(12, 'أسيوط', 'Asyut', 'Asyut', 59, NULL, NULL),
(13, 'المنوفية', 'Al Minufiyah', 'Al Minufiyah', 59, NULL, NULL),
(14, 'بني سويف', 'Bani Suwayf', 'Bani Suwayf', 59, NULL, NULL),
(15, 'القليوبية', 'Al Qalyubiyah', 'Al Qalyubiyah', 59, NULL, NULL),
(16, 'أسوان', 'Aswan', 'Assouan', 59, NULL, NULL),
(17, 'شمال سينا', 'Shamal Sina\'', 'Shamal Sina \'', 59, NULL, NULL),
(18, 'سوهاج', 'Suhaj', 'Suhaj', 59, NULL, NULL),
(19, 'جنب سينا', 'Janub Sina\'', 'Janub Sina \'', 59, NULL, NULL),
(20, 'البحر الاحمر', 'Al Bahr al Ahmar', 'Al Bahr al Ahmar', 59, NULL, NULL),
(21, 'الاسماعيلية', 'Al Isma\'iliyah', 'Al Isma\'iliyah', 59, NULL, NULL),
(22, 'دمياط', 'Dumyat', 'Dumyat', 59, NULL, NULL),
(23, 'مطروح', 'Matruh', 'Matruh', 59, NULL, NULL),
(24, 'كما سوايز', 'As Suways', 'Comme suways', 59, NULL, NULL),
(25, 'الوادي الجديد', 'Al Wadi al Jadid', 'Al Wadi al Jadid', 59, NULL, NULL),
(26, 'بور سعيد', 'Bur Sa\'id', 'Bur Sa\'id', 59, NULL, NULL);

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

--
-- Table structure for table `comments`
--

CREATE TABLE `comments` (
  `id` int(10) UNSIGNED NOT NULL,
  `place_id` int(10) UNSIGNED NOT NULL,
  `user_id` int(10) UNSIGNED NOT NULL,
  `rate` int(11) DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `approved` enum('0','1') COLLATE utf8mb4_unicode_ci 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 `contacts`
--

CREATE TABLE `contacts` (
  `id` int(10) UNSIGNED NOT NULL,
  `fname` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `lname` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `massege` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `contacts`
--

INSERT INTO `contacts` (`id`, `fname`, `lname`, `email`, `address`, `massege`, `created_at`, `updated_at`) VALUES
(1, 'elsam', 'hosny', 'shehab_xc@yahoo.com', NULL, 'sss', '2019-05-23 07:57:47', '2019-05-23 07:57:47');

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

--
-- Table structure for table `countries`
--

CREATE TABLE `countries` (
  `id` int(10) UNSIGNED NOT NULL,
  `name_ar` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name_en` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name_fr` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `countries`
--

INSERT INTO `countries` (`id`, `name_ar`, `name_en`, `name_fr`, `code`, `created_at`, `updated_at`) VALUES
(59, 'مصر', 'Egypt', 'Egypte', 'eg', NULL, NULL);

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

--
-- Table structure for table `images`
--

CREATE TABLE `images` (
  `id` int(10) UNSIGNED NOT NULL,
  `place_id` int(10) UNSIGNED NOT NULL,
  `img` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `images`
--

INSERT INTO `images` (`id`, `place_id`, `img`, `created_at`, `updated_at`) VALUES
(3, 2, 'places/larg/image_places_11558608690.png', '2019-05-23 08:51:32', '2019-05-23 08:51:32'),
(4, 2, 'places/larg/image_places_11558612725.jpg', '2019-05-23 09:58:46', '2019-05-23 09:58:46'),
(5, 2, 'places/larg/image_places_21558612726.jpg', '2019-05-23 09:58:47', '2019-05-23 09:58:47'),
(6, 2, 'places/larg/image_places_31558612727.png', '2019-05-23 09:58:47', '2019-05-23 09:58:47');

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

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

CREATE TABLE `migrations` (
  `id` int(10) UNSIGNED NOT NULL,
  `migration` varchar(191) COLLATE utf8mb4_unicode_ci 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, '2014_04_21_153141_create_places_table', 1),
(2, '2014_04_21_153303_create_sliders_table', 1),
(3, '2014_04_21_153322_create_ads_table', 1),
(4, '2014_04_21_153339_create_settings_table', 1),
(5, '2014_04_21_153410_create_pages_table', 1),
(6, '2014_04_21_153825_create_contacts_table', 1),
(7, '2014_04_21_154234_create_catergories_places_table', 1),
(8, '2014_09_21_152931_create_countries_table', 1),
(9, '2014_09_22_102232_create_cities_table', 1),
(10, '2014_10_12_000000_create_users_table', 1),
(11, '2014_10_12_100000_create_password_resets_table', 1),
(12, '2019_04_21_153855_create_images_table', 1),
(13, '2019_04_22_132424_entrust_setup_tables', 1),
(14, '2019_05_12_085147_create_social_medias_table', 1),
(15, '2019_05_16_074555_create_comments_table', 1),
(16, '2019_05_22_090253_create_suggestions_table', 1),
(17, '2019_05_22_090504_create_suggestion__images_table', 1),
(18, '2019_05_25_191903_create_services_table', 2);

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

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

CREATE TABLE `pages` (
  `id` int(10) UNSIGNED NOT NULL,
  `title_ar` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `title_en` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description_en` longtext COLLATE utf8mb4_unicode_ci,
  `description_ar` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `img` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1',
  `slogen_ar` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `slogen_en` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `pages`
--

INSERT INTO `pages` (`id`, `title_ar`, `title_en`, `description_en`, `description_ar`, `img`, `status`, `slogen_ar`, `slogen_en`, `created_at`, `updated_at`) VALUES
(1, 'من نحن', 'about us', NULL, 'من نحن نحن نكون', 'page/larg/page_1558527081.jpg', '1', 'من-نحن', 'about-us', '2019-05-22 10:11:22', '2019-05-22 10:11:22');

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

--
-- Table structure for table `password_resets`
--

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

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

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

CREATE TABLE `permissions` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `display_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `permissions` (`id`, `name`, `display_name`, `description`, `created_at`, `updated_at`) VALUES
(1, 'create', 'Create Record', 'Allow user to create a new DB record', '2019-05-22 07:51:43', '2019-05-22 07:51:43'),
(2, 'edit', 'Edit Record', 'Allow user to edit an existing DB record', '2019-05-22 07:51:43', '2019-05-22 07:51:43'),
(3, 'delete', 'Delete Record', 'Allow user to delete an existing DB record', '2019-05-22 07:51:43', '2019-05-22 07:51:43'),
(4, 'users', 'Manage Users', 'Allow user to manage system users', '2019-05-22 07:51:44', '2019-05-22 07:51:44');

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

--
-- Table structure for table `permission_role`
--

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

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

--
-- Table structure for table `places`
--

CREATE TABLE `places` (
  `id` int(10) UNSIGNED NOT NULL,
  `title_ar` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `title_en` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description_en` longtext COLLATE utf8mb4_unicode_ci,
  `description_ar` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `meta_description_en` text COLLATE utf8mb4_unicode_ci,
  `meta_description_ar` text COLLATE utf8mb4_unicode_ci,
  `let` double DEFAULT NULL,
  `length` double DEFAULT NULL,
  `tags` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `video` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1',
  `slogen_ar` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `slogen_en` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `places`
--

INSERT INTO `places` (`id`, `title_ar`, `title_en`, `description_en`, `description_ar`, `meta_description_en`, `meta_description_ar`, `let`, `length`, `tags`, `video`, `status`, `slogen_ar`, `slogen_en`, `created_at`, `updated_at`) VALUES
(2, 'الفيوم', 'fayom', 'الفيوم', 'الفيوم', NULL, NULL, NULL, NULL, 'الفيوم', 'place/larg/video_place_1558608690.mp4', '1', 'الفيوم', 'fayom', '2019-05-23 08:51:30', '2019-05-23 09:42:54');

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

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

CREATE TABLE `roles` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `display_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `roles`
--

INSERT INTO `roles` (`id`, `name`, `display_name`, `description`, `created_at`, `updated_at`) VALUES
(3, 'Super Admin', 'Admin', 'Full Permission', '2019-05-22 07:49:04', '2019-05-22 07:49:04');

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

--
-- Table structure for table `role_user`
--

CREATE TABLE `role_user` (
  `user_id` int(10) UNSIGNED NOT NULL,
  `role_id` int(10) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `role_user`
--

INSERT INTO `role_user` (`user_id`, `role_id`) VALUES
(1, 3);

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

--
-- Table structure for table `services`
--

CREATE TABLE `services` (
  `id` int(10) UNSIGNED NOT NULL,
  `title_ar` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `title_en` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description_en` longtext COLLATE utf8mb4_unicode_ci,
  `description_ar` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `img` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` enum('0','1') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1',
  `slogen_ar` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `slogen_en` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `services`
--

INSERT INTO `services` (`id`, `title_ar`, `title_en`, `description_en`, `description_ar`, `img`, `status`, `slogen_ar`, `slogen_en`, `created_at`, `updated_at`) VALUES
(1, 'خدمة 1', 'service 1', NULL, 'خدمة الاولي ', NULL, '1', 'خدمة-1', 'service-1', '2019-05-25 17:36:46', '2019-05-25 17:36:46');

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

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

CREATE TABLE `settings` (
  `id` int(10) UNSIGNED NOT NULL,
  `meta_description_ar` text COLLATE utf8mb4_unicode_ci,
  `meta_description_en` text COLLATE utf8mb4_unicode_ci,
  `meta_tags` text COLLATE utf8mb4_unicode_ci,
  `meta_title` text COLLATE utf8mb4_unicode_ci,
  `notes` text COLLATE utf8mb4_unicode_ci,
  `web_name_ar` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `web_name_en` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `owner_name_ar` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `owner_name_en` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `whatsapp` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `web_img` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `logo_img` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `icon_img` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `head_code` text COLLATE utf8mb4_unicode_ci,
  `maintans_status` enum('0','1') COLLATE utf8mb4_unicode_ci 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 `settings`
--

INSERT INTO `settings` (`id`, `meta_description_ar`, `meta_description_en`, `meta_tags`, `meta_title`, `notes`, `web_name_ar`, `web_name_en`, `owner_name_ar`, `owner_name_en`, `phone`, `address`, `whatsapp`, `email`, `web_img`, `logo_img`, `icon_img`, `head_code`, `maintans_status`, `created_at`, `updated_at`) VALUES
(1, NULL, NULL, NULL, NULL, NULL, 'خرائط', 'Map', NULL, NULL, NULL, NULL, NULL, 'Info@map.com', NULL, NULL, NULL, NULL, '0', '2019-05-23 07:08:11', '2019-05-23 07:08:11');

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

--
-- Table structure for table `sliders`
--

CREATE TABLE `sliders` (
  `id` int(10) UNSIGNED NOT NULL,
  `img` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `link` text COLLATE utf8mb4_unicode_ci,
  `title_ar` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `title_en` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `short_desc_ar` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `short_desc_en` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description_ar` text COLLATE utf8mb4_unicode_ci,
  `description_en` text COLLATE utf8mb4_unicode_ci,
  `status` enum('0','1') COLLATE utf8mb4_unicode_ci 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 `social_medias`
--

CREATE TABLE `social_medias` (
  `id` int(10) UNSIGNED NOT NULL,
  `fb` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tw` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `instegram` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `linkedin` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `youtube` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `pinterest` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `rss` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `suggestions`
--

CREATE TABLE `suggestions` (
  `id` int(10) UNSIGNED NOT NULL,
  `description` longtext COLLATE utf8mb4_unicode_ci,
  `video` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_id` int(10) UNSIGNED 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 `suggestions`
--

INSERT INTO `suggestions` (`id`, `description`, `video`, `user_id`, `created_at`, `updated_at`) VALUES
(1, 'مصر جميلة', NULL, 1, '2019-05-23 11:20:27', '2019-05-23 11:20:27'),
(2, 'Rgypt is buity', NULL, 1, '2019-05-23 11:25:25', '2019-05-23 11:25:25'),
(3, 'egypt', NULL, 1, '2019-05-23 11:26:57', '2019-05-23 11:26:57'),
(4, 'egypt', NULL, 1, '2019-05-23 11:27:01', '2019-05-23 11:27:01'),
(5, 'egypt with image', 'upload/suggestion/larg/video_sugget_1558618059.mp4', 1, '2019-05-23 11:27:39', '2019-05-23 11:27:39'),
(6, 'sara', 'upload/suggestion/larg/video_sugget_1558618850.mp4', 1, '2019-05-23 11:40:50', '2019-05-23 11:40:50'),
(7, 'sara', 'upload/suggestion/larg/video_sugget_1558618891.mp4', 1, '2019-05-23 11:41:31', '2019-05-23 11:41:31'),
(8, 'sara', 'upload/suggestion/larg/video_sugget_1558618897.mp4', 1, '2019-05-23 11:41:37', '2019-05-23 11:41:37');

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

--
-- Table structure for table `suggestion__images`
--

CREATE TABLE `suggestion__images` (
  `id` int(10) UNSIGNED NOT NULL,
  `suggestion_id` int(10) UNSIGNED NOT NULL,
  `img` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `suggestion__images`
--

INSERT INTO `suggestion__images` (`id`, `suggestion_id`, `img`, `created_at`, `updated_at`) VALUES
(1, 7, 'upload/image_suggest/larg/image_suggest_11558618891.jpg', '2019-05-23 11:41:35', '2019-05-23 11:41:35'),
(2, 7, 'upload/image_suggest/larg/image_suggest_21558618895.jpg', '2019-05-23 11:41:36', '2019-05-23 11:41:36'),
(3, 7, 'upload/image_suggest/larg/image_suggest_31558618896.jpg', '2019-05-23 11:41:37', '2019-05-23 11:41:37'),
(4, 8, 'upload/image_suggest/larg/image_suggest_11558618897.jpg', '2019-05-23 11:41:38', '2019-05-23 11:41:38'),
(5, 8, 'upload/image_suggest/larg/image_suggest_21558618898.jpg', '2019-05-23 11:41:38', '2019-05-23 11:41:38'),
(6, 8, 'upload/image_suggest/larg/image_suggest_31558618898.jpg', '2019-05-23 11:41:39', '2019-05-23 11:41:39');

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

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

CREATE TABLE `users` (
  `id` int(10) UNSIGNED NOT NULL,
  `fname` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `lname` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `jop` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `country_id` int(10) UNSIGNED DEFAULT NULL,
  `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `users`
--

INSERT INTO `users` (`id`, `fname`, `lname`, `phone`, `address`, `jop`, `email`, `password`, `country_id`, `remember_token`, `created_at`, `updated_at`) VALUES
(1, 'sara', 'adel', NULL, NULL, NULL, 'admin@admin.com', '$2y$10$gtvAJyOWFlmd4tzov3O4z.zu0DQ/iYkxg3d7Q4UDI.DFO9fBEkFqi', 59, 'ehBqpvWMXDpmgMug5yhgDA1S4wjqWmVILv7xTBD6wLvv29yTJCR5X4DHy4nH', NULL, NULL),
(2, 'sara', 'adel', NULL, NULL, NULL, 'user@admin.com', '$2y$10$gtvAJyOWFlmd4tzov3O4z.zu0DQ/iYkxg3d7Q4UDI.DFO9fBEkFqi', 59, NULL, NULL, NULL),
(3, 'sarah', 'Ahmed', '01208815150', 'giza fisal', 'مهندسة', 'sara@admin.com', '$2y$10$dSKEgbXx53bq.H9bf6gK/e55vST2jce2b3AO0ogUokjNl9xYDAu1i', NULL, 'WUBAvhtoB1cznA1px0x4C37gNroaduySAmqrxa437UNVJMs9RcOw7M9B9uV3', '2019-05-23 07:39:06', '2019-05-23 07:39:06');

--
-- Indexes for dumped tables
--

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

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

--
-- Indexes for table `cities`
--
ALTER TABLE `cities`
  ADD PRIMARY KEY (`id`),
  ADD KEY `cities_country_id_index` (`country_id`);

--
-- Indexes for table `comments`
--
ALTER TABLE `comments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `comments_user_id_foreign` (`user_id`),
  ADD KEY `comments_place_id_foreign` (`place_id`);

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

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

--
-- Indexes for table `images`
--
ALTER TABLE `images`
  ADD PRIMARY KEY (`id`),
  ADD KEY `images_place_id_index` (`place_id`);

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

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

--
-- Indexes for table `password_resets`
--
ALTER TABLE `password_resets`
  ADD KEY `password_resets_email_index` (`email`);

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

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

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

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

--
-- Indexes for table `role_user`
--
ALTER TABLE `role_user`
  ADD PRIMARY KEY (`user_id`,`role_id`),
  ADD KEY `role_user_role_id_foreign` (`role_id`);

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

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

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

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

--
-- Indexes for table `suggestions`
--
ALTER TABLE `suggestions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `suggestions_user_id_foreign` (`user_id`);

--
-- Indexes for table `suggestion__images`
--
ALTER TABLE `suggestion__images`
  ADD PRIMARY KEY (`id`),
  ADD KEY `suggestion__images_suggestion_id_index` (`suggestion_id`);

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

--
-- AUTO_INCREMENT for dumped tables
--

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

--
-- AUTO_INCREMENT for table `catergories_places`
--
ALTER TABLE `catergories_places`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `comments`
--
ALTER TABLE `comments`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `sliders`
--
ALTER TABLE `sliders`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `social_medias`
--
ALTER TABLE `social_medias`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

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

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

--
-- Constraints for dumped tables
--

--
-- Constraints for table `cities`
--
ALTER TABLE `cities`
  ADD CONSTRAINT `cities_country_id_foreign` FOREIGN KEY (`country_id`) REFERENCES `countries` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `comments`
--
ALTER TABLE `comments`
  ADD CONSTRAINT `comments_place_id_foreign` FOREIGN KEY (`place_id`) REFERENCES `places` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `comments_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Constraints for table `images`
--
ALTER TABLE `images`
  ADD CONSTRAINT `images_place_id_foreign` FOREIGN KEY (`place_id`) REFERENCES `places` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `permission_role`
--
ALTER TABLE `permission_role`
  ADD CONSTRAINT `permission_role_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `permission_role_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Constraints for table `role_user`
--
ALTER TABLE `role_user`
  ADD CONSTRAINT `role_user_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `role_user_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Constraints for table `suggestions`
--
ALTER TABLE `suggestions`
  ADD CONSTRAINT `suggestions_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Constraints for table `suggestion__images`
--
ALTER TABLE `suggestion__images`
  ADD CONSTRAINT `suggestion__images_suggestion_id_foreign` FOREIGN KEY (`suggestion_id`) REFERENCES `suggestions` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `users`
--
ALTER TABLE `users`
  ADD CONSTRAINT `users_country_id_foreign` FOREIGN KEY (`country_id`) REFERENCES `countries` (`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 */;