summaryrefslogtreecommitdiff
path: root/main.sql
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-20 16:47:55 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-20 16:47:55 -0300
commit6aa000483850a90792a7d93b5869747259793351 (patch)
tree85cda34a06ce5704cc70a5f6284616ea03abcec0 /main.sql
parent0a689ce7178a258759de3e7624c9d13aeceb2820 (diff)
downloadserver-6aa000483850a90792a7d93b5869747259793351.tar.gz
server-6aa000483850a90792a7d93b5869747259793351.tar.bz2
server-6aa000483850a90792a7d93b5869747259793351.tar.xz
server-6aa000483850a90792a7d93b5869747259793351.zip
Add partial support for multiple worlds.
Diffstat (limited to 'main.sql')
-rw-r--r--main.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/main.sql b/main.sql
index 2b8a63a..e15b2f7 100644
--- a/main.sql
+++ b/main.sql
@@ -44,6 +44,13 @@ CREATE TABLE IF NOT EXISTS `player` (
PRIMARY KEY (`userid`)
) ENGINE=MyISAM;
+CREATE TABLE IF NOT EXISTS `world` (
+ `userid` INT(11) UNSIGNED NOT NULL DEFAULT 0,
+ `world` VARCHAR(32) NOT NULL DEFAULT '',
+ `status` INT(11) NOT NULL DEFAULT 0,
+ PRIMARY KEY (`userid`,`world`)
+) ENGINE=MyISAM;
+
CREATE TABLE IF NOT EXISTS `party` (
`userid` INT(11) UNSIGNED NOT NULL DEFAULT 0,
`party_id` TINYINT(2) NOT NULL DEFAULT 0,