text: -- phpMyAdmin SQL Dump
  -- version 4.7.4
  -- https://www.phpmyadmin.net/
  --
  -- Host: 127.0.0.1
  -- Generation Time: 14-Jan-2018 às 03:12
  -- Versão do servidor: 10.1.29-MariaDB
  -- PHP Version: 7.2.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: `arrayenterprises`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Estrutura da tabela `tasks`
  --
  
  CREATE TABLE `tasks` (
    `codigo` int(11) NOT NULL,
    `nome` varchar(512) NOT NULL,
    `descricao` varchar(512) NOT NULL,
    `anexo` varchar(512) DEFAULT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  
  -- --------------------------------------------------------
  
  --
  -- Estrutura da tabela `tb_usuario`
  --
  
  CREATE TABLE `tb_usuario` (
    `ID` int(11) NOT NULL,
    `NOME` varchar(256) NOT NULL,
    `EMAIL` varchar(256) NOT NULL,
    `SENHA` varchar(256) NOT NULL,
    `FOTO` longblob
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  
  -- Indexes for dumped tables
  --
  
  --
  -- Indexes for table `tasks`
  --
  ALTER TABLE `tasks`
    ADD PRIMARY KEY (`codigo`);
  
  --
  -- Indexes for table `tb_comentario`
  --
  ALTER TABLE `tb_comentario`
    ADD PRIMARY KEY (`ID_COMENT`),
    ADD KEY `ID_COMENT_USER` (`ID_COMENT_USER`);
  
  --
  -- Indexes for table `tb_usuario`
  --
  ALTER TABLE `tb_usuario`
    ADD PRIMARY KEY (`ID`);
  
  --
  -- AUTO_INCREMENT for dumped tables
  --
  
  --
  -- AUTO_INCREMENT for table `tasks`
  --
  ALTER TABLE `tasks`
    MODIFY `codigo` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;
  
  --
  -- AUTO_INCREMENT for table `tb_comentario`
  --
  ALTER TABLE `tb_comentario`
    MODIFY `ID_COMENT` int(11) NOT NULL AUTO_INCREMENT;
  
  --
  -- AUTO_INCREMENT for table `tb_usuario`
  --
  ALTER TABLE `tb_usuario`
    MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=69;
  
  --
  -- Constraints for dumped tables
  --
  
  --
  -- Limitadores para a tabela `tb_comentario`
  --
  ALTER TABLE `tb_comentario`
    ADD CONSTRAINT `tb_comentario_ibfk_1` FOREIGN KEY (`ID_COMENT_USER`) REFERENCES `tb_usuario` (`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 */;
  