aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/develop
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2007-02-25 21:03:14 +0000
committerDavid M <davidmj@users.sourceforge.net>2007-02-25 21:03:14 +0000
commit409904c8788949a765a591673003f511f6bf8ed0 (patch)
treeba5fdf2a75737f874683b7ea5ac8242ef2d140af /phpBB/develop
parent8494211a129f0dabe5747c6915871e40fdced8b2 (diff)
downloadforums-409904c8788949a765a591673003f511f6bf8ed0.tar
forums-409904c8788949a765a591673003f511f6bf8ed0.tar.gz
forums-409904c8788949a765a591673003f511f6bf8ed0.tar.bz2
forums-409904c8788949a765a591673003f511f6bf8ed0.tar.xz
forums-409904c8788949a765a591673003f511f6bf8ed0.zip
#7882
git-svn-id: file:///svn/phpbb/trunk@7073 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/develop')
-rw-r--r--phpBB/develop/create_schema_files.php30
1 files changed, 15 insertions, 15 deletions
diff --git a/phpBB/develop/create_schema_files.php b/phpBB/develop/create_schema_files.php
index f1a9dd1830..eede9a2bd1 100644
--- a/phpBB/develop/create_schema_files.php
+++ b/phpBB/develop/create_schema_files.php
@@ -60,22 +60,22 @@ $dbms_type_map = array(
'TINT:' => 'tinyint(%d)',
'USINT' => 'smallint(4) UNSIGNED',
'BOOL' => 'tinyint(1) UNSIGNED',
- 'VCHAR' => 'varchar(255)',
- 'VCHAR:' => 'varchar(%d)',
- 'CHAR:' => 'char(%d)',
- 'XSTEXT' => 'text',
- 'XSTEXT_UNI'=> 'text',
- 'STEXT' => 'text',
- 'STEXT_UNI' => 'text',
- 'TEXT' => 'text',
- 'TEXT_UNI' => 'text',
- 'MTEXT' => 'mediumtext',
- 'MTEXT_UNI' => 'mediumtext',
+ 'VCHAR' => 'varbinary(255)',
+ 'VCHAR:' => 'varbinary(%d)',
+ 'CHAR:' => 'binary(%d)',
+ 'XSTEXT' => 'blob',
+ 'XSTEXT_UNI'=> 'blob',
+ 'STEXT' => 'blob',
+ 'STEXT_UNI' => 'blob',
+ 'TEXT' => 'blob',
+ 'TEXT_UNI' => 'blob',
+ 'MTEXT' => 'mediumblob',
+ 'MTEXT_UNI' => 'mediumblob',
'TIMESTAMP' => 'int(11) UNSIGNED',
'DECIMAL' => 'decimal(5,2)',
- 'VCHAR_UNI' => 'text',
- 'VCHAR_UNI:'=> array('varchar(%d)', 'limit' => array('mult', 3, 255, 'text')),
- 'VCHAR_CI' => 'text',
+ 'VCHAR_UNI' => 'blob',
+ 'VCHAR_UNI:'=> array('varbinary(%d)', 'limit' => array('mult', 3, 255, 'blob')),
+ 'VCHAR_CI' => 'blob',
'VARBINARY' => 'varbinary(255)',
),
@@ -1903,7 +1903,7 @@ function get_schema_struct()
'user_birthday' => array('INDEX', 'user_birthday'),
'user_email_hash' => array('INDEX', 'user_email_hash'),
'user_type' => array('INDEX', 'user_type'),
- 'username_clean' => array('INDEX', 'username_clean'),
+ 'username_clean' => array('UNIQUE', 'username_clean'),
),
);