summaryrefslogtreecommitdiff
path: root/sql-files
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-04-15 23:27:29 -0300
committershennetsind <ind@henn.et>2013-04-15 23:27:29 -0300
commit2967335cb41866162a69732abe4fc3a07b02e27c (patch)
tree08ce3282b6204cfd0491a9aba2811139f046ada8 /sql-files
parent7a853ef214cc4f96574358759489f3769a805e4c (diff)
downloadhercules-2967335cb41866162a69732abe4fc3a07b02e27c.tar.gz
hercules-2967335cb41866162a69732abe4fc3a07b02e27c.tar.bz2
hercules-2967335cb41866162a69732abe4fc3a07b02e27c.tar.xz
hercules-2967335cb41866162a69732abe4fc3a07b02e27c.zip
Fixed Bug #7127
Also Implemented allow party invitations state. Implemented saving of client options (atm show_equip and allow party invitation) http://hercules.ws/board/tracker/issue-7127-view-equipment/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'sql-files')
-rw-r--r--sql-files/main.sql5
-rw-r--r--sql-files/upgrades/2013-04-16--02-15.sql4
2 files changed, 8 insertions, 1 deletions
diff --git a/sql-files/main.sql b/sql-files/main.sql
index ae8fa7b03..0e9dc5b67 100644
--- a/sql-files/main.sql
+++ b/sql-files/main.sql
@@ -105,8 +105,9 @@ CREATE TABLE IF NOT EXISTS `char` (
`child` int(11) unsigned NOT NULL default '0',
`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',
+ `delete_date` INT(11) unsigned NOT NULL DEFAULT '0',
`slotchange` SMALLINT(3) unsigned NOT NULL default '0',
+ `char_opt` INT( 11 ) unsigned NOT NULL default '0',
PRIMARY KEY (`char_id`),
UNIQUE KEY `name_key` (`name`),
KEY `account_id` (`account_id`),
@@ -654,6 +655,8 @@ 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);
+INSERT INTO `sql_updates` (`timestamp`) VALUES (1366075474);
+INSERT INTO `sql_updates` (`timestamp`) VALUES (1366078541);
--
-- Table structure for table `sstatus`
diff --git a/sql-files/upgrades/2013-04-16--02-15.sql b/sql-files/upgrades/2013-04-16--02-15.sql
new file mode 100644
index 000000000..8d051421f
--- /dev/null
+++ b/sql-files/upgrades/2013-04-16--02-15.sql
@@ -0,0 +1,4 @@
+#1366078541
+ALTER TABLE `char` ADD `char_opt` INT( 11 ) UNSIGNED NOT NULL;
+INSERT INTO `sql_updates` (`timestamp`) VALUES (1366075474);#for the previous that missed it..
+INSERT INTO `sql_updates` (`timestamp`) VALUES (1366078541); \ No newline at end of file