summaryrefslogtreecommitdiff
path: root/sql-files
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-10-16 19:39:53 -0300
committerJesusaves <cpntb1@ymail.com>2018-10-16 19:39:53 -0300
commitdb783bdca57192a4c8b6ffc0aed509e00ce03d15 (patch)
treeac8e791ebe41e4aa17f545e88a0f2cfcda41a076 /sql-files
parent979164a8d796c27b1db34376fc380b3a851369f8 (diff)
downloadserverdata-db783bdca57192a4c8b6ffc0aed509e00ce03d15.tar.gz
serverdata-db783bdca57192a4c8b6ffc0aed509e00ce03d15.tar.bz2
serverdata-db783bdca57192a4c8b6ffc0aed509e00ce03d15.tar.xz
serverdata-db783bdca57192a4c8b6ffc0aed509e00ce03d15.zip
Update Discord table fields to be discord-bot compliant
Diffstat (limited to 'sql-files')
-rw-r--r--sql-files/main.sql4
-rw-r--r--sql-files/upgrades/2018-08-03--11-37.sql4
2 files changed, 6 insertions, 2 deletions
diff --git a/sql-files/main.sql b/sql-files/main.sql
index eba0291a0..bf95ca1ef 100644
--- a/sql-files/main.sql
+++ b/sql-files/main.sql
@@ -283,7 +283,9 @@ CREATE TABLE IF NOT EXISTS `charlog` (
CREATE TABLE IF NOT EXISTS `discord` (
`account_id` INT(11) UNSIGNED NOT NULL DEFAULT '0',
- `discord_id` VARCHAR(255) NOT NULL DEFAULT ''
+ `discord_id` VARCHAR(255) NOT NULL DEFAULT '',
+ `discord_name` VARCHAR(255) NOT NULL DEFAULT '',
+ `verified` ENUM(0, 1) NOT NULL DEFAULT '0'
) ENGINE=MyISAM;
--
diff --git a/sql-files/upgrades/2018-08-03--11-37.sql b/sql-files/upgrades/2018-08-03--11-37.sql
index c9a532b26..90e82534a 100644
--- a/sql-files/upgrades/2018-08-03--11-37.sql
+++ b/sql-files/upgrades/2018-08-03--11-37.sql
@@ -24,7 +24,9 @@ ALTER TABLE `quest` CHANGE `count3` `count3` INT(11) UNSIGNED NOT NULL DEFAULT '
CREATE TABLE IF NOT EXISTS `discord` (
`account_id` INT(11) UNSIGNED NOT NULL DEFAULT '0',
- `discord_id` VARCHAR(255) NOT NULL DEFAULT ''
+ `discord_id` VARCHAR(255) NOT NULL DEFAULT '',
+ `discord_name` VARCHAR(255) NOT NULL DEFAULT '',
+ `verified` ENUM(0, 1) NOT NULL DEFAULT '0'
) ENGINE=MyISAM;