Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE TABLE IF NOT EXISTS `SUBEdb`.`DocumentoPersona` (
- `idDocumento` INT NOT NULL AUTO_INCREMENT,
- `numero` INT(4) NOT NULL,
- `tipo` INT NOT NULL,
- PRIMARY KEY (`idDocumento`),
- CONSTRAINT `fk_DocumentoPersona_Persona1`
- FOREIGN KEY (`idDocumento`)
- REFERENCES `SUBEdb`.`Persona` (`idPersona`)
- ON DELETE NO ACTION
- ON UPDATE NO ACTION)
- ENGINE = InnoDB
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement