summaryrefslogtreecommitdiff
path: root/sql-files
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-03-04 22:22:30 -0300
committershennetsind <ind@henn.et>2013-03-04 22:22:30 -0300
commit0241d0195558b7e57d2181f2f097cf774a1ef463 (patch)
treeb39dda78be8a10722ff10f507c0e5945052f91a3 /sql-files
parent03c5ecd61753391b7790cf72f9cc629e9f8bbc38 (diff)
downloadhercules-0241d0195558b7e57d2181f2f097cf774a1ef463.tar.gz
hercules-0241d0195558b7e57d2181f2f097cf774a1ef463.tar.bz2
hercules-0241d0195558b7e57d2181f2f097cf774a1ef463.tar.xz
hercules-0241d0195558b7e57d2181f2f097cf774a1ef463.zip
Introducing account-dependent character slot count
As requested in http://hercules.ws/board/topic/248-reserved-slot-system/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'sql-files')
-rw-r--r--sql-files/main.sql1
-rw-r--r--sql-files/upgrades/2013-03-05--01-05.sql3
-rw-r--r--sql-files/upgrades/index.txt3
3 files changed, 6 insertions, 1 deletions
diff --git a/sql-files/main.sql b/sql-files/main.sql
index c6b5c74d8..2064e6863 100644
--- a/sql-files/main.sql
+++ b/sql-files/main.sql
@@ -646,6 +646,7 @@ CREATE TABLE IF NOT EXISTS `sql_updates` (
-- Existent updates to enter
INSERT INTO `sql_updates` (`timestamp`) VALUES (1360858500);
INSERT INTO `sql_updates` (`timestamp`) VALUES (1360951560);
+INSERT INTO `sql_updates` (`timestamp`) VALUES (1362445531);
--
-- Table structure for table `sstatus`
diff --git a/sql-files/upgrades/2013-03-05--01-05.sql b/sql-files/upgrades/2013-03-05--01-05.sql
new file mode 100644
index 000000000..4a1e23807
--- /dev/null
+++ b/sql-files/upgrades/2013-03-05--01-05.sql
@@ -0,0 +1,3 @@
+#1362445531
+ALTER TABLE `login` ADD `character_slots` TINYINT( 3 ) UNSIGNED NOT NULL;
+INSERT INTO `sql_updates` (`timestamp`) VALUES (1362445531); \ No newline at end of file
diff --git a/sql-files/upgrades/index.txt b/sql-files/upgrades/index.txt
index 3d4df8c23..bd835414c 100644
--- a/sql-files/upgrades/index.txt
+++ b/sql-files/upgrades/index.txt
@@ -1,2 +1,3 @@
2013-02-14--16-15.sql
-2013-02-15--18-06.sql \ No newline at end of file
+2013-02-15--18-06.sql
+2013-03-05--01-05.sql \ No newline at end of file