Informations
Jump to content

Lorem Ipsum...

Click to Dismiss this Notification
Ładowanie danych...

Guild Name in MySQL


Black_Rose©

Recommended Posts

The `guild` table does not have a unique index for guild names, so that there can be more than one guild in the table

with the same name, this is easy to fix and may be particularly useful for those not working on source

 

In the MySQL console (Navicat,), simply enter this SQL query:

 

USE `player`;

ALTER TABLE `guild`
ADD UNIQUE INDEX `guild_name` (`name`) USING BTREE ;

Done.

 

Link to comment
Share on other sites


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

spacer.png

Disable AdBlock
The popup will be closed in 5 seconds...