From 0c8ba8e9e26362417072bd9237ba59e96e404a4a Mon Sep 17 00:00:00 2001 From: "Jonathan.Wage" Date: Wed, 19 Sep 2007 19:34:45 +0000 Subject: [PATCH] Removed remove alter table from sqlite b/c this is not possible in sqlite. --- lib/Doctrine/Export/Sqlite.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/Doctrine/Export/Sqlite.php b/lib/Doctrine/Export/Sqlite.php index 75033f980..02e0e35ab 100644 --- a/lib/Doctrine/Export/Sqlite.php +++ b/lib/Doctrine/Export/Sqlite.php @@ -334,7 +334,6 @@ class Doctrine_Export_Sqlite extends Doctrine_Export foreach ($changes as $changeName => $change) { switch ($changeName) { case 'add': - case 'remove': case 'change': case 'rename': case 'name': @@ -363,16 +362,6 @@ class Doctrine_Export_Sqlite extends Doctrine_Export } } - if ( ! empty($changes['remove']) && is_array($changes['remove'])) { - foreach ($changes['remove'] as $fieldName => $field) { - if ($query) { - $query .= ', '; - } - $fieldName = $this->conn->quoteIdentifier($fieldName); - $query .= 'DROP ' . $fieldName; - } - } - $rename = array(); if ( ! empty($changes['rename']) && is_array($changes['rename'])) { foreach ($changes['rename'] as $fieldName => $field) {