remove duplication, kudos @rugk
This commit is contained in:
parent
c725b4f0fe
commit
35ef64ff79
1 changed files with 1 additions and 1 deletions
|
@ -822,7 +822,7 @@ class Database extends AbstractData
|
|||
{
|
||||
list($main_key, $after_key) = self::_getPrimaryKeyClauses('id');
|
||||
$charType = self::$_type === 'oci' ? 'VARCHAR2(16)' : 'CHAR(16)';
|
||||
$textType = self::$_type === 'oci' ? 'VARCHAR2(4000)' : 'TEXT';
|
||||
$textType = self::_getMetaType();
|
||||
self::$_db->exec(
|
||||
'CREATE TABLE ' . self::_sanitizeIdentifier('config') .
|
||||
" ( id $charType NOT NULL$main_key, value $textType$after_key )"
|
||||
|
|
Loading…
Reference in a new issue