Commit 7fdb9509 authored by zYne's avatar zYne

--no commit message

--no commit message
parent 5317ae22
...@@ -131,11 +131,15 @@ class Doctrine_Import_Sqlite extends Doctrine_Import ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment