summaryrefslogtreecommitdiff
path: root/sql-files/main.sql
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-05-15 22:16:22 -0300
committerJesusaves <cpntb1@ymail.com>2021-05-15 22:16:22 -0300
commit9e9e3e9555693f8eb5da999e05bb792de602f296 (patch)
tree4fe8ce25f90061081e67fba589850655a6f48768 /sql-files/main.sql
parent3347809ecedd324ac862c6bde3caa813d0fc8914 (diff)
downloadserverdata-9e9e3e9555693f8eb5da999e05bb792de602f296.tar.gz
serverdata-9e9e3e9555693f8eb5da999e05bb792de602f296.tar.bz2
serverdata-9e9e3e9555693f8eb5da999e05bb792de602f296.tar.xz
serverdata-9e9e3e9555693f8eb5da999e05bb792de602f296.zip
Refactor @discord command.
Diffstat (limited to 'sql-files/main.sql')
-rw-r--r--sql-files/main.sql4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql-files/main.sql b/sql-files/main.sql
index e2280d225..3aebdaba1 100644
--- a/sql-files/main.sql
+++ b/sql-files/main.sql
@@ -311,7 +311,9 @@ CREATE TABLE IF NOT EXISTS `discord` (
`account_id` INT(11) UNSIGNED NOT NULL DEFAULT '0',
`discord_id` VARCHAR(255) NOT NULL DEFAULT '',
`discord_name` VARCHAR(255) NOT NULL DEFAULT '',
- `verified` ENUM('0', '1') NOT NULL DEFAULT '0'
+ `verified` ENUM('0', '1') NOT NULL DEFAULT '0',
+ PRIMARY KEY (`discord_name`),
+ UNIQUE KEY `account_id` (`account_id`)
) ENGINE=MyISAM;
--