Permalink
Browse files

Fixed issue 676. Added upgrade support for going from V 0.96 to 0.97.

Changed OBBLM_VERSION to '0.97 SVN' (so people running from the trunk know where they are)
  • Loading branch information...
bloodybowlers
bloodybowlers committed Jan 28, 2015
1 parent 8ec25c1 commit 7ae479c9a82f26701b88cc848546ef6b0dee6397
Showing with 8 additions and 5 deletions.
  1. +1 −1 header.php
  2. +2 −4 lib/mysql_upgrade_queries.php
  3. +5 −0 upgrade.php
View
@@ -38,7 +38,7 @@
* General
*********************/
define('OBBLM_VERSION', '0.95 $Rev$');
define('OBBLM_VERSION', '0.97 SVN');
$credits = array('Pierluigi Masia', 'Mag Merli', 'Lars Scharrenberg', 'Tim Haini', 'Daniel Straalman', 'Juergen Unfried', 'Sune Radich Christensen', 'Michael Bielec', 'Grégory Romé', 'Goiz Ruiz de Gopegui', 'Ryan Williams', 'Ian Williams');
define('MAX_RECENT_GAMES', 15); // This limits the number of rows shown in the "recent/upcoming games" tables.
define('MAX_TNEWS', 3); // This number of entries are shown on the team news board.
@@ -6,11 +6,9 @@
$upgradeSQLs = array(
'096-097' => array(
),
'095-096' => array(
SQLUpgrade::runIfColumnNOTExists('texts', 'pinned', 'ALTER TABLE texts ADD COLUMN pinned TINYINT UNSIGNED NOT NULL DEFAULT 0'),
),
),
'095-096' => array(),
'091-095' => array(),
'090-091' => array(),
'080-090' => array(
View
@@ -49,6 +49,11 @@
<form method="POST">
<table border='1' style='font-size:small; mergin: 5px;'>
<tr style='font-weight:bold;'><td></td><td>Version upgrade</td><td>Required upgrade parameters</td></tr>
<tr>
<td><INPUT TYPE=RADIO NAME="version" VALUE="096-097"></td>
<td>0.96 to 0.97</td>
<td><i>None</i></td>
</tr>
<tr>
<td><INPUT TYPE=RADIO NAME="version" VALUE="091-095"></td>
<td>0.91 to 0.95</td>

0 comments on commit 7ae479c

Please sign in to comment.