|
@@ -100,6 +100,7 @@ trait TraitDatabase
|
|
|
$data['fields'][] = $row['COLUMN_NAME'];
|
|
|
$data['type'][$row['DATA_TYPE']][] = $row['COLUMN_NAME'];
|
|
|
$fieldsType = array();
|
|
|
+ $fieldsType['name'] = $row['COLUMN_NAME'];
|
|
|
$fieldsType['type'] = strtolower($row['DATA_TYPE']);
|
|
|
$fieldsType['is_pri'] = false;
|
|
|
$fieldsType['is_uni'] = false;
|