summaryrefslogtreecommitdiff
path: root/sql-files
diff options
context:
space:
mode:
Diffstat (limited to 'sql-files')
-rw-r--r--sql-files/logs.sql8
-rw-r--r--sql-files/main.sql2
-rw-r--r--sql-files/upgrade_svn10580.sql1
3 files changed, 7 insertions, 4 deletions
diff --git a/sql-files/logs.sql b/sql-files/logs.sql
index 1c7e535c8..e6efe7438 100644
--- a/sql-files/logs.sql
+++ b/sql-files/logs.sql
@@ -1,4 +1,4 @@
-#Pick_Log types (M)onsters Drop, (P)layers Drop/Take, Mobs Drop (L)oot Drop/Take,
+#PickLog types (M)onsters Drop, (P)layers Drop/Take, Mobs Drop (L)oot Drop/Take,
# Players (T)rade Give/Take, Players (V)ending Sell/Take, (S)hop Sell/Take, (N)PC Give/Take,
# (C)onsumable Items, (A)dministrators Create/Delete, Sto(R)age, (G)uild Storage
@@ -93,11 +93,13 @@ CREATE TABLE `npclog` (
INDEX (`char_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;
-#ChatLOG
+#ChatLog types Gl(O)bal,(W)hisper,(P)arty,(G)uild,(M)ain chat
+#Database: log
+#Table: chatlog
CREATE TABLE `chatlog` (
`id` bigint(20) NOT NULL auto_increment,
`time` datetime NOT NULL default '0000-00-00 00:00:00',
- `type` enum('W','P','G') NOT NULL default 'W',
+ `type` enum('O','W','P','G','M') NOT NULL default 'O',
`type_id` int(11) NOT NULL default '0',
`src_charid` int(11) NOT NULL default '0',
`src_accountid` int(11) NOT NULL default '0',
diff --git a/sql-files/main.sql b/sql-files/main.sql
index e86d36e7b..d77b8fb42 100644
--- a/sql-files/main.sql
+++ b/sql-files/main.sql
@@ -472,7 +472,7 @@ CREATE TABLE `memo` (
DROP TABLE IF EXISTS `party`;
CREATE TABLE `party` (
`party_id` int(11) unsigned NOT NULL auto_increment,
- `name` varchar(100) NOT NULL default '',
+ `name` varchar(24) NOT NULL default '',
`exp` tinyint(11) unsigned NOT NULL default '0',
`item` tinyint(11) unsigned NOT NULL default '0',
`leader_id` int(11) unsigned NOT NULL default '0',
diff --git a/sql-files/upgrade_svn10580.sql b/sql-files/upgrade_svn10580.sql
new file mode 100644
index 000000000..65ba0709f
--- /dev/null
+++ b/sql-files/upgrade_svn10580.sql
@@ -0,0 +1 @@
+ALTER TABLE `chatlog` CHANGE `type` `type` ENUM( 'O', 'W', 'P', 'G', 'M' ) NOT NULL DEFAULT 'O';