General fixes

+Updated installation SQL struct

NOTE: To play this version without reinstalling the server, you need to
run this query (where "s1_" is the prefix of the server):

ALTER TABLE `s1_forum_topic`
  DROP `alliance0`,
  DROP `player0`,
  DROP `coor0`,
  DROP `report0`;

ALTER TABLE `s1_forum_post`
  DROP `alliance0`,
  DROP `player0`,
  DROP `coor0`,
  DROP `report0`;
This commit is contained in:
iopietro
2018-05-20 16:56:37 +02:00
parent 34c8000e44
commit 877762ea6e
3 changed files with 23 additions and 18 deletions
-8
View File
@@ -793,10 +793,6 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%forum_post` (
`topic` int(11) NOT NULL,
`owner` int(11) NOT NULL,
`date` int(11) DEFAULT NULL,
`alliance0` int(11) DEFAULT NULL,
`player0` int(11) DEFAULT NULL,
`coor0` int(11) DEFAULT NULL,
`report0` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `topic-owner` (`topic`,`owner`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
@@ -858,10 +854,6 @@ CREATE TABLE IF NOT EXISTS `%PREFIX%forum_topic` (
`ends` int(11) NOT NULL,
`close` tinyint(4) NOT NULL,
`stick` tinyint(4) NOT NULL,
`alliance0` int(11) DEFAULT NULL,
`player0` int(11) DEFAULT NULL,
`coor0` int(11) DEFAULT NULL,
`report0` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `cat-stick` (`cat`, `stick`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;