From 0241d0195558b7e57d2181f2f097cf774a1ef463 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Mon, 4 Mar 2013 22:22:30 -0300 Subject: Introducing account-dependent character slot count As requested in http://hercules.ws/board/topic/248-reserved-slot-system/ Signed-off-by: shennetsind --- sql-files/main.sql | 1 + sql-files/upgrades/2013-03-05--01-05.sql | 3 +++ sql-files/upgrades/index.txt | 3 ++- 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 sql-files/upgrades/2013-03-05--01-05.sql (limited to 'sql-files') 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 -- cgit v1.2.3-60-g2f50