Permalink
Browse files

Updating whitespacing.

  • Loading branch information...
1 parent 778755c commit 7b0bc014cc0f5c0b8c2b78e4a082fb373ade2e65 @markstory markstory committed Oct 5, 2009
Showing with 4 additions and 4 deletions.
  1. +4 −4 cake/libs/model/datasources/dbo/dbo_mysql.php
@@ -264,25 +264,25 @@ function alterSchema($compare, $table = null) {
case 'add':
foreach ($column as $field => $col) {
$col['name'] = $field;
- $alter = 'ADD '.$this->buildColumn($col);
+ $alter = 'ADD ' . $this->buildColumn($col);
if (isset($col['after'])) {
- $alter .= ' AFTER '. $this->name($col['after']);
+ $alter .= ' AFTER ' . $this->name($col['after']);
}
$colList[] = $alter;
}
break;
case 'drop':
foreach ($column as $field => $col) {
$col['name'] = $field;
- $colList[] = 'DROP '.$this->name($field);
+ $colList[] = 'DROP ' . $this->name($field);
}
break;
case 'change':
foreach ($column as $field => $col) {
if (!isset($col['name'])) {
$col['name'] = $field;
}
- $colList[] = 'CHANGE '. $this->name($field).' '.$this->buildColumn($col);
+ $colList[] = 'CHANGE ' . $this->name($field) . ' ' . $this->buildColumn($col);
}
break;
}

0 comments on commit 7b0bc01

Please sign in to comment.