Skip to content
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.

Commit

Permalink
Fix: new database fields not being loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
brunnopleffken committed Jun 20, 2015
1 parent 9bf201b commit 12c8ec4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## v0.5.1 (2015-06-19)

#### Fixed
- New database fields for quoting replies not being loaded.



## v0.5.0 (2015-06-19)

#### Added
Expand Down
2 changes: 1 addition & 1 deletion init.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* ADDICTIVE COMMUNITY VERSION
* --------------------------------------------------------------------
*/
define("VERSION", "v0.5.0");
define("VERSION", "v0.5.1");
define("CHANNEL", "Beta"); // e.g.: Alpha, Beta, Release Candidate, Final
define("CODENAME", "Nile"); // Version codename :)

Expand Down
2 changes: 1 addition & 1 deletion install/installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ function GetStatements($filename) {

$sql[] = "INSERT INTO `c_config` (`field`, `value`) VALUES ('general_community_name', '{$community_info['community_name']}');";
$sql[] = "INSERT INTO `c_config` (`field`, `value`) VALUES ('general_community_url', '{$community_info['community_url']}');";
$sql[] = "INSERT INTO `c_config` (`field`, `value`) VALUES ('general_community_version', 'v0.5.0');";
$sql[] = "INSERT INTO `c_config` (`field`, `value`) VALUES ('general_community_version', 'v0.5.1');";
$sql[] = "INSERT INTO `c_config` (`field`, `value`) VALUES ('general_website_name', 'My Website');";
$sql[] = "INSERT INTO `c_config` (`field`, `value`) VALUES ('general_website_url', 'http://');";
$sql[] = "INSERT INTO `c_config` (`field`, `value`) VALUES ('general_community_logo', 'logo.png');";
Expand Down
1 change: 1 addition & 0 deletions install/sql/tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ CREATE TABLE `c_posts` (
`attach_clicks` int(10) DEFAULT NULL,
`ip_address` varchar(46) NOT NULL,
`post` text NOT NULL,
`quote_post_id` int(9) DEFAULT NULL,
`edit_time` int(10) DEFAULT NULL,
`edit_author` int(8) DEFAULT NULL,
`best_answer` int(1) NOT NULL,
Expand Down

0 comments on commit 12c8ec4

Please sign in to comment.