



--
-- DOCUMENTOS
--
CREATE TABLE documentos (
	id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,
	codigocli BIGINT UNSIGNED NOT NULL,
	caminho VARCHAR(250) NOT NULL,
	documento VARCHAR(150) NOT NULL,
	PRIMARY KEY (id),
	FOREIGN KEY (codigocli) REFERENCES usuarios (codigocli) ON UPDATE CASCADE ON DELETE CASCADE
) ENGINE=InnoDB;