aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/develop
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/develop')
-rw-r--r--phpBB/develop/create_schema_files.php32
1 files changed, 16 insertions, 16 deletions
diff --git a/phpBB/develop/create_schema_files.php b/phpBB/develop/create_schema_files.php
index 98a4e14740..c655a2245a 100644
--- a/phpBB/develop/create_schema_files.php
+++ b/phpBB/develop/create_schema_files.php
@@ -73,9 +73,9 @@ $dbms_type_map = array(
'MTEXT_UNI' => 'mediumtext',
'TIMESTAMP' => 'int(11) UNSIGNED',
'DECIMAL' => 'decimal(5,2)',
- 'VCHAR_UNI' => 'varchar(255)',
+ 'VCHAR_UNI' => 'text',
'VCHAR_UNI:'=> array('varchar(%d)', 'limit' => array('mult', 3, 255, 'text')),
- 'VCHAR_CI' => 'varchar(252)',
+ 'VCHAR_CI' => 'text',
'VARBINARY' => 'varbinary(255)',
),
@@ -121,16 +121,16 @@ $dbms_type_map = array(
'STEXT' => '[varchar] (3000)',
'TEXT' => '[varchar] (8000)',
'MTEXT' => '[text]',
- 'XSTEXT_UNI'=> '[nvarchar] (1000)',
- 'STEXT_UNI' => '[nvarchar] (3000)',
- 'TEXT_UNI' => '[nvarchar] (8000)',
- 'MTEXT_UNI' => '[ntext]',
+ 'XSTEXT_UNI'=> '[text]',
+ 'STEXT_UNI' => '[text]',
+ 'TEXT_UNI' => '[text]',
+ 'MTEXT_UNI' => '[text]',
'TIMESTAMP' => '[int]',
'DECIMAL' => '[float]',
- 'VCHAR_UNI' => '[nvarchar] (255)',
- 'VCHAR_UNI:'=> '[nvarchar] (%d)',
- 'VCHAR_CI' => '[nvarchar] (252)',
- 'VARBINARY' => '[varbinary] (255)',
+ 'VCHAR_UNI' => '[varchar] (255)',
+ 'VCHAR_UNI:'=> '[varchar] (%d)',
+ 'VCHAR_CI' => '[varchar] (252)',
+ 'VARBINARY' => '[varchar] (255)',
),
'oracle' => array(
@@ -863,12 +863,12 @@ function get_schema_struct()
'bbcode_tag' => array('VCHAR:16', ''),
'bbcode_helpline' => array('VCHAR', ''),
'display_on_posting' => array('BOOL', 0),
- 'bbcode_match' => array('TEXT', ''),
- 'bbcode_tpl' => array('MTEXT', ''),
- 'first_pass_match' => array('MTEXT', ''),
- 'first_pass_replace' => array('MTEXT', ''),
- 'second_pass_match' => array('MTEXT', ''),
- 'second_pass_replace' => array('MTEXT', ''),
+ 'bbcode_match' => array('TEXT_UNI', ''),
+ 'bbcode_tpl' => array('MTEXT_UNI', ''),
+ 'first_pass_match' => array('MTEXT_UNI', ''),
+ 'first_pass_replace' => array('MTEXT_UNI', ''),
+ 'second_pass_match' => array('MTEXT_UNI', ''),
+ 'second_pass_replace' => array('MTEXT_UNI', ''),
),
'PRIMARY_KEY' => 'bbcode_id',
'KEYS' => array(