mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
git-svn-id: file:///svn/phpbb/trunk@6430 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -354,6 +354,10 @@ foreach ($supported_dbms as $dbms)
|
||||
{
|
||||
$orig_column_type = $column_data[0];
|
||||
$column_type = $dbms_type_map[$dbms][$column_data[0]];
|
||||
if ($column_type == 'text')
|
||||
{
|
||||
$modded_array[$column_name] = $column_type;
|
||||
}
|
||||
}
|
||||
|
||||
// Adjust default value if db-dependant specified
|
||||
|
@@ -637,7 +637,7 @@ CREATE TABLE phpbb_search_wordlist (
|
||||
word_text text DEFAULT '' NOT NULL,
|
||||
word_common tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
|
||||
PRIMARY KEY (word_id),
|
||||
UNIQUE wrd_txt (word_text)
|
||||
UNIQUE wrd_txt (word_text(255))
|
||||
);
|
||||
|
||||
|
||||
@@ -1032,7 +1032,7 @@ CREATE TABLE phpbb_users (
|
||||
KEY user_birthday (user_birthday),
|
||||
KEY user_email_hash (user_email_hash),
|
||||
KEY user_type (user_type),
|
||||
KEY username (username)
|
||||
KEY username (username(255))
|
||||
);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user