text: -- phpMyAdmin SQL Dump
  -- version 5.0.2
  -- https://www.phpmyadmin.net/
  --
  -- Host: localhost
  -- Generation Time: Jan 12, 2021 at 10:34 PM
  -- Server version: 10.4.14-MariaDB
  -- PHP Version: 7.4.10
  
  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: `glapsi`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `business_cat`
  --
  
  CREATE TABLE `business_cat` (
    `id` int(11) UNSIGNED NOT NULL,
    `category` varchar(100) NOT NULL DEFAULT '',
    `active` tinyint(1) NOT NULL DEFAULT 1
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  
  --
  -- Dumping data for table `business_cat`
  --
  
  INSERT INTO `business_cat` (`id`, `category`, `active`) VALUES
  (1, 'indumentaria', 1),
  (2, 'gastronomia', 1),
  (3, 'almacen/bebidas', 1),
  (4, 'medicina/estetica', 1),
  (5, 'articulos del hogar / deco', 1),
  (6, 'electronica', 1),
  (7, 'turismo y hoteleria', 1),
  (8, 'servicios profesionales', 1),
  (9, 'transporte', 1),
  (10, 'otros', 1);
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `services`
  --
  
  CREATE TABLE `services` (
    `id` int(11) UNSIGNED NOT NULL,
    `service` varchar(50) NOT NULL DEFAULT '',
    `active` tinyint(1) NOT NULL DEFAULT 1
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  
  --
  -- Dumping data for table `services`
  --
  
  INSERT INTO `services` (`id`, `service`, `active`) VALUES
  (1, 'todas', 1),
  (2, 'mentoria 1:1 / asesorias', 1),
  (3, 'branding y activos digitales', 1),
  (4, 'community management', 1),
  (5, 'publicidad digital', 1),
  (6, 'asesoramiento seo y contenidos', 1),
  (7, 'diseño y produccion audiovisual', 1),
  (8, 'ecommerce y tienda online', 1);
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `users`
  --
  
  CREATE TABLE `users` (
    `id` int(11) UNSIGNED NOT NULL,
    `name` varchar(50) NOT NULL DEFAULT '',
    `email` varchar(100) NOT NULL DEFAULT '',
    `phone` varchar(50) NOT NULL DEFAULT '',
    `comp_name` varchar(100) NOT NULL DEFAULT '',
    `service` tinyint(4) NOT NULL,
    `business_cat` tinyint(11) NOT NULL,
    `download` tinyint(1) NOT NULL,
    `active` tinyint(1) NOT NULL DEFAULT 1
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indexes for table `business_cat`
  --
  ALTER TABLE `business_cat`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `services`
  --
  ALTER TABLE `services`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `users`
  --
  ALTER TABLE `users`
    ADD PRIMARY KEY (`id`);
  
  --
  -- AUTO_INCREMENT for dumped tables
  --
  
  --
  -- AUTO_INCREMENT for table `business_cat`
  --
  ALTER TABLE `business_cat`
    MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
  
  --
  -- AUTO_INCREMENT for table `services`
  --
  ALTER TABLE `services`
    MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
  
  --
  -- AUTO_INCREMENT for table `users`
  --
  ALTER TABLE `users`
    MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT;
  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 */;
  