Skip to content

Commit

Permalink
#1181 Fix missing color field when updating
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannick committed Apr 5, 2015
1 parent 268d11d commit c0e5a1d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions db_update.php
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,9 @@ function stripslashes_array($array) {
if (!array_key_exists('o_update_ring', $luna_config))
$db->query('INSERT INTO '.$db->prefix.'config (conf_name, conf_value) VALUES (\'o_update_ring\', \'1\')') or error('Unable to insert config value \'o_update_ring\'', __FILE__, __LINE__, $db->error());

// Since 0.9.4156: Add the color column to the forums table
$db->add_field('forums', 'color', 'INT(25)', false, '\'#0d4382\'') or error('Unable to add column "color" to table "forums"', __FILE__, __LINE__, $db->error());
break;
// Preparse posts
Expand Down
6 changes: 3 additions & 3 deletions include/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@

class Version {
// See http://getluna.org/docs/version.php for more info
const FORUM_VERSION = '0.8.0';
const FORUM_VERSION = '0.9-dev';

// The Luna Core version
const FORUM_CORE_VERSION = '0.8.4154';
const FORUM_CORE_VERSION = '0.9.4156';

// The Luna Core code name
const FORUM_CODE_NAME = 'aero';

// The database version number, every change in the database requires this number to go one up
const FORUM_DB_VERSION = '87.61';
const FORUM_DB_VERSION = '87.62';

// The parser version number, every change to the parser requires this number to go one up
const FORUM_PARSER_VERSION = '11.1.3';
Expand Down

0 comments on commit c0e5a1d

Please sign in to comment.