Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions sql/incoming-schema-changes.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ USE ifdb;
-- use this script for pending changes to the production DB schema


ALTER TABLE `games` MODIFY COLUMN `language` VARCHAR (128);


DROP TABLE IF EXISTS `global_settings`;
CREATE TABLE `global_settings` (
`setting_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
Expand Down
2 changes: 1 addition & 1 deletion www/editgame-util.php
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ function saveUpdates($db, $adminPriv, $apiMode,
$dblen = (isset($dbLens[$key]) ? $dbLens[$key] : 0);
if ($dblen && gettype($val) != "array" && strlen($val) > $dblen) {
$errDetail[$key][] = "This value is too long (the maximum "
. "length is $dblen character).";
. "length is $dblen characters).";
}

// validate certain entries
Expand Down