text: -- phpMyAdmin SQL Dump
  -- version 4.8.4
  -- https://www.phpmyadmin.net/
  --
  -- Host: 127.0.0.1
  -- Generation Time: 30-Mar-2019 às 19:18
  -- Versão do servidor: 10.1.36-MariaDB
  -- versão do PHP: 7.3.0
  
  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: `paineladm`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Estrutura da tabela `empresas`
  --
  
  CREATE TABLE `empresas` (
    `id` bigint(20) UNSIGNED NOT NULL,
    `nome` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `logo` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `website` 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;
  
  --
  -- Extraindo dados da tabela `empresas`
  --
  
  INSERT INTO `empresas` (`id`, `nome`, `email`, `logo`, `website`, `created_at`, `updated_at`) VALUES
  (1, 'APPLE333', 'contact@apple.com33', 'apple.png', 'www.apple.comddd', NULL, NULL),
  (2, 'GOOGLE', 'contact@google.com', 'google.png', 'www.google.com', NULL, NULL),
  (3, 'IBM', 'contact@ibm.com', 'ibm.png', 'www.ibm.com', NULL, NULL),
  (4, 'IFOOD', 'contato@ifood.com', 'ifood.png', 'www.ifood.com.br', NULL, NULL);
  
  -- --------------------------------------------------------
  
  --
  -- Estrutura da tabela `funcionarios`
  --
  
  CREATE TABLE `funcionarios` (
    `id` bigint(20) UNSIGNED NOT NULL,
    `nome` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `telefone` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `cpf` decimal(11,0) NOT NULL,
    `created_at` timestamp NULL DEFAULT NULL,
    `updated_at` timestamp NULL DEFAULT NULL,
    `empresa_id` int(11) NOT NULL DEFAULT '1'
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  --
  -- Extraindo dados da tabela `funcionarios`
  --
  
  INSERT INTO `funcionarios` (`id`, `nome`, `email`, `telefone`, `cpf`, `created_at`, `updated_at`, `empresa_id`) VALUES
  (1, 'Daniel Honorio de Oliveira', 'daniel.honorio@ibm.com', '12988660440', '99999999999', NULL, NULL, 1),
  (2, 'José da Cunha', 'jose.cunha@ibm.com.br', '1233333333', '888888888', NULL, NULL, 2),
  (5, 'Paulo', 'paulo@yahoo.com.br', '8989898989', '888888888', NULL, NULL, 3),
  (6, 'Carlos', 'carlos@teste.com', '123123', '141234123', NULL, NULL, 2),
  (11, 'Josep', 'josep@ig.com', '5651313', '654654654', NULL, NULL, 4);
  
  -- --------------------------------------------------------
  
  --
  -- Estrutura da tabela `migrations`
  --
  
  CREATE TABLE `migrations` (
    `id` int(10) UNSIGNED NOT NULL,
    `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `batch` int(11) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  --
  -- Extraindo dados da tabela `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, '2019_03_29_191738_create_empresas_table', 1),
  (4, '2019_03_29_191941_create_funcionarios_table', 1),
  (5, '2019_03_29_194557_add_relation_funcionario_empresa', 2);
  
  -- --------------------------------------------------------
  
  --
  -- Estrutura da tabela `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;
  
  -- --------------------------------------------------------
  
  --
  -- Estrutura da tabela `users`
  --
  
  CREATE TABLE `users` (
    `id` bigint(20) UNSIGNED NOT NULL,
    `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `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,
    `created_at` timestamp NULL DEFAULT NULL,
    `updated_at` timestamp NULL DEFAULT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  --
  -- Extraindo dados da tabela `users`
  --
  
  INSERT INTO `users` (`id`, `name`, `email`, `email_verified_at`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES
  (1, 'Daniel', 'daniel.holiveira@gmail.com', NULL, '$2y$10$ssORvmQtL.UtG2gKpVaYxOpdZOVI0Wm/BpSw3RO/H5SK4D7Is22UC', NULL, '2019-03-29 23:28:38', '2019-03-29 23:28:38'),
  (3, 'administrador', 'administrador@laravel.com', NULL, '$2y$10$ZpBONtlormkuVQg/y5xnvunKT7J8nG1CDSjNx.1tDIwrs4LKev9G2', '8EC7mzxZOTsuRAmGVXc38z992XA16qTwVdAOXwfnoKZ7ZdzKCZVADCc8XcYi', '2019-03-29 23:49:38', '2019-03-29 23:49:38');
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indexes for table `empresas`
  --
  ALTER TABLE `empresas`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `funcionarios`
  --
  ALTER TABLE `funcionarios`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `migrations`
  --
  ALTER TABLE `migrations`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `users`
  --
  ALTER TABLE `users`
    ADD PRIMARY KEY (`id`);
  
  --
  -- AUTO_INCREMENT for dumped tables
  --
  
  --
  -- AUTO_INCREMENT for table `empresas`
  --
  ALTER TABLE `empresas`
    MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
  
  --
  -- AUTO_INCREMENT for table `funcionarios`
  --
  ALTER TABLE `funcionarios`
    MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
  
  --
  -- AUTO_INCREMENT for table `migrations`
  --
  ALTER TABLE `migrations`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
  
  --
  -- AUTO_INCREMENT for table `users`
  --
  ALTER TABLE `users`
    MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
  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 */;
  