From 0034a439b74142f27a93b422ef66eaa90ddb7ab3 Mon Sep 17 00:00:00 2001 From: Paradox924X Date: Tue, 9 Feb 2010 20:26:42 +0000 Subject: Expanded range for cached and stored-in-db guild member exp (devotion) from uint32 to uint64. (bugreport:3983) Capped value when sending to client to INT_MAX to prevent confusion. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14242 54d463be-8e91-2dee-dedb-b68131a5f0ec --- sql-files/main.sql | 2 +- sql-files/upgrade_svn14241.sql | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 sql-files/upgrade_svn14241.sql (limited to 'sql-files') diff --git a/sql-files/main.sql b/sql-files/main.sql index 2e1663416..f67bfd2d8 100644 --- a/sql-files/main.sql +++ b/sql-files/main.sql @@ -182,7 +182,7 @@ CREATE TABLE IF NOT EXISTS `guild` ( `connect_member` tinyint(6) unsigned NOT NULL default '0', `max_member` tinyint(6) unsigned NOT NULL default '0', `average_lv` smallint(6) unsigned NOT NULL default '1', - `exp` int(11) unsigned NOT NULL default '0', + `exp` bigint(20) unsigned NOT NULL default '0', `next_exp` int(11) unsigned NOT NULL default '0', `skill_point` tinyint(11) unsigned NOT NULL default '0', `mes1` varchar(60) NOT NULL default '', diff --git a/sql-files/upgrade_svn14241.sql b/sql-files/upgrade_svn14241.sql new file mode 100644 index 000000000..2c1b9c5f7 --- /dev/null +++ b/sql-files/upgrade_svn14241.sql @@ -0,0 +1 @@ +ALTER TABLE `guild` MODIFY COLUMN `exp` bigint(20) unsigned NOT NULL default '0'; \ No newline at end of file -- cgit v1.2.3-60-g2f50