This commit is contained in:
parent
5317ae2227
commit
7fdb9509f0
@ -131,11 +131,15 @@ class Doctrine_Import_Sqlite extends Doctrine_Import
|
|||||||
$columns = array();
|
$columns = array();
|
||||||
foreach ($result as $key => $val) {
|
foreach ($result as $key => $val) {
|
||||||
$description = array(
|
$description = array(
|
||||||
'name' => $val['name'],
|
'name' => $val['name'],
|
||||||
'type' => $val['type'],
|
'type' => $val['type'],
|
||||||
'notnull' => (bool) $val['notnull'],
|
'notnull' => (bool) $val['notnull'],
|
||||||
'default' => $val['dflt_value'],
|
'default' => $val['dflt_value'],
|
||||||
'primary' => (bool) $val['pk'],
|
'primary' => (bool) $val['pk'],
|
||||||
|
'length' => null,
|
||||||
|
'scale' => null,
|
||||||
|
'precision' => null,
|
||||||
|
'unsigned' => null,
|
||||||
);
|
);
|
||||||
$columns[$val['name']] = $description;
|
$columns[$val['name']] = $description;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user