فهرست منبع

remove duplication, kudos @rugk

El RIDO 4 سال پیش
والد
کامیت
35ef64ff79
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      lib/Data/Database.php

+ 1 - 1
lib/Data/Database.php

@@ -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 )"