diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-12-20 16:47:55 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-12-20 16:47:55 -0300 |
commit | 6aa000483850a90792a7d93b5869747259793351 (patch) | |
tree | 85cda34a06ce5704cc70a5f6284616ea03abcec0 /main.sql | |
parent | 0a689ce7178a258759de3e7624c9d13aeceb2820 (diff) | |
download | server-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.sql | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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, |