-- -- Estrutura da tabela `vendas` -- CREATE TABLE vendas(id int(6) NOT NULL auto_increment, valor int(6), pag_inicial bool DEFAULT 0, oferta bool DEFAULT 0, tipo char(20) NOT NULL, endereco char(80) NOT NULL, bairro char(40) NOT NULL, cidade char(30) NOT NULL, UF char(2) NOT NULL, descricao text, foto1 char(150) NOT NULL, foto2 char(150) NOT NULL, UNIQUE id(id), UNIQUE foto1(foto1) ); -- -- Estrutura da tabela `bairro` -- CREATE TABLE bairro(id int(5) NOT NULL, bairro char(150) NOT NULL, PRIMARY KEY (id) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci COMMENT='Tabela bairro' AUTO_INCREMENT=5 ; -- -- Estrutura da tabela `tipo_imovel -- CREATE TABLE tipo_imovel(id int(5) NOT NULL, tipo char(150) NOT NULL, PRIMARY KEY (id) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci COMMENT='Tabela tipo_imovel' AUTO_INCREMENT=5 ;;