diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-08-12 23:52:44 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-08-12 23:52:44 -0300 |
commit | 2d959502464f8aa609f175e32575c3bd3635b2ad (patch) | |
tree | d8ed7f1e5e254104630f0d70a1a05dac891c7110 | |
parent | 6bf0005b601595815d0d572556fc3b0cd32ef604 (diff) | |
download | server-2d959502464f8aa609f175e32575c3bd3635b2ad.tar.gz server-2d959502464f8aa609f175e32575c3bd3635b2ad.tar.bz2 server-2d959502464f8aa609f175e32575c3bd3635b2ad.tar.xz server-2d959502464f8aa609f175e32575c3bd3635b2ad.zip |
UPDATE TABLE `player`.
Breaks backward compatibility (all servers)
-rw-r--r-- | main.sql | 23 |
1 files changed, 12 insertions, 11 deletions
@@ -29,17 +29,18 @@ CREATE TABLE IF NOT EXISTS `login` ( ) ENGINE=MyISAM AUTO_INCREMENT=2000000; CREATE TABLE IF NOT EXISTS `player` ( - `userid` INT(11) UNSIGNED NOT NULL DEFAULT 0, - `status` INT(11) NOT NULL DEFAULT 0, - `quest` INT(11) UNSIGNED NOT NULL DEFAULT 0, - `gp` INT(11) UNSIGNED NOT NULL DEFAULT 0, - `crystals` INT(11) UNSIGNED NOT NULL DEFAULT 0, - `exp` INT(11) UNSIGNED NOT NULL DEFAULT 0, - `level` SMALLINT(6) UNSIGNED NOT NULL DEFAULT 1, - `ap` SMALLINT(11) UNSIGNED NOT NULL DEFAULT 8, - `max_ap` INT(11) NOT NULL DEFAULT 8, - `aptime` INT(11) NOT NULL DEFAULT 0, - `max_inv` INT(11) UNSIGNED NOT NULL DEFAULT 25, + `userid` INT UNSIGNED NOT NULL DEFAULT 0, + `status` TINYINT NOT NULL DEFAULT 0, + `quest` SMALLINT UNSIGNED NOT NULL DEFAULT 0, + `gp` INT UNSIGNED NOT NULL DEFAULT 0, + `crystals` INT UNSIGNED NOT NULL DEFAULT 0, + `exp` INT UNSIGNED NOT NULL DEFAULT 0, + `level` SMALLINT UNSIGNED NOT NULL DEFAULT 1, + `ap` SMALLINT UNSIGNED NOT NULL DEFAULT 8, + `max_ap` SMALLINT NOT NULL DEFAULT 8, + `aptime` INT NOT NULL DEFAULT 0, + `max_inv` SMALLINT UNSIGNED NOT NULL DEFAULT 25, + `max_sum` TINYINT NOT NULL DEFAULT 0, `lastlogin` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`userid`) ) ENGINE=MyISAM; |