text: -- phpMyAdmin SQL Dump
  -- version 5.1.1
  -- https://www.phpmyadmin.net/
  --
  -- Host: localhost
  -- Generation Time: Jul 23, 2021 at 12:53 PM
  -- Server version: 8.0.25-0ubuntu0.20.04.1
  -- PHP Version: 7.4.21
  
  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: `licence_manager`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `customers`
  --
  
  CREATE TABLE `customers` (
    `id` bigint UNSIGNED NOT NULL,
    `name` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL,
    `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `phone` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL,
    `address` text COLLATE utf8mb4_unicode_ci,
    `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 `customers`
  --
  
  INSERT INTO `customers` (`id`, `name`, `email`, `phone`, `address`, `created_at`, `updated_at`) VALUES
  (2, 'Carlos Eduardo', 'cvargas@itechsolutions.dev', '+584245093801', 'Venezuela', '2021-07-16 19:03:18', '2021-07-16 19:03:18');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `data_rows`
  --
  
  CREATE TABLE `data_rows` (
    `id` int UNSIGNED NOT NULL,
    `data_type_id` int UNSIGNED NOT NULL,
    `field` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `display_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `required` tinyint(1) NOT NULL DEFAULT '0',
    `browse` tinyint(1) NOT NULL DEFAULT '1',
    `read` tinyint(1) NOT NULL DEFAULT '1',
    `edit` tinyint(1) NOT NULL DEFAULT '1',
    `add` tinyint(1) NOT NULL DEFAULT '1',
    `delete` tinyint(1) NOT NULL DEFAULT '1',
    `details` text COLLATE utf8mb4_unicode_ci,
    `order` int NOT NULL DEFAULT '1'
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  --
  -- Dumping data for table `data_rows`
  --
  
  INSERT INTO `data_rows` (`id`, `data_type_id`, `field`, `type`, `display_name`, `required`, `browse`, `read`, `edit`, `add`, `delete`, `details`, `order`) VALUES
  (1, 1, 'id', 'number', 'ID', 1, 0, 0, 0, 0, 0, NULL, 1),
  (2, 1, 'name', 'text', 'Name', 1, 1, 1, 1, 1, 1, NULL, 2),
  (3, 1, 'email', 'text', 'Email', 1, 1, 1, 1, 1, 1, NULL, 3),
  (4, 1, 'password', 'password', 'Password', 1, 0, 0, 1, 1, 0, NULL, 4),
  (5, 1, 'remember_token', 'text', 'Remember Token', 0, 0, 0, 0, 0, 0, NULL, 5),
  (6, 1, 'created_at', 'timestamp', 'Created At', 0, 1, 1, 0, 0, 0, NULL, 6),
  (7, 1, 'updated_at', 'timestamp', 'Updated At', 0, 0, 0, 0, 0, 0, NULL, 7),
  (8, 1, 'avatar', 'image', 'Avatar', 0, 1, 1, 1, 1, 1, NULL, 8),
  (9, 1, 'user_belongsto_role_relationship', 'relationship', 'Role', 0, 1, 1, 1, 1, 0, '{\"model\":\"TCG\\\\Voyager\\\\Models\\\\Role\",\"table\":\"roles\",\"type\":\"belongsTo\",\"column\":\"role_id\",\"key\":\"id\",\"label\":\"display_name\",\"pivot_table\":\"roles\",\"pivot\":0}', 10),
  (10, 1, 'user_belongstomany_role_relationship', 'relationship', 'Roles', 0, 1, 1, 1, 1, 0, '{\"model\":\"TCG\\\\Voyager\\\\Models\\\\Role\",\"table\":\"roles\",\"type\":\"belongsToMany\",\"column\":\"id\",\"key\":\"id\",\"label\":\"display_name\",\"pivot_table\":\"user_roles\",\"pivot\":\"1\",\"taggable\":\"0\"}', 11),
  (11, 1, 'settings', 'hidden', 'Settings', 0, 0, 0, 0, 0, 0, NULL, 12),
  (12, 2, 'id', 'number', 'ID', 1, 0, 0, 0, 0, 0, NULL, 1),
  (13, 2, 'name', 'text', 'Name', 1, 1, 1, 1, 1, 1, NULL, 2),
  (14, 2, 'created_at', 'timestamp', 'Created At', 0, 0, 0, 0, 0, 0, NULL, 3),
  (15, 2, 'updated_at', 'timestamp', 'Updated At', 0, 0, 0, 0, 0, 0, NULL, 4),
  (16, 3, 'id', 'number', 'ID', 1, 0, 0, 0, 0, 0, NULL, 1),
  (17, 3, 'name', 'text', 'Name', 1, 1, 1, 1, 1, 1, NULL, 2),
  (18, 3, 'created_at', 'timestamp', 'Created At', 0, 0, 0, 0, 0, 0, NULL, 3),
  (19, 3, 'updated_at', 'timestamp', 'Updated At', 0, 0, 0, 0, 0, 0, NULL, 4),
  (20, 3, 'display_name', 'text', 'Display Name', 1, 1, 1, 1, 1, 1, NULL, 5),
  (21, 1, 'role_id', 'text', 'Role', 1, 1, 1, 1, 1, 1, NULL, 9),
  (22, 4, 'id', 'text', 'Id', 1, 0, 0, 0, 0, 0, '{}', 1),
  (23, 4, 'name', 'text', 'Nombre', 1, 1, 1, 1, 1, 1, '{\"validation\":{\"rule\":\"required\"}}', 2),
  (24, 4, 'description', 'text', 'Descripción', 0, 1, 1, 1, 1, 1, '{\"validation\":{\"rule\":\"required\"}}', 3),
  (25, 4, 'photo', 'image', 'Foto', 0, 1, 1, 1, 1, 1, '{}', 4),
  (26, 4, 'created_at', 'timestamp', 'Created At', 0, 1, 1, 0, 0, 0, '{}', 5),
  (27, 4, 'updated_at', 'timestamp', 'Updated At', 0, 1, 1, 0, 0, 0, '{}', 6),
  (28, 5, 'id', 'text', 'Id', 1, 0, 0, 0, 0, 0, '{}', 1),
  (29, 5, 'name', 'text', 'Nombre', 1, 1, 1, 1, 1, 1, '{\"validation\":{\"rule\":\"required\"}}', 2),
  (30, 5, 'email', 'text', 'Correo', 1, 1, 1, 1, 1, 1, '{\"validation\":{\"rule\":\"required|email\"}}', 3),
  (31, 5, 'phone', 'text', 'Telefono', 1, 1, 1, 1, 1, 1, '{\"validation\":{\"rule\":\"required\"}}', 4),
  (32, 5, 'address', 'text_area', 'Dirección', 0, 1, 1, 1, 1, 1, '{}', 5),
  (33, 5, 'created_at', 'timestamp', 'Created At', 0, 1, 1, 0, 0, 1, '{}', 6),
  (34, 5, 'updated_at', 'timestamp', 'Updated At', 0, 1, 1, 0, 0, 0, '{}', 7),
  (35, 6, 'id', 'text', 'Id', 1, 0, 0, 0, 0, 0, '{}', 1),
  (36, 6, 'key', 'text', 'Clave', 1, 1, 1, 0, 1, 0, '{\"validation\":{\"rule\":\"required\"},\"display\":{\"id\":\"key\"}}', 4),
  (37, 6, 'date_from', 'date', 'Fecha Desde', 1, 1, 1, 0, 1, 0, '{\"validation\":{\"rule\":\"required\"}}', 5),
  (38, 6, 'date_to', 'date', 'Fecha Hasta', 1, 1, 1, 0, 1, 0, '{\"validation\":{\"rule\":\"required\"}}', 6),
  (39, 6, 'item_id', 'text', 'Item Id', 1, 1, 1, 0, 1, 0, '{}', 2),
  (40, 6, 'customer_id', 'text', 'Customer Id', 1, 1, 1, 0, 1, 0, '{}', 3),
  (41, 6, 'status', 'radio_btn', 'Estado', 1, 1, 1, 0, 1, 0, '{\"default\":\"active\",\"options\":{\"active\":\"Activo\",\"inactive\":\"Inactivo\"}}', 7),
  (42, 6, 'created_at', 'timestamp', 'Created At', 0, 0, 0, 0, 0, 0, '{}', 10),
  (43, 6, 'updated_at', 'timestamp', 'Updated At', 0, 0, 0, 0, 0, 0, '{}', 11),
  (44, 6, 'licence_belongsto_item_relationship', 'relationship', 'Producto', 0, 1, 1, 0, 1, 0, '{\"model\":\"App\\\\Models\\\\Item\",\"table\":\"items\",\"type\":\"belongsTo\",\"column\":\"item_id\",\"key\":\"id\",\"label\":\"name\",\"pivot_table\":\"customers\",\"pivot\":\"0\",\"taggable\":\"0\"}', 9),
  (45, 6, 'licence_belongsto_customer_relationship', 'relationship', 'Cliente', 0, 1, 1, 0, 1, 0, '{\"model\":\"App\\\\Models\\\\Customer\",\"table\":\"customers\",\"type\":\"belongsTo\",\"column\":\"customer_id\",\"key\":\"id\",\"label\":\"name\",\"pivot_table\":\"customers\",\"pivot\":\"0\",\"taggable\":\"0\"}', 8),
  (46, 6, 'is_payment', 'checkbox', 'Esta Pagado', 1, 1, 1, 1, 1, 0, '{\"on\":\"Si\",\"off\":\"No\",\"checked\":false}', 10),
  (47, 6, 'active_devices', 'text', 'Dispositivos Activos', 0, 1, 1, 0, 0, 0, '{}', 11),
  (48, 6, 'inactive_devices', 'text', 'Dispositivos Inactivos', 0, 1, 1, 0, 0, 0, '{}', 12),
  (49, 6, 'is_asigned', 'checkbox', 'Esta Asignada', 1, 1, 1, 0, 0, 0, '{\"on\":\"Si\",\"off\":\"No\",\"checked\":false}', 13);
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `data_types`
  --
  
  CREATE TABLE `data_types` (
    `id` int UNSIGNED NOT NULL,
    `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `display_name_singular` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `display_name_plural` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `icon` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `model_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `policy_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `controller` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `generate_permissions` tinyint(1) NOT NULL DEFAULT '0',
    `server_side` tinyint NOT NULL DEFAULT '0',
    `details` text COLLATE utf8mb4_unicode_ci,
    `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 `data_types`
  --
  
  INSERT INTO `data_types` (`id`, `name`, `slug`, `display_name_singular`, `display_name_plural`, `icon`, `model_name`, `policy_name`, `controller`, `description`, `generate_permissions`, `server_side`, `details`, `created_at`, `updated_at`) VALUES
  (1, 'users', 'users', 'User', 'Users', 'voyager-person', 'TCG\\Voyager\\Models\\User', 'TCG\\Voyager\\Policies\\UserPolicy', 'TCG\\Voyager\\Http\\Controllers\\VoyagerUserController', '', 1, 0, NULL, '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (2, 'menus', 'menus', 'Menu', 'Menus', 'voyager-list', 'TCG\\Voyager\\Models\\Menu', NULL, '', '', 1, 0, NULL, '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (3, 'roles', 'roles', 'Role', 'Roles', 'voyager-lock', 'TCG\\Voyager\\Models\\Role', NULL, 'TCG\\Voyager\\Http\\Controllers\\VoyagerRoleController', '', 1, 0, NULL, '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (4, 'items', 'items', 'Producto', 'Productos', NULL, 'App\\Models\\Item', NULL, NULL, NULL, 1, 0, '{\"order_column\":null,\"order_display_column\":null,\"order_direction\":\"asc\",\"default_search_key\":null,\"scope\":null}', '2021-07-08 17:14:24', '2021-07-17 00:49:29'),
  (5, 'customers', 'customers', 'Cliente', 'Clientes', 'voyager-people', 'App\\Models\\Customer', NULL, NULL, NULL, 1, 0, '{\"order_column\":null,\"order_display_column\":null,\"order_direction\":\"asc\",\"default_search_key\":null,\"scope\":null}', '2021-07-08 17:16:15', '2021-07-17 00:49:19'),
  (6, 'licences', 'licences', 'Licencia', 'Licencias', 'voyager-company', 'App\\Models\\Licence', NULL, NULL, NULL, 1, 0, '{\"order_column\":null,\"order_display_column\":null,\"order_direction\":\"asc\",\"default_search_key\":null,\"scope\":null}', '2021-07-08 17:22:05', '2021-07-22 23:38:12');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `failed_jobs`
  --
  
  CREATE TABLE `failed_jobs` (
    `id` bigint UNSIGNED NOT NULL,
    `uuid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `connection` text COLLATE utf8mb4_unicode_ci NOT NULL,
    `queue` text COLLATE utf8mb4_unicode_ci NOT NULL,
    `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
    `exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
    `failed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `items`
  --
  
  CREATE TABLE `items` (
    `id` bigint UNSIGNED NOT NULL,
    `name` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL,
    `description` text COLLATE utf8mb4_unicode_ci,
    `photo` 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 `items`
  --
  
  INSERT INTO `items` (`id`, `name`, `description`, `photo`, `created_at`, `updated_at`) VALUES
  (1, 'Controles Remotos', 'Sistemas de controles Remotos', 'items/July2021/1vc5VK8YE1mHO0qWkla1.jpg', '2021-07-08 18:45:27', '2021-07-08 18:45:27'),
  (2, 'Celulares', 'Sistema para Celulares', 'items/July2021/nkmGeP5FsC0heQkWNO9u.jpg', '2021-07-16 19:02:42', '2021-07-16 19:02:42');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `licences`
  --
  
  CREATE TABLE `licences` (
    `id` bigint UNSIGNED NOT NULL,
    `key` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL,
    `date_from` date NOT NULL,
    `date_to` date NOT NULL,
    `item_id` bigint UNSIGNED NOT NULL,
    `customer_id` bigint UNSIGNED NOT NULL,
    `status` enum('active','inactive') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
    `created_at` timestamp NULL DEFAULT NULL,
    `updated_at` timestamp NULL DEFAULT NULL,
    `is_payment` tinyint(1) NOT NULL DEFAULT '0',
    `active_devices` int DEFAULT '0',
    `inactive_devices` int DEFAULT '0',
    `is_asigned` tinyint(1) NOT NULL DEFAULT '0'
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `menus`
  --
  
  CREATE TABLE `menus` (
    `id` int UNSIGNED NOT NULL,
    `name` varchar(255) 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 `menus`
  --
  
  INSERT INTO `menus` (`id`, `name`, `created_at`, `updated_at`) VALUES
  (1, 'admin', '2021-07-07 21:35:26', '2021-07-07 21:35:26');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `menu_items`
  --
  
  CREATE TABLE `menu_items` (
    `id` int UNSIGNED NOT NULL,
    `menu_id` int UNSIGNED DEFAULT NULL,
    `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `target` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '_self',
    `icon_class` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `color` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `parent_id` int DEFAULT NULL,
    `order` int NOT NULL,
    `created_at` timestamp NULL DEFAULT NULL,
    `updated_at` timestamp NULL DEFAULT NULL,
    `route` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `parameters` text COLLATE utf8mb4_unicode_ci
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  --
  -- Dumping data for table `menu_items`
  --
  
  INSERT INTO `menu_items` (`id`, `menu_id`, `title`, `url`, `target`, `icon_class`, `color`, `parent_id`, `order`, `created_at`, `updated_at`, `route`, `parameters`) VALUES
  (1, 1, 'Dashboard', '', '_self', 'voyager-boat', NULL, NULL, 1, '2021-07-07 21:35:26', '2021-07-07 21:35:26', 'voyager.dashboard', NULL),
  (2, 1, 'Media', '', '_self', 'voyager-images', NULL, NULL, 4, '2021-07-07 21:35:26', '2021-07-08 17:32:04', 'voyager.media.index', NULL),
  (3, 1, 'Users', '', '_self', 'voyager-person', NULL, NULL, 3, '2021-07-07 21:35:26', '2021-07-07 21:35:26', 'voyager.users.index', NULL),
  (4, 1, 'Roles', '', '_self', 'voyager-lock', NULL, NULL, 2, '2021-07-07 21:35:26', '2021-07-07 21:35:26', 'voyager.roles.index', NULL),
  (5, 1, 'Tools', '', '_self', 'voyager-tools', NULL, NULL, 5, '2021-07-07 21:35:26', '2021-07-08 17:32:04', NULL, NULL),
  (6, 1, 'Menu Builder', '', '_self', 'voyager-list', NULL, 5, 1, '2021-07-07 21:35:26', '2021-07-08 17:32:04', 'voyager.menus.index', NULL),
  (7, 1, 'Database', '', '_self', 'voyager-data', NULL, 5, 2, '2021-07-07 21:35:26', '2021-07-08 17:32:04', 'voyager.database.index', NULL),
  (8, 1, 'Compass', '', '_self', 'voyager-compass', NULL, 5, 3, '2021-07-07 21:35:26', '2021-07-08 17:32:04', 'voyager.compass.index', NULL),
  (9, 1, 'BREAD', '', '_self', 'voyager-bread', NULL, 5, 4, '2021-07-07 21:35:26', '2021-07-08 17:32:04', 'voyager.bread.index', NULL),
  (10, 1, 'Settings', '', '_self', 'voyager-settings', NULL, NULL, 6, '2021-07-07 21:35:26', '2021-07-08 17:32:04', 'voyager.settings.index', NULL),
  (11, 1, 'Hooks', '', '_self', 'voyager-hook', NULL, 5, 5, '2021-07-07 21:35:26', '2021-07-08 17:32:04', 'voyager.hooks', NULL),
  (12, 1, 'Productos', '', '_self', 'voyager-window-list', '#000000', NULL, 7, '2021-07-08 17:14:24', '2021-07-08 17:32:04', 'voyager.items.index', 'null'),
  (13, 1, 'Clientes', '', '_self', 'voyager-people', '#000000', NULL, 8, '2021-07-08 17:16:15', '2021-07-08 17:32:04', 'voyager.customers.index', 'null'),
  (14, 1, 'Licencias', '', '_self', 'voyager-company', '#000000', NULL, 9, '2021-07-08 17:22:05', '2021-07-08 17:32:09', 'voyager.licences.index', 'null');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `migrations`
  --
  
  CREATE TABLE `migrations` (
    `id` int UNSIGNED NOT NULL,
    `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `batch` int NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  --
  -- Dumping data for table `migrations`
  --
  
  INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
  (1, '2014_10_12_000000_create_users_table', 1),
  (2, '2014_10_12_100000_create_password_resets_table', 1),
  (3, '2016_01_01_000000_add_voyager_user_fields', 1),
  (4, '2016_01_01_000000_create_data_types_table', 1),
  (5, '2016_05_19_173453_create_menu_table', 1),
  (6, '2016_10_21_190000_create_roles_table', 1),
  (7, '2016_10_21_190000_create_settings_table', 1),
  (8, '2016_11_30_135954_create_permission_table', 1),
  (9, '2016_11_30_141208_create_permission_role_table', 1),
  (10, '2016_12_26_201236_data_types__add__server_side', 1),
  (11, '2017_01_13_000000_add_route_to_menu_items_table', 1),
  (12, '2017_01_14_005015_create_translations_table', 1),
  (13, '2017_01_15_000000_make_table_name_nullable_in_permissions_table', 1),
  (14, '2017_03_06_000000_add_controller_to_data_types_table', 1),
  (15, '2017_04_21_000000_add_order_to_data_rows_table', 1),
  (16, '2017_07_05_210000_add_policyname_to_data_types_table', 1),
  (17, '2017_08_05_000000_add_group_to_settings_table', 1),
  (18, '2017_11_26_013050_add_user_role_relationship', 1),
  (19, '2017_11_26_015000_create_user_roles_table', 1),
  (20, '2018_03_11_000000_add_user_settings', 1),
  (21, '2018_03_14_000000_add_details_to_data_types_table', 1),
  (22, '2018_03_16_000000_make_settings_value_nullable', 1),
  (23, '2019_08_19_000000_create_failed_jobs_table', 1),
  (24, '2021_07_07_174303_create_items_table', 2),
  (25, '2021_07_07_174313_create_customers_table', 2),
  (26, '2021_07_07_174326_create_licences_table', 3),
  (27, '2021_07_16_150939_add_is_payment_column_in_licences_table', 4),
  (28, '2021_07_16_233137_add_columns_active_and_inactive_devices_in_licences_table', 5),
  (29, '2021_07_22_175818_add_column_is_asigned_in_licence_table', 6);
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `password_resets`
  --
  
  CREATE TABLE `password_resets` (
    `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `created_at` timestamp NULL DEFAULT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `permissions`
  --
  
  CREATE TABLE `permissions` (
    `id` bigint UNSIGNED NOT NULL,
    `key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `table_name` varchar(255) CHARACTER SET utf8mb4 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`, `key`, `table_name`, `created_at`, `updated_at`) VALUES
  (1, 'browse_admin', NULL, '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (2, 'browse_bread', NULL, '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (3, 'browse_database', NULL, '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (4, 'browse_media', NULL, '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (5, 'browse_compass', NULL, '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (6, 'browse_menus', 'menus', '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (7, 'read_menus', 'menus', '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (8, 'edit_menus', 'menus', '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (9, 'add_menus', 'menus', '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (10, 'delete_menus', 'menus', '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (11, 'browse_roles', 'roles', '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (12, 'read_roles', 'roles', '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (13, 'edit_roles', 'roles', '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (14, 'add_roles', 'roles', '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (15, 'delete_roles', 'roles', '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (16, 'browse_users', 'users', '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (17, 'read_users', 'users', '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (18, 'edit_users', 'users', '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (19, 'add_users', 'users', '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (20, 'delete_users', 'users', '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (21, 'browse_settings', 'settings', '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (22, 'read_settings', 'settings', '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (23, 'edit_settings', 'settings', '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (24, 'add_settings', 'settings', '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (25, 'delete_settings', 'settings', '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (26, 'browse_hooks', NULL, '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (27, 'browse_items', 'items', '2021-07-08 17:14:24', '2021-07-08 17:14:24'),
  (28, 'read_items', 'items', '2021-07-08 17:14:24', '2021-07-08 17:14:24'),
  (29, 'edit_items', 'items', '2021-07-08 17:14:24', '2021-07-08 17:14:24'),
  (30, 'add_items', 'items', '2021-07-08 17:14:24', '2021-07-08 17:14:24'),
  (31, 'delete_items', 'items', '2021-07-08 17:14:24', '2021-07-08 17:14:24'),
  (32, 'browse_customers', 'customers', '2021-07-08 17:16:15', '2021-07-08 17:16:15'),
  (33, 'read_customers', 'customers', '2021-07-08 17:16:15', '2021-07-08 17:16:15'),
  (34, 'edit_customers', 'customers', '2021-07-08 17:16:15', '2021-07-08 17:16:15'),
  (35, 'add_customers', 'customers', '2021-07-08 17:16:15', '2021-07-08 17:16:15'),
  (36, 'delete_customers', 'customers', '2021-07-08 17:16:15', '2021-07-08 17:16:15'),
  (37, 'browse_licences', 'licences', '2021-07-08 17:22:05', '2021-07-08 17:22:05'),
  (38, 'read_licences', 'licences', '2021-07-08 17:22:05', '2021-07-08 17:22:05'),
  (39, 'edit_licences', 'licences', '2021-07-08 17:22:05', '2021-07-08 17:22:05'),
  (40, 'add_licences', 'licences', '2021-07-08 17:22:05', '2021-07-08 17:22:05'),
  (41, 'delete_licences', 'licences', '2021-07-08 17:22:05', '2021-07-08 17:22:05');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `permission_role`
  --
  
  CREATE TABLE `permission_role` (
    `permission_id` bigint UNSIGNED NOT NULL,
    `role_id` bigint UNSIGNED NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  --
  -- Dumping data for table `permission_role`
  --
  
  INSERT INTO `permission_role` (`permission_id`, `role_id`) VALUES
  (1, 1),
  (1, 3),
  (2, 1),
  (3, 1),
  (4, 1),
  (5, 1),
  (6, 1),
  (7, 1),
  (8, 1),
  (9, 1),
  (10, 1),
  (11, 1),
  (12, 1),
  (13, 1),
  (14, 1),
  (15, 1),
  (16, 1),
  (17, 1),
  (18, 1),
  (19, 1),
  (20, 1),
  (21, 1),
  (22, 1),
  (23, 1),
  (24, 1),
  (25, 1),
  (26, 1),
  (27, 1),
  (27, 3),
  (28, 1),
  (28, 3),
  (29, 1),
  (29, 3),
  (30, 1),
  (30, 3),
  (31, 1),
  (31, 3),
  (32, 1),
  (32, 3),
  (33, 1),
  (33, 3),
  (34, 1),
  (34, 3),
  (35, 1),
  (35, 3),
  (36, 1),
  (36, 3),
  (37, 1),
  (37, 3),
  (38, 1),
  (38, 3),
  (39, 1),
  (39, 3),
  (40, 1),
  (40, 3),
  (41, 1),
  (41, 3);
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `roles`
  --
  
  CREATE TABLE `roles` (
    `id` bigint UNSIGNED NOT NULL,
    `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `display_name` varchar(255) 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 `roles`
  --
  
  INSERT INTO `roles` (`id`, `name`, `display_name`, `created_at`, `updated_at`) VALUES
  (1, 'admin', 'Administrator', '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (2, 'user', 'Normal User', '2021-07-07 21:35:26', '2021-07-07 21:35:26'),
  (3, 'SuperAdmin', 'Super Administrador', '2021-07-08 18:49:37', '2021-07-08 18:49:37');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `settings`
  --
  
  CREATE TABLE `settings` (
    `id` int UNSIGNED NOT NULL,
    `key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `display_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `value` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
    `details` text COLLATE utf8mb4_unicode_ci,
    `type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `order` int NOT NULL DEFAULT '1',
    `group` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  --
  -- Dumping data for table `settings`
  --
  
  INSERT INTO `settings` (`id`, `key`, `display_name`, `value`, `details`, `type`, `order`, `group`) VALUES
  (1, 'site.title', 'Site Title', 'Site Title', '', 'text', 1, 'Site'),
  (2, 'site.description', 'Site Description', 'Site Description', '', 'text', 2, 'Site'),
  (3, 'site.logo', 'Site Logo', '', '', 'image', 3, 'Site'),
  (4, 'site.google_analytics_tracking_id', 'Google Analytics Tracking ID', '', '', 'text', 4, 'Site'),
  (5, 'admin.bg_image', 'Admin Background Image', '', '', 'image', 5, 'Admin'),
  (6, 'admin.title', 'Admin Title', 'Voyager', '', 'text', 1, 'Admin'),
  (7, 'admin.description', 'Admin Description', 'Welcome to Voyager. The Missing Admin for Laravel', '', 'text', 2, 'Admin'),
  (8, 'admin.loader', 'Admin Loader', '', '', 'image', 3, 'Admin'),
  (9, 'admin.icon_image', 'Admin Icon Image', '', '', 'image', 4, 'Admin'),
  (10, 'admin.google_analytics_client_id', 'Google Analytics Client ID (used for admin dashboard)', '', '', 'text', 1, 'Admin');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `translations`
  --
  
  CREATE TABLE `translations` (
    `id` int UNSIGNED NOT NULL,
    `table_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `column_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `foreign_key` int UNSIGNED NOT NULL,
    `locale` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `value` text 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;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `users`
  --
  
  CREATE TABLE `users` (
    `id` bigint UNSIGNED NOT NULL,
    `role_id` bigint UNSIGNED DEFAULT NULL,
    `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `avatar` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT 'users/default.png',
    `email_verified_at` timestamp NULL DEFAULT NULL,
    `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `settings` text COLLATE utf8mb4_unicode_ci,
    `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`, `role_id`, `name`, `email`, `avatar`, `email_verified_at`, `password`, `remember_token`, `settings`, `created_at`, `updated_at`) VALUES
  (1, 1, 'Carlos Vargas', 'wmcarlosv@gmail.com', 'users/default.png', NULL, '$2y$10$YBrm7ZssqzKG33kggFe1JONh5XDyrKgohZz9jSyRYdiSx0NQ31N8u', NULL, '{\"locale\":\"es\"}', '2021-07-07 21:37:53', '2021-07-07 21:39:00'),
  (2, 3, 'Eduardo Tovar', 'cvargas@itechsolutions.dev', 'users/default.png', NULL, '$2y$10$1DENtV.LqmvoItql1E.26ekpwJN4f9mcXYqi9YGgv6/JTcqILae8O', NULL, '{\"locale\":\"es\"}', '2021-07-08 18:49:57', '2021-07-08 18:49:57');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `user_roles`
  --
  
  CREATE TABLE `user_roles` (
    `user_id` bigint UNSIGNED NOT NULL,
    `role_id` bigint UNSIGNED NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indexes for table `customers`
  --
  ALTER TABLE `customers`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `data_rows`
  --
  ALTER TABLE `data_rows`
    ADD PRIMARY KEY (`id`),
    ADD KEY `data_rows_data_type_id_foreign` (`data_type_id`);
  
  --
  -- Indexes for table `data_types`
  --
  ALTER TABLE `data_types`
    ADD PRIMARY KEY (`id`),
    ADD UNIQUE KEY `data_types_name_unique` (`name`),
    ADD UNIQUE KEY `data_types_slug_unique` (`slug`);
  
  --
  -- Indexes for table `failed_jobs`
  --
  ALTER TABLE `failed_jobs`
    ADD PRIMARY KEY (`id`),
    ADD UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`);
  
  --
  -- Indexes for table `items`
  --
  ALTER TABLE `items`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `licences`
  --
  ALTER TABLE `licences`
    ADD PRIMARY KEY (`id`),
    ADD KEY `licences_item_id_foreign` (`item_id`),
    ADD KEY `licences_customer_id_foreign` (`customer_id`);
  
  --
  -- Indexes for table `menus`
  --
  ALTER TABLE `menus`
    ADD PRIMARY KEY (`id`),
    ADD UNIQUE KEY `menus_name_unique` (`name`);
  
  --
  -- Indexes for table `menu_items`
  --
  ALTER TABLE `menu_items`
    ADD PRIMARY KEY (`id`),
    ADD KEY `menu_items_menu_id_foreign` (`menu_id`);
  
  --
  -- Indexes for table `migrations`
  --
  ALTER TABLE `migrations`
    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 KEY `permissions_key_index` (`key`);
  
  --
  -- Indexes for table `permission_role`
  --
  ALTER TABLE `permission_role`
    ADD PRIMARY KEY (`permission_id`,`role_id`),
    ADD KEY `permission_role_permission_id_index` (`permission_id`),
    ADD KEY `permission_role_role_id_index` (`role_id`);
  
  --
  -- Indexes for table `roles`
  --
  ALTER TABLE `roles`
    ADD PRIMARY KEY (`id`),
    ADD UNIQUE KEY `roles_name_unique` (`name`);
  
  --
  -- Indexes for table `settings`
  --
  ALTER TABLE `settings`
    ADD PRIMARY KEY (`id`),
    ADD UNIQUE KEY `settings_key_unique` (`key`);
  
  --
  -- Indexes for table `translations`
  --
  ALTER TABLE `translations`
    ADD PRIMARY KEY (`id`),
    ADD UNIQUE KEY `translations_table_name_column_name_foreign_key_locale_unique` (`table_name`,`column_name`,`foreign_key`,`locale`);
  
  --
  -- Indexes for table `users`
  --
  ALTER TABLE `users`
    ADD PRIMARY KEY (`id`),
    ADD UNIQUE KEY `users_email_unique` (`email`),
    ADD KEY `users_role_id_foreign` (`role_id`);
  
  --
  -- Indexes for table `user_roles`
  --
  ALTER TABLE `user_roles`
    ADD PRIMARY KEY (`user_id`,`role_id`),
    ADD KEY `user_roles_user_id_index` (`user_id`),
    ADD KEY `user_roles_role_id_index` (`role_id`);
  
  --
  -- AUTO_INCREMENT for dumped tables
  --
  
  --
  -- AUTO_INCREMENT for table `customers`
  --
  ALTER TABLE `customers`
    MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
  
  --
  -- AUTO_INCREMENT for table `data_rows`
  --
  ALTER TABLE `data_rows`
    MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=50;
  
  --
  -- AUTO_INCREMENT for table `data_types`
  --
  ALTER TABLE `data_types`
    MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
  
  --
  -- AUTO_INCREMENT for table `failed_jobs`
  --
  ALTER TABLE `failed_jobs`
    MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT for table `items`
  --
  ALTER TABLE `items`
    MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
  
  --
  -- AUTO_INCREMENT for table `licences`
  --
  ALTER TABLE `licences`
    MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20;
  
  --
  -- AUTO_INCREMENT for table `menus`
  --
  ALTER TABLE `menus`
    MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
  
  --
  -- AUTO_INCREMENT for table `menu_items`
  --
  ALTER TABLE `menu_items`
    MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;
  
  --
  -- AUTO_INCREMENT for table `migrations`
  --
  ALTER TABLE `migrations`
    MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30;
  
  --
  -- AUTO_INCREMENT for table `permissions`
  --
  ALTER TABLE `permissions`
    MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=42;
  
  --
  -- AUTO_INCREMENT for table `roles`
  --
  ALTER TABLE `roles`
    MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
  
  --
  -- AUTO_INCREMENT for table `settings`
  --
  ALTER TABLE `settings`
    MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
  
  --
  -- AUTO_INCREMENT for table `translations`
  --
  ALTER TABLE `translations`
    MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT for table `users`
  --
  ALTER TABLE `users`
    MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
  
  --
  -- Constraints for dumped tables
  --
  
  --
  -- Constraints for table `data_rows`
  --
  ALTER TABLE `data_rows`
    ADD CONSTRAINT `data_rows_data_type_id_foreign` FOREIGN KEY (`data_type_id`) REFERENCES `data_types` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
  
  --
  -- Constraints for table `licences`
  --
  ALTER TABLE `licences`
    ADD CONSTRAINT `licences_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE RESTRICT ON UPDATE CASCADE,
    ADD CONSTRAINT `licences_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`) ON DELETE RESTRICT ON UPDATE CASCADE;
  
  --
  -- Constraints for table `menu_items`
  --
  ALTER TABLE `menu_items`
    ADD CONSTRAINT `menu_items_menu_id_foreign` FOREIGN KEY (`menu_id`) REFERENCES `menus` (`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,
    ADD CONSTRAINT `permission_role_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE;
  
  --
  -- Constraints for table `users`
  --
  ALTER TABLE `users`
    ADD CONSTRAINT `users_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`);
  
  --
  -- Constraints for table `user_roles`
  --
  ALTER TABLE `user_roles`
    ADD CONSTRAINT `user_roles_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE,
    ADD CONSTRAINT `user_roles_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`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 */;
  