mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-13 14:58:52 +00:00
git-svn-id: file:///svn/phpbb/trunk@6430 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
ec9978f2eb
commit
94121dc765
2 changed files with 6 additions and 2 deletions
|
@ -354,6 +354,10 @@ foreach ($supported_dbms as $dbms)
|
||||||
{
|
{
|
||||||
$orig_column_type = $column_data[0];
|
$orig_column_type = $column_data[0];
|
||||||
$column_type = $dbms_type_map[$dbms][$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
|
// Adjust default value if db-dependant specified
|
||||||
|
|
|
@ -637,7 +637,7 @@ CREATE TABLE phpbb_search_wordlist (
|
||||||
word_text text DEFAULT '' NOT NULL,
|
word_text text DEFAULT '' NOT NULL,
|
||||||
word_common tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
|
word_common tinyint(1) UNSIGNED DEFAULT '0' NOT NULL,
|
||||||
PRIMARY KEY (word_id),
|
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_birthday (user_birthday),
|
||||||
KEY user_email_hash (user_email_hash),
|
KEY user_email_hash (user_email_hash),
|
||||||
KEY user_type (user_type),
|
KEY user_type (user_type),
|
||||||
KEY username (username)
|
KEY username (username(255))
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue