summaryrefslogtreecommitdiff
path: root/sql-files
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-03-27 15:38:32 -0300
committershennetsind <ind@henn.et>2013-03-27 15:38:32 -0300
commit889a866e92a6c50f8a085e9c99001a9373830f44 (patch)
tree4a195c9245c61364650b0ee692bca303a3c337c2 /sql-files
parentc042a058ce575ff61c95ffa304e493683d50871f (diff)
downloadhercules-889a866e92a6c50f8a085e9c99001a9373830f44.tar.gz
hercules-889a866e92a6c50f8a085e9c99001a9373830f44.tar.bz2
hercules-889a866e92a6c50f8a085e9c99001a9373830f44.tar.xz
hercules-889a866e92a6c50f8a085e9c99001a9373830f44.zip
Introducing Slot Change feature
Special Thanks to Yommy for providing the packet structure/data. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'sql-files')
-rw-r--r--sql-files/main.sql2
-rw-r--r--sql-files/upgrades/2013-03-27--18-35.sql3
2 files changed, 5 insertions, 0 deletions
diff --git a/sql-files/main.sql b/sql-files/main.sql
index b7b3e5226..ae8fa7b03 100644
--- a/sql-files/main.sql
+++ b/sql-files/main.sql
@@ -106,6 +106,7 @@ CREATE TABLE IF NOT EXISTS `char` (
`fame` int(11) unsigned NOT NULL default '0',
`rename` SMALLINT(3) unsigned NOT NULL default '0',
`delete_date` INT(11) UNSIGNED NOT NULL DEFAULT '0',
+ `slotchange` SMALLINT(3) unsigned NOT NULL default '0',
PRIMARY KEY (`char_id`),
UNIQUE KEY `name_key` (`name`),
KEY `account_id` (`account_id`),
@@ -652,6 +653,7 @@ INSERT INTO `sql_updates` (`timestamp`) VALUES (1360951560);
INSERT INTO `sql_updates` (`timestamp`) VALUES (1362445531);
INSERT INTO `sql_updates` (`timestamp`) VALUES (1362528000);
INSERT INTO `sql_updates` (`timestamp`) VALUES (1362794218);
+INSERT INTO `sql_updates` (`timestamp`) VALUES (1364409316);
--
-- Table structure for table `sstatus`
diff --git a/sql-files/upgrades/2013-03-27--18-35.sql b/sql-files/upgrades/2013-03-27--18-35.sql
new file mode 100644
index 000000000..fc50953c4
--- /dev/null
+++ b/sql-files/upgrades/2013-03-27--18-35.sql
@@ -0,0 +1,3 @@
+#1364409316
+ALTER TABLE `char` ADD COLUMN `slotchange` SMALLINT(3) unsigned NOT NULL default '0';
+INSERT INTO `sql_updates` (`timestamp`) VALUES (1364409316); \ No newline at end of file