Problem with database mysql
#2

Ok I already Changed the table but I've the problem again:

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


Messages In This Thread
Problem with database mysql - by Blackaslan - 12.03.2019, 23:05
Re: Problem with database mysql - by Blackaslan - 13.03.2019, 17:17

Forum Jump:


Users browsing this thread: 1 Guest(s)