Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made mob sprite column unique (#4239)
Make the Sprite column for the SQL monster databases unique. Fixes #4223. Thanks to @indigo000!
- Loading branch information
1 parent
8bb6b11
commit d80e111
Showing
5 changed files
with
31 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
ALTER TABLE `mob_db` | ||
MODIFY `Sprite` varchar(24) NOT NULL, | ||
ADD UNIQUE KEY (`Sprite`) | ||
; | ||
|
||
ALTER TABLE `mob_db_re` | ||
MODIFY `Sprite` varchar(24) NOT NULL, | ||
ADD UNIQUE KEY (`Sprite`) | ||
; | ||
|
||
ALTER TABLE `mob_db2` | ||
MODIFY `Sprite` varchar(24) NOT NULL, | ||
ADD UNIQUE KEY (`Sprite`) | ||
; | ||
|
||
ALTER TABLE `mob_db2_re` | ||
MODIFY `Sprite` varchar(24) NOT NULL, | ||
ADD UNIQUE KEY (`Sprite`) | ||
; |