summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/pgsqlschema.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pgsqlschema.php b/lib/pgsqlschema.php
index e8711a6f8..4fde80b55 100644
--- a/lib/pgsqlschema.php
+++ b/lib/pgsqlschema.php
@@ -417,7 +417,7 @@ class PgsqlSchema extends Schema
*/
function filterDef(array $tableDef)
{
- foreach (array_keys($tableDef['fields']) as $name => &$col) {
+ foreach ($tableDef['fields'] as $name => &$col) {
// No convenient support for field descriptions
unset($col['description']);