Mysql Error with Database
#1

I Have the next problem :

Quote:

CREATE TABLE IF NOT EXISTS `Items_Mochila` (
`Id` int(10) unsigned NOT NULL,
`Descripcion` varchar(50) NOT NULL,
`Valor_Efecto` float NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=49 DEFAULT CHARSET=latin1

ERROR: #1215 - Can not add foreign key constraint
Quote:

CREATE TABLE IF NOT EXISTS `Mochilas` (
`Id` int(10) unsigned NOT NULL,
`Propietario` varchar(25) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1

ERROR:#1215 - Can not add foreign key constraint
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)