Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE TABLE `codigo_barras_local` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `codigo_produto` int(11) DEFAULT NULL,
- `codigo_ean` varchar(20) DEFAULT NULL,
- PRIMARY KEY (`id`) USING BTREE,
- KEY `ligacao` (`codigo_produto`),
- CONSTRAINT `ligacao` FOREIGN KEY (`codigo_produto`) REFERENCES `produtos` (`COD_INTERNO`) ON DELETE CASCADE ON UPDATE CASCADE
- ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement