View Single Post
  #11  
Old 02-15-2016, 01:13 PM
ionhsmith
Discordant
 
Join Date: Jun 2014
Posts: 284
Default

ok so after I got it so only GM can spawn bots how do I delete the current ones from bot_data

I get this error
DELETE FROM `peq`.`bot_data` WHERE `bot_id`=1;
/* SQL Error (1451): Cannot delete or update a parent row: a foreign key constraint fails (`peq`.`bot_stances`, CONSTRAINT `FK_bot_stances_1` FOREIGN KEY (`bot_id`) REFERENCES `bot_data` (`bot_id`)) */
Reply With Quote