From 7fdb9509f0ae3a019b853b6376985f22124f9557 Mon Sep 17 00:00:00 2001 From: zYne Date: Sat, 17 Feb 2007 18:35:24 +0000 Subject: [PATCH] --- lib/Doctrine/Import/Sqlite.php | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/lib/Doctrine/Import/Sqlite.php b/lib/Doctrine/Import/Sqlite.php index 2a4d41c87..6b03f7bcd 100644 --- a/lib/Doctrine/Import/Sqlite.php +++ b/lib/Doctrine/Import/Sqlite.php @@ -131,11 +131,15 @@ class Doctrine_Import_Sqlite extends Doctrine_Import $columns = array(); foreach ($result as $key => $val) { $description = array( - 'name' => $val['name'], - 'type' => $val['type'], - 'notnull' => (bool) $val['notnull'], - 'default' => $val['dflt_value'], - 'primary' => (bool) $val['pk'], + 'name' => $val['name'], + 'type' => $val['type'], + 'notnull' => (bool) $val['notnull'], + 'default' => $val['dflt_value'], + 'primary' => (bool) $val['pk'], + 'length' => null, + 'scale' => null, + 'precision' => null, + 'unsigned' => null, ); $columns[$val['name']] = $description; }