git-svn-id: file:///svn/phpbb/trunk@6430 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M 2006-10-02 15:32:41 +00:00
parent ec9978f2eb
commit 94121dc765
2 changed files with 6 additions and 2 deletions

View file

@ -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

View file

@ -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))
);