aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2007-03-07 21:47:06 +0000
committerDavid M <davidmj@users.sourceforge.net>2007-03-07 21:47:06 +0000
commit87d22e577e6a19d12becd9cc4ad6c5f4582f05a0 (patch)
tree54fc6021d0f313abbef9ce7a64c1c9fea7e1b413 /phpBB
parent2ebc300a5ac4c85fb03063d01887f52852e07da7 (diff)
downloadforums-87d22e577e6a19d12becd9cc4ad6c5f4582f05a0.tar
forums-87d22e577e6a19d12becd9cc4ad6c5f4582f05a0.tar.gz
forums-87d22e577e6a19d12becd9cc4ad6c5f4582f05a0.tar.bz2
forums-87d22e577e6a19d12becd9cc4ad6c5f4582f05a0.tar.xz
forums-87d22e577e6a19d12becd9cc4ad6c5f4582f05a0.zip
oops, forgot a place ;-)
git-svn-id: file:///svn/phpbb/trunk@7146 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/develop/create_schema_files.php2
-rw-r--r--phpBB/install/schemas/mysql_40_schema.sql4
2 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/develop/create_schema_files.php b/phpBB/develop/create_schema_files.php
index 8add2c8938..01044e63eb 100644
--- a/phpBB/develop/create_schema_files.php
+++ b/phpBB/develop/create_schema_files.php
@@ -354,7 +354,7 @@ foreach ($supported_dbms as $dbms)
{
$orig_column_type = $column_data[0];
$column_type = $dbms_type_map[$dbms][$column_data[0]];
- if ($column_type == 'text')
+ if ($column_type == 'text' || $column_type == 'blob')
{
$modded_array[$column_name] = $column_type;
}
diff --git a/phpBB/install/schemas/mysql_40_schema.sql b/phpBB/install/schemas/mysql_40_schema.sql
index 707f87c145..50b980df89 100644
--- a/phpBB/install/schemas/mysql_40_schema.sql
+++ b/phpBB/install/schemas/mysql_40_schema.sql
@@ -639,7 +639,7 @@ CREATE TABLE phpbb_search_wordlist (
word_text blob 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))
);
@@ -1037,7 +1037,7 @@ CREATE TABLE phpbb_users (
KEY user_birthday (user_birthday),
KEY user_email_hash (user_email_hash),
KEY user_type (user_type),
- UNIQUE username_clean (username_clean)
+ UNIQUE username_clean (username_clean(255))
);