Skip to content

Commit

Permalink
fix(db): Remove foreign key constraint as it introduces more modifica…
Browse files Browse the repository at this point in the history
…tions
  • Loading branch information
TheiLLeniumStudios committed Jan 27, 2023
1 parent 8346b65 commit ac41c1e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sql/player_outfit_codes.sql
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ CREATE TABLE IF NOT EXISTS `player_outfit_codes` (
`outfitid` int(11) NOT NULL,
`code` varchar(50) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `FK_player_outfit_codes_player_outfits` (`outfitid`),
CONSTRAINT `FK_player_outfit_codes_player_outfits` FOREIGN KEY (`outfitid`) REFERENCES `player_outfits` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION
KEY `FK_player_outfit_codes_player_outfits` (`outfitid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

/*!40103 SET TIME_ZONE=IFNULL(@OLD_TIME_ZONE, 'system') */;
Expand Down

0 comments on commit ac41c1e

Please sign in to comment.