text: -- --------------------------------------------------------
  -- Servidor:                     127.0.0.1
  -- Versão do servidor:           8.0.13 - MySQL Community Server - GPL
  -- OS do Servidor:               Win64
  -- HeidiSQL Versão:              10.1.0.5464
  -- --------------------------------------------------------
  
  /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  /*!40101 SET NAMES utf8 */;
  /*!50503 SET NAMES utf8mb4 */;
  /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
  /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
  
  
  -- Copiando estrutura do banco de dados para imobiliaria
  DROP DATABASE IF EXISTS `imobiliaria`;
  CREATE DATABASE IF NOT EXISTS `imobiliaria` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci */;
  USE `imobiliaria`;
  
  -- Copiando estrutura para tabela imobiliaria.tb_admin
  DROP TABLE IF EXISTS `tb_admin`;
  CREATE TABLE IF NOT EXISTS `tb_admin` (
    `id_admin` int(11) NOT NULL AUTO_INCREMENT,
    `tx_email` varchar(100) NOT NULL,
    `nm_senha` varchar(80) NOT NULL,
    PRIMARY KEY (`id_admin`)
  ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  
  -- Copiando dados para a tabela imobiliaria.tb_admin: ~1 rows (aproximadamente)
  /*!40000 ALTER TABLE `tb_admin` DISABLE KEYS */;
  INSERT INTO `tb_admin` (`id_admin`, `tx_email`, `nm_senha`) VALUES
  	(1, 'felipe.kossmann@aluno.sc.senac.br', '4ca75d665af6873d3eed9661ca75f400975b18ca');
  /*!40000 ALTER TABLE `tb_admin` ENABLE KEYS */;
  
  -- Copiando estrutura para tabela imobiliaria.tb_bairro
  DROP TABLE IF EXISTS `tb_bairro`;
  CREATE TABLE IF NOT EXISTS `tb_bairro` (
    `id_bairro` int(11) NOT NULL AUTO_INCREMENT,
    `tx_descricao` varchar(100) NOT NULL DEFAULT '0',
    PRIMARY KEY (`id_bairro`)
  ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  
  -- Copiando dados para a tabela imobiliaria.tb_bairro: ~0 rows (aproximadamente)
  /*!40000 ALTER TABLE `tb_bairro` DISABLE KEYS */;
  INSERT INTO `tb_bairro` (`id_bairro`, `tx_descricao`) VALUES
  	(7, ' São Jorge'),
  	(8, ' Estrela');
  /*!40000 ALTER TABLE `tb_bairro` ENABLE KEYS */;
  
  -- Copiando estrutura para tabela imobiliaria.tb_categoria
  DROP TABLE IF EXISTS `tb_categoria`;
  CREATE TABLE IF NOT EXISTS `tb_categoria` (
    `id_categoria` int(11) NOT NULL AUTO_INCREMENT,
    `tx_descricao` varchar(45) NOT NULL,
    PRIMARY KEY (`id_categoria`)
  ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  
  -- Copiando dados para a tabela imobiliaria.tb_categoria: ~3 rows (aproximadamente)
  /*!40000 ALTER TABLE `tb_categoria` DISABLE KEYS */;
  INSERT INTO `tb_categoria` (`id_categoria`, `tx_descricao`) VALUES
  	(1, 'Casa'),
  	(4, ' Apartamentos'),
  	(5, ' Terrenos');
  /*!40000 ALTER TABLE `tb_categoria` ENABLE KEYS */;
  
  -- Copiando estrutura para tabela imobiliaria.tb_ci_session
  DROP TABLE IF EXISTS `tb_ci_session`;
  CREATE TABLE IF NOT EXISTS `tb_ci_session` (
    `id` varchar(128) NOT NULL,
    `ip_address` varchar(45) NOT NULL,
    `timestamp` int(10) unsigned NOT NULL DEFAULT '0',
    `data` blob NOT NULL,
    PRIMARY KEY (`id`)
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  
  -- Copiando dados para a tabela imobiliaria.tb_ci_session: ~18 rows (aproximadamente)
  /*!40000 ALTER TABLE `tb_ci_session` DISABLE KEYS */;
  INSERT INTO `tb_ci_session` (`id`, `ip_address`, `timestamp`, `data`) VALUES
  	('0oko5noiblr5fe2v7a4qbro6kf9d0k10', '127.0.0.1', 1561677996, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313637373939363B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B),
  	('23nl7nak2mdfrrabrcu68mf2rmn3np4k', '127.0.0.1', 1561591735, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313539313733353B),
  	('25p14at0b2f1mj04mq1nmc7etr4ctjna', '::1', 1561673140, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313637333134303B),
  	('276dgqng42ghmbrfu5jqhf31qfahlv5m', '::1', 1561677537, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313637373533373B),
  	('2kth1974sr3jn1n234to8jufeldqtn2u', '127.0.0.1', 1561595140, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313539353134303B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B),
  	('3brke7v8joravr5j9l3d7gamf49b3qr2', '127.0.0.1', 1561587916, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313538373931363B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B6D656E736167656D7C733A34343A22436F6E7461746F20646120656D7072657361206361646173747261646F20636F6D207375636573736F212121223B5F5F63695F766172737C613A313A7B733A383A226D656E736167656D223B733A333A226F6C64223B7D),
  	('3ipib35lgqsnidnom785vesb4umhb5vs', '127.0.0.1', 1561592036, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313539323033363B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B),
  	('4kdr437tii3h9sua5llcknpki2mgbbln', '127.0.0.1', 1561592545, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313539323534353B),
  	('6ub8qknf1rfiff23n69d1dn10jv2dl84', '127.0.0.1', 1561680686, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313638303638363B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B),
  	('8002ne7n2030jt75gfn1ta8h2cc2qsq4', '127.0.0.1', 1561591431, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313539313433313B),
  	('88fh2i266v4esrssjbgt2ibiab0ii5ht', '::1', 1561675236, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313637353233363B),
  	('8v4h46ss4ij13fstt1camgtn0h8thu1b', '127.0.0.1', 1561680383, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313638303338333B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B),
  	('9pt86dq2slokoh59bes7e65f4gsm4kqe', '127.0.0.1', 1561681232, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313638313233323B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B),
  	('a7tmfv2gn6jhufm7omc7s5s22t69el14', '::1', 1561674934, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313637343933343B),
  	('bddkv2fgsns5scqq6r6vfq3gnhi160q3', '::1', 1561674629, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313637343632393B),
  	('bkn7vchd89ss03kcbbjkajio1un2lpbe', '127.0.0.1', 1561590023, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313539303032333B),
  	('c3j1r2aso8qs2b2nrk9ctmsnq50n4dl4', '::1', 1561672825, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313637323832353B),
  	('cc8ijnotekbceim1lb55bc4rc3jvbf1m', '127.0.0.1', 1561589394, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313538393339343B),
  	('cn54dut1128g4c62omjcij3jb5jqlu26', '127.0.0.1', 1561596825, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313539363832353B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B6D656E736167656D7C733A33313A22496DC3B376656C20616C74657261646F20636F6D207375636573736F212121223B5F5F63695F766172737C613A313A7B733A383A226D656E736167656D223B733A333A226F6C64223B7D),
  	('dkgue3ru5dhrp15bar2tnv7hqciuh6sl', '127.0.0.1', 1561589040, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313538393034303B),
  	('dpu2uhi5do3attk19umpkja6hbg0uvag', '::1', 1561673924, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313637333932343B),
  	('eg9knrlkna7sucaj4306hjnpdaj3snvo', '127.0.0.1', 1561678735, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313637383733353B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B),
  	('fjkkb0iss5jgitnneo9aj7tikddc6a0f', '127.0.0.1', 1561680079, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313638303037393B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B),
  	('g6034bjrs8po6e1r8pirqlqnhl1mp4g4', '127.0.0.1', 1561588662, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313538383636323B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B),
  	('hhllbj2ii3l6088ves7cb7ak3or4toh0', '127.0.0.1', 1561589697, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313538393639373B),
  	('icbpg79jgk3khko39572fr1bv9dogiat', '::1', 1561673478, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313637333437383B),
  	('ij3bheuu75pq97kojcc1q3n2h99s4cmh', '127.0.0.1', 1561590780, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313539303738303B),
  	('k76rnbj12bn4us621p0he1jelhh5o998', '::1', 1561587052, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313538363938353B),
  	('k7kpitb83pj29qrs3jq5ch6tremn0d73', '127.0.0.1', 1561597843, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313539373538353B),
  	('kfniedldbjcadjpue3q4uq8ndruf35rp', '127.0.0.1', 1561682920, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313638323932303B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B),
  	('ldtm3fa82akgq3k7mkc4lbdd77d4nqio', '127.0.0.1', 1561681669, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313638313636393B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B),
  	('lphjuhkqkpjllhf0hv3pvpm7j1jbapv2', '127.0.0.1', 1561593430, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313539333433303B),
  	('m7lfgfs6e97qpoc3ir5ahk71uo599kqn', '127.0.0.1', 1561678366, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313637383336363B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B),
  	('mbc8d9dt0ts60v6c46oieqo1vqfo6js3', '127.0.0.1', 1561682600, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313638323630303B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B),
  	('mcljgme5h1va9to7fppd97l42thv4uen', '127.0.0.1', 1561596524, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313539363532343B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B),
  	('nd0b6ns41j8nbnsnsjk01avtcjj3hj48', '127.0.0.1', 1561594814, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313539343831343B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B),
  	('nrrl9rm42at6n6irivs6g55dho01me7o', '127.0.0.1', 1561593851, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313539333835313B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B6D656E736167656D7C733A33313A22496DC3B376656C20616C74657261646F20636F6D207375636573736F212121223B5F5F63695F766172737C613A313A7B733A383A226D656E736167656D223B733A333A226F6C64223B7D),
  	('ntd0um51ku4at58j21u97es55i7cji4n', '127.0.0.1', 1561594513, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313539343531333B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B),
  	('ohq447t3nhj8e2c6j1ss3c487lqvfv4k', '127.0.0.1', 1561677640, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313637373634303B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B),
  	('p1n7m910cjkavg6e3trhcr7cercps4dh', '127.0.0.1', 1561588330, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313538383333303B),
  	('pr33hpvo1mfcbp8skjn7igvcd7fi1fu4', '127.0.0.1', 1561595810, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313539353831303B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B),
  	('s6khnhppiuus1eqe9rhu3vf340edo71a', '127.0.0.1', 1561679755, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313637393735353B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B),
  	('shb464stbuubgsrhrgh288ime8tsqvvd', '127.0.0.1', 1561595493, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313539353439333B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B),
  	('t47u1l4gl5nas0n9ul5dnaq5uqikg0k2', '127.0.0.1', 1561591129, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313539313132393B),
  	('tar6nottjt9hbmbehqsjt7n81h44nupg', '127.0.0.1', 1561587396, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313538373339363B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B),
  	('the7ok37jffga1iqkefhsjtjcpld58k1', '127.0.0.1', 1561681994, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313638313939343B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B),
  	('uhjmpbfcujbbpam4sh81bbkj3sm01ifg', '127.0.0.1', 1561596191, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313539363139313B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B),
  	('uk6212enrf3jfpj7ls2lut5h62kl4h7c', '127.0.0.1', 1561682991, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313638323932303B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B),
  	('v7hpjnog7iq8psitgnlgojtf298ruilo', '127.0.0.1', 1561679222, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313637393232323B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B),
  	('vc96r1os3f1ud5c5kbu471pd7sb68aem', '127.0.0.1', 1561682295, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313638323239353B696441646D696E7C733A313A2231223B656D61696C7C733A33333A2266656C6970652E6B6F73736D616E6E40616C756E6F2E73632E73656E61632E6272223B6C6F6761646F7C623A313B),
  	('vqo4un0gf5ka4a4mv456qr582ubobe0t', '::1', 1561677691, _binary 0x5F5F63695F6C6173745F726567656E65726174657C693A313536313637373533373B);
  /*!40000 ALTER TABLE `tb_ci_session` ENABLE KEYS */;
  
  -- Copiando estrutura para tabela imobiliaria.tb_cliente
  DROP TABLE IF EXISTS `tb_cliente`;
  CREATE TABLE IF NOT EXISTS `tb_cliente` (
    `id_cliente` int(11) NOT NULL AUTO_INCREMENT,
    `tx_nome` varchar(45) NOT NULL,
    `tx_email` varchar(100) NOT NULL,
    `nm_telefone` varchar(20) NOT NULL,
    `tx_cidade` varchar(45) NOT NULL,
    `tx_mensagem` varchar(60) DEFAULT NULL,
    PRIMARY KEY (`id_cliente`)
  ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  
  -- Copiando dados para a tabela imobiliaria.tb_cliente: ~0 rows (aproximadamente)
  /*!40000 ALTER TABLE `tb_cliente` DISABLE KEYS */;
  INSERT INTO `tb_cliente` (`id_cliente`, `tx_nome`, `tx_email`, `nm_telefone`, `tx_cidade`, `tx_mensagem`) VALUES
  	(1, 'Pimentinha', 'Pimentinha@gmail.com', '987654653', 'São Miguel do Oeste', 'Me interessei por essa casa normal porque eu sou normal.');
  /*!40000 ALTER TABLE `tb_cliente` ENABLE KEYS */;
  
  -- Copiando estrutura para tabela imobiliaria.tb_faleconosco
  DROP TABLE IF EXISTS `tb_faleconosco`;
  CREATE TABLE IF NOT EXISTS `tb_faleconosco` (
    `id_faleconosco` int(11) NOT NULL AUTO_INCREMENT,
    `tx_nomeempresa` varchar(45) NOT NULL,
    `tx_endereco` varchar(65) NOT NULL,
    `nm_telefone` varchar(20) NOT NULL,
    `nm_celular` varchar(20) NOT NULL,
    `tx_email` varchar(100) NOT NULL,
    PRIMARY KEY (`id_faleconosco`)
  ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  
  -- Copiando dados para a tabela imobiliaria.tb_faleconosco: ~1 rows (aproximadamente)
  /*!40000 ALTER TABLE `tb_faleconosco` DISABLE KEYS */;
  INSERT INTO `tb_faleconosco` (`id_faleconosco`, `tx_nomeempresa`, `tx_endereco`, `nm_telefone`, `nm_celular`, `tx_email`) VALUES
  	(1, ' ImobTech ', ' Rua Sete de Setembro 1415', '36546219', '986755678', 'ImobTech@gmail.com ');
  /*!40000 ALTER TABLE `tb_faleconosco` ENABLE KEYS */;
  
  -- Copiando estrutura para tabela imobiliaria.tb_galeria
  DROP TABLE IF EXISTS `tb_galeria`;
  CREATE TABLE IF NOT EXISTS `tb_galeria` (
    `id_galeria` int(11) NOT NULL AUTO_INCREMENT,
    `im_imagem` varchar(300) NOT NULL,
    `cd_imovel` int(11) DEFAULT NULL,
    PRIMARY KEY (`id_galeria`),
    KEY `ref_galeria_imovel` (`cd_imovel`),
    CONSTRAINT `ref_galeria_imovel` FOREIGN KEY (`cd_imovel`) REFERENCES `tb_imovel` (`id_imovel`)
  ) ENGINE=InnoDB AUTO_INCREMENT=65 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  
  -- Copiando dados para a tabela imobiliaria.tb_galeria: ~1 rows (aproximadamente)
  /*!40000 ALTER TABLE `tb_galeria` DISABLE KEYS */;
  INSERT INTO `tb_galeria` (`id_galeria`, `im_imagem`, `cd_imovel`) VALUES
  	(60, 'a6ec4dacdc6cc98b9fd8436cca403121.jpg', 143),
  	(61, 'fa866a94b75df9e7983d0ca4232fe999.jpg', 144),
  	(62, 'ef19c2e0013dadfc97faaf0b1e73a11c.jpg', 145),
  	(63, '8edb364999fb4ef9a7f2e7196b207868.jpg', 146),
  	(64, 'e43783285350a0494a7661d51c3569bc.jpg', 147);
  /*!40000 ALTER TABLE `tb_galeria` ENABLE KEYS */;
  
  -- Copiando estrutura para tabela imobiliaria.tb_imovel
  DROP TABLE IF EXISTS `tb_imovel`;
  CREATE TABLE IF NOT EXISTS `tb_imovel` (
    `id_imovel` int(11) NOT NULL AUTO_INCREMENT,
    `tx_titulo` varchar(50) NOT NULL,
    `cd_bairro` int(11) NOT NULL,
    `tx_descricao` varchar(100) DEFAULT NULL,
    `vl_valor` float(10,2) NOT NULL,
    `cd_categoria` int(11) DEFAULT NULL,
    `cd_status` int(11) DEFAULT NULL,
    `cd_tipo` int(11) DEFAULT NULL,
    PRIMARY KEY (`id_imovel`),
    KEY `ref_imovel_categoria` (`cd_categoria`),
    KEY `ref_imovel_tipo` (`cd_tipo`),
    KEY `ref_imovel_status` (`cd_status`),
    KEY `ref_imovel_bairro` (`cd_bairro`),
    CONSTRAINT `ref_imovel_bairro` FOREIGN KEY (`cd_bairro`) REFERENCES `tb_bairro` (`id_bairro`),
    CONSTRAINT `ref_imovel_categoria` FOREIGN KEY (`cd_categoria`) REFERENCES `tb_categoria` (`id_categoria`),
    CONSTRAINT `ref_imovel_status` FOREIGN KEY (`cd_status`) REFERENCES `tb_status` (`id_status`),
    CONSTRAINT `ref_imovel_tipo` FOREIGN KEY (`cd_tipo`) REFERENCES `tb_tipo` (`id_tipo`)
  ) ENGINE=InnoDB AUTO_INCREMENT=148 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  
  -- Copiando dados para a tabela imobiliaria.tb_imovel: ~1 rows (aproximadamente)
  /*!40000 ALTER TABLE `tb_imovel` DISABLE KEYS */;
  INSERT INTO `tb_imovel` (`id_imovel`, `tx_titulo`, `cd_bairro`, `tx_descricao`, `vl_valor`, `cd_categoria`, `cd_status`, `cd_tipo`) VALUES
  	(143, 'titulo ', 7, 'descricao', 0.00, 1, 1, 1),
  	(144, 'titulo', 7, 'descricao', 0.00, 4, 1, 3),
  	(145, 'titulo', 7, 'descricao', 0.00, 5, 1, 1),
  	(146, 'titulo', 7, 'descricao', 0.00, 1, 1, 1),
  	(147, 'titulo', 8, 'descricao', 1000000.00, 1, 1, 1);
  /*!40000 ALTER TABLE `tb_imovel` ENABLE KEYS */;
  
  -- Copiando estrutura para tabela imobiliaria.tb_imovelproximidade
  DROP TABLE IF EXISTS `tb_imovelproximidade`;
  CREATE TABLE IF NOT EXISTS `tb_imovelproximidade` (
    `id_imovelProximidade` int(11) NOT NULL AUTO_INCREMENT,
    `nm_valor` varchar(45) NOT NULL,
    `cd_imovel` int(11) NOT NULL,
    `cd_proximidade` int(11) NOT NULL,
    PRIMARY KEY (`id_imovelProximidade`),
    KEY `ref_imovelProximidade_imovel` (`cd_imovel`),
    KEY `ref_imovelProximidade_proximidade` (`cd_proximidade`),
    CONSTRAINT `ref_imovelProximidade_imovel` FOREIGN KEY (`cd_imovel`) REFERENCES `tb_imovel` (`id_imovel`),
    CONSTRAINT `ref_imovelProximidade_proximidade` FOREIGN KEY (`cd_proximidade`) REFERENCES `tb_proximidade` (`id_proximidade`)
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  
  -- Copiando dados para a tabela imobiliaria.tb_imovelproximidade: ~0 rows (aproximadamente)
  /*!40000 ALTER TABLE `tb_imovelproximidade` DISABLE KEYS */;
  /*!40000 ALTER TABLE `tb_imovelproximidade` ENABLE KEYS */;
  
  -- Copiando estrutura para tabela imobiliaria.tb_imoveltipodetalhes
  DROP TABLE IF EXISTS `tb_imoveltipodetalhes`;
  CREATE TABLE IF NOT EXISTS `tb_imoveltipodetalhes` (
    `id_imoveltipodetalhes` int(11) NOT NULL AUTO_INCREMENT,
    `nm_valor` varchar(45) NOT NULL,
    `cd_imovel` int(11) NOT NULL,
    `cd_tipodetalhes` int(11) NOT NULL,
    PRIMARY KEY (`id_imoveltipodetalhes`),
    KEY `ref_imoveltipodetalhes_imovel` (`cd_imovel`),
    KEY `ref_imoveltipodetalhes_tipodetalhes` (`cd_tipodetalhes`),
    CONSTRAINT `ref_imoveltipodetalhes_imovel` FOREIGN KEY (`cd_imovel`) REFERENCES `tb_imovel` (`id_imovel`),
    CONSTRAINT `ref_imoveltipodetalhes_tipodetalhes` FOREIGN KEY (`cd_tipodetalhes`) REFERENCES `tb_tipodetalhes` (`id_tipodetalhes`)
  ) ENGINE=InnoDB AUTO_INCREMENT=210 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  
  -- Copiando dados para a tabela imobiliaria.tb_imoveltipodetalhes: ~6 rows (aproximadamente)
  /*!40000 ALTER TABLE `tb_imoveltipodetalhes` DISABLE KEYS */;
  INSERT INTO `tb_imoveltipodetalhes` (`id_imoveltipodetalhes`, `nm_valor`, `cd_imovel`, `cd_tipodetalhes`) VALUES
  	(195, '5', 143, 1),
  	(196, '1', 143, 5),
  	(197, '1', 143, 6),
  	(198, '1', 143, 7),
  	(199, '1', 144, 2),
  	(200, '1', 144, 3),
  	(201, '1', 145, 2),
  	(202, '1', 145, 5),
  	(203, '1', 145, 6),
  	(204, '1', 145, 7),
  	(205, '1', 146, 1),
  	(206, '1', 146, 2),
  	(207, '1', 146, 3),
  	(208, '1', 146, 6),
  	(209, '1', 147, 6);
  /*!40000 ALTER TABLE `tb_imoveltipodetalhes` ENABLE KEYS */;
  
  -- Copiando estrutura para tabela imobiliaria.tb_logo
  DROP TABLE IF EXISTS `tb_logo`;
  CREATE TABLE IF NOT EXISTS `tb_logo` (
    `id_logo` int(11) NOT NULL AUTO_INCREMENT,
    `im_imagem` varchar(250) NOT NULL DEFAULT '0',
    PRIMARY KEY (`id_logo`)
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  
  -- Copiando dados para a tabela imobiliaria.tb_logo: ~0 rows (aproximadamente)
  /*!40000 ALTER TABLE `tb_logo` DISABLE KEYS */;
  /*!40000 ALTER TABLE `tb_logo` ENABLE KEYS */;
  
  -- Copiando estrutura para tabela imobiliaria.tb_proximidade
  DROP TABLE IF EXISTS `tb_proximidade`;
  CREATE TABLE IF NOT EXISTS `tb_proximidade` (
    `id_proximidade` int(11) NOT NULL AUTO_INCREMENT,
    `tx_descricao` varchar(80) DEFAULT NULL,
    PRIMARY KEY (`id_proximidade`)
  ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  
  -- Copiando dados para a tabela imobiliaria.tb_proximidade: ~2 rows (aproximadamente)
  /*!40000 ALTER TABLE `tb_proximidade` DISABLE KEYS */;
  INSERT INTO `tb_proximidade` (`id_proximidade`, `tx_descricao`) VALUES
  	(1, 'Hospitais'),
  	(3, ' Shoppings');
  /*!40000 ALTER TABLE `tb_proximidade` ENABLE KEYS */;
  
  -- Copiando estrutura para tabela imobiliaria.tb_quemsomos
  DROP TABLE IF EXISTS `tb_quemsomos`;
  CREATE TABLE IF NOT EXISTS `tb_quemsomos` (
    `id_quemsomos` int(11) NOT NULL AUTO_INCREMENT,
    `tx_descricao` varchar(300) NOT NULL,
    PRIMARY KEY (`id_quemsomos`)
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  
  -- Copiando dados para a tabela imobiliaria.tb_quemsomos: ~0 rows (aproximadamente)
  /*!40000 ALTER TABLE `tb_quemsomos` DISABLE KEYS */;
  /*!40000 ALTER TABLE `tb_quemsomos` ENABLE KEYS */;
  
  -- Copiando estrutura para tabela imobiliaria.tb_status
  DROP TABLE IF EXISTS `tb_status`;
  CREATE TABLE IF NOT EXISTS `tb_status` (
    `id_status` int(11) NOT NULL AUTO_INCREMENT,
    `tx_descricao` varchar(80) NOT NULL,
    PRIMARY KEY (`id_status`)
  ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  
  -- Copiando dados para a tabela imobiliaria.tb_status: ~2 rows (aproximadamente)
  /*!40000 ALTER TABLE `tb_status` DISABLE KEYS */;
  INSERT INTO `tb_status` (`id_status`, `tx_descricao`) VALUES
  	(1, 'Ativo'),
  	(2, ' Inativo');
  /*!40000 ALTER TABLE `tb_status` ENABLE KEYS */;
  
  -- Copiando estrutura para tabela imobiliaria.tb_tipo
  DROP TABLE IF EXISTS `tb_tipo`;
  CREATE TABLE IF NOT EXISTS `tb_tipo` (
    `id_tipo` int(11) NOT NULL AUTO_INCREMENT,
    `tx_descricao` varchar(25) NOT NULL,
    PRIMARY KEY (`id_tipo`)
  ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  
  -- Copiando dados para a tabela imobiliaria.tb_tipo: ~2 rows (aproximadamente)
  /*!40000 ALTER TABLE `tb_tipo` DISABLE KEYS */;
  INSERT INTO `tb_tipo` (`id_tipo`, `tx_descricao`) VALUES
  	(1, 'Alugar  '),
  	(3, 'Venda');
  /*!40000 ALTER TABLE `tb_tipo` ENABLE KEYS */;
  
  -- Copiando estrutura para tabela imobiliaria.tb_tipodetalhes
  DROP TABLE IF EXISTS `tb_tipodetalhes`;
  CREATE TABLE IF NOT EXISTS `tb_tipodetalhes` (
    `id_tipodetalhes` int(11) NOT NULL AUTO_INCREMENT,
    `tx_descricao` varchar(80) NOT NULL,
    PRIMARY KEY (`id_tipodetalhes`)
  ) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  
  -- Copiando dados para a tabela imobiliaria.tb_tipodetalhes: ~5 rows (aproximadamente)
  /*!40000 ALTER TABLE `tb_tipodetalhes` DISABLE KEYS */;
  INSERT INTO `tb_tipodetalhes` (`id_tipodetalhes`, `tx_descricao`) VALUES
  	(1, 'Banheiros '),
  	(2, ' Suites'),
  	(3, ' Cozinha'),
  	(5, 'Quartos '),
  	(6, 'Salas'),
  	(7, 'Vagas na garagem');
  /*!40000 ALTER TABLE `tb_tipodetalhes` ENABLE KEYS */;
  
  /*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
  /*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
  /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  